Explicitly define method `elmo-folder-open-internal-p' for POP3 and
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-10-24  David Maus  <dmaus@ictsoc.de>
2
3         * elmo-pop3.el (elmo-folder-open-internal-p): Define method for
4         this class.
5         * elmo-shimbun.el (elmo-folder-open-internal-p): Dto.
6         * elmo-multi.el (elmo-folder-open-internal-p): Fix invalid let
7         statement.
8
9 2010-10-14  David Maus  <dmaus@ictsoc.de>
10
11         * elmo-multi.el (elmo-folder-open-internal-p): Evaluate symbol to
12         return state of child folders.
13
14 2010-10-13  David Maus  <dmaus@ictsoc.de>
15
16         * elmo-multi.el (elmo-folder-open-internal-p): Start with t and
17         set to nil if one of the child folders is not open.
18         (elmo-folder-open-internal): Open child folders only if they are
19         not opened yet.
20
21 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
22
23         * elmo-imap4.el: Remove trailing whitespace.
24
25         * elmo-localdir.el (elmo-folder-pack-numbers): Fix
26         `elmo-bind-directory' indent.
27
28         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
29         cosmetic fix).
30
31 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
32
33         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
34         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
35         (elmo-string-to-list, elmo-list-to-string): Ditto.
36
37 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
38
39         * elmo-archive.el (elmo-archive-field-condition-match)
40         (elmo-archive-suffix-alist)
41         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
42         (elmo-archive-folder-message-make-temp-files)
43         (elmo-archive-append-files)
44         (elmo-archive-field-condition-match): Fix indent.
45
46         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
47         Avoid `args-out-of-range 0, 1' error.
48
49 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
50
51         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
52         (delete-backward-char X) that deletes region in Emacs 24.
53         See delete-active-region described in NEWS.
54         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
55         * elmo-util.el (elmo-get-file-string): Ditto.
56         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
57
58 2010-08-09  David Maus  <dmaus@ictsoc.de>
59
60         * elmo.el (elmo-folder-open-internal-p): New luna method.
61         (elmo-folder-move-messages): Open source folder only if necessary.
62         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
63         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
64         * elmo-map.el (elmo-folder-open-internal-p): Dto.
65         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
66
67 2010-08-01  David Maus  <dmaus@ictsoc.de>
68
69         * elmo.el (elmo-folder-move-messages): Open source folder before
70         moving messages.
71
72 2010-04-15  David Maus  <dmaus@ictsoc.de>
73
74         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
75         imap user name.
76
77 2010-04-14  David Maus  <dmaus@ictsoc.de>
78
79         * elmo-imap4.el (elmo-imap4-disabled-extension): New
80         variable. List of server extensions that are disabled on the
81         client side.
82         (elmo-imap4-session-capable-p): Honour list of disabled
83         extensions.
84
85 2010-03-17  David Maus  <dmaus@ictsoc.de>
86
87         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
88         (elmo-imap4-search-internal-primitive): Pass filter type to imap
89         search when performing search for flagged messages.
90
91 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
92
93         * modb-standard.el (modb-standard-save-entity): Use
94         `modb-standard-cleanup-stale-entities' to clean up stale entity
95         files in modb cache.
96         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
97         capabilities after login.
98
99 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
100
101         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
102         indent (only cosmetic fix).
103
104 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
105
106         * elmo-version.el (elmo-version): Up to 2.15.9.
107
108         * elmo-imap4.el (elmo-imap4-elist): New function
109         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
110         ESEARCH feature (RFC4731).
111         * elmo-imap4.el (toplevel): Require time-stamp
112         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
113         elmo-imap4-read-response elmo-imap4-read-untagged
114         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
115         logging format.
116         * elmo-imap4.el (elmo-folder-list-messages-plugged,
117         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
118         for full uid range on folder entering, retrieve updates only for
119         newly appeared messages.
120         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
121         elmo-imap4-read-response, elmo-imap4-read-untagged,
122         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
123         to format-time-string.
124         * elmo-vars.el (toplevel): New custom
125         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
126         flag for some buggy servers.
127         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
128
129 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
130
131         * acap.el (acap-parse-response): Fix comment-out style. Use three
132         semicolons, that should start at the left margin.
133         See. also (Info-goto-node "(elisp)Comment Tips").
134         * elmo.el (toplevel, elmo-message-match-condition)
135         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
136         Ditto.
137         * elmo-archive.el (elmo-archive-suffix-alist)
138         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
139         (elmo-archive-method-list)
140         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
141         Ditto.
142         * elmo-imap4.el (toplevel)
143         (elmo-imap4-send-command, elmo-imap4-check-validity)
144         (elmo-imap4-fetch-callback-1-subr)
145         (elmo-network-initialize-session, elmo-server-diff-async)
146         (elmo-imap4-folder-diff-plugged): Ditto
147         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
148         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
149         * elmo-net.el (elmo-network-close-session): Ditto.
150         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
151         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
152         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
153         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
154         (elmo-number-set-delete)
155         (elmo-cache-get-oldest-cache-file-entity): Ditto.
156
157 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
158
159         * elmo-version.el (elmo-version): Up to 2.15.8.
160
161         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
162         `with-current-buffer' instead of `save-excursion' (for suppress
163         compile warnings).
164
165         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
166         instead of `int-to-string'.
167         * elmo-archive.el (elmo-archive-message-fetch-internal)
168         (elmo-archive-folder-message-make-temp-files)
169         (elmo-archive-folder-append-buffer)
170         (elmo-folder-delete-messages-internal)
171         (elmo-archive-msgdb-create-entity)
172         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
173         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
174         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
175         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
176         * elmo-imap4.el (elmo-imap4-make-number-set-list)
177         (elmo-folder-list-subfolders): Ditto.
178         * elmo-localdir.el (elmo-message-file-name)
179         (elmo-folder-message-make-temp-files)
180         (elmo-localdir-msgdb-create-entity)
181         (elmo-folder-append-messages-*-localdir)
182         (elmo-folder-pack-numbers): Ditto.
183         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
184         * elmo-map.el (elmo-location-map-key): Ditto.
185         * elmo-nntp.el (elmo-nntp-folder-postfix)
186         (elmo-nntp-folder-list-subfolders)
187         (elmo-nntp-folder-msgdb-create): Ditto.
188
189         * elmo.el (elmo-crosspost-message-alist-save): Don't use
190         `function' for `lambda'.
191         * elmo-archive.el (elmo-archive-folder-list-subfolders)
192         (elmo-folder-append-messages-*-archive)
193         (elmo-folder-delete-messages-internal): Ditto.
194         * elmo-date.el (elmo-replace-in-string): Ditto.
195         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
196         (elmo-folder-list-flagged): Ditto.
197         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
198         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
199         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
200
201 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
202
203         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
204         `elmo-dop-spool-folder' was used before it was defined"; Use
205         `defun' instead.
206
207         * pldap.el (ldap/ldif-safe-string-p): macro to function.
208         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
209
210         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
211         `mapcar'; Suppress compile warning.
212         * elmo-imap4.el (elmo-network-initialize-session-buffer)
213         (elmo-imap4-search-internal-primitive): Ditto.
214         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
215         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
216
217         * elmo-imap4.el (elmo-imap4-parse-address-list)
218         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
219         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
220         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
221         `(string-to-char " ")' instead of `? ', `?\ '.
222
223 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
224
225         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
226         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
227         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
228         `function' for lambda.
229
230         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
231         `string-to-number' instead of `string-to-int'.
232
233         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
234         instead of `save-excursion' (for suppress compile warnings).
235         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
236         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
237         (elmo-nntp-post): Ditto.
238
239 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
240
241         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
242         Mule-UCS (to-utf-16).
243         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
244         Emacs 23.
245
246 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
247
248         * utf7.el (utf7-find-coding-system-without-bom): New Function.
249         (utf7-utf-16-coding-system): use no-BOM coding system.
250         (utf7-get-u16char-converter): remove workaround for BOM.
251
252 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
253
254         * elmo-util.el (elmo-union): New function, make a union of two lists.
255
256         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
257         mime-view when displaying malformed base64 attach.
258
259         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
260         (removed duplicated code)
261
262         * modb-standard.el (modb-standard-cleanup-stale-entities): New
263         function, Remove stale entities from elmo's cache.
264
265 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
266
267         * elmo-version.el (elmo-version): Up to 2.15.7.
268
269 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
270
271         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
272         default value to `--auto-update'.
273
274 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
275
276         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
277         Add `elmo-pop3-read-point' barrier.
278
279 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
280
281         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
282         goto the previous end-point insead of the head-point, and use
283         `search-forward' instead of `re-search-forward'.
284
285 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
286
287         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
288
289 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
290
291         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
292         case-insensitive fashion.
293
294 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
295
296         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
297
298 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
299
300         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
301         `eval-and-compile' for suppress compile warnings.
302
303         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
304         instead of `defun-maybe'
305
306         * elmo-util.el: Add (eval-when-compile (require 'static)).
307
308 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
309
310         * mmimap.el: Remove (require 'static).
311         * acap.el: Ditto.
312
313         * elmo-flag.el: Move ';;; Code:' comment.
314         * elmo-imap4.el: Ditto.
315         * elmo-net.el: Ditto.
316
317         * elmo-version.el (product-provide): Fix comment.
318
319 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
320
321         * slp.el: Add (eval-when-compile (require 'cl)).
322         * elmo-date.el: Ditto.
323         * elmo-pop3.el: Ditto.
324         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
325
326 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
327
328         * modb.el (elmo-msgdb-match-condition-primitive): Use
329         `string-to-number' instead of `string-to-int'.
330
331         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
332         (elmo-msgdb-message-match-condition)
333         (elmo-msgdb-create-message-entity-from-buffer): Use
334         `string-to-number' instead of `string-to-int'.
335
336         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
337         instead of `string-to-int'.
338
339         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
340         instead of `string-to-int'.
341
342         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
343         `string-to-number' instead of `string-to-int'.
344
345         * elmo-nntp.el (elmo-nntp-make-msglist)
346         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
347         (elmo-nntp-create-msgdb-from-overview-string)
348         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
349         (elmo-nntp-search-primitive): Use `string-to-number' instead of
350         `string-to-int'.
351
352         * elmo-net.el (elmo-net-folder-set-parameters): Use
353         `string-to-number' instead of `string-to-int'.
354
355         * elmo-localdir.el (elmo-localdir-list-subr): Use
356         `string-to-number' instead of `string-to-int'.
357
358         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
359         `string-to-number' instead of `string-to-int'.
360
361         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
362         instead of `string-to-int'.
363
364         * elmo-archive.el (elmo-archive-list-folder-subr): Use
365         `string-to-number' instead of `string-to-int'.
366
367 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
368
369         * elmo-util.el (elmo-get-passwd): Fix typo.
370
371         * elmo-nntp.el (elmo-nntp-get-server-command)
372         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
373         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
374         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
375         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
376
377         * elmo-imap4.el (elmo-imap4-debug)
378         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
379         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
380         (elmo-imap4-response-value, elmo-imap4-response-error-text)
381         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
382         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
383         (elmo-imap4-identical-system-p): New backquote style.
384
385 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
386
387         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
388         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
389         (elmo-dop-queue-arguments): Ditto.
390
391         * elmo-date.el (elmo-match-substring): New backquote style.
392         (elmo-match-string, elmo-match-buffer): Ditto.
393         (elmo-date-make-sortable-string): Ditto.
394
395         * elmo-archive.el (elmo-archive-get-method):New backquote style.
396         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
397
398         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
399         style.
400
401         * elmo-net.el (elmo-network-stream-type-spec-string): New
402         backquote style.
403         (elmo-network-stream-type-symbol): Ditto.
404         (elmo-network-stream-type-feature): Ditto.
405         (elmo-network-stream-type-function): Ditto.
406         (elmo-network-session-buffer): Ditto.
407
408         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
409         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
410         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
411         (elmo-bind-directory, elmo-set-work-buf): Ditto.
412
413         * elmo.el (elmo-folder-send): New backquote style.
414
415 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
416
417         * pldap.el (ldap-static-if): New backquote style.
418         (ldap/ldif-safe-string-p): Ditto.
419         (ldap/ldif-insert-field): Ditto.
420
421         * elmo-version.el (elmo-version): Up to 2.15.6.
422
423 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
424
425         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
426         messages with \Deleted flag.
427         (elmo-folder-delete-messages-plugged): Ask before sending expunge
428         command if there are messages with \Deleted flag.
429
430 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
431
432         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
433         http://seclists.org/bugtraq/2007/Apr/0018.html
434         (Suggested by Tatsuya Kinoshita)
435
436 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
437
438         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
439         with \Noselect attribute.
440
441 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
442
443         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
444         hierarchical folder structure with UW-imapd.
445
446 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
447
448         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
449         when the LOGINDISABLED capability is advertised.
450
451 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
452
453         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
454
455 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
456
457         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
458         `entity'.
459         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
460         if the message entity is exists.
461
462 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
463
464         * elmo-util.el (elmo-msgdb-insert-file-header): Call
465         `elmo-delete-cr-buffer'.
466
467         * elmo-localdir.el (elmo-message-fetch-internal): Use
468         `insert-file-contents-as-raw-text' instead of
469         `insert-file-contents-as-binary'.
470
471         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
472
473 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
474
475         * elmo-imap4.el (elmo-network-initialize-session): Check to
476         retrieve a whole greeting message.
477
478 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
479
480         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
481
482 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
483
484         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
485         (elmo-progress-notify): Use it instead of `plist-get'.
486
487 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
488
489         * elmo.el (elmo-generic-folder-append-messages): Remove unused
490         variable `table'.
491
492 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
493
494         * elmo-pipe.el (elmo-folder-set-plugged): Define.
495
496 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
497
498         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
499         (elmo-spam-list-spam-messages): Check it option.
500
501 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
502
503         * elmo-util.el (elmo-with-progress-display): Return the value
504         of the last form in `body'.
505
506 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
507
508         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
509         `elmo-progress-counter' as t when a query callback returns nil.
510         (elmo-progress-clear): New function.
511         (elmo-progress-done): Split into `elmo-progress-clear'.
512         (elmo-progress-notify): Update a total slot when it is nil.
513         (elmo-with-progress-display): Call `elmo-progress-clear' in
514         unwind-protect and move calling `elmo-progress-done' to outside.
515
516         * elmo-imap4.el (elmo-imap4-find-next-line): Call
517         `elmo-progress-notify' with :total parameter instead of
518         `elmo-progress-counter-set-total'.
519
520 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
521
522         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
523         Make it interactive.
524         (elmo-progress-start): Avoid updating `elmo-progress-counter'
525         when a query callback returns nil.  Return a progress counter
526         instead of t whenever a start callback was called.
527
528 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
529
530         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
531         (elmo-imap4-send-command): Use it.
532         (elmo-network-initialize-session): Ditto.
533         (elmo-network-setup-session): Ditto.
534         (elmo-folder-msgdb-create-plugged): Ditto.
535
536 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
537
538         * elmo-util.el (elmo-progress-done): Fix a miss refer to
539         `elmo-progress-counter'.
540
541 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
542
543         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
544         (elsp-bsfilter-list-spam-filter): New function.
545         (elsp-bsfilter-start-list-spam): Ditto.
546         (elsp-bsfilter-read-list-spam): Ditto.
547         (elmo-spam-list-spam-messages): Use async process to display
548         progress message by each message.
549
550 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
551
552         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
553         of flushing previously inserted message contents.
554
555         * elmo-imap4.el (elmo-folder-search): Fix return value.
556
557 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
558
559         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
560         of reporter is enable or not.
561
562 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
563
564         * elmo-util.el (elmo-list-bigger-diff): Abolish.
565         (elmo-display-progress): Ditto.
566         (elmo-progress-counter-alist): Ditto.
567         (elmo-progress-set): Ditto.
568         (elmo-progress-clear): Ditto.
569         (elmo-progress-counter-all-value): Rename to
570         `elmo-progress-counter-total'.
571         (elmo-progress-counter-format): Rename to
572         `elmo-progress-counter-action'.
573         (elmo-progress-counter): New internal variable.
574         (elmo-progress-callback-function): Ditto.
575         (elmo-progress-counter-label): New function.
576         (elmo-progress-counter-set-total): Ditto.
577         (elmo-progress-counter-set-action): Ditto.
578         (elmo-progress-call-callback): Ditto.
579         (elmo-progress-start): Ditto.
580         (elmo-progress-done): Ditto.
581         (elmo-progress-notify): Rewrite.
582         (elmo-with-progress-display): Remove first argument
583         `condition'. Add optional argument `var' in `spec'.
584
585         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
586         (elmo-display-retrieval-progress-threshold): Ditto.
587         (elmo-inhibit-display-retrieval-progress): Ditto.
588
589         * Replace all pair of `elmo-progress-set' and
590         `elmo-progress-clear' into `elmo-with-progress-display'.
591
592         * Replace to call `elmo-display-progress' into pair of
593         `elmo-progress-notify' and `elmo-with-progress-display'.
594
595         * elmo-version.el (elmo-version): Up to 2.15.5.
596
597 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
598
599         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
600         `cond'.
601
602 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
603
604         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
605         cleanup-forms [wl:14027].
606
607 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
608
609         * elmo-flag.el (elmo-global-flag-set-internal): Use
610         `elmo-copy-file' by priority when the message is a file.
611
612 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
613
614         * elmo.el: Fix typo: disptch -> dispatch.
615
616 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
617
618         * elmo.el (elmo-file-tag): New class.
619         (elmo-append-messages-disptch-table): New constant.
620         (elmo-folder-type-p): New function.
621         (elmo-folder-append-messages): Redefine as function.
622
623         * elmo-null.el (elmo-folder-append-messages): Renamed from
624         `elmo-folder-append-messages'.
625
626         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
627         (elmo-folder-append-messages-*-maildir): Renamed from
628         `elmo-folder-append-messages'.
629
630         * elmo-localdir.el (elmo-localdir-folder): Inherit
631         `elmo-file-tag'.
632         (elmo-folder-append-messages-*-localdir): Renamed from
633         `elmo-folder-append-messages'.
634
635         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
636         from `elmo-folder-append-messages'.
637
638         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
639         `elmo-folder-append-messages'.
640
641         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
642         function.
643         (elmo-folder-append-messages-*-filter): Ditto.
644
645         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
646
647         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
648         (elmo-folder-append-messages-*-pipe): Renamed from
649         `elmo-folder-append-messages'.
650
651         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
652
653         * elmo-file.el (elmo-file-folder): Ditto.
654
655         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
656
657         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
658         from `elmo-folder-append-messages'
659
660 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
661
662         * elmo-map.el (elmo-location-map-setup): Change an argument
663         `locations' to optional.
664         (elmo-location-map-clear): Abolish.
665         (elmo-folder-clear): Follow the API change.
666
667         * elmo-pop3.el (elmo-folder-clear): Ditto.
668
669         * elmo-pop3.el (toplevel): Require elmo-map.
670         (elmo-pop3-folder): Inherit elmo-location-map and abolish
671         location-alist slot (All other related portions are changed).
672         (elmo-pop3-folder-use-uidl): New function.
673         (elmo-folder-msgdb-create): Don't sort message entities.
674         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
675         (elmo-pop3-number-to-size): Convert return value to number.
676         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
677         working buffer.
678
679         * elmo-map.el: Use `location-map' as a variable name for instance
680         instead of `mapper'.
681         (elmo-location-map-setup): Return location alist.
682         (elmo-location-map-update): Ditto.
683
684 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
685
686         * elmo-map.el (elmo-location-map): New class; split location and
687         number mapping from elmo-map-folder (All other related portions
688         are changed).
689
690         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
691         change.
692
693         * elmo-version.el (elmo-version): Up to 2.15.4.
694
695 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
696
697         * elmo-vars.el (elmo-use-hardlink): New user option.
698
699         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
700         `elmo-use-hardlink'.
701
702         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
703         killed-list.
704         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
705         instead of `*-internal'. Use `elmo-with-progress-display'.
706
707 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
708
709         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
710         `elmo-spam-process-messages-as-mbox'.
711
712         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
713
714 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
715
716         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
717         argument BUFFER of `call-process'.
718
719 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
720
721         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
722         args.
723         (elsp-bsfilter-list-spam-files): Ditto.
724
725 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
726
727         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
728         (elmo-spam-bsfilter-max-messages-per-process): New use option.
729         (elmo-spam-bsfilter-debug): Fix a group.
730         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
731         `--homedir'.
732         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
733         (elsp-bsfilter-list-spam-files): New function.
734         (elmo-spam-list-spam-messages): Define.
735         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
736         (elmo-spam-bsfilter-register-messages): New function.
737         (elmo-spam-register-spam-messages): Define.
738         (elmo-spam-register-good-messages): Ditto.
739
740         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
741
742         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
743         `nconc' and `consp'.
744
745 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
746
747         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
748         hash table to test whether a location is exists.
749
750 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
751
752         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
753         even if some error occurred.
754
755         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
756         meaningless unwind-protect.
757
758         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
759         start-number correctly.
760         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
761         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
762
763 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
764
765         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
766         (elmo-folder-initialize): Use it.
767         (elmo-global-flag-replace-referrer): New function.
768
769         * elmo.el (toplevel): Added autoload setting for
770         `elmo-global-flag-replace-referrer'.
771         (elmo-folder-rename): Rewrite the last change use
772         `elmo-global-flag-replace-referrer'.
773
774         * elmo-pipe.el (elmo-folder-rename): Call
775         `elmo-global-flag-replace-referrer'.
776
777 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
778
779         * elmo.el (elmo-folder-rename): Set meta data for global flags
780         follow the rename.
781
782 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
783
784         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
785         as 'not-loaded.
786         (elmo-folder-close): Ditto.
787         (elmo-filter-folder-number-list-loaded-p): New function.
788         (elmo-filter-folder-number-list): Check whether loaded or not.
789         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
790         of `elmo-filter-folder-number-list-internal'.
791         (elmo-folder-delete-messages): Ditto.
792         (elmo-folder-length): Check whether number-list is loaded or not.
793
794 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
795
796         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
797         field `real field' into each element of list.
798         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
799         (elmo-msgdb-message-entity-field): Ditto.
800         (modb-entity-ml-info-real-fields): New function.
801
802         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
803
804         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
805         `elmo-msgdb-extra-fields'.
806
807 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
808
809         * elmo-util.el (elmo-passwd-alist-load): Move point to min
810         position before read.
811
812 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
813
814         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
815         (elmo-global-flags-initialize): Ditto.
816
817 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
818
819         * elmo-archive.el (toplevel): Don't require emu, std11
820         and elmo-localdir.
821
822         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
823         definition.
824
825 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
826
827         * elmo.el (elmo-folder-confirm-appends): Display folder name.
828
829 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
830
831         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
832         literals.
833
834 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
835
836         * elmo-maildir.el (elmo-maildir-list-location): Reduce
837         `elmo-get-last-modification-time' call.
838
839 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
840
841         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
842         expression.
843         (elmo-maildir-set-mark): Ditto.
844         (elmo-maildir-delete-mark): Ditto.
845
846 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
847
848         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
849         optional argument `separators'.
850
851 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
852
853         * elmo.el (cache-changed): Abolish.
854         (status-changed): New signal.
855         (elmo-message-killed-p): New generic function and define for
856         elmo-folder.
857         (elmo-folder-recover-messages): Ditto.
858         (elmo-message-set-cached): Emit signal `status-changed' instead of
859         `cache-changed'.
860         (elmo-message-status): New macro.
861         (elmo-message-status-folder): Ditto.
862         (elmo-message-status-number): Ditto.
863         (elmo-message-status-set-flags): Ditto.
864         (elmo-message-status-set-killed): Ditto.
865         (elmo-message-status-flags): New function.
866         (elmo-message-status-cached-p): Ditto.
867         (elmo-message-status-killed-p): Ditto.
868
869         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
870         `status-changed' instead of `cache-changed'.
871         (elmo-folder-recover-messages): Define.
872         (elmo-message-killed-p): Ditto.
873
874         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
875         `status-changed' instead of `cache-changed'.
876
877         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
878         (elmo-message-killed-p): Define.
879         (elmo-folder-recover-messages): Ditto.
880
881         * elmo-version.el (elmo-version): Up to 2.15.3.
882
883 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
884
885         * elmo-signal.el (elmo-signal-bindings): Use cons to append
886         element into list.
887         (elmo-define-signal-handler): Add docstring.
888         (elmo-define-signal-filter): Ditto.
889
890         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
891
892 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
893
894         * elmo-util.el (elmo-flatten): Don't use recursive call.
895
896         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
897         assignment.
898         (elmo-folder-message-make-temp-files): Use `number-to-string'
899         instead of `int-to-string'.
900
901 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
902
903         * elmo-search.el (elmo-folder-delete-messages): Define.
904
905 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
906
907         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
908         customization type.
909         (elmo-mailing-list-count-spec-list): Ditto.
910
911         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
912         for `list-id'.
913
914 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
915
916         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
917         handling.
918
919 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
920
921         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
922         (elmo-mailing-list-count-spec-list): Ditto.
923
924         * elmo-util.el (elmo-map-until-success): New function.
925         (elmo-string-match-substring): Ditto.
926         (elmo-find-list-match-value): Ditto.
927
928         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
929         Removed.
930         (modb-entity-extract-ml-info-from-subject): Ditto.
931         (modb-entity-extract-ml-info-from-return-path): Ditto.
932         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
933         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
934         (modb-entity-extract-ml-info-from-mailman): Ditto.
935         (modb-entity-extract-mailing-list-info-functions): Ditto.
936         (modb-entity-extract-mailing-list-info): Rewrite with
937         `elmo-find-list-match-value'.
938
939 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
940
941         * elmo-net.el (elmo-network-session-retry-count): New user option.
942         (elmo-network-session-buffer-name): New internal function.
943         (elmo-network-session-buffer-create): Ditto.
944         (elmo-network-open-session): Retry open network session
945         `elmo-network-session-retry-count' times.
946
947 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
948
949         * elmo-util.el (elmo-list-filter): Rewritten.
950
951 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
952
953         * elmo-util.el (elmo-string-member): Allow symbol element in list.
954
955 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
956
957         * elmo-search.el (elmo-make-search-engine): Use prefix
958         `elmo-search-' for require symbol instead of `else-'.
959         (elmo-search-engine-extprog): New class.
960         (elmo-search-engine-do-search): Remove nil from argument
961         list. Added argument pattern to evaluate element as function.
962         (elmo-search-engine-local-file): Derived from
963         `elmo-search-engine-extprog'.
964         (elmo-search-engine-create-message-entity): Check existance of file.
965         (elmo-search-engine-fetch-message): Ditto.
966         (elmo-search-namazu-index): Follow the API change.
967         (elmo-search-grep-target): Ditto.
968
969 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
970
971         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
972         characters of working buffer.
973
974         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
975         Does not bind `default-mime-charset'.
976         (elmo-msgdb-create-message-entity-from-buffer): Removed
977         unnecessary local bind.
978
979         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
980         function.
981         (modb-entity-extract-mailing-list-info-functions): Added it.
982
983 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
984
985         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
986         when number and message-id are non-nil.
987
988         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
989
990         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
991         conditional steatment.
992         (elmo-pop3-auth-apop): Likewise.
993         (elmo-network-authenticate-session): Likewise.
994
995 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
996
997         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
998         symbol `fill-column'.
999         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
1000         decode field value.
1001
1002         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
1003         (elmo-decoded-field-body): Ditto.
1004
1005 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1006
1007         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
1008         `tokens' to `params'.
1009
1010 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1011
1012         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
1013         working buffer.
1014
1015 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1016
1017         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
1018         decide index.
1019
1020 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1021
1022         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1023         Set default value as nil.
1024         (toplevel): Register search engines by
1025         `elmo-search-register-engine' if there are not defined.
1026
1027         * elmo.el (autoload): Added autoload setting for
1028         `elmo-search-register-engine'.
1029
1030 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1031
1032         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1033         folder instead of nmz folder.
1034         (elmo-nmz-default-index-path): Added obsolete variable setting.
1035         (elmo-nmz-index-alias-alist): Ditto.
1036         (elmo-nmz-use-drive-letter): Ditto.
1037
1038         * elmo-search.el (elmo-search-register-engine): New function.
1039
1040         * elmo-nmz.el: Removed.
1041
1042         * elmo-version.el (elmo-version): Up to 2.15.2.
1043
1044 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1045
1046         * elmo-search.el: New file.
1047
1048 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1049
1050         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1051         condition `larger' and `smaller'.
1052
1053 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1054
1055         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1056         `"' (double quote) into "_Q_".
1057
1058 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1059
1060         * elmo-net.el (elmo-net-quote-chars): Abolish.
1061         (elmo-net-format-quoted): Ditto.
1062
1063 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1064
1065         * elmo.el (elmo-get-folder-function): New variable.
1066         (elmo-get-folder): New function.
1067         (elmo-folder-rename): Call `elmo-make-folder' with specified
1068         mime-charset.
1069
1070         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1071         `elmo-make-folder'.
1072         (elmo-split-subr): Ditto.
1073
1074         * elmo-multi.el (elmo-folder-initialize): Ditto.
1075
1076         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1077
1078         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1079         (elmo-flag-get-folder): Ditto.
1080
1081         * elmo-filter.el (elmo-folder-initialize): Ditto.
1082
1083         * elmo-access.el (elmo-folder-initialize): Ditto.
1084         (elmo-access-folder-update-children): Ditto.
1085
1086         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1087         (elmo-dop-queue-flush): Ditto.
1088         (elmo-folder-append-buffer-dop-delayed): Ditto.
1089         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1090         mime-charset.
1091
1092         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1093         instead of `elmo-make-folder'.
1094         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1095         destination folder instead of send `elmo-folder-rename-internal'.
1096
1097         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1098         slot of subfolder instead of create it.
1099
1100 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1101
1102         * elmo-util.el (elmo-collect-separators): New function.
1103         (elmo-collect-separators-internal): Ditto.
1104         (elmo-collect-trail-separators): Ditto.
1105         (elmo-parse-separated-tokens): Ditto.
1106         (elmo-parse-separated-tokens-internal): Ditto.
1107         (elmo-quote-syntactical-element): Ditto.
1108
1109         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1110         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1111
1112         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1113         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1114         (elmo-nntp-folder-list-subfolders): Quote a user name.
1115
1116         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1117         (elmo-net-parse-network): Abolish.
1118         (elmo-net-folder-set-parameters): New function.
1119         (elmo-folder-initialize): Follow the above change.
1120
1121         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1122         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1123         (elmo-folder-list-subfolders): Use
1124         `elmo-quote-syntactical-element' instead of
1125         `elmo-net-format-quoted' to quote mailbox and user name.
1126
1127 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1128
1129         * elmo-util.el (elmo-token-valid-p): New function.
1130         (elmo-parse-token): Add optional argument `requirement'.
1131         (elmo-parse-prefixed-element): Likewise.
1132
1133         * elmo-net.el (elmo-net-quote-chars): Renamed from
1134         `elmo-net-quote-chars-regexp'.
1135         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1136
1137         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1138         by info document. Check token `uidl' is started an alphabet.
1139
1140         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1141         by info document. Check token `user' is started an alphabet.
1142
1143         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1144         (elmo-folder-list-subfolders): Quote user.
1145
1146 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1147
1148         * elmo-util.el (elmo-quoted-specials-list): New constant.
1149         (elmo-quoted-token): New function.
1150
1151         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1152         (elmo-net-format-quoted): New function.
1153         (elmo-net-parse-network): Ditto.
1154         (elmo-folder-initialize): Use it.
1155
1156         * elmo-nntp.el (elmo-folder-initialize): Use
1157         `elmo-net-parse-network' to parse network specification instead of
1158         `elmo-folder-initialize#elmo-net'.
1159
1160         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1161
1162         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1163         (elmo-folder-list-subfolders): Quote folder name by
1164         `elmo-net-format-quoted'.
1165
1166 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1167
1168         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1169         (elmo-folder-search): Use it.
1170
1171 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1172
1173         * modb-standard.el (modb-standard-loaded-message-id): Use
1174         `elmo-msgdb-message-entity-field'.
1175
1176 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1177
1178         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1179         without filename.
1180
1181 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1182
1183         * elmo-util.el (elmo-set-auto-coding): New function.
1184         (elmo-object-load): Use it.
1185
1186 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1187
1188         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1189         (elmo-time<): Define as alias of `elmo-time-less-p'.
1190         (elmo-time-to-datevec): New function.
1191
1192         * elmo-date.el (elmo-time-to-days): New function.
1193
1194 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1195
1196         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1197         is not cons cell.
1198
1199 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1200
1201         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1202         parenthesis.
1203
1204         * elmo-util.el (elmo-map-recursive): New function.
1205
1206         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1207         (modb-entity-encode-string-recursive): Ditto.
1208
1209 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1210
1211         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1212         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1213         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1214         compare sequence number when last modified time is nil.
1215
1216 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1217
1218         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1219
1220         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1221
1222 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1223
1224         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1225         modification time of the file.
1226
1227 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1228
1229         * elmo-util.el (elmo-condition-optimize): Discriminated against
1230         preserved fields, extra fields and the other weight.
1231
1232 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1233
1234         * modb-entity.el (initialize-instance): Define.
1235         (modb-entity-handler-mime-charset): New internal function.
1236         (modb-standard-entity-set-field): Use it.
1237         (elmo-msgdb-message-entity-field): Ditto.
1238         (elmo-msgdb-message-entity-field): Ditto.
1239
1240         * modb.el (elmo-msgdb-match-condition): Rewrite with
1241         `elmo-condition-match'.
1242         (elmo-msgdb-match-condition-primitive): New function.
1243
1244         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1245         arguments `flags' and `numbers'.
1246         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1247         `elmo-msgdb-message-match-condition').
1248         (modb-buffer-entity-handler): New class.
1249
1250         * elmo.el (elmo-folder-search): Optimize condition to use
1251         `elmo-condition-optimize'.
1252         (elmo-message-buffer-match-condition): New function.
1253         (elmo-message-match-condition): Use
1254         `elmo-message-buffer-match-condition' instead of
1255         `elmo-buffer-field-condition-match'.
1256
1257         * elmo-util.el (elmo-condition-match): New function.
1258         (elmo-condition-optimize): Ditto.
1259         (elmo-buffer-field-primitive-condition-match): Abolish.
1260         (elmo-buffer-field-condition-match): Ditto.
1261
1262         * elmo-archive.el (elmo-archive-field-condition-match): Use
1263         `elmo-message-buffer-match-condition' instead of
1264         `elmo-buffer-field-condition-match'.
1265
1266 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1267
1268         * elmo-flag.el (elmo-global-flags-initialize): Check the
1269         existence of the flag directory.
1270
1271 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1272
1273         * elmo-access.el (elmo-folder-initialize): Call
1274         `elmo-multi-connect-signals'.
1275
1276         * elmo-pipe.el (elmo-folder-close): Define.
1277
1278         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1279         children folders.
1280
1281         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1282         with target folder.
1283
1284         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1285         `number'.
1286
1287         * elmo-multi.el (elmo-message-entity): Don't use return value of
1288         `elmo-message-entity-set-number'.
1289
1290 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1291
1292         * modb.el (modb-generic): Added slot `mime-charset'.
1293
1294         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1295         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1296         and `modb-entity-handler-dump-parameters'.
1297         (modb-standard-default-entity-handler): Abolish.
1298         (elmo-msgdb-message-entity-handler): Save created handler by
1299         instance slot.
1300
1301         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1302         (modb-entity-handler-list-parameters): New method.
1303         (modb-entity-handler-equal-p): New function.
1304         (modb-entity-handler-dump-parameters): Ditto.
1305         (modb-entity-parse-address-string): Encode return value.
1306         (modb-entity-make-address-string): Decode argument value.
1307         (modb-entity-decode-string-recursive): New function.
1308         (modb-entity-encode-string-recursive): Ditto.
1309         (modb-standard-entity-normalizer): Set to encode field value.
1310         (modb-standard-entity-specializer): Follow the above change.
1311         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1312         mime-charset of handler.
1313         (elmo-msgdb-message-entity-field): Ditto.
1314         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1315         structure.
1316         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1317
1318         * elmo.el (elmo-folder): Added slot `mime-charset'.
1319         (elmo-make-folder): Added argument `mime-charset'.
1320         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1321         `mime-charest'.
1322
1323         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1324         (elmo-make-msgdb): Likewise.
1325
1326         * elmo-internal.el (elmo-internal-folder-initialize): Call
1327         `luna-make-entity' with :mime-charset parameter.
1328
1329 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1330
1331         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1332         encoded words in `from' and `subject' field.
1333
1334 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1335
1336         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1337         (elmo-msgdb-match-condition): Get handler from entity instead of
1338         msgdb.
1339
1340         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1341         (modb-standard-load-entity): Treat new file format.
1342         (modb-standard-save-entity-1): Save as new file format.
1343         (modb-standard-save-entity): Split messages into section here.
1344         (elmo-msgdb-message-field): Follow the API change.
1345         (modb-standard-default-entity-handler): New internal variable.
1346         (elmo-msgdb-message-entity-handler): Define.
1347
1348         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1349         to `elmo-vars.el'.
1350         (modb-entity-field-extractor-alist): New user option.
1351         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1352         added argument `type'.
1353         (elmo-msgdb-copy-message-entity): Add optional argument
1354         `make-handler'.
1355         (modb-set-field-converter): New function.
1356         (modb-convert-field-value): Ditto.
1357         (modb-entity-string-decoder): Ditto.
1358         (modb-entity-string-encoder): Ditto.
1359         (modb-entity-parse-date-string): Ditto.
1360         (modb-entity-make-date-string): Ditto.
1361         (modb-entity-mime-decoder): Ditto.
1362         (modb-entity-mime-encoder): Ditto.
1363         (modb-entity-address-list-decoder): Ditto.
1364         (modb-entity-address-list-encoder): Ditto.
1365         (modb-entity-parse-address-string): Ditto.
1366         (modb-entity-make-address-string): Ditto.
1367         (modb-entity-create-field-indices): Ditto.
1368         (modb-legacy-entity-field-slots): New constant.
1369         (modb-legacy-entity-field-indices): Ditto.
1370         (modb-legacy-entity-normalizer): New variable.
1371         (modb-legacy-entity-specializer): Ditto.
1372         (modb-legacy-entity-field-index): New macro.
1373         (modb-legacy-entity-set-field): New function.
1374         (modb-legacy-make-message-entity): Rewrite.
1375         (elmo-msgdb-create-message-entity-from-buffer): Use
1376         `elmo-msgdb-get-references-from-buffer'. Use
1377         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1378         Use `modb-legacy-entity-set-field' instead of
1379         `elmo-msgdb-message-entity-set-field'.
1380         (elmo-msgdb-message-entity-field): Rewrite.
1381         (elmo-msgdb-message-entity-set-field): Ditto.
1382         (elmo-msgdb-copy-message-entity): Make new entity by
1383         `make-handler' if it specified.
1384         (elmo-msgdb-message-match-condition): Define a method of
1385         `modb-entity-handler' and follow the API change.
1386         (modb-standard-entity-handler): New class.
1387         (modb-entity-extract-ml-info-from-x-sequence): New function.
1388         (modb-entity-extract-ml-info-from-subject): Ditto.
1389         (modb-entity-extract-ml-info-from-return-path): Ditto.
1390         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1391         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1392         (modb-entity-extract-mailing-list-info): Ditto.
1393         (modb-entity-extract-mailing-list-info-functions): New variable.
1394
1395         * elmo.el (elmo-message-field): Add optional argument `type'.
1396
1397         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1398         from `modb-entity.el'.
1399
1400         * elmo-util.el (elmo-object-load): Decode by coding-system from
1401         `set-auto-coding-function'.
1402         (elmo-object-save): Use `detect-mime-charset-region' and add
1403         coding cookie if encode.
1404         (elmo-msgdb-get-references-from-buffer): New function.
1405         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1406
1407         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1408
1409         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1410         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1411         instead of `shimbun-make-header' and follow the API change.
1412         (elmo-shimbun-update-overview): Follow the API change.
1413         (elmo-map-folder-list-message-locations): Ditto.
1414
1415         * elmo-pipe.el (elmo-message-field): Ditto.
1416
1417         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1418         Ditto.
1419
1420         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1421
1422         * elmo-multi.el (elmo-message-field): Ditto.
1423
1424         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1425         (elmo-msgdb-sort-by-date): Ditto.
1426         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1427         `elmo-message-entity-field'.
1428         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1429         change.
1430         (elmo-msgdb-overview-entity-get-from): Ditto.
1431         (elmo-msgdb-overview-entity-get-subject): Ditto.
1432         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1433         (elmo-msgdb-overview-entity-get-date): Ditto.
1434         (elmo-msgdb-overview-entity-get-to): Ditto.
1435         (elmo-msgdb-overview-entity-get-cc): Ditto.
1436
1437         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1438         (elmo-mime-collect-message/partial-pieces): Ditto.
1439
1440         * elmo-filter.el (elmo-message-field): Ditto.
1441
1442         * elmo-date.el (elmo-datevec-to-time): New function.
1443         (elmo-time-parse-date-string): Ditto.
1444         (elmo-time-make-date-string): Ditto.
1445         (elmo-time<): Ditto.
1446
1447         * elmo-version.el (elmo-version): Up to 2.15.1.
1448
1449 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1450
1451         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1452         member of elmo-local-flags.
1453
1454 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1455
1456         * elmo-version.el (elmo-version): Up to 2.15.0.
1457
1458 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1459
1460         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1461         `ignore-msgdb' is non-nil.
1462
1463 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1464
1465         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1466         (elmo-condition-in-msgdb-p): Ditto.
1467         (elmo-file-field-primitive-condition-match): Ditto.
1468         (elmo-file-field-condition-match): Ditto.
1469
1470         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1471
1472 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1473
1474         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1475         subdirectories here.
1476         (elmo-global-flags-initialize): New function.
1477
1478         * elmo.el (toplevel): Added autoload setting for
1479         `elmo-global-flags-initialize'.
1480
1481 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1482
1483         * elmo.el (message-number-changed): Define new signal.
1484         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1485         message-number-changed signal.
1486         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1487         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1488         Respect `elmo-pack-number-check-strict'.
1489
1490 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1491
1492         * elmo-signal.el (elmo-connect-signal): Document.
1493         (elmo-emit-signal): Ditto.
1494         (elmo-emit-signal): It should pass source argument to filter and
1495         handler, not slot-source.
1496
1497 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1498
1499         * modb.el (elmo-msgdb-update-entity): New API and define generic
1500         implement.
1501
1502         * modb-standard.el (elmo-msgdb-update-entity): Define.
1503
1504         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1505         API and define generic implement.
1506
1507         * elmo.el (update-overview): New singnal.
1508
1509         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1510         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1511         (elmo-message-entity-parent): Define.
1512
1513         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1514         `update-overview'.
1515
1516         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1517
1518         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1519
1520 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1521
1522         * elmo.el (elmo-folder-synchronize): Sort the return value of
1523         `elmo-list-diff'.
1524
1525         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1526         list.
1527
1528 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1529
1530         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1531         `default-enable-multibyte-characters'.
1532         (elmo-object-load): Use `with-temp-buffer' instead of
1533         `elmo-set-work-buf'.
1534         (elmo-object-save): Ditto.
1535         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1536         `elmo-set-work-buf'.
1537         (elmo-decoded-field-body): Ditto.
1538
1539         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1540
1541         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1542         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1543
1544         * elmo-version.el (elmo-version): Up to 2.13.3.
1545
1546 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1547
1548         * elmo-util.el (elmo-list-diff): Fix the last change.
1549         Reverse order of result lists.
1550
1551 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1552
1553         * modb-standard.el (elmo-msgdb-set-flag): Use
1554         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1555         (elmo-msgdb-unset-flag): Ditto.
1556
1557         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1558         `elmo-list-diff'.
1559
1560         * elmo-util.el (elmo-list-diff): Rewrite.
1561         (elmo-list-diff-nonsortable): New function.
1562
1563 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1564
1565         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1566         `elmo-multibypte-buffer-name'.  All referers are updated.
1567
1568 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1569
1570         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1571         (elmo-mime-entity-fragment-p): New function.
1572         (mime-elmo-buffer-entity): Added slot `reassembled'.
1573         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1574         (elmo-message-mime-entity-internal): New function (renamed from
1575         `elmo-message-mime-entity').
1576         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1577         (elmo-mime-make-reassembled-mime-entity): New function.
1578         (elmo-message-reassembled-mime-entity): Ditto.
1579         (elmo-mime-collect-message/partial-pieces): Ditto.
1580
1581 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1582
1583         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1584
1585         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1586         (elmo-with-enable-multibyte): New macro.
1587
1588         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1589
1590 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1591
1592         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1593         argument `number'.
1594         (elmo-filter-connect-signals): Follow the above change.
1595
1596 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1597
1598         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1599
1600         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1601         that only the first flag is used.
1602
1603 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1604
1605         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1606         if available.
1607
1608 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1609
1610         * elmo-signal.el: New file.
1611
1612         * elmo.el (toplevel): Require elmo-signal.
1613         (flag-changing, flag-changed, cache-changed): New signal.
1614         (elmo-folder): Remove slog `handlers'.
1615         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1616         `elmo-folder-notify-event'.
1617         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1618         (elmo-folder-unset-flag): Ditto.
1619         (elmo-event-handler): Abolish.
1620         (elmo-event-handler-flag-changed): Ditto.
1621         (elmo-event-handler-cache-changed): Ditto.
1622         (elmo-folder-add-handler): Ditto.
1623         (elmo-folder-remove-handler): Ditto.
1624         (elmo-folder-notify-event): Ditto.
1625
1626         * elmo-pipe.el (toplevel): Require elmo-signal.
1627         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1628         (elmo-pipe-connect-signals): New function.
1629         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1630         (elmo-folder-set-flag): Ditto.
1631         (elmo-folder-unset-flag): Ditto.
1632         (elmo-message-set-cached): Ditto.
1633
1634         * elmo-multi.el (toplevel): Require elmo-signal.
1635         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1636         (elmo-multi-connect-signals): New function.
1637         (elmo-multi-map-numbers): Ditto.
1638         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1639         (elmo-message-fetch): Ditto.
1640         (elmo-folder-set-flag): Ditto.
1641         (elmo-folder-unset-flag): Ditto.
1642
1643         * elmo-filter.el (toplevel): Require elmo-signal.
1644         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1645         (elmo-filter-connect-signals): New function.
1646         (elmo-filter-add-flag-count): Ditto.
1647         (elmo-message-fetch): Does not call
1648         `elmo-filter-folder-countup-message-flags' and
1649         `elmo-folder-notify-event'.
1650         (elmo-message-set-cached): Ditto.
1651         (elmo-folder-set-flag): Ditto.
1652         (elmo-folder-unset-flag): Ditto.
1653
1654         * elmo-version.el (elmo-version): Up to 2.13.2.
1655
1656 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1657
1658         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1659         `flags'.
1660
1661 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1662
1663         * elmo-filter.el (elmo-message-set-cached): Call
1664         `elmo-folder-notify-event' with event `cache-changed'.
1665
1666         * elmo-multi.el (elmo-message-set-cached): Ditto.
1667
1668         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1669
1670 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1671
1672         * elmo.el (elmo-folder-encache): Abolish.
1673
1674 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1675
1676         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1677         (elmo-folder-next-message-number-dop): Return appropriate negative
1678         integer.
1679
1680 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1681
1682         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1683         clearing pending operations.
1684         (elmo-folder-next-message-number-dop): Return appropriate negative
1685         integer.
1686
1687 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1688
1689         * elmo.el (toplevel): Added autoload setting for `md5'.
1690         (elmo-msgdb-path-encode-threshold): New user option.
1691         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1692         longer than `elmo-msgdb-path-encode-threshold'.
1693
1694         * elmo-flag.el (elmo-global-mark-migrate): Use
1695         `elmo-folder-expand-msgdb-path' instead of
1696         `elmo-folder-msgdb-path'.
1697
1698 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1699
1700         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1701         element of the difference is nil.
1702
1703 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1704
1705         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1706         to the check logic of file systems which are weak in colon character.
1707
1708 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1709
1710         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1711
1712 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1713
1714         * elmo-maildir.el (elmo-maildir-move-file): New function.
1715         (elmo-folder-append-buffer): Use it.
1716         (elmo-folder-append-messages): Ditto.
1717         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1718
1719         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1720         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1721
1722         * elmo-maildir.el (elmo-maildir-separator): New user option.
1723         (elmo-maildir-adjust-separator): New macro.
1724         (elmo-maildir-list-location): Use it.
1725         (elmo-maildir-update-current): Ditto.
1726         (elmo-maildir-set-mark): Ditto.
1727         (elmo-maildir-delete-mark): Ditto.
1728         (These changes are based on Hiroya Murata's patch [wl: 13437])
1729
1730 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1731
1732         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1733
1734 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1735
1736         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1737         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1738         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1739
1740 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1741
1742         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1743         Use `with-temp-buffer'.
1744
1745 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1746
1747         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1748
1749         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1750         `wl-read-search-condition').
1751         (elmo-read-search-condition-internal): Likewise.
1752
1753         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1754         (elmo-flag-valid-p): New function.
1755         (elmo-folder-initialize): Check flag name is valid.
1756
1757 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1758
1759         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1760         delimiter to obtain root mailbox itself.
1761
1762 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1763
1764         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1765         type mismatch.
1766
1767 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1768
1769         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1770         as t.
1771
1772 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1773
1774         * elmo-shimbun.el (toplevel): Require cl at compile.
1775
1776         * elmo-nntp.el (toplevel): Ditto.
1777
1778         * elmo-nmz.el (toplevel): Ditto.
1779
1780         * elmo-multi.el (toplevel): Ditto.
1781
1782         * elmo-file.el (toplevel): Ditto.
1783
1784         * elmo-dop.el (toplevel): Ditto.
1785
1786         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1787
1788 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1789
1790         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1791         as nil.
1792
1793         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1794         size of elmo-message-fetch-internal is 0 byte.
1795
1796 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1797
1798         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1799
1800 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1801
1802         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1803         always plugged.
1804
1805 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1806
1807         * elmo-maildir.el (elmo-map-message-fetch): Call
1808         `elmo-map-folder-set-flag'.
1809
1810         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1811         (elmo-message-fetch): Merge from
1812         `elmo-message-fetch-with-cache-process'.
1813
1814         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1815         (elmo-message-fetch): Define.
1816
1817         * elmo-nntp.el (elmo-message-fetch): Renamed from
1818         `elmo-message-fetch-with-cache-process'.
1819
1820         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1821         (elmo-message-fetch): Define.
1822
1823         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1824         search-key.
1825
1826         * elmo-shimbun.el (shimbun-mua-search-id): Use
1827         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1828         (elmo-shimbun-folder-shimbun-header): Ditto.
1829         (elmo-shimbun-get-headers): Ditto.
1830         (elmo-shimbun-update-overview): Ditto.
1831
1832         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1833
1834         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1835         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1836
1837 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1838
1839         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1840         message is cached.
1841         (elmo-message-fetch-string): Fixed argument.
1842
1843 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1844
1845         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1846         exchange order of arguments `section' and `unread'.
1847         (elmo-message-encache): Follow the API change.
1848         (elmo-message-match-condition): Ditto.
1849         (elmo-generic-folder-append-messages): Ditto.
1850         (elmo-message-fetch-string): New function.
1851
1852         * elmo-split.el (elmo-split-subr): Ditto.
1853
1854         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1855
1856         * elmo-pipe.el (elmo-message-fetch): Ditto.
1857
1858         * elmo-multi.el (elmo-message-fetch): Ditto.
1859
1860         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1861
1862         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1863
1864         * elmo-filter.el (elmo-message-fetch): Ditto.
1865
1866         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1867
1868         * elmo-imap4.el (mime-imap-location-section-body): Use
1869         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1870         follow the API change.
1871
1872 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1873
1874         * elmo-access.el: New file.
1875
1876         * elmo-null.el: Ditto.
1877
1878         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1879
1880 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1881
1882         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1883         (elmo-network-session): New attribute `last-accessed'.
1884         (elmo-network-get-session): Discard network cache if elapsed time
1885         since last-accessed is larger than elmo-network-session-idle-timeout.
1886
1887 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1888
1889         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1890         and added `number', `require-entireness'.
1891         (elmo-find-fetch-strategy): Rewrite.
1892         (elmo-message-fetch): Unset `unread' flag when argument unread is
1893         non-nil.
1894
1895         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1896
1897         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1898         (elmo-message-fetch): Notify event `flag-changed'.
1899
1900         * elmo-pipe.el: Likewise.
1901
1902         * elmo-mime.el (elmo-mime-entity): New class.
1903         (elmo-mime-entity-display-p): New generic function.
1904         (elmo-mime-entity-display): Ditto.
1905         (elmo-mime-entity-display-as-is): Ditto.
1906         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1907         elmo-mime-entity.
1908         (elmo-make-mime-message-location): Removed.
1909         (elmo-mime-message-display): Ditto.
1910         (elmo-mime-display-as-is): Ditto.
1911         (elmo-message-mime-entity): New function.
1912
1913         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1914
1915         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1916         change.
1917         (elmo-message-fetch): Re-count flagged message number and notify
1918         event `flag-changed'.
1919
1920         * elmo-version.el (elmo-version): Up to 2.13.1.
1921
1922 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1923
1924         * elmo-filter.el (elmo-message-field): Define.
1925         (elmo-message-set-field): Ditto.
1926
1927 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1928
1929         * elmo.el (elmo-message-set-cached): Call
1930         `elmo-folder-notify-event' with cache-changed.
1931         (elmo-event-handler-cache-changed): New generic function.
1932
1933 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1934
1935         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1936         instead of elmo-add-name-to-file.
1937         (elmo-folder-append-messages): Ditto.
1938
1939 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1940
1941         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1942
1943 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1944
1945         * elmo-version.el (elmo-version): Up to 2.13.0.
1946
1947         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1948         `auto'.
1949
1950         * modb-standard.el (modb-standard-economize-entity-size): Changed
1951         default value to `t'.
1952
1953         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1954         `standard'.
1955
1956         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1957         after parsing greeting string.
1958
1959 2004-11-23  Daishi Kato <daishi@axlight.com>
1960
1961         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1962         New user option.
1963         (elmo-spam-spamoracle-call): Use it.
1964
1965 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1966
1967         * elmo.el (elmo-message-accessible-p): Message in dop spool
1968         is accessible.
1969
1970 2004-11-23  Daishi Kato <daishi@axlight.com>
1971
1972         * elsp-spamoracle.el: New file.
1973
1974 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1975
1976         * elmo.el (elmo-message-flags-for-append): New function.
1977         (elmo-generic-folder-append-messages): Use it.
1978
1979         * elmo-split.el (elmo-split-subr): Ditto.
1980
1981         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1982         `flags' and use elmo-folder-append-buffer instead of
1983         write-region-as-binary.
1984         (elmo-dop-filter-pending-messages): New function.
1985         (elmo-folder-append-buffer-dop): Call
1986         elmo-dop-spool-folder-append-buffer with `flag'.
1987         (elmo-folder-set-flag-dop): Filter messages by
1988         elmo-dop-filter-pending-messages.
1989         (elmo-folder-unset-flag-dop): Ditto.
1990         (elmo-folder-append-buffer-dop-delayed): Use
1991         elmo-message-flags-for-append to get flags of the message and
1992         simplify.
1993
1994 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1995
1996         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1997
1998 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1999
2000         * elmo.el (elmo-folder): Added handlers slot.
2001         (elmo-event-handler): New class.
2002         (elmo-event-handler-flag-changed): New API.
2003         (elmo-folder-add-handler): New function.
2004         (elmo-folder-remove-handler): Ditto.
2005         (elmo-folder-notify-event): Ditto.
2006         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
2007         `flag-changed'.
2008         (elmo-folder-unset-flag): Ditto.
2009
2010         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
2011         (elmo-folder-unset-flag): Ditto.
2012
2013         * elmo-multi.el (elmo-folder-set-flag): Ditto.
2014         (elmo-folder-unset-flag): Ditto.
2015
2016         * elmo-filter.el (elmo-folder-set-flag): Ditto.
2017         (elmo-folder-unset-flag): Ditto.
2018
2019         * elmo-version.el (elmo-version): Up to 2.11.33.
2020
2021 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2022
2023         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2024
2025 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2026
2027         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2028
2029         * elmo-flag.el (elmo-folder-unset-flag): Define.
2030         (elmo-global-flag-detach): Do process when the flag is not target
2031         flag.
2032
2033 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2034
2035         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2036         variable.
2037         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2038
2039 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2040
2041         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2042         function.
2043         (elmo-folder-delete-messages): Detach messages before delete
2044         messages from target folder.
2045         (elmo-folder-detach-messages): Set updated number-list to slot.
2046
2047 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2048
2049         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2050
2051 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2052
2053         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2054
2055 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2056
2057         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2058         internal use only).
2059         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2060         not modified.
2061         (elmo-folder-delete-messages): Define.
2062         (elmo-folder-move-messages): Don't call
2063         `elmo-folder-detach-messages'.
2064         (elmo-folder-synchronize): Rewrite.
2065         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2066
2067         * elmo-util.el (elmo-last): New function.
2068         (elmo-set-list): Ditto.
2069         (elmo-number-set-delete-list): Ditto.
2070         (elmo-number-set-delete): Ditto.
2071
2072         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2073
2074         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2075         `elmo-folder-delete-messages' and don't delete location map.
2076         (elmo-folder-detach-messages): Define.
2077
2078         * elmo-imap4.el (elmo-folder-delete): Use
2079         `elmo-folder-delete-messages-internal' instead of
2080         `elmo-folder-delete-messages'.
2081
2082         * elmo-filter.el (elmo-folder-delete-messages): Call
2083         `elmo-folder-detach-messages'.
2084         (elmo-folder-detach-messages): Don't call
2085         `elmo-folder-detach-messages' for target folder.
2086
2087         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2088         message deletion is succeeded.
2089
2090         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2091
2092         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2093         from `elmo-folder-delete-messages'.
2094
2095         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2096
2097         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2098
2099         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2100
2101         * elmo-version.el (elmo-version): Up to 2.11.32.
2102
2103 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2104
2105         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2106         (elmo-global-flag-list): Added obsolete variable setting.
2107
2108         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2109
2110         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2111         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2112         `elmo-mime-display-header-analysis' is nil.
2113
2114         * elmo-flag.el (elmo-global-flags): Renamed from
2115         `elmo-global-flag-list' (All other related portions are changed).
2116         (elmo-local-flags): New variable.
2117         (elmo-local-flag-p): New function.
2118         (elmo-global-flag-set-internal): Cause an error when flag is not
2119         global.
2120
2121 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2122
2123         * elmo-util.el (elmo-concat-path): Treat empty path.
2124
2125 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2126
2127         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2128         field-or-fields).
2129         (elmo-split-address-match): Ditto.
2130         (elmo-split-equal): Ditto.
2131         (elmo-split-match): Ditto.
2132
2133 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2134
2135         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2136         (elmo-generic-folder-append-messages): If src message exists but
2137         has no flag, pass (read) for the FLAG argument of
2138         `elmo-folder-append-buffer'. Otherwise, pass nil.
2139
2140         * elmo-split.el (elmo-split-subr): Likewise.
2141
2142         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2143
2144         * elmo-multi.el (elmo-message-flags): Ditto.
2145
2146         * elmo-filter.el (elmo-message-flags): Ditto.
2147
2148         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2149         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2150         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2151         
2152 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2153
2154         * elmo-split.el (elmo-split-rule): Update comment.
2155         (elmo-split-address-equal): Allow 2nd argument to be a list.
2156         (elmo-split-address-match): Ditto.
2157         (elmo-split-equal): Ditto.
2158         (elmo-split-match): Ditto.
2159
2160 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2161
2162         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2163         (elmo-folder-append-msgdb): Don't treat `read'.
2164         (elmo-message-flags): Don't return `read'.
2165
2166         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2167         (elmo-folder-unset-read-delayed): Ditto.
2168
2169         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2170
2171 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2172
2173         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2174         deletion.
2175
2176 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2177
2178         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2179         header.
2180
2181 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2182
2183         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2184         here.
2185         (elmo-msgdb-save): Bind inhibit-quit.
2186         (modb-standard-message-entity): Ditto.
2187
2188 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2189
2190         * elmo-database.el: No need to require elmo-msgdb.
2191
2192 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2193
2194         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2195         instead of `elmo-list-subdirectories'.
2196
2197 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2198
2199         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2200         group entry.
2201         (elmo-folder-exists-p): "[" is empty.
2202         (elmo-folder-list-subfolders): Define.
2203         (elmo-folder-have-subfolder-p): Ditto.
2204
2205 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2206
2207         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2208
2209 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2210
2211         * elmo-filter.el (elmo-folder-local-p): Define.
2212
2213 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2214
2215         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2216         when entity is garbaged.
2217         (modb-standard-save-entity-1): Don't modify the original entity.
2218
2219 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2220
2221         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2222
2223 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2224
2225         * elmo.el (elmo-strict-folder-diff): Use
2226         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2227
2228 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2229
2230         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2231         (elmo-msgdb-message-number): Ditto.
2232         (elmo-msgdb-message-field): Ditto.
2233
2234         * modb-standard.el (modb-standard-economize-entity-size): New user
2235         option.
2236         (modb-standard-loaded-message-id): New inline function.
2237         (modb-standard-load-entity): Use it.
2238         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2239         throw message-id string away.
2240         (elmo-msgdb-flag-available-p): Define.
2241         (elmo-msgdb-message-number): Ditto.
2242         (elmo-msgdb-message-field): Ditto.
2243
2244         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2245         (suppoted -> supported).
2246         (modb-legacy-supported-flag-p): Ditto.
2247         (elmo-msgdb-set-flag): Ditto.
2248         (elmo-msgdb-unset-flag): Ditto.
2249         (elmo-msgdb-flag-available-p): Define.
2250
2251         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2252         is `t', treat it as legacy entity.
2253         
2254         * elmo.el (elmo-message-flag-available-p): New generic function.
2255         (elmo-message-number): Ditto.
2256         (elmo-message-field): Use `elmo-msgdb-message-field'.
2257
2258         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2259
2260         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2261         (elmo-message-number): Ditto.
2262
2263         * elmo-multi.el (elmo-message-number): Define.
2264         (elmo-message-flag-available-p): Ditto.
2265
2266         * elmo-filter.el (elmo-message-flag-available-p): Define.
2267         (elmo-message-number): Ditto.
2268
2269         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2270         (elmo-folder-initialize): Load `max-number'.
2271         (elmo-folder-commit): Save it.
2272         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2273         (elmo-global-flag-set-internal): Set up max-number slot.
2274
2275 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2276
2277         * elmo-version.el (elmo-version): Up to 2.11.31.
2278
2279 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2280
2281         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2282         unibyte string of the current buffer for the argument of `md5'
2283         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2284
2285 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2286
2287         * modb-legacy.el (modb-legacy-flag-list): New constant.
2288         (modb-legacy-suppoted-flag-p): New internal function.
2289         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2290         (elmo-msgdb-unset-flag): Ditto.
2291
2292 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2293
2294         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2295
2296         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2297         from msgdb.
2298
2299 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2300
2301         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2302         (follow the API change).
2303
2304         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2305
2306 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2307
2308         * modb-standard.el (modb-standard-digest-flags): Abolish.
2309         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2310
2311         * elmo-vars.el (elmo-digest-flags): New variable.
2312         (elmo-preserved-flags): Moved from elmo-flag.el.
2313
2314         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2315         (elmo-imap4-flag-to-imap-criteria): Ditto.
2316         (elmo-imap4-folder-list-flagged): Use it.
2317
2318         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2319
2320         * elmo.el (elmo-folder-count-flags): Changed return value.
2321
2322         * elmo-flag.el (elmo-preserved-flags): New variable.
2323         (elmo-get-global-flags): Use it.
2324
2325         * modb-standard.el (modb-standard-digest-flags): New variable.
2326         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2327         Changed behavior of `any'.
2328
2329         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2330         which are defined the Internet draft
2331         (draft-melnikov-imap-keywords-03.txt).
2332         (elmo-imap4-flags-to-imap): New function.
2333         (elmo-folder-append-buffer): Use it.
2334
2335         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2336         in the docstring.
2337
2338         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2339         avoid the bug of Emacs 21.3.
2340
2341 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2342
2343         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2344         function find-coding-system does not exist.
2345
2346 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2347
2348         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2349         parsing.
2350
2351 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2352
2353         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2354         response codes.
2355
2356 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2357
2358         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2359         (elmo-network-close-session): Follow the changes in
2360         `elmo-pop3-read-response'.
2361         (elmo-pop3-auth-user): Ditto.
2362         (elmo-pop3-auth-apop): Ditto.
2363         (elmo-network-initialize-session): Ditto.
2364         (elmo-network-authenticate-session): Ditto.
2365         (elmo-network-setup-session): Ditto.
2366         (elmo-folder-status): Ditto.
2367         (elmo-message-fetch-plugged): Ditto.
2368         (elmo-pop3-delete-msg): Ditto.
2369
2370 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2371
2372         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2373         on failure.
2374
2375 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2376
2377         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2378         style.
2379         (elmo-bind-directory): Ditto.
2380
2381 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2382
2383         * elmo.el (elmo-folder-append-messages): Note on return value.
2384         * elmo-archive.el (elmo-folder-append-messages): Don't return
2385         message numbers which could not be appended.
2386
2387 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2388
2389         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2390
2391 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2392
2393         * elmo-version.el (elmo-version): Up to 2.11.30.
2394
2395 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2396
2397         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2398         `mask'.
2399
2400         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2401
2402         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2403         (elmo-multi-split-numbers): Add elmo-folder object into each
2404         element of return value at first.
2405         (elmo-folder-delete-messages): Follow the above change.
2406         (elmo-folder-detach-messages): Ditto.
2407
2408         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2409         number which is synchronized in target folder.
2410
2411 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2412
2413         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2414         Change default value to symbol `all'.
2415         (elmo-map-message-fetch): Change condition to update overview
2416         follow the above.
2417
2418 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2419
2420         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2421         behavior to update overview.
2422         (elmo-shimbun-update-overview-folder-list): Note it.
2423
2424 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2425
2426         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2427         recursive call.
2428
2429 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2430
2431         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2432         buffer-disable-undo, it is unnecessary.
2433         (elmo-spam-register-good-messages): Ditto.
2434
2435         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2436         Ditto.
2437
2438         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2439
2440 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2441
2442         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2443         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2444         elmo-set-buffer-multibyte.
2445         (elmo-object-load): Ditto.
2446         (elmo-save-buffer): Ditto.
2447         (elmo-delete-char): Ditto.
2448         (elmo-file-field-primitive-condition-match): Ditto.
2449         (elmo-mime-string): Ditto.
2450
2451         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2452         (elmo-archive-field-condition-match): Ditto.
2453
2454         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2455
2456         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2457
2458         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2459         (elmo-nntp-msgdb-create-message): Ditto.
2460
2461         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2462
2463         * elmo.el (elmo-message-match-condition): Ditto.
2464         (elmo-message-match-condition): Ditto.
2465
2466         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2467         Ditto.
2468
2469         * elmo-version.el (elmo-version): Up to 2.11.29.
2470
2471         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2472         (elsp-header): New backend.
2473
2474         * elmo-util.el (elmo-decoded-field-body): New function.
2475
2476 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2477
2478         * elmo-version.el (elmo-version): Up to 2.11.28.
2479
2480 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2481
2482         * elmo-filter.el: Rewrite.
2483
2484         * elmo-version.el (elmo-version): Up to 2.11.27.
2485
2486 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2487
2488         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2489         msgdb path for the localdir folder with absolute path.
2490
2491         * utf7.el: Synch up with latest gnus/utf7.el;
2492         Modified for latest Emacs.
2493
2494 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2495
2496         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2497         shimbun backend couldn't open.
2498
2499 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2500
2501         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2502         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2503         when a destination folder is a filter folder.
2504
2505 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2506
2507         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2508         (elmo-generic-folder-append-messages): Call elmo-message-flags
2509         with argument `msgid'.
2510
2511         * elmo-split.el (elmo-split-subr): Ditto.
2512
2513         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2514
2515         * elmo-multi.el (elmo-message-flags): Ditto.
2516
2517 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2518
2519         * elmo.el (elmo-folder): Add new slot `flag-table'.
2520         (elmo-folder-flag-table): New API.
2521         (elmo-folder-close-flag-table): Ditto.
2522         (elmo-folder-preserve-flags): New function.
2523         (elmo-generic-folder-append-messages): Use
2524         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2525         Flag of a non-registered message, it sets to nil.
2526         Does not set flag to flag-table.
2527
2528         * elmo-maildir.el (elmo-folder-append-buffer): Use
2529         `elmo-folder-preserve-flags'.
2530         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2531         `elmo-folder-close-flag-table'.
2532
2533         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2534         (elmo-archive-folder-append-buffer): Use
2535         `elmo-folder-preserve-flags'.
2536
2537         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2538
2539         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2540
2541         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2542         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2543         `elmo-folder-close-flag-table'.
2544
2545         * elmo-version.el (elmo-version): Up to 2.11.26.
2546
2547 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2548
2549         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2550
2551         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2552         md5's 4th and 5th argument (non-existent in flim one).
2553
2554 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2555
2556         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2557         message, It sets to nil.
2558
2559 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2560
2561         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2562         list is non-nil.
2563
2564 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2565
2566         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2567
2568         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2569
2570         * elmo-util.el (elmo-uniq-sorted-list): New function.
2571         (elmo-make-number-list): Ditto.
2572         (elmo-number-set-to-number-list): Use elmo-make-number-list
2573         and don't use nreverse.
2574
2575 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2576
2577         * elmo-version.el (elmo-version): Up to 2.11.25.
2578
2579 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2580
2581         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2582         field not exists in message, Use md5 message digest of header.
2583
2584 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2585
2586         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2587         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2588         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2589         * elmo-split.el (elmo-split-subr): Check return value of
2590         elmo-folder-append-buffer.
2591
2592         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2593         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2594
2595         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2596         message-id.
2597
2598 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2599
2600         * elmo-split.el (elmo-split-subr): Append message with flag.
2601
2602         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2603         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2604         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2605
2606 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2607
2608         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2609         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2610         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2611
2612 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2613
2614         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2615         with a function call of `process-buffer'.  All callers are updated.
2616         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2617         Remove redundant `set-buffer' in a while loop.
2618
2619 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2620
2621         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2622         calls.
2623
2624 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2625
2626         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2627         elsp-spamfilter-register-buffer-internal with current buffer.
2628         (elmo-spam-register-spam-buffer): Ditto.
2629         (elmo-spam-register-good-buffer): Ditto.
2630
2631 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2632
2633         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2634         if it is not contained in the response(A workaround for courier-imap).
2635
2636 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2637
2638         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2639         parenthesis.
2640
2641 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2642
2643         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2644         range.
2645
2646 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2647
2648         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2649         of nconc.
2650
2651         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2652         argument handler.
2653         (elmo-msgdb-message-match-condition): Follow the change above.
2654
2655 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2656
2657         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2658         folder name.
2659
2660 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2661
2662         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2663
2664 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2665
2666         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2667
2668 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2669
2670         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2671         not found.
2672
2673 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2674
2675         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2676         value.
2677         (elmo-file-command-argument): Undo last change for cygwin.
2678         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2679         Don't return nil.
2680         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2681
2682 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2683
2684         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2685         value returned from elmo-file-find is nil.
2686
2687 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2688
2689         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2690         to elmo-vars.el.
2691
2692         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2693         instead of insert-file-contents-as-binary.
2694         (elmo-message-set-field): New generic function.
2695
2696         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2697         behavior change on `split-string'.
2698
2699         * elmo-file.el (elmo-file-find): New function.
2700         (elmo-file-command): New user option.
2701         (elmo-file-command-argument): Ditto.
2702         (elmo-file-fetch-max-size): Ditto.
2703         (elmo-file-detect-format): New function.
2704         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2705         Use elmo-file-detect-format.
2706         (elmo-map-folder-list-message-locations): Don't treat directories.
2707
2708 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2709
2710         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2711         (elmo-passwd-alist-clear): Shred password before clear.
2712         (elmo-remove-passwd): Remove all mached pair.
2713
2714 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2715
2716         * elmo.el (elmo-folder-synchronize): Fix description of the return
2717         value.
2718
2719 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2720
2721         * elmo.el (elmo-message-fetch-bodystructure): New method.
2722         (elmo-message-fetch-bodystructure): Define default.
2723
2724         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2725         elmo-message-fetch-bodystructure.
2726         (elmo-message-fetch-bodystructure): Define.
2727
2728         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2729
2730 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2731
2732         * elmo-filter.el (elmo-message-folder): Define.
2733
2734 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2735
2736         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2737         elmo-delete-cr-buffer.
2738
2739         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2740
2741         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2742
2743         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2744
2745         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2746         type seems to be a text.
2747
2748 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2749
2750         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2751         (elmo-spam-register-good-buffer): Ditto.
2752         (elmo-spam-spamassassin-register-messages): Ditto.
2753
2754         * elmo-util.el (elmo-string-member-ignore-case): Define with
2755         static-cond.
2756
2757 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2758
2759         * elmo.el (elmo-folder-type): Undo last change.
2760
2761         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2762
2763         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2764         warnings.
2765
2766         * elmo-file.el: New file.
2767         
2768         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2769
2770         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2771         variable.
2772         (elmo-spam-spamassassin-register-messages): New inline function.
2773         (elmo-spam-register-spam-messages): Define.
2774         (elmo-spam-register-good-messages): Ditto.
2775
2776         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2777         Fixed typo.
2778
2779         * elmo.el (toplevel): Added autoload setting for
2780         `elmo-get-global-flags'.
2781         (elmo-message-has-global-flag-p): New function.
2782         (elmo-message-set-global-flags): Ditto.
2783         (elmo-folder-type): Improvement for name: format.
2784
2785         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2786         availability of keyword flags.
2787         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2788         (elmo-folder-list-flagged-plugged): Renamed from
2789         elmo-folder-list-flagged-unplugged.
2790         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2791         accept any flag as keyword flag.
2792         (elmo-folder-set-flag-plugged): Accept keyword flags.
2793         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2794
2795         * elmo-flag.el (elmo-get-global-flags): New function.
2796
2797         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2798         folders.
2799
2800         * elmo-version.el (elmo-version): Up to 2.11.24.
2801
2802 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2803
2804         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2805         elmo-multiple-field-body instead of std11-field-body to check all
2806         headers.
2807
2808 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2809
2810         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2811         or "size".
2812
2813 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2814
2815         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2816         unintern is unbound.
2817
2818 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2819
2820         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2821         Protect from infinite loop.
2822
2823 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2824
2825         * elsp-bogofilter.el
2826         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2827         (elmo-spam-bogofilter-register-messages): New internal function.
2828         (elmo-spam-register-spam-messages): Define.
2829         (elmo-spam-register-good-messages): Ditto.
2830
2831 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2832
2833         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2834         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2835         (elmo-spam-bogofilter-call): Fixed the last change.
2836         (elmo-spam-bogofilter-arguments): Ditto.
2837
2838         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2839         Follow the options change of latest bogofilter.
2840
2841         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2842         (elmo-spam-bogofilter-good-switch): Ditto.
2843         (elmo-spam-bogofilter-arguments-alist): New user option.
2844         (elmo-spam-bogofilter-debug): Ditto.
2845         (elmo-spam-bogofilter-call): Renamed from
2846         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2847         is non-nil, insert output in buffer for debug.
2848         (elmo-spam-bogofilter-arguments): New macro.
2849         (elmo-spam-buffer-spam-p): Use it.
2850         (elsp-bogofilter-register-buffer): Ditto.
2851
2852 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2853
2854         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2855         regexp.
2856
2857 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2858
2859         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2860         value as "ruby".
2861         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2862         (elmo-spam-bsfilter-program): Set default value as full path for
2863         `bsfilter'.
2864         (elmo-spam-bsfilter-debug): New user option.
2865         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2866         non-nil, insert output in buffer for debug. Fix treating of
2867         argument.
2868
2869 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2870
2871         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2872         `elmo-maildir-flag-specs' element instead of one.
2873         (elmo-map-folder-unset-flag): Ditto.
2874         (Reported by Ken Makimura <macky@astem.or.jp>)
2875
2876         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2877         (elmo-folder-unset-flag-plugged): Ditto.
2878
2879 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2880
2881         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2882         to `reads' slot only if `in-msgdb' is nil.
2883
2884 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2885
2886         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2887         and complement argument list.
2888
2889 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2890
2891         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2892         instead of elmo-folder-list-flagged.
2893
2894 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2895
2896         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2897
2898         * elsp-bsfilter.el: New file.
2899
2900         * elmo-pipe.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-nntp.el (elmo-folder-flag-as-read): Remove.
2913         (elmo-folder-set-flag): Define.
2914         (elmo-folder-unset-flag): Ditto.
2915         (elmo-folder-list-unreads): Remove.
2916         (elmo-folder-list-flagged): Define.
2917
2918         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2919         (elmo-folder-list-unreads,
2920         elmo-folder-list-importants,
2921         elmo-folder-list-answereds,
2922         elmo-folder-list-unreads-plugged,
2923         elmo-folder-list-importants-plugged,
2924         elmo-folder-list-answereds-plugged): Remove.
2925         (elmo-folder-list-flagged-plugged): New method.
2926         (elmo-folder-unflag-important,
2927         elmo-folder-flag-as-important,
2928         elmo-folder-unflag-read,
2929         elmo-folder-flag-as-read,
2930         elmo-folder-unflag-answered,
2931         elmo-folder-flag-as-answered,
2932         elmo-folder-flag-as-read-unplugged,
2933         elmo-folder-unflag-read-unplugged,
2934         elmo-folder-flag-as-important-unplugged,
2935         elmo-folder-unflag-important-unplugged,
2936         elmo-folder-flag-as-answered-unplugged,
2937         elmo-folder-unflag-answered-unplugged): Remove.
2938         (elmo-folder-set-flag): Define.
2939         (elmo-folder-unset-flag): Ditto.
2940         (elmo-folder-set-flag-unplugged): Ditto.
2941         (elmo-folder-unset-flag-unplugged): Ditto.
2942
2943         * elmo-multi.el (elmo-folder-list-unreads,
2944         elmo-folder-list-answereds,
2945         elmo-folder-list-importants,
2946         elmo-folder-flag-as-important,
2947         elmo-folder-unflag-important,
2948         elmo-folder-flag-as-read,
2949         elmo-folder-unflag-read,
2950         elmo-folder-flag-as-answered,
2951         elmo-folder-unflag-answered): Remove.
2952         (elmo-folder-set-flag): Define.
2953         (elmo-folder-unset-flag): Ditto.
2954
2955         * elmo-map.el (elmo-map-folder-unflag-important,
2956         elmo-map-folder-flag-as-important,
2957         elmo-map-folder-unflag-read,
2958         elmo-map-folder-flag-as-read,
2959         elmo-map-folder-unflag-answered,
2960         elmo-map-folder-flag-as-answered): Remove.
2961         (elmo-map-folder-set-flag): New method.
2962         (elmo-map-folder-unset-flag): Ditto.
2963         (elmo-map-folder-list-unreads,
2964         elmo-map-folder-list-importants,
2965         elmo-map-folder-list-answereds): Remove.
2966         (elmo-folder-list-flagged-internal): Define.
2967         (elmo-map-folder-list-flagged): New method.
2968
2969         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2970         (elmo-map-folder-list-unreads,
2971         elmo-map-folder-list-importants,
2972         elmo-map-folder-list-flagged): Remove.
2973         (elmo-map-folder-list-flagged): Define.
2974         (elmo-map-folder-flag-as-important,
2975         elmo-map-folder-unflag-important,
2976         elmo-map-folder-flag-as-read,
2977         elmo-map-folder-unflag-read,
2978         elmo-map-folder-flag-as-answered,
2979         elmo-map-folder-unflag-answered): Remove.
2980         (elmo-maildir-set-mark-messages): New internal function.
2981         (elmo-map-folder-set-flag): Define.
2982         (elmo-map-folder-unset-flag): Ditto.
2983
2984         * elmo.el (toplevel): Added autoload setting for
2985         `elmo-folder-list-global-flag-messages'.
2986         (elmo-folder-list-unreads,
2987         elmo-folder-list-importants,
2988         elmo-folder-list-answereds): Remove.
2989         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2990         Return a list whitch merged with messages have global flag.
2991         (elmo-folder-list-flagged-internal): New method.
2992         (elmo-folder-unflag-important,
2993         elmo-folder-flag-as-important,
2994         elmo-folder-unflag-read,
2995         elmo-folder-flag-as-read,
2996         elmo-folder-unflag-answered,
2997         elmo-folder-flag-as-answered): Remove.
2998         (elmo-folder-set-flag): New method.
2999         (elmo-folder-unset-flag): Ditto.
3000         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
3001         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
3002
3003         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
3004         (elmo-folder-list-unreads-plugged,
3005         elmo-folder-list-importants-plugged,
3006         elmo-folder-list-answereds-plugged,
3007         elmo-folder-list-flagged-unplugged,
3008         elmo-folder-unflag-important-plugged,
3009         elmo-folder-flag-as-important-plugged,
3010         elmo-folder-unflag-read-plugged,
3011         elmo-folder-flag-as-read-plugged,
3012         elmo-folder-unflag-answered-plugged,
3013         elmo-folder-flag-as-answered-plugged): Remove.
3014         (elmo-folder-set-flag-plugged,
3015         elmo-folder-unset-flag-plugged): Define.
3016
3017         * elmo-flag.el (elmo-folder-initialize): Register to
3018         `elmo-global-flag-list' if flag is not global.
3019         (elmo-folder-append-messages): Set flag to source messages.
3020
3021         * elmo-filter.el (elmo-filter-folder-list-unreads,
3022         elmo-folder-list-unreads,
3023         elmo-filter-folder-list-importants,
3024         elmo-folder-list-importants,
3025         elmo-folder-flag-as-read,
3026         elmo-folder-unflag-read,
3027         elmo-folder-flag-as-important,
3028         elmo-folder-unflag-important,
3029         elmo-folder-flag-as-answered,
3030         elmo-folder-unflag-answered): Remove.
3031         (elmo-folder-set-flag): Define.
3032         (elmo-folder-unset-flag): Ditto.
3033
3034         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3035         elmo-folder-unflag-read-dop,
3036         elmo-folder-flag-as-important-dop,
3037         elmo-folder-unflag-important-dop,
3038         elmo-folder-flag-as-answered-dop,
3039         elmo-folder-unflag-answered-dop): Remove.
3040         (elmo-folder-set-flag-dop,
3041         elmo-folder-unset-flag-dop,
3042         elmo-folder-set-important-delayed,
3043         elmo-folder-unset-important-delayed,
3044         elmo-folder-set-read-delayed,
3045         elmo-folder-unset-read-delayed,
3046         elmo-folder-set-answered-delayed,
3047         elmo-folder-unset-answered-delayed): New function.
3048         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3049         (elmo-dop-queue-method-name-alist): Ditto.
3050
3051         * elmo-version.el (elmo-version): Up to 2.11.23.
3052
3053 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3054
3055         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3056
3057         * elsp-sa.el: New file.
3058
3059 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3060
3061         * modb-standard.el (modb-standard-message-entity): New function.
3062         (elmo-msgdb-message-entity): Use it.
3063
3064 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3065
3066         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3067         behavior when one-level is nil.
3068
3069         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3070
3071         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3072
3073 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3074
3075         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3076         get max number.
3077         (elmo-generic-folder-diff): Ditto.
3078
3079         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3080         (elmo-folder-update-number): Ditto.
3081
3082         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3083         (elmo-folder-next-message-number-dop): Ditto.
3084
3085 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3086
3087         * elmo-filter.el (elmo-folder-msgdb-create): Use
3088         `elmo-message-entity' and `elmo-message-flags' instead of
3089         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3090
3091 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3092
3093         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3094         `if-exists'.
3095
3096 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3097
3098         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3099
3100         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3101
3102         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3103
3104 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3105
3106         * elmo-version.el (elmo-version): Up to 2.11.22.
3107
3108 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3109
3110         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3111
3112 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3113
3114         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3115         if the message dose not exist.
3116
3117 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3118
3119         * elmo-version.el (elmo-version): Up to 2.11.21.
3120
3121 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3122
3123         * modb-standard.el (toplevel): Don't require mime.
3124
3125 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3126
3127         * elsp-bogofilter.el (toplevel): Don't require path-util.
3128         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3129         (elmo-spam-bogofilter-header): Abolish.
3130         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3131         (elmo-spam-bogofilter-args): New user option.
3132         (elsp-bogofilter-call-bogofilter): New internal function.
3133         (elmo-spam-buffer-spam-p): Use it.
3134         (elsp-bogofilter-register-buffer): Renamed from
3135         `elmo-spam-bogofilter-register-buffer';
3136         Use `elsp-bogofilter-call-bogofilter'.
3137         (elmo-spam-register-spam-buffer): Follow the change above.
3138         (elmo-spam-register-good-buffer): Ditto.
3139
3140 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3141
3142         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3143         message-id is nil do nothing.
3144
3145 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3146
3147         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3148         Revival.
3149         (elmo-imap4-session): Removed use-flag slot.
3150         (elmo-imap4-session-select-mailbox): Undo last change.
3151         (elmo-folder-use-flag-p): Use
3152         elmo-imap4-disuse-server-flag-mailbox-regexp.
3153
3154 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3155
3156         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3157         (elmo-imap4-session-select-mailbox): Set it up.
3158         (elmo-folder-use-flag-p): Return value of use-flag slot.
3159
3160 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3161
3162         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3163         message-id is nil.
3164         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3165
3166         * modb-entity.el (elmo-message-entity-handler): Likewise.
3167
3168 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3169
3170         * elmo.el (toplevel): Remove setting of autoloding for
3171         elmo-global-flag-initialize.
3172         (elmo-init): Don't call elmo-global-flag-initialize.
3173         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3174
3175         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3176         (elmo-global-mark-migrate): Don't call it.
3177         (elmo-global-mark-upgrade): Ditto.
3178
3179 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3180
3181         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3182         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3183
3184         * elmo-vars.el (elmo-init-hook): New user option.
3185
3186         * elmo.el (elmo-init): Run the elmo-init-hook.
3187
3188         * elmo-flag.el (elmo-global-mark-migrate): New function.
3189
3190 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3191
3192         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3193         Undo last change (move to elmo-msgdb-unset-flag).
3194         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3195         flag is unset.
3196
3197 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3198
3199         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3200         read flag is set.
3201         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3202         (elmo-msgdb-unset-flag): Ditto.
3203
3204 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3205
3206         * elmo-split.el (elmo-split): Return split message count.
3207
3208 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3209
3210         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3211         is nil.
3212
3213 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3214
3215         * elmo.el (elmo-folder-unflag-important): Call
3216         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3217         a symbol `always'.
3218
3219         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3220         before unset flag.
3221         (elmo-global-flag-detach): Delete the message from flag folder, if
3222         `delete-if-none' is a symbol `always'.
3223
3224 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3225
3226         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3227         `elmo-spam-spamfilter-decode-buffer'.
3228         (elsp-spamfilter-register-buffer-internal): New internal function.
3229         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3230         (elmo-spam-register-spam-buffer): Ditto.
3231         (elmo-spam-register-good-buffer): Ditto.
3232
3233         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3234         change.
3235         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3236         (elmo-spam-register-spam-buffer): Follow the API change.
3237         (elmo-spam-register-good-buffer): Ditto.
3238
3239         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3240         (elmo-split-spam-p): Added argument plist; Call
3241         `elmo-spam-buffer-spam-p' with new argument register.
3242
3243         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3244         `register'.
3245         (elmo-spam-message-spam-p): Ditto.
3246         (elmo-spam-register-spam-buffer): Added optional argument
3247         `restore'.
3248         (elmo-spam-register-good-buffer): Ditto.
3249         (elmo-spam-register-spam-messages): Ditto.
3250         (elmo-spam-register-good-messages): Ditto.
3251
3252 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3253
3254         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3255         register into good corpus.
3256         (elmo-spam-register-good-buffer): Fixed to register into bad
3257         corpus.
3258
3259 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3260
3261         * elmo-version.el (elmo-version): Up to 2.11.20.
3262
3263         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3264         change.
3265
3266         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3267         flag without depending on \Recent flag.
3268
3269 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3270
3271         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3272         (elmo-spam-modified-p): Defined.
3273         (elmo-spam-save-status): Set `modified' slot to nil.
3274         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3275         (elmo-spam-register-good-buffer): Ditto.
3276
3277         * elmo-spam.el (elmo-spam-modified-p): New API.
3278
3279 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3280
3281         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3282         duplicate definition.
3283
3284         * elmo-util.el (elmo-unfold-field-body): New function.
3285         (elmo-msgdb-get-message-id-from-buffer): Use it.
3286
3287         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3288         Fixed the last change; Use elmo-unfold-field-body.
3289
3290 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3291
3292         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3293         Unfold date value.
3294
3295 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3296
3297         * elmo-spam.el (elmo-spam-save-status): New API.
3298
3299         * elsp-spamfilter.el: New file.
3300
3301 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3302
3303         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3304
3305 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3306
3307         * elmo-split.el (elmo-split-spam-p): New function.
3308
3309         * elmo-spam.el: New file.
3310
3311         * elsp-bogofilter.el: Ditto.
3312
3313 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3314
3315         * elmo.el (elmo-folder-next-message-number): New API.
3316         (elmo-folder-next-message-number): Define.
3317         (elmo-message-field): Don't check folder length.
3318
3319         * elmo-net.el (elmo-folder-next-message-number): Define.
3320         (elmo-folder-next-message-number-unplugged): Define.
3321
3322         * elmo-map.el (elmo-folder-next-message-number): Define.
3323         (elmo-folder-delete-messages): Clear hash value.
3324
3325         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3326
3327         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3328         (elmo-folder-delete-messages-dop-delayed): Always return t.
3329
3330         * elmo-version.el (elmo-version): Up to 2.11.19.
3331
3332 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3333
3334         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3335         change.
3336
3337         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3338         identical cons cell into the mark-alist and the hash table.
3339
3340 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3341
3342         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3343         elmo-folder-list-messages with argument `visible-only' as t.
3344
3345         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3346         (elmo-folder-msgdb-create): Check the target folder.
3347
3348 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3349
3350         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3351         `permanentflag' instead of `flags'.
3352         (elmo-folder-open): Ditto.
3353         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3354         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3355         (elmo-folder-use-flag-p): Always return t.
3356         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3357         `permanentflags' does not exist.
3358         (elmo-folder-open): Ditto.
3359
3360 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3361
3362         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3363         is nil.
3364         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3365
3366         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3367         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3368         response.
3369         (elmo-folder-open): Ditto.
3370         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3371         slot of the session includes the flag.
3372         (elmo-imap4-session-flag-available-p): New function.
3373         (elmo-imap4-folder-list-flagged): Ditto.
3374         (elmo-folder-list-unreads-plugged): Use it.
3375         (elmo-folder-list-importants-plugged): Ditto.
3376         (elmo-folder-list-answereds-plugged): Ditto.
3377         (elmo-imap4-search-internal-primitive): Ditto.
3378         (elmo-imap4-folder-list-any-plugged,
3379         elmo-imap4-folder-list-digest-plugged): Abolish.
3380
3381         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3382         if numbers is nil.
3383
3384 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3385
3386         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3387
3388 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3389
3390         * elmo-util.el (elmo-get-hash-val): Simplify.
3391         (elmo-set-hash-val): Rewrite.
3392
3393 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3394
3395         * elmo.el (elmo-folder-list-messages): Append killed messages into
3396         result if `visible-only' is nil and `in-msgdb' is non-nil.
3397
3398         * elmo-util.el (elmo-uniq-list): Added optional argument
3399         `delete-function'.
3400
3401         * modb.el (elmo-msgdb-flag-count): New API.
3402
3403         * modb-standard.el (modb-standard): Added slot flag-count.
3404         (modb-standard-countup-flags): New function.
3405         (modb-standard-load-flag): Call it.
3406         (elmo-msgdb-append): Ditto.
3407         (elmo-msgdb-clear): Clear slot flag-count.
3408         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3409         (elmo-msgdb-unset-flag): Treat `all' flag and call
3410         modb-standard-countup-flags.
3411         (elmo-msgdb-flag-count): Define.
3412         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3413         (elmo-msgdb-delete-messages): Ditto.
3414
3415         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3416         (elmo-msgdb-flag-count): Define.
3417
3418         * elmo.el (elmo-folder-list-messages): Undo last change.
3419         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3420         (elmo-folder-kill-messages): Unset all flags to numbers.
3421
3422         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3423         elmo-folder-kill-messages.
3424
3425         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3426         (elmo-nntp-folder-delete-messages): Abolish.
3427
3428         * elmo-version.el (elmo-version): Up to 2.11.18.
3429
3430 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3431
3432         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3433         (elmo-folder-kill-messages-range): New function.
3434         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3435         instead of elmo-folder-kill-messages-before.
3436
3437 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3438
3439         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3440         elmo-imap4-current-msgdb to decide entity handler.
3441
3442 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3443
3444         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3445
3446         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3447         inline function.
3448         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3449         (elmo-msgdb-overview-entity-set-number,
3450         elmo-msgdb-overview-entity-get-references,
3451         elmo-msgdb-overview-entity-set-references,
3452         elmo-msgdb-overview-entity-get-from-no-decode,
3453         elmo-msgdb-overview-entity-get-from,
3454         elmo-msgdb-overview-entity-set-from,
3455         elmo-msgdb-overview-entity-get-subject,
3456         elmo-msgdb-overview-entity-get-subject-no-decode,
3457         elmo-msgdb-overview-entity-set-subject,
3458         elmo-msgdb-overview-entity-get-date,
3459         elmo-msgdb-overview-entity-set-date,
3460         elmo-msgdb-overview-entity-get-to,
3461         elmo-msgdb-overview-entity-get-cc,
3462         elmo-msgdb-overview-entity-get-size,
3463         elmo-msgdb-overview-entity-set-size,
3464         elmo-msgdb-overview-entity-get-extra,
3465         elmo-msgdb-overview-entity-set-extra,
3466         elmo-msgdb-overview-entity-get-extra-field,
3467         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3468         (elmo-msgdb-make-index): Use
3469         `elmo-msgdb-overview-entity-get-number-internal'.
3470         (elmo-msgdb-clear-index): Ditto.
3471         (elmo-msgdb-append-entity): Ditto;
3472         Use `elmo-msgdb-overview-entity-get-id-internal'.
3473
3474         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3475         elmo-msgdb-overview-entity-set-number,
3476         elmo-msgdb-overview-entity-get-references,
3477         elmo-msgdb-overview-entity-set-references,
3478         elmo-msgdb-overview-entity-get-from-no-decode,
3479         elmo-msgdb-overview-entity-get-from,
3480         elmo-msgdb-overview-entity-set-from,
3481         elmo-msgdb-overview-entity-get-subject,
3482         elmo-msgdb-overview-entity-get-subject-no-decode,
3483         elmo-msgdb-overview-entity-set-subject,
3484         elmo-msgdb-overview-entity-get-date,
3485         elmo-msgdb-overview-entity-set-date,
3486         elmo-msgdb-overview-entity-get-to,
3487         elmo-msgdb-overview-entity-get-cc,
3488         elmo-msgdb-overview-entity-get-size,
3489         elmo-msgdb-overview-entity-set-size,
3490         elmo-msgdb-overview-entity-get-extra,
3491         elmo-msgdb-overview-entity-set-extra,
3492         elmo-msgdb-overview-entity-get-extra-field,
3493         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3494         and rewrote for backward compatibility.
3495
3496 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3497
3498         * elmo.el (elmo-message-entity-number,
3499         elmo-message-entity-set-number,
3500         elmo-message-entity-field,
3501         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3502
3503         * elmo-msgdb.el (elmo-message-entity-number,
3504         elmo-message-entity-set-number,
3505         elmo-message-entity-field,
3506         elmo-message-entity-set-field): Moved from elmo.el.
3507
3508 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3509
3510         * elmo.el (toplevel): Changed definition orders.
3511
3512 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3513
3514         * modb.el (elmo-msgdb-search): New API .
3515         (elmo-msgdb-match-condition): Ditto.
3516
3517         * modb-standard.el (elmo-msgdb-search): Define.
3518
3519         * modb-legacy.el (elmo-msgdb-search): Ditto.
3520
3521         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3522         from elmo-msgdb-match-condition-internal.
3523
3524         * elmo.el (elmo-folder-search-fast): Abolish.
3525         (elmo-folder-search): Use elmo-msgdb-search and
3526         elmo-with-progress-display.
3527
3528         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3529         as msgdb API.
3530
3531         * elmo.el (elmo-folder): Remove slot message-modified and
3532         flag-modified.
3533         (elmo-folder-set-message-modified): Abolish.
3534         (elmo-generic-folder-commit): Follow the change above.
3535         (elmo-folder-synchronize): Ditto.
3536
3537         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3538
3539         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3540
3541         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3542
3543 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3544
3545         * modb-standard.el (modb-standard-make-message-entity,
3546         elmo-msgdb-make-message-entity,
3547         elmo-msgdb-create-message-entity-from-buffer,
3548         elmo-msgdb-message-entity-number,
3549         elmo-msgdb-message-entity-set-number,
3550         elmo-msgdb-message-entity-field,
3551         elmo-msgdb-message-entity-set-field,
3552         elmo-msgdb-copy-message-entity,
3553         elmo-msgdb-match-condition-internal): Remove.
3554
3555         * modb-entity.el: New file (again).
3556
3557         * modb.el (toplevel): Require modb-entity.
3558         (elmo-msgdb-message-entity-handler): New method.
3559
3560         * modb-standard.el (modb-standard-entity-id): Use
3561         elmo-message-entity-handler.
3562         (modb-standard-load-entity): Ditto.
3563         (elmo-msgdb-append-entity): Ditto.
3564         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3565
3566         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3567         elmo-msgdb-decoded-cache-hashtb,
3568         (modb-legacy-make-message-entity,
3569         elmo-msgdb-make-message-entity,
3570         elmo-msgdb-create-message-entity-from-buffer,
3571         elmo-msgdb-message-entity-number,
3572         elmo-msgdb-message-entity-set-number,
3573         elmo-msgdb-message-entity-field,
3574         elmo-msgdb-message-entity-set-field,
3575         elmo-msgdb-copy-message-entity,
3576         elmo-msgdb-match-condition-internal,
3577         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3578
3579         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3580         (elmo-message-entity-set-number): Ditto.
3581         (elmo-message-entity-field): Ditto.
3582         (elmo-message-entity-set-field): Ditto.
3583
3584         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3585
3586         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3587
3588         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3589
3590         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3591         (elmo-nntp-msgdb-create-message): Ditto.
3592
3593         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3594         (elmo-folder-msgdb-create): Add unread flag.
3595
3596         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3597
3598         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3599
3600         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3601
3602         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3603
3604         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3605         elmo-msgdb-messge-entity-handler.
3606         * elmo-version.el (elmo-version): Up to 2.11.17.
3607
3608 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3609
3610         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3611         change.
3612
3613 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3614
3615         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3616
3617         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3618         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3619         (elmo-msgdb-flag-table): Ditto.
3620         (elmo-msgdb-sort-by-date): Ditto.
3621
3622         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3623
3624         * modb-standard.el (toplevel): Require mime.
3625         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3626         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3627         elmo-msgdb-message-entity-number.
3628         (elmo-msgdb-append-entity): Ditto.
3629         (elmo-msgdb-create-message-entity-from-file): Remove.
3630         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3631         corresponds to the entity.
3632         (elmo-msgdb-message-entity-number): Do nothing currently.
3633         (elmo-msgdb-message-entity-field): Ditto.
3634         (elmo-msgdb-message-entity-set-field): Ditto.
3635         (elmo-msgdb-copy-message-entity): Ditto.
3636         (elmo-msgdb-match-condition-internal): Ditto.
3637
3638         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3639         elmo-util.el.
3640         (elmo-msgdb-create-message-entity-from-file): Remove.
3641
3642         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3643         modb-legacy.el.
3644         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3645
3646         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3647
3648 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3649
3650         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3651         (elmo-msgdb-message-entity-field): Ditto.
3652         (elmo-msgdb-message-entity-number): Ditto.
3653
3654 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3655
3656         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3657         Fixed how to set extra field into entity.
3658         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3659         symbol.
3660
3661         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3662         Fixed how to set extra field into entity.
3663         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3664         symbol.
3665
3666 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3667
3668         * modb.el (elmo-message-entity-db): New function.
3669         (elmo-msgdb-make-message-entity): New API.
3670         (elmo-msgdb-message-entity-number): Ditto.
3671         (elmo-msgdb-message-entity-set-number): Ditto.
3672         (elmo-msgdb-message-entity-field): Ditto.
3673         (elmo-msgdb-message-entity-set-field): Ditto.
3674         (elmo-msgdb-copy-message-entity): Ditto.
3675         (elmo-msgdb-create-message-entity-from-file): Ditto.
3676         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3677         (elmo-msgdb-match-condition-internal): Ditto.
3678
3679         * modb-standard.el (modb-legacy): Require modb-legacy.
3680         (modb-standard-make-message-entity): New inline function.
3681         (elmo-msgdb-make-message-entity): Define.
3682         (elmo-msgdb-create-message-entity-from-file): Ditto.
3683         (elmo-msgdb-create-message-entity-from-buffer): 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         * modb-legacy.el: Don't require modb-entity.
3690         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3691         (elmo-msgdb-match-condition-primitive): Ditto.
3692         (elmo-msgdb-get-decoded-cache): Ditto.
3693         (elmo-msgdb-overview-entity-get-id): Ditto.
3694         (elmo-msgdb-overview-entity-get-number): Ditto.
3695         (elmo-msgdb-overview-entity-set-number): Ditto.
3696         (elmo-msgdb-overview-entity-get-references): Ditto.
3697         (elmo-msgdb-overview-entity-set-references): Ditto.
3698         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3699         (elmo-msgdb-overview-entity-get-from): Ditto.
3700         (elmo-msgdb-overview-entity-set-from): Ditto.
3701         (elmo-msgdb-overview-entity-get-subject): Ditto.
3702         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3703         (elmo-msgdb-overview-entity-set-subject): Ditto.
3704         (elmo-msgdb-overview-entity-get-date): Ditto.
3705         (elmo-msgdb-overview-entity-set-date): Ditto.
3706         (elmo-msgdb-overview-entity-get-to): Ditto.
3707         (elmo-msgdb-overview-entity-get-cc): Ditto.
3708         (elmo-msgdb-overview-entity-get-size): Ditto.
3709         (elmo-msgdb-overview-entity-set-size): Ditto.
3710         (elmo-msgdb-overview-entity-get-extra): Ditto.
3711         (elmo-msgdb-overview-entity-set-extra): Ditto.
3712         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3713         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3714         (elmo-msgdb-number-load): Ditto.
3715         (elmo-msgdb-overview-load): Ditto.
3716         (elmo-msgdb-mark-load): Ditto.
3717         (elmo-msgdb-number-save): Ditto.
3718         (elmo-msgdb-mark-save): Ditto.
3719         (elmo-msgdb-overview-save): Ditto.
3720         (modb-legacy-make-message-entity): New inline function.
3721         (elmo-msgdb-insert-file-header): Ditto.
3722         (elmo-msgdb-make-message-entity): Define.
3723         (elmo-msgdb-create-message-entity-from-file): Ditto.
3724         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3725         (elmo-msgdb-message-entity-number): Ditto.
3726         (elmo-msgdb-message-entity-set-number): Ditto.
3727         (elmo-msgdb-message-entity-field): Ditto.
3728         (elmo-msgdb-message-entity-set-field): Ditto.
3729         (elmo-msgdb-copy-message-entity): Ditto.
3730         (elmo-msgdb-match-condition-internal): Ditto.
3731
3732         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3733         (elmo-message-copy-entity): Rewrite.
3734         (elmo-message-entity-number): Ditto.
3735         (elmo-message-entity-set-number): Ditto.
3736         (elmo-message-entity-field): Use elmo-message-entity-db.
3737         (elmo-message-entity-set-field): Ditto.
3738         (elmo-message-field): Rewrite.
3739
3740         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3741         elmo-msgdb.el
3742         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3743
3744         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3745         elmo-message-entity-field.
3746         (elmo-shimbun-folder-shimbun-header): Ditto.
3747         (elmo-shimbun-entity-to-header): Ditto.
3748         (elmo-folder-msgdb-create): Ditto.
3749         (elmo-shimbun-msgdb-create-entity): Ditto;
3750         Use elmo-msgdb-create-message-entity-from-buffer.
3751         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3752         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3753
3754         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3755         elmo-msgdb-create-message-entity-from-file and 
3756         elmo-message-entity-field.
3757
3758         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3759         elmo-message-entity-number.
3760         (elmo-pop3-msgdb-create-message): Use
3761         elmo-msgdb-create-message-entity-from-buffer,
3762         elmo-message-entity-set-field, elmo-message-entity-number and
3763         elmo-message-entity-set-number.
3764
3765         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3766         the API change in elmo-msgdb-make-message-entity.
3767         (elmo-nntp-msgdb-create-message): Use
3768         elmo-msgdb-create-message-entity-from-buffer.
3769
3770         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3771         elmo-message-entity-field and
3772         elmo-msgdb-create-message-entity-from-file.
3773
3774         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3775         (elmo-msgdb-get-field): Abolish.
3776         (elmo-msgdb-get-number): Rewrite.
3777         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3778         (elmo-msgdb-flag-table): Ditto.
3779         (elmo-msgdb-get-last-message-id,
3780         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3781         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3782         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3783         (elmo-msgdb-create-overview-from-buffer,
3784         elmo-msgdb-overview-get-parent-entity): Abolish.
3785
3786         * elmo-mime.el (elmo-mime-display-as-is): Use
3787         elmo-message-entity-field.
3788
3789         * elmo-map.el (elmo-folder-pack-numbers): Use
3790         elmo-message-entity-set-number.
3791
3792         * elmo-maildir.el (elmo-folder-msgdb-create): 
3793         elmo-msgdb-create-message-entity-from-file instead of
3794         elmo-msgdb-create-overview-entity-from-file.
3795
3796         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3797         msgdb.
3798         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3799         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3800
3801         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3802         elmo-messge-entity-field and elmo-message-entity-number.
3803         (elmo-imap4-fetch-callback-1): Call
3804         elmo-msgdb-create-message-entity-from-buffer instead of
3805         elmo-msgdb-create-overview-from-buffer. 
3806         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3807         (elmo-find-fetch-strategy): Likewise.
3808
3809         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3810         elmo-localdir-msgdb-create-entity with argument msgdb.
3811
3812         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3813         and elmo-message-entity-set-number.
3814
3815         * elmo-cache.el (elmo-folder-msgdb-create): Use
3816         elmo-message-entity-field.
3817         (elmo-folder-msgdb-create): Call
3818         elmo-msgdb-create-message-entity-from-file instead of
3819         elmo-msgdb-create-overview-entity-from-file.
3820
3821         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3822         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3823         instead of elmo-msgdb-create-overview-from-buffer.
3824         (elmo-archive-msgdb-create-entity): Ditto.
3825         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3826         elmo-message-entity-field.
3827         (elmo-archive-parse-mmdf): Ditto.
3828
3829         * modb-entity.el: Removed.
3830
3831         * elmo-version.el (elmo-version): Up to 2.11.16.
3832
3833 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3834
3835         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3836         `is-local'.
3837         (elmo-folder-flag-as-answered): Ditto.
3838
3839 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3840
3841         * modb-standard.el: New file.
3842
3843         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3844         elmo-msgdb-convert-type is `sync'.
3845
3846         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3847         (elmo-msgdb-convert-type): New user option.
3848
3849         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3850         (elmo-load-msgdb): Auto detect saved type.
3851
3852         * elmo-version.el (elmo-version): Up to 2.11.15.
3853
3854 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3855
3856         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3857
3858         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3859         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3860         with argument `delete-if-none' when dst-folder is 'null.
3861
3862         * elmo-flag.el (elmo-folder-append-messages): Defined.
3863         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3864
3865 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3866
3867         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3868
3869 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3870
3871         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3872         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3873         (elmo-folder-commit): Ditto.
3874
3875 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3876
3877         * elmo-flag.el: New file.
3878
3879         * elmo-mark.el: Removed.
3880
3881         * modb-legacy.el (modb-legacy-new-mark,
3882         modb-legacy-unread-uncached-mark,
3883         modb-legacy-unread-cached-mark,
3884         modb-legacy-read-uncached-mark,
3885         modb-legacy-answered-cached-mark,
3886         modb-legacy-answered-uncached-mark,
3887         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3888         All other related portions are changed.
3889
3890         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3891         (elmo-folder-list-messages-with-global-mark): Abolish.
3892         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3893         (elmo-folder-flag-as-important): Ditto.
3894         (elmo-folder-unflag-read): Ditto.
3895         (elmo-folder-flag-as-read): Ditto.
3896         (elmo-folder-unflag-answered): Ditto.
3897         (elmo-folder-flag-as-answered): Ditto.
3898         (elmo-message-encache): Return the cache path.
3899         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3900         (elmo-message-set-flag): Transitional implementation.
3901         (elmo-message-unset-flag): Ditto.
3902         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3903         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3904         (elmo-init): Call elmo-global-flag-initialize.
3905         (toplevel): Added autoload settings for elmo-flag.
3906
3907         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3908
3909         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3910         (elmo-file-cache-delete): Don't treat global-mark.
3911
3912         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3913
3914         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3915
3916         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3917         `elmo-global-flags-set'.
3918
3919         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3920         `flag'.
3921         (elmo-folder-unflag-read): Ditto.
3922         (elmo-folder-unflag-important): Ditto.
3923         (elmo-folder-flag-as-important): Ditto.
3924         (elmo-folder-unflag-answered): Ditto.
3925         (elmo-folder-flag-as-answered): Ditto.
3926
3927         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3928         `elmo-global-flags-set'.
3929         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3930
3931         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3932
3933         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3934         `flag'.
3935         (elmo-folder-flag-as-important): Ditto.
3936         (elmo-folder-unflag-important): Ditto.
3937         (elmo-folder-flag-as-important): Ditto.
3938         (elmo-folder-unflag-read): Ditto.
3939         (elmo-folder-flag-as-read): Ditto.
3940         (elmo-folder-unflag-answered): Ditto.
3941         (elmo-folder-flag-as-answered): Ditto.
3942
3943         * elmo-multi.el (elmo-folder-list-importants): Don't call
3944         elmo-folder-list-messages-with-global-mark.
3945         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3946         (elmo-folder-unflag-important): Ditto.
3947         (elmo-folder-flag-as-read): Ditto.
3948         (elmo-folder-unflag-read): Ditto.
3949         (elmo-folder-flag-as-answered): Ditto.
3950         (elmo-folder-unflag-answered): Ditto.
3951
3952         * elmo-msgdb.el (elmo-msgdb-new-mark,
3953         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3954         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3955         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3956         (Moved to modb-legacy.el).
3957         (elmo-flag-table-get): Treat important flag too.
3958
3959         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3960         `mark' to `flag'.
3961         (elmo-map-folder-flag-as-important): Ditto.
3962         (elmo-map-folder-unflag-read): Ditto.
3963         (elmo-map-folder-flag-as-read): Ditto.
3964         (elmo-map-folder-unflag-answered): Ditto.
3965         (elmo-map-folder-flag-as-answered): Ditto.
3966         (elmo-folder-unflag-important): Ditto.
3967         (elmo-folder-flag-as-important): Ditto.
3968         (elmo-folder-unflag-read): Ditto.
3969         (elmo-folder-flag-as-read): Ditto.
3970         (elmo-folder-unflag-answered): Ditto.
3971         (elmo-folder-flag-as-answered): Ditto.
3972
3973         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3974         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3975         `flag'.
3976         (elmo-map-folder-unflag-important): Ditto.
3977         (elmo-map-folder-flag-as-read): Ditto.
3978         (elmo-map-folder-unflag-read): Ditto.
3979         (elmo-map-folder-flag-as-answered): Ditto.
3980         (elmo-map-folder-unflag-answered): Ditto.
3981
3982         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3983         `elmo-global-flags-set'.
3984         (elmo-global-flags-set): Added autoload setting.
3985
3986         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3987         `flag'.
3988
3989         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3990         `elmo-msgdb-global-mark-set'.
3991         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3992         Call `elmo-global-flags-set'.
3993         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3994         `flag'.
3995         (elmo-folder-flag-as-important-plugged): Ditto.
3996         (elmo-folder-unflag-read-plugged): Ditto.
3997         (elmo-folder-flag-as-read-plugged): Ditto.
3998         (elmo-folder-unflag-answered-plugged): Ditto.
3999         (elmo-folder-flag-as-answered-plugged): Ditto.
4000         (elmo-global-flags-set): Added autoload setting.
4001
4002         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
4003         `flag'.
4004         (elmo-folder-unflag-read): Ditto.
4005         (elmo-folder-flag-as-important): Ditto.
4006         (elmo-folder-unflag-important): Ditto.
4007         (elmo-folder-flag-as-answered): Ditto.
4008         (elmo-folder-unflag-answered): Ditto.
4009
4010         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
4011         change of `mark'->`flag'.
4012         (elmo-dop-queue-method-name-alist): Ditto.
4013         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
4014         (elmo-folder-unflag-read-dop): Ditto.
4015         (elmo-folder-flag-as-important-dop): Ditto.
4016         (elmo-folder-unflag-important-dop): Ditto.
4017         (elmo-folder-flag-as-answered-dop): Ditto.
4018         (elmo-folder-unflag-answered-dop): Ditto.
4019
4020         * elmo-cache.el (elmo-folder-msgdb-create): Call
4021         `elmo-global-flags-set'.
4022
4023         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4024         Call `elmo-global-flags-set'.
4025         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4026         elmo-archive-parse-mmdf with argument `folder'.
4027         (elmo-archive-parse-mmdf): Added argument `folder';
4028         Call `elmo-global-flags-set'.
4029
4030         * elmo-version.el (elmo-version): Up to 2.11.14.
4031
4032 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4033
4034         * modb.el (elmo-msgdb-length): Define.
4035
4036         * elmo.el (elmo-make-folder): Fixed.
4037         (elmo-generic-folder-append-messages): Follow the API change.
4038
4039         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4040         API change.
4041
4042 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4043
4044         * modb.el: New file.
4045
4046         * modb-entity.el: Ditto.
4047
4048         * modb-legacy.el: Ditto.
4049
4050         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4051         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4052         of `elmo-msgdb-overview-get-entity'.
4053         (elmo-msgdb-get-field): Ditto.
4054         (elmo-msgdb-merge): Moved to `elmo.el'.
4055         (elmo-msgdb-length): Removed; redefine as modb method.
4056         (elmo-msgdb-change-mark): Abolish.
4057         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4058         (elmo-msgdb-match-condition): Don't use mark.
4059         (elmo-msgdb-overview-get-entity): Abolish.
4060         Split modb part into `modb*.el'.
4061
4062         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4063
4064         * elmo-shimbun.el (shimbun-mua-search-id): Use
4065         `elmo-msgdb-message-entity' instead of
4066         `elmo-msgdb-overview-get-entity'.
4067         (elmo-shimbun-folder-shimbun-header): Ditto.
4068         (elmo-shimbun-get-headers): Ditto.
4069         (elmo-shimbun-update-overview): Ditto.
4070
4071         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4072
4073         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4074
4075         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4076         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4077
4078         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4079         `elmo-msgdb-mark-to-flags'.
4080
4081         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4082         `elmo-msgdb-set-path'.
4083
4084         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4085  
4086         * elmo-version.el (elmo-version): Up to 2.11.13.
4087
4088         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4089
4090         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4091         of mark.
4092
4093 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4094
4095         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4096         mismatch.
4097
4098 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4099
4100         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4101         instead of `elmo-msgdb-get-cached'.
4102         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4103
4104         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4105         (elmo-msgdb-set-cached): Ditto.
4106         (elmo-msgdb-set-flag): Rewrite.
4107         (elmo-msgdb-unset-flag): Ditto.
4108
4109         * elmo-msgdb.el: Rewrite with luna.
4110
4111         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4112         (elmo-folder-msgdb): Follow the change above.
4113         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4114         (elmo-folder-unmark-important): Follow the API change.
4115         (elmo-folder-mark-as-important): Ditto.
4116         (elmo-folder-unmark-read): Ditto.
4117         (elmo-folder-mark-as-read): Ditto.
4118         (elmo-folder-unmark-answered): Ditto.
4119         (elmo-folder-mark-as-answered): Ditto.
4120         (elmo-folder-clear): Likewise.
4121
4122         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4123         instead of `elmo-msgdb-load' (renamed).
4124
4125         * elmo-version.el (elmo-version): Up to 2.11.12.
4126
4127 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4128
4129         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4130         change.
4131         (elmo-message-mark): Abolish.
4132         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4133         instead of `elmo-msgdb-change-mark'.
4134
4135         * elmo-pipe.el (elmo-message-mark): Abolish.
4136
4137         * elmo-multi.el (elmo-message-mark): Ditto.
4138
4139         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4140         (elmo-msgdb-unread-uncached-mark): Ditto.
4141         (elmo-msgdb-unread-cached-mark): Ditto.
4142         (elmo-msgdb-read-uncached-mark): Ditto.
4143         (elmo-msgdb-answered-cached-mark): Ditto.
4144         (elmo-msgdb-answered-uncached-mark): Ditto.
4145         (elmo-msgdb-important-mark): Ditto.
4146         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4147         `use-cache'.
4148         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4149         `flags'.
4150         (elmo-flag-table-load): Changed flag to list of flag.
4151         (elmo-flag-table-set): If flags is nil, set read flag.
4152         (elmo-flag-table-get): Return derived flags from global mark,
4153         cache status and saved flags.
4154         (elmo-msgdb-flag-table): Follow the change above.
4155         (elmo-msgdb-out-of-date-messages): New function.
4156
4157         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4158
4159         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4160
4161         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4162
4163         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4164         (elmo-nntp-msgdb-create-message): Ditto.
4165
4166         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4167
4168         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4169         independent.
4170         (elmo-folder-msgdb-create): Follow the API change.
4171
4172         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4173         (elmo-folder-append-messages): Ditto.
4174
4175         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4176         (elmo-folder-append-buffer): Ditto.
4177
4178         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4179
4180         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4181
4182         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4183         (elmo-archive-parse-mmdf): Ditto.
4184
4185         * elmo-version.el (elmo-version): Up to 2.11.11.
4186
4187 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4188
4189         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4190         `elmo-msgdb-mark'.
4191
4192         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4193
4194         * elmo-pipe.el (elmo-message-flags): Defined.
4195
4196         * elmo-multi.el (elmo-message-flags): Ditto.
4197
4198 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4199
4200         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4201         `elmo-msgdb-delete-msgs'.
4202
4203         * elmo.el (elmo-folder-count-flags): Don't use
4204         `elmo-msgdb-get-mark-alist'.
4205         (elmo-folder-detach-messages): Follow the API change.
4206
4207         * elmo.el (elmo-folder-list-messages): Append killed messages into
4208         result if `visible-only' is nil.
4209
4210         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4211         canceled messages.
4212         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4213         (elmo-folder-update-number): Likewise.
4214
4215         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4216         (elmo-pop3-sort-msgdb-by-original-number): Use
4217         `elmo-msgdb-sort-entities'.
4218
4219         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4220         (elmo-msgdb-sort-by-date): Use it.
4221         (elmo-msgdb-overview-sort-by-date): Abolish.
4222
4223         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4224
4225         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4226         (elmo-msgdb-flags): New function.
4227         (elmo-msgdb-merge): Use elmo-msgdb-append.
4228
4229         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4230         change.
4231
4232         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4233
4234         * elmo-dop.el (elmo-folder-status-dop): Use
4235         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4236
4237 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4238
4239         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4240
4241         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4242
4243         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4244
4245         * elmo-util.el (elmo-with-progress-display): New macro.
4246
4247         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4248
4249 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4250
4251         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4252         `elmo-folder-list-message-entities' instead of
4253         `elmo-msgdb-get-overview'.
4254         (elmo-map-folder-list-message-locations): Ditto.
4255
4256         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4257         methods instead of treat directly).
4258         (elmo-msgdb-clear): Ditto.
4259         (elmo-msgdb-delete-msgs): Ditto.
4260         (elmo-msgdb-sort-by-date): Ditto.
4261
4262         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4263         local variables.
4264         (elmo-nntp-folder-msgdb-create): Follow the API change.
4265
4266         * elmo-version.el (elmo-version): Up to 2.11.10.
4267
4268 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4269
4270         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4271         (elmo-msgdb-flags-to-mark): Ditto.
4272         (elmo-msgdb-append-entity): Ditto.
4273
4274         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4275         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4276         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4277         (elmo-archive-parse-mmdf): Ditto.
4278
4279         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4280
4281         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4282
4283         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4284
4285         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4286
4287         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4288
4289         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4290
4291         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4292
4293         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4294
4295         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4296         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4297         to empty msgdb.
4298
4299         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4300         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4301         instead of directly construction.
4302         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4303         instead of construct msgdb.
4304
4305         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4306         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4307         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4308         instead of construct msgdb.
4309
4310 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4311
4312         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4313         when field is from or subject.
4314
4315 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4316
4317         * elmo-multi.el (elmo-message-entity-parent): Define.
4318         (elmo-folder-search): Rewrite.
4319
4320 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4321
4322         * elmo-multi.el (elmo-message-cached-p): Define.
4323
4324         * elmo.el (elmo-message-cached-p): New method.
4325         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4326         (elmo-message-flags): New method.
4327         (elmo-message-flagged-p): New function.
4328
4329         * elmo-version.el (elmo-version): Up to 2.11.9.
4330
4331 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4332
4333         * elmo-version.el (elmo-version): Up to 2.11.8.
4334
4335         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4336
4337         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4338
4339 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4340
4341         * elmo.el (elmo-folder-detach-messages): Undo last change.
4342
4343 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4344
4345         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4346
4347         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4348         only when src folder type is pop3.
4349
4350 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4351
4352         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4353         elmo-msgdb-overview-entity-get-number instead of
4354         elmo-message-entity-number.
4355
4356 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4357
4358         * elmo-version.el (elmo-version): Up to 2.11.7.
4359
4360 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4361
4362         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4363         function.
4364
4365         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4366         (elmo-msgdb-merge): New function.
4367         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4368         (elmo-msgdb-make-index): Rewrite.
4369
4370         * elmo-version.el (elmo-version): Up to 2.11.6.
4371
4372         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4373         use it as a the path for loading message entities.
4374
4375         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4376
4377 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4378
4379         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4380         message-modified slot of itself if it does not require target msgdb.
4381
4382         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4383         if folder length is zero.
4384         (elmo-mime-display-as-is): Ditto.
4385
4386         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4387
4388         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4389
4390 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4391
4392         * elmo.el (elmo-folder-set-message-modified): New method.
4393         (elmo-generic-folder-commit): Use it.
4394         (elmo-folder-synchronize): Ditto.
4395
4396         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4397         (elmo-folder-commit): Remove duplicate definition.
4398
4399 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4400
4401         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4402
4403 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4404
4405         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4406         (elmo-strict-folder-diff): Ditto.
4407         (elmo-folder-set-info-max-by-numdb): Simplify.
4408
4409         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4410         elmo-msgdb-list-messages.
4411
4412         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4413         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4414
4415 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4416
4417         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4418         visible-only is non-nil.
4419         (elmo-folder-confirm-appends): Changed message.
4420         (elmo-folder-synchronize): Added argument disable-killed.
4421
4422         * elmo-multi.el (elmo-folder-synchronize): Added argument
4423         disable-killed.
4424
4425         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4426
4427         * elmo-version.el (elmo-version): Up to 2.11.5.
4428
4429         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4430         elmo-list-filter.
4431
4432         * elmo-util.el (elmo-list-filter): Simplify.
4433
4434         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4435         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4436         (elmo-generic-folder-diff): Abolish argument.
4437         (elmo-msgdb-load): Don't use number-alist.
4438
4439         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4440
4441         * elmo-pipe.el (elmo-folder-diff): Ditto.
4442
4443         * elmo-nmz.el (elmo-folder-diff): Ditto.
4444
4445         * elmo-net.el (elmo-folder-diff): Ditto.
4446
4447         * elmo-maildir.el (elmo-folder-diff): Ditto.
4448
4449         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4450
4451         * elmo-multi.el (elmo-folder-diff): Ditto
4452         (elmo-multi-folder-diff): Rewrite.
4453
4454 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4455
4456         * elmo-pipe.el (elmo-folder-msgdb): Define.
4457
4458 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4459
4460         * elmo.el (elmo-message-set-cached): Define as a method.
4461
4462         * elmo-pipe.el (elmo-message-set-cached): Define.
4463         (elmo-find-fetch-strategy): Ditto.
4464
4465         * elmo-multi.el (elmo-message-set-cached): Define.
4466         (elmo-find-fetch-strategy): Rewrite.
4467
4468         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4469
4470         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4471
4472 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4473
4474         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4475         instead of number-alist.
4476
4477         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4478         mark nor message-id when msgdb of source folder is not loaded.
4479
4480         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4481
4482         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4483
4484 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4485
4486         * elmo.el (elmo-folder-length): Don't require msgdb.
4487
4488 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4489
4490         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4491         (elmo-message-field): Ditto.
4492
4493         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4494         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4495         slot.
4496         (elmo-map-folder-list-answereds): Define.
4497         (elmo-maildir-list-location): Treat 'R' info.
4498         (elmo-folder-msgdb-create): Treat flag-table.
4499         (elmo-folder-append-messages): Save flag-table.
4500
4501 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4502
4503         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4504         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4505
4506 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4507
4508         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4509
4510         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4511         'read when mark is null.
4512
4513 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4514
4515         * elmo-version.el (elmo-version): Up to 2.11.4.
4516
4517 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4518
4519         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4520         (elmo-folder-mark-as-answered): Ditto.
4521
4522 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4523
4524         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4525         (elmo-pop3-get-session): Make msgdb directory after session.
4526         (elmo-folder-exists-p): Check exactly at the first time even when the
4527         elmo-pop3-exists-exactly is nil.
4528
4529         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4530         (elmo-folder-list-messages): Define instead of
4531         elmo-folder-list-messages-internal.
4532         (elmo-folder-check): Check destination folder.
4533         (elmo-folder-synchronize): Drain the pipe.
4534
4535         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4536         when msgdb is not loaded.
4537
4538         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4539
4540         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4541         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4542         messages.
4543
4544         * elmo.el (elmo-folder-kill-messages-before): New function.
4545         (elmo-folder-kill-messages): Ditto.
4546         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4547
4548         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4549         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4550         killed not by synchronize (e.g. scoring).
4551
4552 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4553
4554         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4555         treated.
4556         (elmo-folder-search): Follow the change above.
4557
4558         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4559         into the candidates of search field.
4560
4561 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4562
4563         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4564         (elmo-msgdb-unset-flag): Ditto.
4565
4566         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4567
4568 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4569
4570         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4571         (elmo-folder-commit): Define.
4572         (elmo-folder-synchronize): Ditto.
4573         (elmo-folder-list-flagged): Ditto.
4574         (elmo-folder-commit): Ditto.
4575         (elmo-folder-length): Ditto.
4576         (elmo-folder-count-flags): Ditto.
4577         (elmo-message-mark): Ditto.
4578         (elmo-message-field): Ditto.
4579         (elmo-message-entity): Ditto.
4580         (elmo-message-folder): Ditto.
4581
4582 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4583
4584         * elmo.el (elmo-message-field): Define as a method.
4585
4586         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4587         (elmo-message-field): Define.
4588
4589         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4590         (elmo-folder-list-importants): Ditto.
4591         (elmo-folder-list-answereds): Ditto.
4592
4593         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4594         qualifier.
4595         (elmo-folder-mark-as-read): Ditto.
4596         (elmo-folder-unmark-read): Ditto.
4597         (elmo-folder-mark-as-answered): Ditto.
4598         (elmo-folder-unmark-answered): Ditto.
4599         (elmo-folder-list-flagged): Define.
4600         (elmo-folder-commit): Ditto.
4601         (elmo-folder-length): Ditto.
4602         (elmo-folder-count-flags): Ditto.
4603
4604 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4605
4606         * elmo.el (elmo-folder-detach-messages): New method.
4607         (elmo-folder-move-messages): Use it.
4608         (elmo-folder-synchronize): Ditto.
4609
4610         * elmo-multi.el (elmo-folder-detach-messages): Define.
4611
4612         * elmo.el (elmo-message-copy-entity): New function.
4613         (elmo-message-entity-set-number): Ditto.
4614         (elmo-message-mark): Define as method.
4615
4616         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4617         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4618         (elmo-message-entity): Fixed last change.
4619         (elmo-message-mark): Define.
4620         (elmo-folder-msgdb-create): Abolish.
4621         (elmo-multi-folder-append-msgdb): Ditto.
4622         (elmo-multi-folder-diff): Fixed.
4623         (elmo-multi-split-number-alist): Removed.
4624         (elmo-multi-split-mark-alist): Removed.
4625         (elmo-folder-list-messages): Define.
4626         (elmo-folder-list-messages-internal): Removed.
4627
4628         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4629         local file messages.
4630         (elmo-folder-msgdb-create): Fixed read mark.
4631
4632 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4633
4634         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4635         if mark is nil.
4636
4637 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4638
4639         * elmo.el (elmo-folder-list-message-entities): Define as inline
4640         function.
4641         (elmo-folder-messages): Abolish.
4642
4643         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4644         folder.
4645         (elmo-folder-synchronize): Define.
4646         (elmo-message-entity): Define.
4647
4648 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4649
4650         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4651         elmo-imap4-session-select-mailbox.
4652
4653         * elmo.el (elmo-folder-move-messages): Don't display any message.
4654
4655         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4656         parsing.
4657         (elmo-imap4-session-check): Don't wait CHECK response.
4658         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4659
4660 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4661
4662         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4663
4664 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4665
4666         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4667         API.
4668         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4669
4670
4671         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4672         (elmo-folder-list-message-entities): Added argument in-msgdb and
4673         numbers.
4674         (elmo-folder-synchronize): Define as a method.
4675
4676         * elmo-nntp.el (elmo-folder-initialize): Don't use
4677         elmo-nntp-default-user if zero-length username is specified
4678         explicitly.
4679
4680 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4681
4682         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4683         server name in case with username.
4684         (XXX: this is ad-hoc fix against username includes "@", it
4685         should be solved fundamentally)
4686
4687 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4688
4689         * elmo-nntp.el (elmo-nntp-debug): New function.
4690         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4691         (elmo-network-authenticate-session): Hide auth-info from the log.
4692
4693         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4694         user name if it is equal to elmo-nntp-default-user.
4695
4696 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4697
4698         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4699         instead of shimbun-server-internal;
4700         Use shimbun-current-group instead of shimbun-current-group-internal.
4701         (elmo-folder-plugged-p): Use shimbun-server instead of
4702         shimbun-server-internal.
4703         (elmo-folder-set-plugged): Ditto.
4704         (elmo-net-port-info): Ditto.
4705         (elmo-folder-check): Ditto.
4706         (elmo-folder-expand-msgdb-path): Ditto.
4707         (elmo-folder-list-subfolders): Ditto.
4708
4709 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4710
4711         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4712         Convert field-name to lower case.
4713         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4714
4715 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4716
4717         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4718         `message' and `error' take format string.
4719
4720 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4721
4722         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4723
4724 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4725
4726         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4727         recursive call (can't byte compile on emacs 20.7).
4728
4729 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4730
4731         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4732         (elmo-folder-list-message-entities): New API.
4733         (elmo-message-entity): Ditto.
4734         (elmo-message-entity-parent): Ditto.
4735         (elmo-folder-do-each-message-entity): Ditto.
4736         (elmo-message-entity-number): Ditto.
4737         (elmo-message-entity-field): Ditto.
4738         (elmo-message-entity-set-field): Ditto.
4739         (elmo-folder-count-flags): Ditto.
4740         (elmo-folder-length): Ditto.
4741
4742         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4743         not.
4744
4745         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4746         (elmo-msgdb-count-marks): Abolish.
4747         (elmo-msgdb-make-entity): Ditto.
4748         (elmo-msgdb-do-each-entity): Ditto.
4749         (elmo-msgdb-message-entity): New inline function.
4750         (elmo-msgdb-message-entity-field): Ditto.
4751         (elmo-msgdb-message-entity-set-field): Ditto.
4752         (elmo-msgdb-make-message-entity): New function.
4753
4754 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4755
4756         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4757         to flag. (All other related portions are changed.)
4758         (elmo-folder-msgdb-create): Likewise.
4759         (elmo-generic-folder-append-messages): Use flag-table instead of
4760         seen-list.
4761         (elmo-folder-move-messages): Removed redundant process.
4762         (elmo-folder-synchronize): Likewise.
4763
4764         * elmo-msgdb.el (elmo-flag-table-get): New function.
4765         (elmo-flag-table-save): Fixed.
4766         (elmo-msgdb-length): New inline function.
4767         (elmo-msgdb-flag-table): New function.
4768         (elmo-msgdb-mark): Add optional argument new.
4769         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4770         (elmo-msgdb-seen-list): Ditto.
4771         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4772
4773
4774 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4775
4776         * elmo.el (elmo-message-set-mark): Abolish.
4777         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4778         (All related portions are changed.)
4779
4780         * elmo-msgdb.el (toplevel): Added comment.
4781         (elmo-load-msgdb): Added 4th element `path'.
4782         (elmo-msgdb-append): Follow the change above.
4783         (elmo-msgdb-clear): Ditto.
4784         (elmo-msgdb-delete-msgs): Ditto.
4785         (elmo-msgdb-get-path): New inline function.
4786         (elmo-msgdb-set-path): Ditto.
4787         (elmo-flag-table-filename): New variable.
4788         (elmo-flag-table-load): New function.
4789         (elmo-flag-table-set): Ditto.
4790         (elmo-flag-table-save): Ditto.
4791         (elmo-msgdb-get-field-value): Abolish.
4792         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4793
4794 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4795
4796         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4797         the folder has been deleted successfully.
4798         * elmo-imap4.el (elmo-folder-delete): Ditto.
4799         * elmo-archive.el (elmo-folder-delete): Ditto.
4800         * elmo-localdir.el (elmo-folder-delete): Ditto.
4801         * elmo-maildir.el (elmo-folder-delete): Ditto.
4802
4803 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4804
4805         * elmo-util.el (elmo-string-member-ignore-case): New function.
4806         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4807         (elmo-imap4-fetch-callback-1-subr): Likewise.
4808
4809 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4810
4811         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4812         the case of the name attribute "\Noselect".
4813
4814 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4815
4816         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4817
4818         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4819         flist, is not always a member of onum-alist.
4820
4821 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4822
4823         * elmo-version.el (elmo-version): Up to 2.11.3.
4824
4825 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4826
4827         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4828         copied from localdir's one.
4829
4830         * elmo-pipe.el (elmo-folder-rename): New method, rename
4831         destination folder with leaving source folder as it is.
4832
4833 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4834
4835         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4836         replace-regexp.
4837
4838 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4839
4840         * elmo-version.el (elmo-version): Up to 2.11.2.
4841
4842 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4843
4844         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4845         shimbun-open in case of "@".
4846         (elmo-folder-open-internal): Cope with shimbun = nil case.
4847         (elmo-folder-plugged-p): Ditto.
4848         (elmo-folder-list-subfolders): Make list for "@/" group.
4849
4850 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4851
4852         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4853         mailbox (e.g. for %~/something).
4854
4855 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4856
4857         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4858         Replace nested conditional with guard clauses.
4859
4860 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4861
4862         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4863         error [wl:11327].
4864
4865         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4866         print-depth.
4867
4868 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4869
4870         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4871         Replace nested conditional with guard clauses.
4872
4873 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4874
4875         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4876         (elmo-passwd-alist-save): Ditto.
4877         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4878
4879 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4880
4881         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4882         dir-name only if it is absolute path.
4883         (TODO: distinguish +/something and +something)
4884
4885 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4886
4887         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4888         path for "+~/something".
4889
4890 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4891
4892         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4893         as non-directory, cause error before rename-file.
4894         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4895         apropriately, mimic localdir's one.
4896         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4897
4898 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4899
4900         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4901
4902 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4903
4904         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4905
4906         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4907         
4908         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4909         is included in the global-mark or not.
4910
4911 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4912
4913         * utf7.el (toplevel): Avoid error when the function
4914         find-coding-system does not exist.
4915
4916 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4917
4918         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4919         cache even if the folder is plugged.
4920         (elmo-nntp-search-primitive): Do nothing when body search is
4921         invoked (although it is not used by the change above).
4922         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4923
4924 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4925
4926         * elmo-version.el (elmo-version): Up to 2.11.1.
4927
4928 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4929
4930         * elmo-archive.el: Specify charset.
4931
4932 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4933
4934         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4935         process buffer lives or not.
4936
4937         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4938         while flushing queues (It causes infinite loop).
4939
4940 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4941
4942         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4943
4944 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4945
4946         * utf7.el (toplevel): Check the ucs features dynamically.
4947         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4948
4949         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4950         folder is creatabe or not if it already exists.
4951
4952 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4953
4954         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4955
4956         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4957
4958         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4959         (elmo-imap4-read-response): Take care of garbage response.
4960
4961 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4962
4963         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4964         just return nil instead of error.
4965
4966 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4967
4968         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4969         search-key is "body".
4970
4971 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4972
4973         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4974         of elmo-string-matched-assoc to use match-data.
4975         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4976
4977 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4978
4979         * elmo-split.el (elmo-split->): New function.
4980         (elmo-split-<): Ditto.
4981
4982 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4983
4984         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4985         workaround for invalid message-id.
4986
4987 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4988
4989         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4990         return normal pop3 session or pop3 biff session.
4991
4992 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4993
4994         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4995         info part to the cur files when the new files already have it.
4996         (Adviced by Jared Rhine <jared@wordzoo.com>)
4997
4998 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4999
5000         * elmo-split.el (elmo-split-default-action): New variable.
5001         (elmo-split-subr): Use it if all other conditions are passed.
5002         Extend `fname' and rename it as `action'. (implemented
5003         Teranishi-san's idea in [wl:10800])
5004
5005 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5006
5007         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
5008         * elmo-util.el: Ditto.
5009
5010 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
5011
5012         * elmo.el (elmo-message-accessible-p): Renamed from
5013         elmo-message-cached-p and rewritten.
5014
5015 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
5016
5017         * elmo.el (elmo-folder-list-flagged): New generic function.
5018         (elmo-folder-list-importants): New implementation.
5019         (elmo-folder-list-answereds): Ditto.
5020         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
5021         Added 'digest'.
5022         (elmo-message-cached-p): New function.
5023         (elmo-message-set-flag): Ditto (no content).
5024         (elmo-message-unset-flag): Ditto.
5025         (elmo-folder-list-messages-mark-match): Abolish.
5026
5027         * elmo-util.el (elmo-regexp-opt): New function.
5028
5029         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5030         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5031         Added 'digest'.
5032         (elmo-msgdb-list-flagged): New function.
5033
5034         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5035         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5036         Added 'digest'.
5037
5038         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5039
5040 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5041
5042         * elmo-version.el (elmo-version): Up to 2.11.0.
5043
5044 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5045
5046         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5047         `elmo-file-cache-exists-p'; use proper mark that depends on
5048         `use-cache'.
5049         (elmo-msgdb-unset-flag): Ditto.
5050         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5051
5052         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5053         with 4th argument `use-cache'.
5054
5055 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5056
5057         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5058         (elmo-folder-mark-as-important): Ditto.
5059         (elmo-folder-unmark-read): Ditto.
5060         (elmo-folder-mark-as-read): Ditto.
5061         (elmo-folder-unmark-answered): Ditto.
5062         (elmo-folder-mark-as-answered): Ditto.
5063
5064         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5065         message status.
5066         (elmo-msgdb-mark): Likewise.
5067         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5068         (elmo-msgdb-unset-flag): Likewise.
5069
5070         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5071
5072 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5073
5074         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5075         `last:' filter.
5076
5077 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5078
5079         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5080         set spool-length to 0.
5081
5082 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5083
5084         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5085         (elmo-dop-queue-flush): Fixed last change.
5086
5087 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5088
5089         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5090         if require-msgdb slot is nil.
5091         (elmo-folder-list-importants): Likewise.
5092
5093 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5094
5095         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5096         mark is changed.
5097
5098         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5099         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5100         is changed.
5101
5102 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5103
5104         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5105
5106 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5107
5108         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5109
5110         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5111
5112 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5113
5114         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5115         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5116
5117 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5118
5119         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5120         the problem reported by Sean Rima [wl-en:180].
5121
5122 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5123
5124         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5125
5126         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5127
5128         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5129
5130         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5131
5132         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5133
5134         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5135
5136         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5137
5138 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5139
5140         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5141         status number.
5142
5143 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5144
5145         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5146         (elmo-folder-mark-as-read): Follow the API change.
5147         (elmo-message-set-cached): New function.
5148
5149         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5150
5151         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5152
5153         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5154         (elmo-folder-mark-as-important): Ditto.
5155         (elmo-folder-unmark-read): Ditto.
5156         (elmo-folder-mark-as-read): Ditto.
5157         (elmo-folder-unmark-answered): Ditto.
5158         (elmo-folder-mark-as-answered): Ditto.
5159
5160         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5161         (elmo-folder-unmark-important): Ditto.
5162         (elmo-folder-mark-as-read): Ditto.
5163         (elmo-folder-unmark-read): Ditto.
5164         (elmo-folder-mark-as-answered): Ditto.
5165         (elmo-folder-unmark-answered): Ditto.
5166
5167         * elmo-mark.el (toplevel): Removed some mark method definitions.
5168
5169         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5170         (elmo-map-folder-mark-as-answered): Ditto.
5171         (elmo-folder-unmark-important): Add :before qualifier.
5172         (elmo-folder-mark-as-important): Ditto.
5173         (elmo-folder-unmark-read): Ditto.
5174         (elmo-folder-mark-as-read): Ditto.
5175         (elmo-folder-unmark-answered): Define.
5176         (elmo-folder-mark-as-answered): Ditto.
5177
5178         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5179         (elmo-map-folder-unmark-answered): Ditto.
5180
5181         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5182
5183         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5184         (elmo-folder-mark-as-important): Ditto.
5185         (elmo-folder-unmark-read): Ditto.
5186         (elmo-folder-mark-as-read): Ditto.
5187         (elmo-folder-unmark-answered): Ditto.
5188         (elmo-folder-mark-as-answered): Ditto.
5189
5190         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5191         `mark'; evaluate mark condition.
5192         (elmo-msgdb-match-condition-internal): New function.
5193         (elmo-msgdb-match-condition): Call it; changed argument.
5194
5195         * elmo.el (elmo-folder-search): Follow the API change on
5196         `elmo-msgdb-match-condition'.
5197
5198 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5199
5200         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5201         original mark is non-nil.
5202
5203 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5206         (elmo-map-folder-list-answereds): New method.
5207         (elmo-folder-list-unreads): Add :around qualifier.
5208         (elmo-folder-list-importants): Ditto.
5209         (elmo-folder-list-answereds): Ditto.
5210
5211 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5212
5213         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5214
5215         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5216         method if msgdb is not required.
5217         (elmo-filter-folder-list-importants): Don't treat global-mark.
5218
5219         * elmo.el (elmo-folder-list-importants): Ditto.
5220
5221         * elmo-net.el (elmo-folder-list-importants): Ditto.
5222
5223         * elmo-map.el (elmo-folder-list-importants): Ditto.
5224
5225         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5226
5227         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5228         (elmo-imap4-folder-list-any-plugged): New function.
5229         (elmo-imap4-search-internal-primitive): Use it.
5230
5231         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5232         only when require-msgdb slot is non-nil.
5233         (elmo-folder-close): Clear target folder's msgdb.
5234
5235 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5236
5237         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5238         (elmo-pop3-msgdb-create-by-header): Ditto.
5239         (elmo-pop3-msgdb-create-message): Ditto.
5240
5241         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5242
5243         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5244
5245         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5246
5247         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5248         (elmo-folder-msgdb-create): Ditto.
5249         (elmo-nntp-folder-msgdb-create): Ditto.
5250         (elmo-nntp-msgdb-create-by-header): Ditto.
5251         (elmo-nntp-msgdb-create-message): Ditto.
5252         (elmo-folder-list-unreads): Define.
5253
5254         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5255         (elmo-folder-append-messages): Ditto.
5256         (elmo-folder-list-unreads): Define.
5257         (elmo-folder-list-importants): Ditto.
5258         (elmo-folder-list-answereds): Ditto.
5259
5260         * elmo-net.el (elmo-folder-list-unreads): Define.
5261         (elmo-folder-list-importants): Ditto.
5262         (elmo-folder-list-answereds): Ditto.
5263         (elmo-folder-list-answereds-plugged): Ditto.
5264         (elmo-folder-msgdb-create): Follow the API change.
5265         (elmo-folder-msgdb-create-unplugged): Ditto.
5266         (elmo-folder-unmark-answered): Define.
5267         (elmo-folder-mark-as-answered-unplugged): Ditto.
5268         (elmo-folder-unmark-answered-unplugged): Ditto.
5269
5270         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5271         (elmo-msgdb-unread-uncached-mark): Ditto.
5272         (elmo-msgdb-unread-cached-mark): Ditto.
5273         (elmo-msgdb-read-uncached-mark): Ditto.
5274         (elmo-msgdb-answered-cached-mark): Ditto.
5275         (elmo-msgdb-answered-uncached-mark): Ditto.
5276         (elmo-msgdb-important-mark): Ditto.
5277         (elmo-msgdb-set-mark): Rewrite.
5278         (elmo-msgdb-count-marks): Rewrite.
5279         (elmo-msgdb-mark-alist-set): Abolish.
5280         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5281         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5282
5283         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5284         (elmo-folder-close): Define.
5285         (elmo-folder-msgdb-create): Follow the API change.
5286         (elmo-folder-list-unreads): Rewrite.
5287         (elmo-folder-mark-as-important): Ditto.
5288         (elmo-folder-unmark-important): Ditto.
5289         (elmo-folder-mark-as-read): Ditto.
5290         (elmo-folder-unmark-read): Ditto.
5291         (elmo-folder-mark-as-answered): Define.
5292         (elmo-folder-unmark-answered): Ditto.
5293
5294         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5295         (elmo-folder-append-messages): Ditto.
5296
5297         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5298
5299         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5300         (elmo-folder-list-importants): Ditto.
5301
5302         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5303         (elmo-folder-append-messages): Ditto.
5304
5305         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5306         change.
5307         (elmo-folder-msgdb-create-plugged): Ditto.
5308         (elmo-folder-append-messages): Ditto.
5309         (elmo-folder-list-answereds-plugged): Define.
5310         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5311         (elmo-folder-unmark-answered-plugged): Define.
5312         (elmo-folder-mark-as-answered-plugged): Ditto.
5313         (elmo-folder-search-requires-msgdb-p): Ditto.
5314
5315         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5316         (elmo-folder-initialize): Set it.
5317         (elmo-folder-msgdb): Define.
5318         (elmo-folder-check): Call elmo-folder-synchronize.
5319         (elmo-folder-close): Define.
5320         (elmo-folder-commit): Ditto.
5321         (elmo-folder-msgdb-create): Rewrite.
5322         (elmo-folder-list-unreads): Ditto.
5323         (elmo-folder-list-importants): Ditto.
5324         (elmo-folder-mark-as-read): Ditto.
5325         (elmo-folder-unmark-read): Ditto.
5326         (elmo-folder-mark-as-important): Ditto.
5327         (elmo-folder-unmark-important): Ditto.
5328         (elmo-folder-mark-as-answered): Define.
5329         (elmo-folder-unmark-answered): Ditto.
5330
5331         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5332         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5333         (elmo-dop-queue-method-name-alist): Likewise.
5334         (elmo-folder-mark-as-answered-dop): New inline function.
5335         (elmo-folder-unmark-answered-dop): Ditto.
5336         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5337
5338         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5339         (elmo-folder-msgdb-create): Ditto.
5340         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5341         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5342         (elmo-archive-parse-mmdf): Ditto.
5343
5344         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5345         (elmo-folder-list-unreads-internal): Ditto.
5346
5347         * elmo.el (elmo-folder-msgdb): Define as generic function.
5348         (elmo-folder-list-messages): Added argument `in-msgdb'.
5349         (elmo-folder-list-unreads): Define as generic function.
5350         (elmo-folder-list-importants): Ditto.
5351         (elmo-folder-list-answereds): Ditto.
5352         (elmo-folder-list-messages-with-global-mark): New function.
5353         (elmo-folder-msgdb-create): Removed mark arguments.
5354         (elmo-folder-unmark-answered): New generic function.
5355         (elmo-folder-mark-as-answered): Ditto.
5356         (elmo-folder-append-messages): Removed argunment `unread-marks'
5357         (elmo-folder-list-unreads-internal): Abolish.
5358         (elmo-folder-list-importants-internal): Ditto.
5359         (elmo-folder-search-requires-msgdb-p): New generic function.
5360         (elmo-folder-search-requires-msgdb-p-internal): New function.
5361         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5362         elmo-msgdb-load.
5363         (elmo-folder-search-fast): Added key 'mark'.
5364         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5365         instead of unread-marks argument.
5366         (elmo-folder-move-messages): Removed argunment `unread-marks'
5367         (elmo-folder-unmark-important): Define.
5368         (elmo-folder-mark-as-important): Ditto.
5369         (elmo-folder-unmark-read): Ditto.
5370         (elmo-folder-mark-as-read): Ditto.
5371         (elmo-folder-unmark-answered): Ditto.
5372         (elmo-folder-mark-as-answered): Ditto.
5373         (elmo-folder-replace-marks): Abolish.
5374         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5375         duplicates.
5376         (elmo-folder-synchronize): Removed mark arguments;
5377         return crosspost only number.
5378
5379 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5380
5381         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5382         Remove redundunt connectivity check.
5383
5384 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5385
5386         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5387         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5388
5389 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5390
5391         * pldap.el (ldap-decode-string): Return string as-is if
5392         `ldap-coding-system' is nil.
5393         (ldap-encode-string): Ditto.
5394         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5395         (ldap-default-host): Fixed docstring.
5396
5397 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5398
5399         * elmo-util.el (elmo-warning): Define as a macro which uses
5400         `display-warning' if it is defined as a function.
5401
5402         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5403         (elmo-split-equal): Use it.
5404         (elmo-split-match): Ditto.
5405         (elmo-split-message-entity): New buffer-local variable.
5406         (elmo-split-subr): Set it.
5407
5408         * elmo-version.el (elmo-version): Up to 2.9.15.
5409
5410 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5411
5412         * elmo-imap4.el (elmo-network-initialize-session):
5413         Check capability after starttls.
5414
5415 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5416
5417         * elmo-util.el (elmo-list-delete): Added optional argument
5418         DELETE-FUNCTION.
5419
5420         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5421
5422         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5423
5424         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5425
5426         * elmo-imap4.el (elmo-folder-initialize): Don't use
5427         elmo-imap4-default-mailbox.
5428
5429 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5430
5431         * elmo-split.el (toplevel): Use `product-provide'.
5432         (elmo-split): Checkdoc.
5433
5434 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5435
5436         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5437         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5438         the function `elmo-imap4-debug-1'.
5439
5440 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5441
5442         * elmo-split.el (elmo-split): Moved to run hooks and to show
5443         message from elmo-split-subr.
5444         (elmo-split-subr): Follow the change above.
5445
5446         * elmo-split.el (elmo-split-subr): New function (renamed from
5447         elmo-split-subr).
5448         (elmo-split): Changed to call elmo-split-subr by element of
5449         elmo-split-folder.
5450         (elmo-split-folder): Changed customization type to choice.
5451
5452 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5453
5454         * elmo-split.el (elmo-split-and): Fixed condition.
5455
5456 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5457
5458         * elmo-split.el: New file.
5459         (elmo-split): Fixed logic.
5460         Display "Test:" instead of "Folder:" when reharsal.
5461
5462         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5463         explicitly.
5464
5465         * elmo-version.el (elmo-version): Up to 2.9.14.
5466
5467         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5468         wl-expand-newtext).
5469
5470 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5471
5472         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5473         message with no message-id field.
5474
5475 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5476
5477         * elmo-version.el (elmo-version): Up to 2.9.13.
5478
5479         * elmo-dop.el (elmo-folder-status-dop): Fix.
5480
5481 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5482
5483         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5484
5485         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5486         changing default value of default-mime-charset.
5487         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5488
5489         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5490
5491         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5492         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5493         instead of elmo-dop-queue-method-name-alist to check merging queue.
5494         (elmo-folder-delete-messages-dop): Delete from queue if negative
5495         message number.
5496         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5497         file is already removed.
5498
5499 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5500
5501         * elmo-vars.el: Bind colon keywords for old Emacsen.
5502
5503 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5504
5505         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5506         against non-exsisting charset.
5507
5508 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5509
5510         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5511         Use eword-decode-and-unfold-unstructured-field-body.
5512
5513         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5514         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5515         exists to decode raw subject string.
5516         (toplevel): Require 'mime.
5517
5518         * elmo-version.el (elmo-version): Up to 2.9.12.
5519
5520 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5521
5522         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5523         (elmo-msgdb-set-mark): Ditto.
5524
5525         * elmo-version.el (elmo-version): Up to 2.9.11.
5526
5527 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5528
5529         * elmo-util.el (elmo-delete-match-files): New function.
5530
5531         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5532         instead of elmo-delete-directory.
5533
5534         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5535         elmo-hash-minimun-size as 63.
5536
5537         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5538         elmo-diff-unread is nil.
5539
5540         * elmo-imap4.el (elmo-folder-open): Fix.
5541
5542         * elmo.el (elmo-message-mark): Rewrite.
5543         (elmo-message-field): Ditto.
5544         (elmo-message-set-mark): Ditto.
5545         (elmo-folder-replace-marks): New function.
5546         (elmo-generic-folder-append-msgdb): Removed third argument for
5547         elmo-msgdb-append.
5548         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5549         (elmo-msgdb-load): New implementation.
5550
5551         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5552
5553         * elmo-util.el (elmo-list-insert): New implementation.
5554
5555         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5556         argument for elmo-msgdb-append.
5557         
5558
5559         * elmo-msgdb.el (elmo-load-msgdb): New function.
5560         (elmo-make-msgdb): Ditto.
5561         (elmo-msgdb-get-index): New inline function.
5562         (elmo-msgdb-set-index): Ditto.
5563         (elmo-msgdb-get-entity-hashtb): Ditto.
5564         (elmo-msgdb-get-mark-hashtb): Ditto.
5565         (elmo-msgdb-get-mark): Ditto.
5566         (elmo-msgdb-set-mark): Ditto.
5567         (elmo-msgdb-count-marks): Ditto.
5568         (elmo-msgdb-get-number): Ditto.
5569         (elmo-msgdb-get-field): Ditto.
5570         (elmo-msgdb-seen-list): Ditto.
5571         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5572         (elmo-msgdb-delete-msgs): Follow the changes above.
5573         (elmo-msgdb-overview-get-entity): Ditto.
5574         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5575         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5576         and rewritten.
5577         (elmo-msgdb-make-index): Likewise.
5578         (elmo-msgdb-append): Removed third argument.
5579         (elmo-msgdb-clear): Clear index as nil.
5580         (elmo-folder-set-info-hashtb): Removed.
5581         (elmo-folder-set-info-max-by-numdb): Ditto.
5582         (elmo-folder-info-make-hashtb): Ditto.
5583
5584         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5585
5586         * elmo-map.el (elmo-folder-pack-number): Ditto.
5587
5588 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5589
5590         * elmo-version.el (elmo-version): Up to 2.9.10.
5591
5592         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5593
5594         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5595
5596 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5597
5598         * elmo-utils.el (elmo-make-directory): Add option.
5599         Default file mode is 700.
5600
5601 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5602
5603         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5604
5605 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5606
5607         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5608         mime-charset.
5609
5610         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5611         and "smaller".
5612
5613 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5614
5615         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5616         (elmo-shimbun-folder-entity-hash): New function.
5617         (elmo-shimbun-folder-shimbun-header): Ditto.
5618         (elmo-shimbun-entity-to-header): Ditto.
5619         (elmo-shimbun-msgdb-to-headers): Removed.
5620         (elmo-shimbun-folder-setup): Ditto.
5621         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5622         for hash key.
5623         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5624         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5625         Removed useless local bind.
5626         (elmo-folder-open-internal): Don't call
5627         `elmo-shimbun-folder-setup'.
5628         (elmo-folder-close-internal): Clear entity-hash slot.
5629         (elmo-folder-clear): Ditto.
5630         (elmo-shimbun-msgdb-create-entity): Use
5631         `elmo-shimbun-folder-shimbun-header'.
5632         (elmo-map-message-fetch): Ditto.
5633         (elmo-shimbun-update-overview): Use overview entity instead of
5634         shimbun header to lookup id by references.
5635         (elmo-map-folder-list-message-locations): Use not only headers but
5636         also overviews to list locations.
5637
5638 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5639
5640         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5641         msgdb path.
5642
5643         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5644
5645 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5646
5647         * elmo-util.el (elmo-read-search-condition-internal): Give default
5648         value for date.
5649
5650 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5651
5652         * elmo-util.el (elmo-condition-parse-search-value): Accept
5653         YYYY-MM-DD format to search.
5654         * elmo-date.el (elmo-date-get-datevec): Likewise.
5655
5656 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5657
5658         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5659         debugging code.
5660
5661 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5662
5663         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5664         from t.
5665
5666         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5667
5668         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5669         case from `elmo-folder-exists-p'.
5670         (elmo-folder-exists-p): Removed.
5671         (elmo-folder-creatable-p) Ditto.
5672
5673         * elmo-net.el (elmo-folder-create): Defined.
5674         (elmo-folder-create-unplugged): New function.
5675         (elmo-folder-exists-p): Changed default value to nil from t.
5676
5677         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5678         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5679
5680         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5681         `elmo-create-folder-dop' and append queue
5682         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5683         (elmo-folder-create-dop-delayed): New function.
5684
5685         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5686
5687         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5688
5689         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5690         (elmo-folder-writable-p) : Ditto.
5691
5692         * elmo-version.el (elmo-version): Up to 2.9.9.
5693
5694 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5695
5696         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5697         `elmo-message-use-cache-p' returns nil.
5698         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5699         (ignore cache file and refer the substance in local folders)
5700
5701 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5702
5703         * elmo-version.el (elmo-version): Up to 2.9.8.
5704
5705 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5706
5707         * elmo-version.el (elmo-version): Up to 2.9.7.
5708
5709         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5710
5711 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5712
5713         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5714
5715 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5716
5717         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5718         from --early.
5719         (elmo-map-folder-list-message-locations): Reverse location list.
5720
5721 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5722
5723         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5724
5725 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5726
5727         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5728         as a key.
5729         (elmo-nntp-folder-list-subfolders): Follow the change above.
5730
5731 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5732
5733         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5734         name if authentication type is specified.
5735
5736 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5737
5738         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5739         variable.
5740         (elmo-default-nntp-stream-type): Ditto.
5741         (elmo-default-pop3-stream-type): Ditto.
5742
5743 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5744
5745         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5746
5747 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5748
5749         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5750         elmo-vars.el.
5751         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5752
5753         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5754         (elmo-maildir-folder-path): Ditto.
5755         (elmo-maildir-list): Ditto (abolished).
5756
5757 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5758
5759         * elmo-version.el (elmo-version): Up to 2.9.6.
5760
5761 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5762
5763         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5764         (elmo-maildir-folder-path): Ditto.
5765         (elmo-msgdb-directory): Ditto.
5766         (elmo-passwd-life-time): Ditto.
5767         (elmo-msgdb-extra-fields): Ditto.
5768         (elmo-enable-disconnected-operation): Ditto.
5769
5770 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5771
5772         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5773         other choices.
5774         (elmo-pop3-default-authenticate-type): Ditto.
5775
5776 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5777
5778         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5779         choices for custom.
5780         (elmo-pop3-default-authenticate-type): Ditto.
5781
5782 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5783
5784         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5785         mailbox to new-folder.
5786
5787 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5788
5789         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5790         less than new, set new as unread.
5791
5792         * elmo-util.el (elmo-string): Don't put text-property if nil.
5793
5794 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5795
5796         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5797         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5798
5799 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5800
5801         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5802         is nil on `completing-read'.
5803
5804 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5805
5806         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5807         for namespace part.
5808         (elmo-imap4-parse-namespace-subr): Ditto.
5809         (elmo-folder-list-subfolders): Append a delimiter when the specified
5810         folder path is a root with namespace and does not end with delimiter.
5811
5812 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5813
5814         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5815         was used.
5816
5817 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5818
5819         * elmo-util.el (elmo-save-buffer): The first argument of message
5820         is a format control string.
5821
5822 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5823
5824         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5825         `elmo-folder-diff').
5826         (elmo-diff-unread): Likewise.
5827
5828 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5829
5830         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5831         is t on `completing-read'.
5832
5833 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5834
5835         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5836         method of target folder with self mark-alist if MARK-ALIST is nil.
5837
5838 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5839
5840         * elmo-version.el (elmo-version): Up to 2.9.5.
5841
5842 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5843
5844         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5845         (elmo-dop-merge-funcs): Remove.
5846
5847 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5848
5849         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5850         Return t if PATH is directory, too.
5851         Use `dolist' instead of while loop.
5852
5853 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5854
5855         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5856         is deleted.
5857
5858 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5859
5860         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5861         return value to t.
5862         (elmo-folder-list-messages-unplugged): Return t if
5863         elmo-enable-disconnected-operation is nil.
5864
5865         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5866         `elmo-folder-list-messages-internal'.
5867
5868 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5869
5870         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5871         Change to looking-at `[23][0-9]+'.
5872         (elmo-network-initialize-session): Use 'error-msg'
5873         * elmo-net.el (elmo-network-open-session): Set unplugged
5874         if elmo-network-initialize-session returns 'elmo-open-err.
5875
5876 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5877
5878         * elmo-version.el (elmo-version): Up to 2.9.4.
5879
5880 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5881
5882         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5883         `elmo-folder-list-messages-internal'.
5884
5885 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5886
5887         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5888         (elmo-message-match-condition): New method.
5889         (elmo-folder-search-fast): New inline function.
5890         (elmo-msgdb-search): Removed.
5891
5892         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5893         target folder if it is unplugged.
5894         (elmo-folder-list-messages-internal): Return t if target folder is
5895         unplugged and itself is persistent; In this case, use list be
5896         searched already.
5897
5898         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5899         (elmo-msgdb-search-internal-primitive): Ditto.
5900         (elmo-msgdb-match-condition): New function.
5901         (elmo-msgdb-match-condition-primitive): Ditto.
5902
5903         * elmo-util.el (elmo-filter-condition-p): New macro.
5904
5905         * elmo-cache.el (elmo-folder-search): Removed.
5906
5907         * elmo-localdir.el (elmo-folder-search): Ditto.
5908
5909         * elmo-maildir.el (elmo-folder-search): Ditto.
5910
5911         * elmo-mark.el (elmo-folder-search): Ditto.
5912
5913         * elmo-nmz.el (elmo-folder-search): Ditto.
5914
5915         * elmo-sendlog.el (elmo-folder-search): Ditto.
5916
5917         * elmo-shimbun.el (elmo-folder-search): Ditto.
5918
5919         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5920         if folder is unplugged.
5921
5922         * elmo-nntp.el (elmo-folder-search): Likewise.
5923         (elmo-nntp-search-internal): New function.
5924
5925         * elmo-version.el (elmo-version): Up to 2.9.3.
5926
5927 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5928
5929         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5930
5931 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5932
5933         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5934
5935 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5936
5937         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5938
5939 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5940
5941         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5942         (elmo-map-folder-list-message-locations): Do drive letter conversion
5943         on Windows environment.
5944         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5945         (elmo-map-message-fetch): Ditto.
5946
5947 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5948
5949         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5950         (elmo-network-initialize-session): Ditto.
5951
5952 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5953
5954         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5955
5956         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5957
5958         * elmo-util.el (elmo-progress-clear): Ditto.
5959
5960         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5961         `DD-Mon-YYYY' type date.
5962
5963 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5964
5965         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5966         `elmo-date-make-sortable-string' instead of
5967         `timezone-make-date-sortable'.
5968
5969         * elmo-date.el (elmo-date-make-sortable-string): Use
5970         `timezone-make-time-string'.
5971
5972 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5973
5974         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5975
5976         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5977         `since'; Fix timezone.
5978
5979         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5980
5981         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5982
5983 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5984
5985         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5986
5987 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5988
5989         * elmo.el (elmo-generic-folder-append-messages): Make
5990         fetch-strategy with `use-cache' as 'maybe. Check return value of
5991         `elmo-message-fetch'.
5992         (elmo-message-fetch): Return return value of
5993         `elmo-message-fetch-with-cache-process'.
5994         (elmo-message-fetch-with-cache-process): Return non-nil if
5995         fetching was succeed. Load cache when fetching was failed and
5996         fetch-strategy-use-cache is 'maybe.
5997
5998         * elmo-util.el (elmo-file-cache-load): New function.
5999
6000         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
6001         defun.
6002
6003         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
6004         non-nil if fetching was succeed.
6005
6006         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
6007
6008         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
6009
6010         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
6011         (elmo-message-fetch-with-cache-process): Likwise.
6012
6013         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
6014
6015         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
6016
6017         * elmo-version.el (elmo-version): Up to 2.9.2.
6018
6019 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
6020
6021         * elmo.el (elmo-folder-delete): Delete msgdb path.
6022
6023         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6024
6025         * elmo-maildir.el (elmo-folder-delete): Ditto.
6026
6027         * elmo-localdir.el (elmo-folder-delete): Ditto.
6028
6029         * elmo-imap4.el (elmo-folder-delete): Ditto.
6030
6031 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6032
6033         * elmo.el (luna-define-class): Added `biff' slot.
6034
6035         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6036         (elmo-pop3-debug-inhibit-logging): Abolished.
6037         (elmo-network-close-session): Eliminated needless let.
6038         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6039         (elmo-pop3-send-command): Added `no-log' argument.
6040         (elmo-pop3-process-filter): Use `with-current-buffer'.
6041         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6042         if login failure.
6043         (elmo-pop3-auth-apop): Likewise.
6044         (elmo-network-authenticate-session): Likewise.
6045
6046         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6047         if biff folder.
6048
6049         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6050         string to determine protocol.
6051         (elmo-network-session-name-prefix): Abolished.
6052         (elmo-network-session-cache-key): Follow the change above.
6053         (elmo-network-open-session): Ditto.
6054
6055         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6056         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6057
6058         * elmo-version.el (elmo-version): Up to 2.9.1.
6059
6060         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6061         unmatch condition checking.
6062
6063         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6064         condition.
6065
6066 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6067
6068         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6069
6070 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6071
6072         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6073         test for while loop to execute at least one SEARCH command.
6074
6075 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6076
6077         * elmo-version.el (elmo-version): Up to 2.9.0.
6078
6079 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6080
6081         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6082         (elmo-archive-folder-path): Define.
6083         (elmo-folder-initialize): Setup `dir-name' slot.
6084         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6085         Use `dir-name' as prefix of each subfolders.
6086         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6087
6088 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6089
6090         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6091         (elmo-pipe-folder-list-target-messages): New internal function.
6092         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6093         `killed-list'.
6094         (elmo-pipe-folder-copied-list-load): New function.
6095         (elmo-pipe-folder-copied-list-save): Ditto.
6096         (elmo-folder-open-internal): Follow the change above.
6097         (elmo-folder-status): Fixed for copy.
6098
6099 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6100
6101         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6102
6103 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6104
6105         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6106         elmo-copy-file instead of elmo-add-name-to-file.
6107
6108         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6109
6110         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6111         "file://..." index.
6112
6113         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6114         of accept-process-output as 1.
6115         (elmo-pop3-read-contents): Ditto.
6116         (elmo-pop3-read-body): Ditto.
6117
6118 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6119
6120         * elmo-version.el (product-version-as-string): Remove define.
6121
6122 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6123
6124         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6125         (elmo-imap4-copy-messages): Chop number set using
6126         `elmo-imap4-number-set-chop-length'.
6127         (elmo-imap4-set-flag): Ditto.
6128         (elmo-imap4-search-internal-primitive): Ditto.
6129
6130 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6131
6132         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6133         `elmo-folder-make-temp-dir'
6134
6135         * elmo-vars.el (elmo-cache-directory): New variable.
6136         (elmo-cache-dir): Abolished.
6137         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6138
6139         * elmo-version.el (elmo-version): Up to 2.7.7.
6140
6141 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6142
6143         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6144         defcustom; Set default value as t.
6145
6146 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6147
6148         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6149         (ldap-search-program-arguments): Changed default value.
6150         (ldap-search-basic): Accept exit status 4.
6151         (ldap/field-body): Parse options.
6152         (ldap/collect-field): Ditto.
6153         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6154
6155         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6156         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6157         (elmo-imap4-accept-ok): Ditto.
6158         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6159         'notify-bye, only BYE error is reported.
6160         (elmo-folder-exists-p-plugged): Set no-error argument of
6161         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6162
6163         * elmo.el (elmo-imap4-bye-error): Changed message.
6164
6165         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6166         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6167         queues (It causes infinite loop).
6168
6169 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6170
6171         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6172         (RECENT UNSEEN MESSAGES) extension.
6173
6174 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6175
6176         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6177         Check number of overview fields.
6178
6179 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6180
6181         * elmo.el (elmo-folder-confirm-appends): Changed message.
6182         (elmo-folder-confirm-appends): Ditto.
6183
6184         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6185         `with-temp-buffer'.
6186         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6187
6188 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6189
6190         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6191         of elmo-folder-update-threshold is nil, which can be set by
6192         wl-summary-update-confirm-threshold.
6193
6194 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6195
6196         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6197         (elmo-nmz-index-alias-alist): Ditto.
6198         (elmo-map-folder-list-message-locations): Follow the change above.
6199
6200 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6201
6202         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6203
6204         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6205
6206         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6207
6208         * elmo-util.el (elmo-read): Ditto.
6209         (elmo-display-error): Ditto.
6210
6211         * elmo-vars.el (elmo-date-match): Ditto.
6212
6213         * pldap.el (ldap-coding-system): Ditto.
6214
6215         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6216         `elmo-inhibit-number-mapping' as nil.
6217
6218 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6219
6220         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6221         space delimiter for list response.
6222
6223 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6224
6225         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6226
6227 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6228
6229         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6230         (elmo-map-message-fetch): Fix.
6231         * elmo-map.el (elmo-folder-status): Fix for killed.
6232
6233 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6234
6235         * elmo-sendlog.el: New file.
6236         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6237
6238 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6239
6240         * acap.el (acap-logging-out): New buffer local variable.
6241         (acap-close): Set it.
6242         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6243         an error.
6244
6245 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6246
6247         * acap.el (acap-response-bye-p): New function.
6248         (acap-response-bye-message): Ditto.
6249         (acap-wait-for-response): If bye response is received, cause an error.
6250         (acap-parse-response): Make bye response when 'Bye' is received.
6251
6252 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6253
6254         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6255
6256 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6257
6258         * elmo-util.el (elmo-copy-file): Added argument
6259         `ok-if-already-exists'.
6260         (elmo-copy-file): Fixed typo.
6261
6262 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6263
6264         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6265
6266 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6267
6268         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6269
6270 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6271
6272         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6273         to killed-list.
6274
6275 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6276
6277         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6278         (elmo-folder-initialize): Fix for `copy'.
6279         (elmo-pipe-drain): Ditto.
6280         (elmo-folder-open-internal): Ditto.
6281         (elmo-folder-newsgroups): Fix.
6282
6283 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6284
6285         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6286         for each message.
6287
6288         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6289         recent value is returned from imap folder.
6290
6291         * elmo.el (elmo-folder-newsgroups): New generic function.
6292
6293         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6294         (elmo-folder-initialize): Set it.
6295         (elmo-folder-expand-msgdb-path): Use it.
6296         (elmo-folder-newsgroups): Define.
6297
6298         * elmo-filter.el (elmo-folder-newsgroups): Define.
6299
6300         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6301
6302         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6303
6304         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6305
6306 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6307
6308         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6309         user option.
6310         (elmo-shimbun-header-extra-field): New inline function.
6311         (elmo-shimbun-header-set-extra-field): Ditto.
6312         (elmo-shimbun-folder-header-hash-setup): Ditto.
6313         (elmo-shimbun-update-overview): Ditto.
6314         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6315         (elmo-shimbun-folder-setup): Use
6316         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6317         (elmo-shimbun-get-headers): Ditto.
6318         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6319         Insert `X-Shimbun-Id:' header if extra field is set.
6320         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6321         field's value instead of `shimbun-header-id'.
6322
6323         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6324         inline function.
6325         (elmo-msgdb-overview-entity-set-date): Ditto.
6326         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6327
6328 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6329
6330         * mmimap.el (mmimap-entity-section): Changed body node number from
6331         "0" to "1".
6332
6333 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6334
6335         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6336         `elmo-folder-delete-messages'.
6337
6338         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6339         (elmo-folder-initialize): Changed to expand alias into index path.
6340
6341         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6342         `elmo-mime-insert-header-from-buffer' with 6th arg
6343         `sorted-fields'.
6344
6345 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6346
6347         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6348
6349         * elmo.el (elmo-diff-new): New inline function.
6350         (elmo-diff-unread): Ditto.
6351         (elmo-diff-all): Ditto.
6352
6353         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6354         value from responseb.
6355         (elmo-imap4-folder-diff-plugged): Ditto.
6356         (elmo-imap4-server-diff-async): Added recent argument.
6357         (elmo-server-diff-async): Ditto.
6358         (elmo-imap4-folder-diff-plugged): Ditto.
6359
6360         * elmo-version.el (elmo-version): Up to 2.7.6.
6361
6362 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6363
6364         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6365         in quoted-stirng.
6366
6367 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6368
6369         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6370
6371         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6372
6373         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6374
6375         * elmo-multi.el (elmo-folder-initialize): Ditto.
6376
6377         * elmo-util.el (elmo-parse-token): New function.
6378         (elmo-parse-prefixed-element): Ditto.
6379
6380 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6381
6382         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6383         delete process.
6384         (elmo-imap4-accept-ok): Ditto.
6385
6386 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6387
6388         * mmimap.el (mime-imap-entity-header-string): Don't check first
6389         element of node-id is `0' (Follow last change).
6390
6391 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6392
6393         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6394         assigned irregular node-id to nested multipart section.
6395         (initialize-instance): Followed above change.
6396
6397 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6398
6399         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6400         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6401         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6402         `elmo-shimbun-get-headers');
6403         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6404         visible article on summary exists in headers).
6405         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6406
6407 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6408
6409         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6410         definition.
6411
6412 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6413
6414         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6415
6416 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6417
6418         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6419         header separator into loop condition.
6420
6421 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6422
6423         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6424         Return duplicate folder if it has subfolder.
6425
6426 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6427
6428         * elmo.el (elmo-make-folder): Add folder name error check.
6429
6430         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6431         (elmo-nntp-encode-group-string): New inline function.
6432         (elmo-nntp-decode-group-string): Ditto.
6433         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6434         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6435         Use `not' instead of `null';
6436         Use elmo-nntp-decode-group-string.
6437
6438         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6439
6440         * elmo-version.el (elmo-version): Up to 2.7.5.
6441
6442 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6443
6444         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6445         Hide progress gauge if `elmo-folder-move-messages' exits
6446         nonlocally.
6447
6448 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6449
6450         * elmo-imap4.el (elmo-folder-initialize): Use
6451         `elmo-imap4-encode-folder-string' for folder name.
6452
6453 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6454
6455         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6456         `done'.
6457
6458 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6459
6460         * elmo-util.el (elmo-progress-counter-alist): New internal
6461         variable.
6462         (elmo-progress-counter-value): New macro.
6463         (elmo-progress-counter-all-value): Ditto.
6464         (elmo-progress-counter-format): Ditto.
6465         (elmo-progress-counter-set-value): Ditto.
6466         (elmo-progress-set): New function.
6467         (elmo-progress-clear): Ditto.
6468         (elmo-progress-notify): Ditto.
6469
6470         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6471         counter.
6472
6473         * elmo.el (elmo-generic-folder-append-messages): Call
6474         `elmo-progress-notify'.
6475         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6476
6477         * elmo-archive.el (elmo-folder-append-messages): Call
6478         `elmo-progress-notify'.
6479
6480         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6481
6482         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6483
6484         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6485
6486 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6487
6488         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6489         'Create'.
6490         (elmo-message-encache-dop): Added argument `read'.
6491
6492         * elmo-shimbun.el (elmo-message-encache): Ditto.
6493
6494         * elmo-net.el (elmo-message-encache): Ditto.
6495
6496         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6497         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6498         elmo-imap4-seen-messages.
6499         (elmo-folder-msgdb-create-plugged): Initialize
6500         elmo-imap4-seen-messages;
6501         Set seen mark on elmo-imap4-seen-messages.
6502
6503         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6504
6505         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6506         elmo-folder-append-buffer.
6507         (elmo-folder-encache): Added optional argument `read'.
6508         (elmo-message-encache): Ditto.
6509
6510         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6511
6512         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6513
6514         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6515         if append buffer content succeds.
6516
6517 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6518
6519         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6520         elmo-display-progress.
6521
6522         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6523         Set 4th argument of mime-display-message.
6524         (elmo-mime-display-as-is): Ditto.
6525
6526 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6527
6528         * elmo-nmz.el (toplevel): Require 'mime-edit.
6529         (elmo-nmz-content-type-alist): Abolished.
6530         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6531         content is not a message.
6532         (elmo-map-message-fetch): Changed behavior exept for message content;
6533         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6534         content-type, Add From: and Subject: field.
6535
6536 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6537
6538         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6539         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6540         not a message.
6541
6542 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6543
6544         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6545         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6546
6547         * elmo-archive.el (elmo-folder-writable-p): Defined.
6548
6549         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6550
6551         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6552
6553         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6554
6555         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6556
6557         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6558
6559         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6560
6561         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6562
6563         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6564
6565 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6566
6567         * elmo-util.el (elmo-address-quote-specials): New function;
6568         Renamed from `wl-address-quote-specials'.
6569
6570 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6571
6572         * elmo-version.el (elmo-version): Up to 2.7.4.
6573
6574 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6575
6576         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6577
6578 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6579
6580         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6581         both compile-time and run-time to avoid byte-compile warning.
6582
6583 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6584
6585         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6586
6587 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6588
6589         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6590         option.
6591         (elmo-mime-display-as-is-internal): Use it.
6592
6593         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6594         if `read-passwd' is not defined.
6595
6596 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6597
6598         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6599         by original number.
6600         (elmo-folder-status): Call `elmo-folder-open-internal';
6601         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6602         (elmo-folder-close-internal): Set location-alist as nil.
6603         (elmo-folder-clear): Define.
6604         (elmo-folder-check): Don't set location-alist as nil.
6605
6606         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6607
6608 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6609
6610         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6611         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6612
6613         * mmimap.el (mime-imap-entity::requested): New slot.
6614         (mime-imap-location-fetch-entity-p): New generic function.
6615         (mime-decode-parameters): Define using `defun-maybe'.
6616         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6617         content-type structure.
6618         (mime-entity-body): Return empty body if
6619         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6620
6621         * elmo.el (elmo-message-displaying): New variable.
6622
6623         * elmo-mime.el (elmo-mime-message-display): Bind
6624         elmo-message-displaying as t.
6625
6626         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6627
6628 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6629
6630         * acap.el (acap-open): erase buffer before starting network process.
6631         (acap-store): Rewrite.
6632
6633 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6634
6635         * elmo-imap4.el (elmo-imap4-default-mailbox,
6636         elmo-imap4-default-server
6637         elmo-imap4-default-authenticate-type,
6638         elmo-imap4-default-user,
6639         elmo-imap4-default-port,
6640         elmo-imap4-default-stream-type,
6641         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6642
6643         * elmo-pop3.el (elmo-pop3-default-user,
6644         elmo-pop3-default-server,
6645         elmo-pop3-default-authenticate-type,
6646         elmo-pop3-default-port,
6647         elmo-pop3-default-stream-type,
6648         elmo-pop3-stream-type-alist): Ditto.
6649
6650         * elmo-nntp.el (elmo-nntp-default-server,
6651         elmo-nntp-default-user,
6652         elmo-nntp-default-port,
6653         elmo-nntp-default-stream-type,
6654         elmo-nntp-stream-type-alist): Ditto.
6655
6656         * elmo-vars.el: Follow changes above.
6657         (elmo-setting): New custom group; added 'elmo-setting group to
6658         above variables.
6659
6660         * elmo-version.el (elmo-version): Up to 2.7.3.
6661
6662         * acap.el (acap-parse-response): Don't delete process when BYE
6663         response (It causes hang-up on slow network environment).
6664         (toplevel): Added comment.
6665
6666 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6667
6668         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6669
6670         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6671         parsing NIL.
6672         (acap-parse-return-metadata): Ditto.
6673
6674         * slp.el: New file.
6675         (toplevel): Fixed typo.
6676
6677         * acap.el: New file.
6678         (acap-network-stream-open): Show "Connecting..." message.
6679         (acap-parse-response): Fixed problem for BYE untagged response.
6680         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6681         (toplevel): Added tiny comments.
6682
6683 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6684
6685         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6686         space delimiter for uidl response.
6687
6688 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6689
6690         * elmo-vars.el (elmo-use-semi): Eliminated.
6691
6692         * elmo-util.el (elmo-string-assoc-all): New function.
6693
6694 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6695
6696         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6697         property 'mime-preview-situation for `mime-preview-quit'.
6698
6699 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6700
6701         * elmo.el (elmo-message-fetch-with-cache-process): Call
6702         elmo-message-fetch-internal instead of causing an error when fetch
6703         strategy is 'entire but only 'section cache is available.
6704
6705 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6706
6707         * elmo-version.el (elmo-version): Up to 2.7.2.
6708
6709         * elmo.el (elmo-generic-folder-append-messages): Make
6710         fetch-strategy with `use-cache'.
6711
6712         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6713         (elmo-dop-queue-method-name): New macro.
6714
6715 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6716
6717         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6718         unbalanced parenthesis.
6719
6720 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6721
6722         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6723
6724 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6727         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6728
6729 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6730
6731         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6732         local variables.
6733
6734 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6737         (elmo-message-use-cache-p): Define.
6738         (elmo-folder-msgdb-create): Treat cache.
6739
6740 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6741
6742         * elmo-nntp.el (elmo-network-initialize-session): Call
6743         `elmo-nntp-send-mode-reader'.
6744         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6745
6746 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6747
6748         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6749         alist.
6750         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6751         assoc.
6752
6753         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6754         for `elmo-plugged-p'.
6755         (elmo-open-network-stream): Fixed stream-type argument.
6756
6757 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6758
6759         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6760         unknown archive type is specified.
6761
6762 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6763
6764         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6765
6766         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6767         while loading msgdb.
6768
6769         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6770         (elmo-folder-open-internal): Rewrite.
6771
6772 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6773
6774         * elmo-mime.el (elmo-mime-display-as-is-internal):
6775         Adjust buffer-multibyte status.
6776
6777 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6778
6779         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6780         of elmo-condition-find-key.
6781
6782         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6783         (elmo-condition-in-msgdb-p): Ditto.
6784         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6785         argument.
6786
6787 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6788
6789         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6790
6791 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6792
6793         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6794         label for elmo-display-progress.
6795
6796 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6797
6798         * elmo.el (elmo-folder-clear): New method.
6799         (elmo-folder-clear): Define.
6800         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6801
6802         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6803         (elmo-folder-clear): Define.
6804
6805         * elmo-map.el (elmo-folder-clear): Define.
6806
6807         * elmo-version.el (elmo-version): Up to 2.7.1.
6808
6809 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6810
6811         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6812         updates.
6813
6814 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6815
6816         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6817         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6818
6819 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6820
6821         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6822
6823         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6824         and re-written.
6825
6826         * elmo-imap4.el (elmo-folder-initialize): Use
6827         elmo-get-network-stream-type.
6828
6829         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6830
6831         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6832
6833 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6834
6835         * elmo.el (elmo-message-encache): Set unread argument for
6836         elmo-message-fetch.
6837
6838         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6839
6840         * elmo.el (elmo-net-port-info): New method.
6841
6842         * elmo-shimbun.el (elmo-net-port-info): Define.
6843         (elmo-message-encache): Ditto.
6844
6845         * elmo-net.el (elmo-net-port-info): Define as method.
6846
6847         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6848         unplugged status when elmo-enable-disconnected-operation is t.
6849
6850         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6851         of spool folder before checking new number.
6852
6853 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6854
6855         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6856         (elmo-network-setup-session): Ditto.
6857         (elmo-message-fetch-plugged): Ditto.
6858         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6859         (elmo-network-initialize-session): Ditto.
6860         (elmo-pop3-read-response): Abolish 3rd argument.
6861         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6862         (elmo-pop3-read-contents): Ditto.
6863         (elmo-pop3-read-body): Ditto.
6864         (elmo-folder-status): Call elmo-folder-close.
6865         (elmo-pop3-lock): Abolish.
6866         (elmo-pop3-unlock): Ditto.
6867         (elmo-pop3-locked-p): Ditto.
6868         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6869
6870 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6871
6872         * elmo-version.el (elmo-version): Up to 2.7.0.
6873
6874         * elmo-pop3.el (elmo-pop3-debug): New variable.
6875         (elmo-pop3-debug-inhibit-logging): Ditto.
6876         (elmo-pop3-debug): New function.
6877         (elmo-pop3-send-command): Call elmo-pop3-debug.
6878         (elmo-pop3-read-response): Added keep-lock optional argument;
6879         Don't unlock if keep-lock is non-nil.
6880         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6881         (elmo-network-authenticate-session): Bind
6882         elmo-pop3-debug-inhibit-logging as t.
6883         (elmo-network-setup-session): Call elmo-pop3-read-response with
6884         keep-lock argument.
6885         (elmo-pop3-read-msg): Ditto.
6886         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6887         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6888         (elmo-network-initialize-session): Call elmo-pop3-lock.
6889         (elmo-folder-close-internal): Don't clear location-alist slot.
6890         (elmo-folder-check): Clear location-alist slot.
6891
6892 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6893
6894         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6895         (elmo-pop3-send-command): Call elmo-pop3-lock.
6896         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6897         (elmo-pop3-read-contents): Ditto.
6898         (elmo-pop3-lock): New function.
6899         (elmo-pop3-unlock): Ditto.
6900         (elmo-pop3-locked-p): Ditto.
6901         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6902         returns t.
6903
6904 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6905
6906         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6907
6908         * elmo-util.el (elmo-file-field-primitive-condition-match):
6909         New inline function (Don't fetch file content if "first" or "last").
6910         (elmo-file-field-condition-match): Use
6911         elmo-file-field-primitive-condition-match.
6912
6913         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6914         "first".
6915
6916         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6917         (elmo-message-fetch-plugged): Fixed.
6918
6919         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6920
6921 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6922
6923         * elmo.el (elmo-folder-move-messages): Bind
6924         elmo-inhibit-display-retrieval-progress as t while moving messages.
6925
6926         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6927         New variable.
6928         (elmo-inhibit-display-retrieval-progress): Ditto.
6929
6930         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6931         for retrieval progress;
6932         Don't display progress when total buffer size is smaller than
6933         elmo-display-retrieval-progress-threshold.
6934         (elmo-message-fetch-plugged): Don't display progress when
6935         elmo-inhibit-display-retrieval-progress is non-nil.
6936
6937         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6938         for retrieval progress;
6939         Don't display progress when literal size is smaller than
6940         elmo-display-retrieval-progress-threshold.
6941         (elmo-imap4-message-fetch): Don't display progress when
6942         elmo-inhibit-display-retrieval-progress is non-nil.
6943
6944 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6947         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6948         (elmo-imap4-message-fetch): Likewise.
6949
6950         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6951         (elmo-shimbun-index-range-alist): Ditto.
6952         (elmo-shimbun-use-entire-index): Abolish.
6953         (shimbun-mua-use-entire-index): Ditto.
6954         (elmo-shimbun-folder): Added new slot `range'.
6955         (elmo-folder-initialize): Setup slot `range'.
6956
6957 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6958
6959         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6960         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6961         (elmo-shimbun-get-headers): Use return value of
6962         `shimbun-article-expiration-days'.
6963         (elmo-folder-close-internal): Clean up last-check slot.
6964
6965         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6966         (elmo-pop3-total-size): New variable.
6967         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6968
6969         * elmo.el (elmo-folder-reserve-status-p): New method.
6970
6971         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6972         (elmo-shimbun-use-entire-index): New user option.
6973         (shimbun-elmo-mua): New class.
6974         (shimbun-mua-search-id): Define.
6975         (shimbun-mua-use-entire-index): Ditto.
6976         (elmo-shimbun-folder:last-check): New slot.
6977         (elmo-shimbun-headers-cache-header-list): Abolish.
6978         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6979         (elmo-shimbun-headers-cache-header-hash): Ditto.
6980         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6981         (elmo-shimbun-headers-cache-last-check): Ditto.
6982         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6983         (elmo-shimbun-headers-check-p): Rewrite.
6984         (elmo-shimbun-msgdb-to-headers): New function.
6985         (elmo-shimbun-get-headers): Rewrite.
6986         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6987         (elmo-folder-open-internal): Get headers only if
6988         `elmo-shimbun-headers-check-p' is non-nil.
6989         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6990         is non-nil.
6991         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6992         (elmo-quit): Removed.
6993
6994         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6995         function.
6996         (elmo-msgdb-overview-entity-set-extra): Ditto.
6997         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6998
6999         * elmo-map.el (elmo-folder-status): Don't call
7000         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
7001         is non-nil.
7002
7003 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7004
7005         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
7006         of `elmo-msgdb-search-internal-primitive' when condition's car is
7007         `and' or `or'.
7008
7009 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
7010
7011         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
7012
7013 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7014
7015         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
7016         call `elmo-pipe-drain'.
7017
7018 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7019
7020         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
7021         typo. (elmo-cache-folder -> elmo-mark-folder)
7022
7023 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7024
7025         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7026         `elmo-message-fetch'.
7027
7028 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7029
7030         * elmo-net.el (elmo-message-encache): Fixed typo.
7031         (elmo-message-fetch-unplugged): Changed call
7032         `elmo-message-fetch-internal' without argument `outbuf'.
7033
7034 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7035
7036         * elmo.el (elmo-message-encache): Define as generic function.
7037         (elmo-message-fetch-field): New generic function.
7038         (elmo-message-fetch-with-cache-process): Cause an error when
7039         fetch strategy is 'entire but only 'section cache is available.
7040         (toplevel): Fixed nmz folder definition.
7041
7042         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7043         (elmo-msgdb-resume-list-filename): Ditto.
7044         (elmo-queue-filename): Ditto.
7045         (elmo-enable-disconnected-operation): Changed default value to t.
7046
7047         * elmo-util.el (elmo-cache-path-section-p): New function.
7048         (elmo-file-cache-get): Use it.
7049         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7050         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7051         (elmo-dop-queue-save): Ditto.
7052
7053         * elmo-net.el (elmo-folder-status-unplugged): Call
7054         elmo-folder-status-dop.
7055         (elmo-folder-list-messages-unplugged): Implemented.
7056         (elmo-folder-delete-messages-unplugged): Define.
7057         (elmo-folder-msgdb-create): Define.
7058         (elmo-folder-msgdb-create-unplugged): Define.
7059         (elmo-folder-mark-as-read-unplugged): Ditto.
7060         (elmo-folder-unmark-read-unplugged): Ditto.
7061         (elmo-folder-mark-as-important-unplugged): Ditto.
7062         (elmo-folder-unmark-important-unplugged): Ditto.
7063         (elmo-message-encache): Ditto.
7064
7065         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7066         (elmo-dop-queue-save): Ditto.
7067
7068         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7069         `elmo-folder-msgdb-create'.
7070         (elmo-folder-append-buffer): Implemented unplugged operation.
7071         (elmo-folder-append-messages): Call parent method in unplugged status.
7072         (elmo-message-fetch-unplugged): Removed definition.
7073         (elmo-message-fetch-field): Implemented.
7074
7075         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7076         (elmo-dop-folder): Removed variable definition.
7077         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7078         (elmo-dop-queue-flush): Implemented.
7079         (elmo-dop-queue-merge): Removed definition (TODO).
7080         (elmo-dop-spool-folder): New function.
7081         (elmo-dop-spool-folder-append-buffer): Ditto.
7082         (elmo-dop-spool-folder-list-messages): Ditto.
7083         (elmo-dop-list-deleting-messages): Ditto.
7084         (elmo-folder-append-buffer-dop): Ditto.
7085         (elmo-folder-delete-messages-dop): Ditto.
7086         (elmo-message-encache-dop): New inline function.
7087         (elmo-create-folder-dop): Ditto.
7088         (elmo-folder-mark-as-read-dop): Ditto.
7089         (elmo-folder-unmark-read-dop): Ditto.
7090         (elmo-folder-mark-as-important-dop): Ditto.
7091         (elmo-folder-unmark-important-dop): Ditto.
7092         (elmo-folder-status-dop): Fixed.
7093         (elmo-folder-append-buffer-dop-delayed): New function.
7094         (elmo-folder-delete-messages-dop-delayed): Ditto.
7095         (elmo-dop-msgdb): Ditto.
7096
7097 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7098
7099         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7100
7101 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7102
7103         * elmo.el (elmo-folder-move-messages): Fixed problem when
7104         `dst-folder' is 'null.
7105
7106 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7107
7108         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7109         instead of current mark.
7110
7111         * elmo-multi.el (elmo-folder-list-importants-internal): No
7112         operation if importants is not list.
7113
7114         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7115         Return t if importants is not list.
7116
7117         * elmo-map.el (elmo-map-folder-list-importants): Define.
7118         (elmo-folder-list-importants-internal): Check return value of
7119         `elmo-map-folder-list-importants-internal'.
7120
7121         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7122
7123         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7124
7125         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7126
7127         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7128
7129 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7130
7131         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7132         (Patch is provided by <kita@coe.nttdata.co.jp>).
7133
7134 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7135
7136         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7137         mark folder.
7138
7139 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7140
7141         * elmo.el (elmo-message-fetch): Define.
7142         (elmo-message-fetch-with-cache-process): New generic method.
7143         (elmo-message-fetch-internal): New generic method.
7144         (elmo-folder-synchronize):
7145
7146         * elmo-archive.el (elmo-message-fetch-internal): Define.
7147         (elmo-message-fetch): Eliminated.
7148
7149         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7150         (elmo-message-fetch): Eliminated.
7151
7152         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7153         argument OUTBUF.
7154         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7155
7156         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7157         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7158
7159         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7160         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7161
7162         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7163
7164         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7165
7166         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7167
7168         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7169         (elmo-message-fetch-unplugged): New generic method.
7170         (elmo-message-fetch-internal): Remove cache process (Renamed from
7171         `elmo-message-fetch').
7172
7173         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7174         (elmo-message-fetch): Eliminated.
7175         (elmo-message-fetch-unplugged): Ditto.
7176
7177         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7178
7179 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7180
7181         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7182         of `to-be-deleted' from number-alist to number-list.
7183
7184 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7185
7186         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7187         (elmo-folder-mark-as-important): Ditto.
7188
7189 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7190
7191         * elmo.el (elmo-folder): Added process-duplicates slot.
7192
7193         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7194         (elmo-folder-unmark-read): Ditto.
7195         (elmo-folder-unmark-important): Ditto.
7196         (elmo-folder-mark-as-important): Ditto.
7197
7198         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7199         duplicated message processing.
7200
7201         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7202
7203 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7204
7205         * elmo-util.el (elmo-list-subdirectories-1): New function.
7206         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7207         (elmo-mapcar-list-of-list): New function.
7208
7209         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7210         `elmo-mapcar-list-of-list' instead of `mapcar'.
7211
7212         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7213
7214         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7215         `elmo-have-link-count'. Return the fully qualified folder name.
7216
7217 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7218
7219         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7220         (elmo-shimbun-headers-cache): New internal variable.
7221         (elmo-shimbun-headers-cache-header-list): New inline function.
7222         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7223         (elmo-shimbun-headers-cache-header-hash): Ditto.
7224         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7225         (elmo-shimbun-headers-cache-last-check): Ditto.
7226         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7227         (elmo-shimbun-lapse-seconds): Ditto.
7228         (elmo-shimbun-headers-cache-check-p): Ditto.
7229         (elmo-shimbun-get-headers): New function.
7230         (elmo-folder-open-internal): Call it.
7231         (elmo-quit): Define (Clear headers-cache).
7232
7233 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7234
7235         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7236
7237         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7238         (elmo-msgdb-flist-save): Ditto.
7239
7240         * elmo-shimbun.el (elmo-folder-list-subfolders):
7241         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7242         (elmo-folder-exists-p): Ditto.
7243
7244         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7245         argument for `shimbun-header-insert'.
7246
7247 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7248
7249         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7250         at first time.
7251
7252         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7253         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7254
7255 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7256
7257         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7258         (elmo-folder-plugged-p): Define.
7259         (elmo-folder-set-plugged): Ditto.
7260         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7261         (elmo-folder-list-messages-internal): Return t if unplugged.
7262         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7263
7264         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7265         when elmo-folder-list-messages-internal method of children returns t.
7266
7267         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7268         pair is nil.
7269         (elmo-folder-open-internal): Don't update if unplugged status.
7270
7271 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7272
7273         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7274         new message.
7275
7276 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7277
7278         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7279
7280         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7281         saving.
7282
7283 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7284
7285         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7286
7287         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7288         (elmo-folder-open-internal): Set up headers slot.
7289         (elmo-folder-check): Call elmo-folder-close-internal and
7290         elmo-folder-open-internal.
7291         (elmo-folder-close-internal): Clean up headers slot.
7292
7293 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7294
7295         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7296         exactly folder list.
7297         (elmo-folder-append-messages): Fixed append archive with prefix.
7298
7299         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7300         make temp files with start-number.
7301
7302         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7303
7304 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7305
7306         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7307         argument `visible-only'.
7308         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7309         instead of `if'.
7310
7311         * elmo-pop3.el (elmo-folder-open-internal): Check
7312         `elmo-inhibit-number-mapping' is non-nil.
7313
7314         * elmo-pipe.el (elmo-folder-status): Fixed.
7315
7316 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7317
7318         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7319
7320         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7321         (elmo-folder-open-internal): Setup `header-hash' slot.
7322         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7323         information.
7324         (elmo-map-message-fetch): Ditto.
7325
7326 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7327
7328         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7329         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7330         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7331         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7332
7333         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7334
7335 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7336
7337         * sb-airs.el: Added footer.
7338
7339         * shimbun.el (shimbun-article): Define as luna-method.
7340
7341         * sb-tcup.el: New file.
7342
7343         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7344         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7345
7346 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7347
7348         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7349         (shimbun-get-headers): Ditto.
7350
7351         * elmo.el: Moved obsolete variable definitions from
7352         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7353
7354         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7355         groups.
7356
7357         * shimbun.el: New file.
7358
7359         * elmo-shimbun.el: New file.
7360
7361         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7362         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7363         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7364         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7365
7366 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7367
7368         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7369         hierarchy is t.
7370
7371 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7372
7373         * elmo.el (elmo-folder-msgdb): Define as macro.
7374         (elmo-folder-open): Added argument `load-msgdb'.
7375         (elmo-generic-folder-open): Ditto.
7376         (elmo-folder-encache): New function.
7377
7378         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7379
7380         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7381
7382         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7383         Eliminated argument FOLDER and added argument MSGDB.
7384         (elmo-dop-queue-load): Moved from elmo-dop.el.
7385         (elmo-dop-queue-save): Ditto.
7386
7387         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7388
7389         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7390
7391         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7392         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7393         (elmo-filter-folder-list-importants-internal): Ditto.
7394
7395         * elmo-map.el (elmo-folder-pack-number): Ditto.
7396
7397         * elmo-mime.el (elmo-mime-message-display): Ditto.
7398
7399         * elmo.el (elmo-generic-folder-commit): Ditto.
7400         (elmo-folder-list-unreads): Ditto.
7401         (elmo-folder-list-importants): Ditto.
7402         (elmo-generic-folder-commit): Ditto.
7403         (elmo-message-set-mark): Ditto.
7404         (elmo-generic-folder-append-msgdb): Ditto.
7405         (elmo-folder-synchronize): Ditto.
7406         (elmo-folder-messages): Ditto.
7407         (elmo-init): Call elmo-dop-queue-load.
7408         (elmo-folder-list-messages): Ditto.
7409
7410         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7411         (elmo-nntp-folder-process-crosspost): Ditto.
7412         (elmo-folder-list-unreads-internal): Ditto.
7413
7414         * elmo-dop.el: Removed old functions.
7415
7416 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7417
7418         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7419         `folder' to `msgdb'.
7420
7421 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7422
7423         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7424         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7425
7426         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7427         case-fold-search.
7428
7429 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7430
7431         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7432         defined.
7433
7434         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7435         (mmimap-parse-parameters-from-list): Define as alias for
7436         `mime-decode-parameter-plist' if it is defined as function.
7437         (mmimap-make-mime-entity): Added argument `number'.
7438         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7439         as 0.
7440         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7441
7442         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7443
7444         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7445
7446         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7447
7448 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7449
7450         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7451
7452         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7453         when elmo-imap4-default-authenticate-type is nil.
7454         (elmo-folder-list-subfolders): Ditto
7455         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7456         (elmo-imap4-fetch-callback-1-subr): Renamed from
7457         `elmo-imap4-fetch-callback-1' and define as inline function.
7458         (elmo-imap4-fetch-callback-1):
7459         Renamed from `elmo-imap4-fetch-callback'.
7460         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7461
7462         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7463         msgdb path (To keep compatibility with main trunk).
7464
7465         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7466
7467         * elmo-util.el (elmo-make-file-cache): Moved position of
7468         some macros.
7469
7470         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7471         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7472         instead of `elmo-pop3-inhibit-uidl'.
7473         (elmo-folder-exists-p): Ditto.
7474         (elmo-pop3-folder-list-messages): Ditto.
7475
7476         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7477         instead of `elmo-pop3-inhibit-uidl'.
7478         (elmo-folder-status): Ditto.
7479
7480         * elmo-dop.el (elmo-dop-folder): New variable.
7481         (elmo-dop-lock-message): Eliminated.
7482         (elmo-dop-unlock-message): Ditto.
7483         (elmo-dop-lock-list-load): Ditto.
7484         (elmo-dop-lock-list-save): Ditto.
7485         (elmo-dop-delete-folder): Ditto.
7486         (elmo-dop-rename-folder): Ditto.
7487
7488         * elmo.el: Removed incomplete commentary.
7489
7490 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7491
7492         * elmo.el (toplevel): Require 'elmo-version first;
7493         for little `recursive-load-depth' settings.
7494         Fix "ends here" comment.
7495
7496 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7497
7498         * elmo-util.el (toplevel): Require 'poem;
7499         Some functions are moved from elmo-cache.el.
7500
7501         * elmo-net.el (toplevel): Require 'elmo-cache.
7502
7503         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7504
7505         * elmo.el (toplevel): Ditto.
7506
7507         * elmo-cache.el: Rewrite with luna;
7508         Some functions are moved to elmo-util.el.
7509
7510         * elmo-internal.el (elmo-internal-folder-list): New variable.
7511         (elmo-internal-folder-initialize): Rewrite.
7512         (elmo-folder-list-subfolders): Ditto.
7513
7514         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7515         (elmo-cache-collect-sub-directories): Ditto.
7516
7517 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7518
7519         * elmo-version.el (elmo-version): Up to 2.5.8.
7520
7521         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7522
7523         * elmo-util.el (elmo-list-insert): New function.
7524
7525 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7526
7527         * elmo.el (elmo-init): New function.
7528         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7529
7530         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7531         (Renamed from `elmo-localdir-header-chop-length').
7532
7533         * elmo-pop3.el (elmo-pop3-use-cache,
7534         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7535
7536         * elmo-nntp.el (elmo-message-fetch): Define.
7537         (elmo-message-fetch-unplugged): Ditto.
7538         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7539         (elmo-nntp-use-cache): Ditto.
7540         (elmo-nntp-max-number-precedes-list-active): Ditto.
7541
7542         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7543
7544         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7545         `elmo-msgdb-insert-file-header'.
7546         Use `elmo-msgdb-file-header-chop-length'.
7547
7548         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7549         `elmo-vars.el'.
7550
7551         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7552         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7553         `elmo-msgdb-insert-file-header'.
7554
7555         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7556         Use new variable;
7557         Define obsolete variables with `elmo-define-obsolete-variable',
7558
7559         * elmo-util.el (elmo-warning-buffer-name): New constant.
7560         (elmo-warning): New function.
7561         (elmo-obsolete-variable-alist): New variable.
7562         (elmo-obsolete-variable-show-warnings): New variable.
7563         (elmo-define-obsolete-variable): New function.
7564         (elmo-resque-obsolete-variable): Ditto.
7565         (elmo-resque-obsolete-variables): Ditto.
7566
7567 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7568
7569         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7570         Eliminated.
7571
7572         * elmo-pop3.el, elmo-nntp.el: Use custom.
7573
7574 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7575
7576         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7577         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7578
7579 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7580
7581         * Luna-fy Kenichi OKADA's following changes.
7582         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7583         `nohide'.
7584         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7585
7586 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7587
7588         * elmo-util.el (elmo-display-progress): Prefer
7589         `progress-feedback-with-label' to `lprogress-display'.
7590
7591 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7592
7593         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7594
7595 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7596
7597         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7598         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7599         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7600         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7601         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7602         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7603         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7604         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7605         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7606         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7607         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7608         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7609         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7610
7611 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7612
7613         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7614         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7615
7616 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7617
7618         * elmo.el (elmo-folder-process-crosspost): New generic method.
7619         (elmo-folder-writable-p): Ditto.
7620         (elmo-folder-message-appendable-p): Eliminated.
7621         (elmo-generic-folder-append-msgdb): Rewrite.
7622         (elmo-newsgroups-hashtb): New internal variable.
7623         (elmo-crosspost-message-set): Eliminated.
7624         (elmo-crosspost-message-delete): Ditto.
7625         (elmo-setup-subscribed-newsgroups): New function.
7626         (elmo-crosspost-message-alist-modified): New internal variable.
7627         (elmo-crosspost-message-alist-load): New function (Renamed from
7628         `wl-crosspost-alist-load').
7629         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7630         `wl-crosspost-alist-save').
7631
7632         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7633
7634         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7635         `unreads'.
7636         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7637         elmo-newsgroups-hashtb).
7638         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7639         `elmo-nntp-folder-update-crosspost-message-alist'.
7640         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7641         `elmo-nntp-groups-hashtb'.
7642         (elmo-nntp-make-groups-hashtb): Eliminated.
7643         (elmo-nntp-parse-newsgroups): New function (Renamed from
7644         `wl-parse-newsgroups').
7645         (elmo-folder-creatable-p, elmo-folder-writable-p,
7646         elmo-folder-close-internal, elmo-folder-mark-as-read,
7647         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7648         Define.
7649         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7650
7651         * elmo-net.el (elmo-message-fetch): Check buffer size.
7652
7653         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7654
7655         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7656
7657         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7658         before `close' command.
7659
7660         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7661         `mark-alist' (All other related portions are changed).
7662
7663 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7664
7665         * elmo-util.el (elmo-create-hash-size): Eliminated.
7666         (elmo-make-hash) Make a hash with `one less than a power of two'
7667         length.
7668
7669         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7670         (elmo-hash-maximum-size): Changed value.
7671
7672 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7673
7674         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7675         (elmo-mime-message-display-as-is): Ditto.
7676
7677 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7678
7679         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7680         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7681
7682 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7683
7684         * elmo-mark.el: New file.
7685
7686         * elmo-internal.el: Rewrite (Almost empty).
7687
7688 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7689
7690         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7691         (mime-imap-entity-header-string): Ditto.
7692         (mmimap-entity-section): Rewrite.
7693
7694 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7695
7696         * elmo-nmz.el: New file.
7697
7698         * elmo-pipe.el: Rewrite with luna.
7699
7700 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7701
7702         * elmo-archive.el: Rewrite with luna.
7703
7704         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7705         (elmo-folder-list-importants-internal): Ditto.
7706
7707 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7708
7709         * elmo-archive.el (elmo-archive-version): Abolish.
7710         (toplevel) Removed `boso' comment.
7711
7712 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7713
7714         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7715         elmo-msgdb-add-msgs-to-seen-list-subr;
7716         Changed argument seen-marks to unread-marks.
7717
7718         * elmo-nntp.el: Rewrite with luna.
7719
7720 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7721
7722         * elmo-filter.el: Rewrite with luna.
7723
7724 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7725
7726         * elmo-pop3.el: Rewrite with luna.
7727
7728 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7729
7730         * elmo-multi.el: Rewrite with luna.
7731
7732         * elmo-vars.el (elmo-use-killed-list): Abolish.
7733         All other related portions are changed.
7734         (elmo-filename-replace-string-alist): Renamed from
7735         elmo-msgid-replace-string-alist.
7736
7737 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7738
7739         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7740
7741         * elmo-map.el: New file.
7742         * elmo-maildir.el: Rewrite with luna.
7743
7744 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7745
7746         * elmo.el: Changed meaning of `elmo-folder-commit'.
7747         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7748
7749 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7750
7751         * elmo.el (elmo-folder-append-buffer): New function.
7752         (Renamed from `elmo-append-msg')
7753
7754 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7755
7756         * elmo-mime.el: New file.
7757
7758 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7759
7760         * elmo-cache.el: Rewrite.
7761
7762 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7763
7764         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7765
7766 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7767
7768         * elmo-vars.el (elmo): New group.
7769         (elmo-strict-diff-folder-regexp): New variable.
7770
7771         * elmo-util.el (elmo-call-func): Abolish.
7772         (elmo-folder-get-type): Ditto.
7773         (elmo-*-get-spec): Ditto.
7774         (elmo-*-spec-*): Ditto.
7775         (elmo-imap4-identical-name-space-p): Ditto.
7776         (elmo-folder-identical-system-p): Ditto.
7777         (elmo-folder-direct-copy-alist): Ditto.
7778         (elmo-folder-direct-copy-p): Ditto.
7779
7780         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7781         (elmo-folder-initialize): Define.
7782         (elmo-folder-get-primitive-list): Ditto.
7783
7784         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7785         (elmo-folder-initialize): Define.
7786         Renamed `elmo-network-session-host-internal' to
7787         `elmo-network-session-server-internal'.
7788
7789         * elmo-multi.el (elmo-multi-folder): New luna class.
7790         (elmo-folder-initialize): Define.
7791         (elmo-folder-get-primitive-list): Ditto.
7792         (elmo-folder-contains-type): Ditto.
7793         (elmo-message-use-cache-p): Ditto.
7794
7795         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7796         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7797
7798         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7799         (elmo-folder-initialize): Define.
7800
7801         * elmo-filter.el (elmo-filter-folder): New luna class.
7802         (elmo-folder-initialize): Define.
7803         (elmo-folder-get-primitive-list): Ditto.
7804         (elmo-folder-contains-type): Ditto.
7805
7806 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7807
7808         * elmo-imap4.el: Rewrite with luna.
7809
7810         * mmimap.el: New file.
7811
7812         * mmelmo.el, mmelmo-imap4.el: Removed.
7813
7814         * elmo-net.el: Ditto.
7815
7816         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7817         (elmo-folder-initialize): Define.
7818
7819         * elmo-archive.el (elmo-archive-folder): New luna class.
7820         (elmo-folder-initialize): Define.
7821
7822         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7823         `elmo-folder-msgdb-path'.
7824         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7825         `elmo-make-folder'.
7826
7827 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7828
7829         * elmo.el: New file.
7830
7831         * elmo2.el: Renamed to elmo.el.
7832
7833 \f
7834 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7835
7836         * elmo-cache.el (elmo-cache-expire-by-size): Count
7837         a disk usage for a cache file entry in KB even when
7838         its kind is a directory.
7839
7840 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7841
7842         * elmo-version.el (elmo-version): Up to 2.5.7.
7843
7844 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7845
7846         * elmo-version.el (elmo-version): Up to 2.5.6.
7847
7848 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7849
7850         * elmo-version.el (elmo-version): Up to 2.5.5.
7851
7852 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7853
7854         * elmo-imap4.el (elmo-network-authenticate-session):
7855         Fixed a logic for response checking.
7856
7857 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7858
7859         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7860         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7861         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7862         `sasl-mechanisms'.
7863
7864         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7865         for `starttls-open-stream' and `starttls-negotiate'.
7866
7867         * elmo-nntp.el: Remove autoload settings for
7868         `starttls-open-stream' and `starttls-negotiate'.
7869
7870         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7871         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7872         `luna-define-class' with `eval-and-compile'.
7873
7874 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7875
7876         * elmo-util.el (elmo-read-search-condition-internal):
7877         Require an element of table for searching field.
7878
7879 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7880
7881         * elmo-version.el (elmo-version): Up to 2.5.4.
7882
7883 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7884
7885         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7886
7887 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7888
7889         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7890
7891 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7892
7893         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7894         before greeting.
7895
7896 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7897
7898         * elmo-imap4.el (elmo-imap4-delete-folder):
7899         Send "close" before "delete" (Use commented out line).
7900         (elmo-imap4-rename-folder): Ditto.
7901
7902         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7903         folder string itself.
7904         (elmo-dop-list-deleted): New function.
7905         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7906         killed.
7907
7908         * elmo-util.el (elmo-string-rassoc-all): New function.
7909
7910 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7911
7912         * elmo-version.el (elmo-version): Up to 2.5.3.
7913
7914         * elmo-net.el (elmo-network-get-session): Changed logic for
7915         checking process status.
7916
7917         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7918         process is nil;
7919         Changed logic for checking process status.
7920
7921 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7922
7923         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7924         before greeting.
7925         (elmo-network-setup-session): Set UIDL hash size according to
7926         the length of list response.
7927         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7928         according to the length of list response;
7929         Return the length of list response.
7930         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7931
7932 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7933
7934         * elmo-imap4.el (toplevel): Require 'ssl.
7935         Add autoload 'starttls.
7936         * elmo-pop3.el (toplevel): Ditto.
7937         * elmo-nntp.el (toplevel): Ditto.
7938
7939 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7940
7941         * elmo-imap4.el (toplevel): defun at compile time.
7942         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7943         sasl-next-step, sasl-step-data, sasl-step-set-data.
7944         * elmo-pop3.el (toplevel): Ditto.
7945
7946 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7947
7948         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7949
7950 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7951
7952         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7953         if error.
7954         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7955         and `elmo-pop-auth-apop'.
7956
7957 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7958
7959         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7960
7961 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7962
7963         * elmo-pop3.el (elmo-network-authenticate-session): Split
7964         encoded response value.
7965
7966 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7967
7968         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7969         `elmo-pop3-force-login'.
7970         Redefine `sasl-mechanisms'.
7971         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7972
7973 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7974
7975         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7976         Delete `elmo-imap4-authenticator-alist'.
7977         (elmo-imap4-auth-cram-md5): Delete.
7978         (elmo-imap4-auth-digest-md5): Delete.
7979
7980 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7981
7982         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7983         (elmo-pop3-auth-scram-md5): Ditto.
7984         (elmo-pop3-auth-cram-md5): Ditto.
7985
7986 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7987
7988         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7989         Delete `elmo-pop3-authenticator-alist'.
7990
7991 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7992
7993         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7994         new SASL API.
7995         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7996
7997 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7998
7999         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
8000
8001 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
8002
8003         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8004         Fixed problem when `elmo-pop3-use-uidl' is nil.
8005         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
8006
8007 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8008
8009         * elmo-version.el (elmo-version): Up to 2.5.2.
8010
8011 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
8012
8013         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8014         New function.
8015         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
8016         (elmo-pop3-msgdb-create-as-numlist): Use it.
8017
8018         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
8019         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
8020
8021         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8022         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8023
8024 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8025
8026         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8027         when elmo-mark-as-read is called with second argument nil.
8028
8029 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8030
8031         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8032         Moved to elmo-util.el.
8033
8034         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8035         Moved from elmo-pipe.el
8036
8037         * elmo-archive.el (elmo-archive-call-process): Enclose with
8038         static-if.
8039
8040         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8041         "RFC822" (because RFC822.PEEK is obsolete).
8042         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8043
8044 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8045
8046         * elmo-archive.el (elmo-archive-call-process): Don't check for
8047         the exit status when Nemacs is running.
8048
8049 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8050
8051         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8052         'plain.
8053
8054         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8055         (elmo-pop3-get-spec): Set default of auth to 'user.
8056
8057         * elmo-imap4.el (elmo-imap4-session-check):
8058         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8059         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8060         (elmo-imap4-auth-login): New function; Revival.
8061         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8062         `elmo-imap4-auth-login'.
8063
8064 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8065
8066         * elmo2.el (toplevel): Move `product-provide' declare.
8067         * mmelmo.el (toplevel): Ditto.
8068
8069 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8070
8071         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8072
8073 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8074
8075         * elmo-util.el (elmo-folder-get-store-type): New function.
8076         (elmo-folder-direct-copy-p): Use it.
8077
8078 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8079
8080         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8081         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8082         and result of `elmo-imap4-use-flag-p'.
8083         (elmo-imap4-fetch-callback-1): Set mark according to
8084         the result of `elmo-imap4-use-flag-p'.
8085
8086 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8087
8088         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8089         (elmo-generic-list-folder-unread): Ditto.
8090         (elmo-folder-get-info): Ditto.
8091         (elmo-folder-set-info-max-by-numdb): Ditto.
8092         (elmo-folder-get-info-max): Ditto.
8093         (elmo-folder-get-info-length): Ditto.
8094         (elmo-folder-get-info-unread): Ditto.
8095         (elmo-folder-info-make-hashtb): Ditto.
8096
8097         * elmo2.el: Removed above functions.
8098
8099 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8100
8101         * elmo-imap4.el (toplevel): Require 'ssl.
8102         Add autoload 'starttls.
8103         * elmo-pop3.el (toplevel): Ditto.
8104         * elmo-nntp.el (toplevel): Ditto.
8105
8106 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8107
8108         * elmo-imap4.el (toplevel): defun at compile time.
8109         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8110         sasl-next-step, sasl-step-data, sasl-step-set-data.
8111         * elmo-pop3.el (toplevel): Ditto.
8112
8113 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8114
8115         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8116
8117 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8118
8119         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8120         if error.
8121         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8122         and `elmo-pop-auth-apop'.
8123
8124 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8125
8126         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8127
8128 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8129
8130         * elmo-pop3.el (elmo-network-authenticate-session): Split
8131         encoded response value.
8132
8133 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8134
8135         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8136         `elmo-pop3-force-login'.
8137         Redefine `sasl-mechanisms'.
8138         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8139
8140 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8141
8142         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8143         Delete `elmo-imap4-authenticator-alist'.
8144         (elmo-imap4-auth-cram-md5): Delete.
8145         (elmo-imap4-auth-digest-md5): Delete.
8146
8147 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8148
8149         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8150         (elmo-pop3-auth-scram-md5): Ditto.
8151         (elmo-pop3-auth-cram-md5): Ditto.
8152
8153 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8154
8155         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8156         Delete `elmo-pop3-authenticator-alist'.
8157
8158 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8159
8160         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8161         new SASL API.
8162         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8163
8164 \f
8165 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8166
8167         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8168
8169 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8170
8171         * elmo-nntp.el (elmo-nntp-get-folders-info):
8172         Fixed problem when '\' character is contained in user-id.
8173         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8174
8175 \f
8176 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8177
8178         * elmo-imap4.el (elmo-imap4-delete-folder):
8179         Send "close" before "delete" (Use commented out line).
8180         (elmo-imap4-rename-folder): Ditto.
8181
8182         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8183         folder string itself.
8184         (elmo-dop-list-deleted): New function.
8185         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8186         killed.
8187
8188         * elmo-util.el (elmo-string-rassoc-all): New function.
8189
8190         * elmo-version.el (elmo-version): Up to 2.5.1.
8191
8192 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8193
8194         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8195
8196         * elmo-internal.el (elmo-internal-search): Fix last change.
8197
8198 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8199
8200         * elmo-internal.el (elmo-internal-search): Rewrite.
8201         (Fixed problem which is pointed out by Akihiro MOTOKI
8202         <motoki@da.jp.nec.com>)
8203
8204         * elmo-version.el (elmo-version): Up to 2.5.0.
8205
8206 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8207
8208         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8209
8210 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8211
8212         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8213         non-nil, make hierarchy.
8214
8215 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8216
8217         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8218         `elmo-pop3-use-uidl' must be bound to nil.
8219         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8220
8221 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8222
8223         * elmo-util.el (elmo-copy-file): Don't cause an error after
8224         `add-name-to-file' failed.
8225
8226         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8227         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8228
8229 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8230
8231         * elmo-version.el (elmo-version): Up to 2.3.93.
8232
8233 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8234
8235         * elmo-util.el (elmo-flatten): New function.
8236
8237 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8238
8239         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8240         sync Author header.
8241         * elmo-cache.el (toplevel): Ditto.
8242         * elmo-database.el (toplevel): Ditto.
8243         * elmo-date.el (toplevel): Ditto.
8244         * elmo-dop.el (toplevel): Ditto.
8245         * elmo-filter.el (toplevel): Ditto.
8246         * elmo-imap4.el (toplevel): Ditto.
8247         * elmo-internal.el (toplevel): Ditto.
8248         * elmo-localdir.el (toplevel): Ditto.
8249         * elmo-localnews.el (toplevel): Ditto.
8250         * elmo-maildir.el (toplevel): Ditto.
8251         * elmo-msgdb.el (toplevel): Ditto.
8252         * elmo-multi.el (toplevel): Ditto.
8253         * elmo-net.el (toplevel): Ditto.
8254         * elmo-nntp.el (toplevel): Ditto.
8255         * elmo-pipe.el (toplevel): Ditto.
8256         * elmo-pop3.el (toplevel): Ditto.
8257         * elmo-util.el (toplevel): Ditto.
8258         * elmo-vars.el (toplevel): Ditto.
8259         * elmo2.el (toplevel): Ditto.
8260         * mmelmo-imap4.el (toplevel): Ditto.
8261         * mmelmo.el (toplevel): Ditto.
8262
8263         * elmo-version.el (elmo-version): Move to top.
8264
8265         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8266         * elmo-imap4.el (toplevel): Ditto.
8267         * elmo-localdir.el (toplevel): Ditto.
8268         * elmo-msgdb.el (toplevel): Ditto.
8269         * elmo-nntp.el (toplevel): Ditto.
8270         * elmo-pop3.el (toplevel): Ditto.
8271         * elmo-version.el (toplevel): Ditto.
8272
8273         * elmo-localnews.el (toplevel): Added Keyword header.
8274
8275 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8276
8277         * elmo-version.el (product-version-as-string): Defined using
8278         `defun-maybe'.
8279         (toplevel): Use it.
8280
8281         * elmo-localdir.el (toplevel): Updated copyright notice.
8282         * elmo-version.el (toplevel): Ditto.
8283         * elmo-msgdb.el (toplevel): Ditto.
8284         * elmo-imap4.el (toplevel): Ditto.
8285         * elmo-nntp.el (toplevel): Ditto.
8286         * elmo-pop3.el (toplevel): Ditto.
8287
8288 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8289
8290         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8291         messages.
8292
8293         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8294         parameter value (It sometimes contains raw kanji).
8295
8296 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8297
8298         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8299         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8300
8301 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8302
8303         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8304
8305 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8306
8307         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8308         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8309
8310 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8311
8312         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8313         value if selecting folder succceeded.
8314         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8315
8316 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8317
8318         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8319         representation.
8320
8321         * elmo-util.el (elmo-string-matched-member): New function.
8322
8323 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8324
8325         * elmo-util.el (elmo-unintern): New macro.
8326         (elmo-number-set-member): Fixed docstring.
8327
8328         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8329         tag token.
8330
8331 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8332
8333         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8334         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8335
8336 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8337
8338         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8339         `no-error'.
8340         Added docstring.
8341         Return non-nil if selecting folder succeeded.
8342         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8343
8344 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8345
8346         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8347         `file-name-completion' returns t.
8348         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8349         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8350         directory if it does not exist.
8351         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8352         for iteration.
8353
8354 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8355
8356         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8357         enclosure (It's harmful in unplugged status).
8358
8359         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8360
8361         * mmelmo-1.el: Removed.
8362
8363         * mmelmo-2.el: Ditto.
8364
8365         * mmelmo-imap4-1.el: Ditto.
8366
8367         * mmelmo-imap4-2.el: Ditto.
8368
8369         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8370
8371         * mmelmo.el: Merged mmelmo-2.el.
8372
8373         * elmo-version.el (elmo-version): Up to 2.3.92.
8374
8375 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8376
8377         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8378         elmo-update-number): Remove last period in "...done." message.
8379         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8380         Ditto.
8381         * elmo-cache.el (elmo-cache-expire-by-size,
8382         elmo-cache-get-sorted-cache-file-list,
8383         elmo-cache-msgdb-create-as-numlist): Ditto.
8384         * elmo-dop.el (elmo-dop-save-pending-messages,
8385         (elmo-dop-flush-pending-append-operations): Ditto.
8386         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8387         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8388         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8389         (elmo-localdir-pack-number): Ditto.
8390         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8391         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8392         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8393         mime-write-entity-content): Ditto.
8394         * pldap.el (ldap-search-basic): Ditto.
8395
8396 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8397
8398         * elmo-version.el (elmo-version): Up to 2.3.91.
8399
8400         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8401         Only when filter is 'last'.
8402
8403         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8404         (elmo-condition-parse-search-value): Use it.
8405         (elmo-read-search-condition-internal): Quote value only when
8406         it is not an atom.
8407
8408 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8409
8410         * elmo2.el (elmo-generic-folder-diff): Fix.
8411
8412 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8413
8414         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8415         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8416         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8417         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8418         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8419         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8420
8421 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8422
8423         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8424         extra-fields.
8425
8426 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8427
8428         * elmo-version.el (elmo-version): Up to 2.3.90.
8429
8430         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8431         (elmo-imap4-list-folder-important): Ditto.
8432
8433 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8434
8435         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8436
8437 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8438
8439         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8440
8441 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8442
8443         * elmo-nntp.el (elmo-network-initialize-session):
8444         Add starttls negotiation.
8445
8446 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8447
8448         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8449         response.
8450         (elmo-network-setup-session): Define.
8451         Call `elmo-nntp-send-mode-reader' when session opened.
8452
8453 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8454
8455         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8456
8457 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8458
8459         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8460         an invalid SPACE character ahead of `SEARCH' command.  Move
8461         a valid SPACE character following `SEARCH' from conditional
8462         `format' arguments to control-strings.
8463
8464 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8465
8466         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8467         was succeeded.
8468
8469         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8470
8471 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8472
8473         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8474         `w32-get-true-file-link-count' as t.
8475
8476         * elmo-imap4.el (elmo-imap4-read): Abolished.
8477         (Renamed to `elmo-read' and moved to elmo-util.el)
8478         All other related portions are changed.
8479
8480         * elmo-util.el (elmo-read): New function.
8481         (elmo-condition-parse-search-value): Use it.
8482
8483 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8484
8485         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8486
8487         * elmo-nntp.el (elmo-nntp-session): Define.
8488         (elmo-nntp-setting): Abolished.
8489         All other related portions are changed.
8490         (elmo-nntp-get-server-command): Changed argument.
8491         (elmo-nntp-set-server-command): Ditto.
8492         (elmo-nntp-xover-p): Ditto.
8493         (elmo-nntp-set-xover): Ditto.
8494         (elmo-nntp-listgroup-p): Ditto.
8495         (elmo-nntp-set-listgroup): Ditto.
8496         (elmo-nntp-list-active-p): Ditto.
8497         (elmo-nntp-set-list-active): Ditto.
8498         (elmo-nntp-xhdr-p): Ditto.
8499         (elmo-nntp-set-xhdr): Ditto.
8500         (elmo-nntp-flush-connection): Abolished.
8501         (elmo-nntp-get-connection): Abolished.
8502         (elmo-nntp-get-session): New function.
8503         (elmo-network-initialize-session): Defined.
8504         (elmo-network-authenticate-session): Ditto.
8505         (elmo-nntp-send-mode-reader): Changed argument.
8506         (elmo-nntp-send-command): Changed argument.
8507         All other related portions are changed.
8508         (elmo-nntp-read-response): Ditto.
8509         (elmo-nntp-read-raw-response): Ditto.
8510         (elmo-nntp-read-contents): Ditto.
8511         (elmo-nntp-read-body): Ditto.
8512         (elmo-nntp-goto-folder): Abolished.
8513         (elmo-nntp-select-group): New function.
8514         All other related portions are changed.
8515         (This function substitutes `elmo-nntp-goto-folder')
8516         (elmo-nntp-msgdb-create-by-header): Rewrite.
8517         (elmo-nntp-get-overview): Eliminated.
8518         (elmo-nntp-get-message): Ditto.
8519         (elmo-nntp-open-connection) Abolished.
8520         (elmo-nntp-read-msg): Rewrite.
8521         (elmo-nntp-post): Ditto.
8522         (elmo-nntp-send-data): Abolished.
8523         (elmo-nntp-send-buffer): New function.
8524         (elmo-nntp-send-data-line): Define as inline function.
8525         (elmo-nntp-get-folders-info-prepare): Use session as key.
8526         (elmo-nntp-groups-read-response): Changed argument.
8527         (elmo-nntp-retrieve-headers): Ditto.
8528         (elmo-nntp-msgdb-create-message): Ditto.
8529
8530         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8531         when searching by 'since' or 'before'.
8532
8533 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8534
8535         * elmo-version.el (toplevel): Use product-version-as-string for set
8536         verstion-string, if defined.
8537
8538 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8539
8540         * elmo-util.el: Doc fixes.
8541
8542 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8543
8544         * elmo-archive.el (toplevel): Use product-provide.
8545         * elmo-cache.el (toplevel): Ditto.
8546         * elmo-database.el (toplevel): Ditto.
8547         * elmo-date.el (toplevel): Ditto.
8548         * elmo-dop.el (toplevel): Ditto.
8549         * elmo-filter.el (toplevel): Ditto.
8550         * elmo-imap4.el (toplevel): Ditto.
8551         * elmo-internal.el (toplevel): Ditto.
8552         * elmo-localdir.el (toplevel): Ditto.
8553         * elmo-localnews.el (toplevel): Ditto.
8554         * elmo-maildir.el (toplevel): Ditto.
8555         * elmo-msgdb.el (toplevel): Ditto.
8556         * elmo-multi.el (toplevel): Ditto.
8557         * elmo-net.el (toplevel): Ditto.
8558         * elmo-nntp.el (toplevel): Ditto.
8559         * elmo-pipe.el (toplevel): Ditto.
8560         * elmo-pop3.el (toplevel): Ditto.
8561         * elmo-util.el (toplevel): Ditto.
8562         * elmo-vars.el (toplevel): Ditto.
8563         * elmo2.el (toplevel): Ditto.
8564         * mmelmo-1.el (toplevel): Ditto.
8565         * mmelmo-2.el (toplevel): Ditto.
8566         * mmelmo-imap4-1.el (toplevel): Ditto.
8567         * mmelmo-imap4-2.el (toplevel): Ditto.
8568         * mmelmo-imap4.el (toplevel): Ditto.
8569         * mmelmo.el (toplevel): Ditto.
8570
8571 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8572
8573         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8574         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8575
8576 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8577
8578         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8579         before splitting.
8580         (elmo-multi-split-number-alist): Ditto.
8581
8582 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8583
8584         * elmo-version.el: New file.  Use product.el.
8585         * elmo2.el: Add (require 'elmo-version).
8586         * elmo-vars.el (elmo-appname, elmo-version): Move to
8587         elmo-version.el
8588
8589 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8590
8591         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8592         `elmo-msgdb-expand-path'.
8593         (elmo-msgdb-load): Ditto.
8594         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8595         (elmo-generic-list-folder-unread): Rewrite.
8596         (elmo-generic-list-folder-important): Changed argument.
8597         (elmo-list-folder-unread): Ditto.
8598         (elmo-list-folder-important): Ditto.
8599         (elmo-folder-diff): Rewrite.
8600         (elmo-generic-folder-diff): New function.
8601         (elmo-multi-get-number-alist-list): Abolished
8602         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8603         (elmo-multi-folder-diff): Moved to elmo-multi.el
8604         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8605
8606         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8607         `elmo-msgdb-expand-path'.
8608         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8609         (elmo-pop3-read-msg): Ditto.
8610         (elmo-pop3-delete-msgs): Ditto.
8611         (elmo-pop3-folder-diff): New alias.
8612
8613         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8614         `elmo-msgdb-expand-path'.
8615         (elmo-pipe-list-folder-unread): Changed arguments.
8616         (elmo-pipe-list-folder-important): Ditto.
8617         (elmo-pipe-folder-diff): New alias.
8618
8619         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8620         `elmo-msgdb-expand-path'.
8621         (elmo-nntp-max-of-folder): Ditto.
8622         (elmo-nntp-msgdb-create): Ditto.
8623         (elmo-nntp-delete-msgs): Ditto.
8624         (elmo-nntp-folder-diff): New alias.
8625
8626         * elmo-multi.el (elmo-multi-folder-diff): New function.
8627         (elmo-multi-split-mark-alist): Ditto.
8628         (elmo-multi-split-number-alist): Ditto.
8629         (elmo-multi-mark-alist-list): Abolished (Renamed to
8630         elmo-multi-split-mark-alist).
8631         (elmo-multi-list-folder-unread): Rewrite.
8632         (elmo-multi-list-folder-important): Ditto.
8633         (elmo-multi-list-folder): Set `spec' as 1st argument for
8634         `elmo-msgdb-expand-path'.
8635         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8636         instead of `elmo-multi-get-number-alist-list'.
8637
8638         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8639         If 1st argument is not string, treat as spec.
8640         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8641         `elmo-msgdb-expand-path'.
8642         (elmo-msgdb-flist-load): Ditto.
8643         (elmo-msgdb-flist-save): Ditto.
8644         (elmo-msgdb-delete-path): Ditto.
8645         (elmo-msgdb-rename-path): Ditto.
8646
8647         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8648         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8649         (elmo-maildir-delete-mark-msgs): Ditto.
8650         (elmo-maildir-msgdb-create): Ditto.
8651         (elmo-maildir-read-msg): Ditto.
8652         (elmo-maildir-delete-msgs): Ditto.
8653         (elmo-maildir-list-folder-subr): Ditto.
8654         (elmo-maildir-search): Ditto.
8655         (elmo-maildir-get-msg-filename): Ditto.
8656         (elmo-maildir-pack-number): Ditto.
8657         (elmo-maildir-folder-diff): New alias.
8658
8659         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8660
8661         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8662         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8663         (elmo-localdir-folder-diff): New alias.
8664
8665         * elmo-internal.el (elmo-internal-list-folder-subr):
8666         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8667         (elmo-internal-list-folder-by-location): Ditto.
8668         (elmo-internal-msgdb-create): Ditto.
8669         (elmo-internal-delete-msgs): Ditto.
8670         (elmo-internal-read-msg): Ditto.
8671         (elmo-internal-folder-diff): New alias.
8672
8673         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8674         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8675         `elmo-msgdb-expand-path'.
8676         (elmo-imap4-list-folder-unread): Changed arguments.
8677         (elmo-imap4-list-folder-important): Ditto.
8678
8679         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8680         (elmo-filter-list-folder-important): Ditto.
8681         (elmo-filter-folder-diff): New function.
8682
8683         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8684
8685         * elmo-cache.el (elmo-cache-list-folder):
8686         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8687         (elmo-cache-copy-msgs): Ditto.
8688         (elmo-cache-folder-diff): New alias.
8689
8690         * elmo-archive.el (elmo-archive-list-folder-subr):
8691         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8692         (elmo-archive-get-archive-name): Ditto.
8693         (elmo-archive-create-file): Ditto.
8694         (elmo-archive-append-msg): Ditto.
8695         (elmo-archive-copy-msgs): Ditto.
8696         (elmo-archive-copy-msgs-froms): Ditto.
8697         (elmo-archive-get-msg-filename): Ditto.
8698         (elmo-archive-folder-diff): New alias.
8699
8700 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8701
8702         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8703         (elmo-pop3-stream-type-alist): New variable.
8704         (elmo-nntp-stream-type-alist): New variable.
8705
8706         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8707         (elmo-kill-buffer): Ditto.
8708         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8709         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8710         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8711         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8712         (elmo-imap4-get-spec): Take into account
8713         `elmo-imap4-stream-type-alist'.
8714
8715 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8716
8717         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8718         (elmo-nntp-list-folders-get-cache): Ditto.
8719
8720 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8721
8722         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8723         character before 'uid'.
8724
8725 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8726
8727         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8728
8729         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8730
8731         * elmo-util.el (elmo-number-set-member): New function.
8732         (elmo-number-set-append-list): Ditto.
8733         (elmo-number-set-append): Ditto.
8734
8735         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8736         Use `elmo-number-set-member'.
8737         (elmo-living-messages): Ditto.
8738         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8739         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8740
8741         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8742         (elmo-imap4-add-to-cont-list): Abolished.
8743         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8744         instead of elmo-imap4-add-to-cont-list.
8745
8746         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8747         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8748
8749         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8750
8751 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8752
8753         * elmo-util.el (elmo-condition-parse-search-value):
8754         Fixed date parsing.
8755
8756 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8757
8758         * elmo-util.el (elmo-condition-find-key-internal): New function.
8759         (elmo-condition-find-key): Ditto.
8760
8761         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8762         (elmo-msgdb-search-internal): Ditto.
8763         (elmo-msgdb-search): Ditto.
8764
8765 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8766
8767         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8768         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8769
8770         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8771         (elmo-nntp-search-primitive): Fixed problem when condition is
8772         'unmatch'.
8773
8774         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8775
8776         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8777         (elmo-nntp-xhdr-p): New macro.
8778         (elmo-nntp-set-xhdr): Ditto.
8779         (elmo-nntp-parse-xhdr-response): New function.
8780         (elmo-nntp-retrieve-field): Ditto.
8781         (elmo-nntp-search-primitive): Ditto.
8782         (elmo-nntp-search): Implemented.
8783
8784         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8785
8786         * elmo-archive.el (elmo-archive-search): Set all number list to
8787         `elmo-archive-field-condition-match'
8788
8789         * elmo-localdir.el (elmo-localdir-search): Likewise.
8790
8791         * elmo-maildir.el (elmo-maildir-search): Likewise.
8792
8793 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8794
8795         * elmo-msgdb.el (elmo-living-messages): New function.
8796         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8797         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8798         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8799         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8800         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8801         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8802         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8803         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8804         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8805         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8806         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8807
8808 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8809
8810         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8811
8812         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8813
8814         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8815
8816         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8817         arguments for `SEARCH' command.
8818         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8819         All other related portions are changed.
8820
8821         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8822
8823         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8824         (elmo-list-folder-unread): Rewrite.
8825         (elmo-list-folder-important): Ditto.
8826
8827         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8828         (elmo-condition-parse-error): New inline function.
8829         (elmo-read-search-condition): New function.
8830         (elmo-read-search-condition-internal): Ditto.
8831         (elmo-parse-search-condition): Rewrite.
8832         (elmo-condition-parse): New function.
8833         (elmo-condition-parse-or-expr): Ditto.
8834         (elmo-condition-parse-and-expr): Ditto.
8835         (elmo-condition-parse-primitive): Ditto.
8836         (elmo-condition-parse-search-value): Ditto.
8837         (elmo-buffer-field-primitive-condition-match): Ditto.
8838         (elmo-buffer-field-condition-match): Rewrite.
8839         (elmo-file-field-condition-match): Ditto.
8840
8841         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8842         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8843
8844         * elmo-internal.el (elmo-internal-search): Set `number' and
8845         `number-list' argument of `elmo-file-field-condition-match'.
8846
8847         * elmo-maildir.el (elmo-maildir-search): Ditto.
8848
8849         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8850         `msgdb' as argument instead of `mark-alist'.
8851         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8852         `overview'.
8853
8854         * elmo-multi.el: Likewise.
8855
8856         * elmo-pipe.el: Likewise.
8857
8858         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8859         (elmo-imap4-search-internal): Rewrite.
8860         (elmo-imap4-search): Ditto.
8861
8862         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8863         (elmo-filter-list-folder-unread): Ditto.
8864         (elmo-filter-list-folder-important): Ditto.
8865         (elmo-filter-search): Rewrite.
8866
8867         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8868         `number-list' argument of `elmo-file-field-condition-match'.
8869         (elmo-cache-search): Ditto.
8870
8871         * elmo-localdir.el: Likewise.
8872
8873         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8874         number-list and pass it to `elmo-buffer-field-condition-match'.
8875         (elmo-archive-field-condition-match): Pass `number-list' to
8876         `elmo-archive-field-condition-match'
8877
8878 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8879
8880         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8881         `listgroup'.
8882
8883         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8884         (elmo-folder-diff-async-callback-data): Ditto.
8885         (elmo-folder-diff-async): New function.
8886
8887         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8888         (elmo-network-session-cache-key): Use it as a prefix of the session
8889         name.
8890         (elmo-network-open-session): Ditto.
8891
8892         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8893         (elmo-imap4-status-callback-data): Ditto.
8894         (elmo-imap4-server-diff-async-callback): New variable.
8895         (elmo-imap4-server-diff-async-callback-data): Ditto.
8896         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8897         `elmo-imap4-status-callback-data'.
8898         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8899         `elmo-imap4-status-callback-data' as nil.
8900         (elmo-imap4-server-diff): Ditto.
8901         (elmo-imap4-server-diff-async-callback-1): New function.
8902         (elmo-imap4-server-diff-async): Ditto.
8903         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8904
8905 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8906
8907         * elmo-util.el (elmo-list-delete): Doc fix.
8908         (elmo-delete-lists): Abolish.
8909         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8910         instead of `elmo-delete-lists'.
8911
8912 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8913
8914         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8915         before `sort'.
8916
8917 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8918
8919         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8920         `elmo-imap4-literal-subr'.
8921         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8922         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8923
8924 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8925
8926         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8927         (elmo-archive-list-folder): Fix.
8928         (elmo-archive-max-of-folder): Fix.
8929
8930 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8931
8932         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8933          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8934         (elmo-localdir-append-msg): Ditto.
8935         (elmo-localdir-list-folder): Fix for `nonsort'.
8936         (elmo-localdir-list-folder-subr): Fix for `killed'.
8937         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8938         (elmo-maildir-list-folder-subr): Ditto.
8939         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8940         (elmo-archive-list-folder-subr): Ditto.
8941         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8942         (elmo-internal-list-folder-subr): Ditto.
8943
8944 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8945
8946         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8947
8948 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8949
8950         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8951
8952 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8953
8954         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8955         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8956
8957         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8958         before greeting.
8959         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8960         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8961
8962 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8963
8964         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8965
8966         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8967         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8968         before STORE command.
8969
8970 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8971
8972         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8973
8974         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8975         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8976         of `response'.
8977         (elmo-imap4-list-folders): Removed unused local variable.
8978         (elmo-network-initialize-session): Ditto.
8979         (elmo-imap4-delete-msg-by-id): Ditto.
8980         (elmo-imap4-parse-fetch): Ditto.
8981         (elmo-imap4-copy-msgs): Ditto.
8982         Use `dst-spec' instead of `dst-folder'.
8983         (elmo-network-authenticate-session): Check authenticate type `plain'.
8984
8985 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8986
8987         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8988         garbage checking.
8989         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8990         `elmo-imap4-response-value'.
8991         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8992
8993 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8994
8995         * elmo-imap4.el (elmo-imap4-send-command):
8996         Cause elmo-imap4-bye-error when current response is BYE.
8997         (elmo-imap4-arrival-filter): Changed greeting response value.
8998
8999         * elmo2.el (elmo-imap4-bye-error): Define.
9000
9001         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
9002         (elmo-imap4-server-diff): Ditto.
9003         (elmo-imap4-response-bye-p): New macro.
9004         (elmo-imap4-response-error-text): Get text from BYE response.
9005         (elmo-imap4-read-response): Return if BYE response.
9006         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
9007         (elmo-imap4-folder-exists-p): Ditto.
9008         (elmo-imap4-commit): Do nothing when different mailbox is selected.
9009         (elmo-imap4-parse-bye): New function.
9010         (elmo-imap4-parse-response): Remove needless let.
9011         Call `elmo-imap4-parse-bye'.
9012
9013 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
9014
9015         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
9016         the mailbox does not exist.
9017         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
9018
9019 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
9020
9021         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9022
9023 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
9024
9025         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9026
9027         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9028         (elmo-network-initialize-session-buffer): Defined.
9029
9030         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9031         Abolished.
9032         (mmelmo-imap4-get-mime-entity): Rewrite.
9033
9034         * elmo2.el (elmo-error): Capitalize error message.
9035
9036         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9037         (elmo-network-session-buffer): New macro.
9038         (elmo-network-open-session): Use it.
9039
9040         * elmo-imap4.el: Rewrite.
9041
9042 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9043
9044         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9045
9046 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9047
9048         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9049         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9050         (elmo-imap4-create-msgdb-from-overview-string): Use
9051         `elmo-msgdb-create-overview-from-buffer'.
9052
9053 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9054
9055         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9056         (elmo-imap4-default-hierarchy-delimiter): New variable.
9057         (elmo-imap4-list-folders): Use it.
9058
9059 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9060
9061         * elmo-net.el (elmo-network-open-session): Add user and
9062         stream-type for process-buffer name.
9063
9064         * elmo-pop3.el (elmo-network-initialize-session): Call
9065         buffer-disable-undo.
9066
9067         * elmo-imap4.el (elmo-network-initialize-session):
9068         Set current-buffer as an argument for `buffer-disable-undo'.
9069
9070         * elmo-pop3.el (elmo-network-close-session): Don't use
9071         `process-live-p'.
9072
9073         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9074         Set default as 'user.
9075
9076         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9077
9078         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9079         and `elmo-imap4-flush-connection'.
9080
9081         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9082         (elmo-pop3-get-spec): Assume auth as symbol.
9083         (elmo-open-network-stream): Moved to `elmo-net'.
9084
9085         * elmo-pop3.el (toplevel): Require 'elmo-net.
9086         Define `sasl-cram-md5' to silence byte compilier.
9087         (elmo-pop3-connection-cache) Abolished.
9088         (elmo-pop3-authenticator-alist) New variable.
9089         (elmo-pop3-session): Define.
9090         (elmo-pop3-connection-get-process): Abolished.
9091         (elmo-pop3-connection-get-buffer): Ditto.
9092         (elmo-pop3-close-connection): Ditto.
9093         (elmo-pop3-flush-connection): Ditto.
9094         (elmo-pop3-get-connection): Ditto.
9095         (elmo-pop3-get-session): New function.
9096         (Replacement for `elmo-pop3-get-connection').
9097         All other related modules are changed.
9098         (elmo-network-close-session): Define.
9099         (elmo-pop3-send-command): Abolished argument `buffer'.
9100         All other related modules are changed.
9101         (elmo-pop3-read-response): Likewise.
9102         (elmo-pop3-open-connection): Abolished.
9103         (elmo-pop3-auth-user): New function.
9104         (elmo-pop3-auth-apop): Ditto.
9105         (elmo-pop3-auth-cram-md5): Ditto.
9106         (elmo-pop3-auth-scram-md5): Ditto.
9107         (elmo-pop3-auth-digest-md5): Ditto.
9108         (elmo-network-initialize-session): Define.
9109         (elmo-network-authenticate-session): Ditto.
9110         (elmo-network-setup-session): Ditto.
9111
9112         * elmo-imap4.el (toplevel): Require 'elmo-net.
9113         (elmo-imap4-session): Define.
9114         (elmo-imap4-connection-cache): Abolished.
9115         (elmo-imap4-password-key): Ditto.
9116         (elmo-imap4-flush-connection): Ditto.
9117         (elmo-imap4-get-connection): Ditto.
9118         All other related modules are changed.
9119         (elmo-imap4-get-session): New function
9120         (Replacement for `elmo-imap4-get-connection').
9121         (elmo-imap4-read-response): Abolished argument `buffer'.
9122         All other related modules are changed.
9123         (elmo-imap4-send-command): Likewise.
9124         (elmo-imap4-select-folder): Abolished.
9125         All other related modules are changed.
9126         (elmo-imap4-select-mailbox): New function.
9127         (Replacement for `elmo-imap4-select-folder').
9128         (elmo-imap4-auth-login): Simplify.
9129         (Assume current buffer as process buffer)
9130         (elmo-imap4-auth-cram-md5): Ditto.
9131         (elmo-imap4-auth-digest-md5): Ditto.
9132         (elmo-imap4-login): Ditto.
9133         (elmo-imap4-open-connection): Abolished.
9134         (elmo-imap4-open-connection-1): Abolished.
9135         (elmo-network-initialize-sessoin): Define.
9136         (elmo-network-authenticate-session): Ditto.
9137         (elmo-network-setup-session): Ditto.
9138
9139         * elmo-net.el: New module.
9140
9141 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9142
9143         * elmo-util.el (elmo-define-error): New function.
9144
9145         * elmo2.el (elmo-error): Define.
9146         (elmo-open-error): Define.
9147         (elmo-authenticate-error): Define.
9148
9149         * elmo-imap4.el (elmo-imap4-error): Abolish.
9150         (elmo-imap4-error-type): Abolish.
9151         (elmo-imap4-error-process): Abolish.
9152         (elmo-imap4-error-message): Abolish
9153         (elmo-imap4-list-folders): Don't quote lambda.
9154         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9155         (elmo-imap4-parse-namespace): Ditto.
9156         (elmo-imap4-open-connection): Rewrite.
9157         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9158         (elmo-imap4-get-connection): Abolish local variable `result'.
9159
9160 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9161
9162         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9163         wrong-type-argument error when auth is nil.
9164
9165 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9166
9167         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9168         (elmo-default-nntp-stream-type): Ditto.
9169         (elmo-default-pop3-stream-type): Ditto.
9170         (elmo-network-stream-type-alist): Ditto.
9171         (elmo-default-imap4-ssl): Abolished.
9172         (elmo-default-nntp-ssl): Ditto.
9173         (elmo-default-pop3-ssl): Ditto.
9174
9175         * elmo-util.el: (toplevel): Removed needless requires.
9176         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9177         (elmo-open-network-stream): Open network stream according to
9178         the value of `elmo-network-stream-type-alist'.
9179         (elmo-get-network-stream-type): New function.
9180         (elmo-network-stream-type-spec-string): New macro.
9181         (elmo-network-stream-type-symbol): Ditto.
9182         (elmo-network-stream-type-function): Ditto.
9183
9184         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9185         network-stream-type. All other related portions are changed.
9186         (elmo-pop3-open-connection): Ditto.
9187
9188         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9189         network-stream-type. All other related portions are changed.
9190
9191         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9192         network-stream-type.All other related portions are changed.
9193         (elmo-imap4-error): New macro.
9194         (elmo-imap4-error-type): Ditto.
9195         (elmo-imap4-error-process): Ditto.
9196         (elmo-imap4-error-message): Ditto.
9197         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9198         (elmo-imap4-auth-cram-md5): Ditto.
9199         (elmo-imap4-auth-digest-md5): Ditto.
9200         (elmo-imap4-login): Ditto.
9201         (elmo-imap4-open-connection): Remove password entry if authentication
9202         was in vain.
9203         (elmo-imap4-user-at-host): Abolished.
9204         (elmo-imap4-password-key): New buffer local variable.
9205         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9206         using protocol, port, auth and stream-type.
9207
9208         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9209
9210 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9211
9212         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9213
9214         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9215
9216         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9217         (elmo-imap4-authenticator-alist): New variable.
9218         (elmo-imap4-open-connection-1): Rename from
9219         elmo-imap4-open-connection.
9220         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9221         only wraps elmo-imap4-open-connection-1.
9222         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9223         user-at-host.
9224         (elmo-imap4-auth-login): New function.
9225         (elmo-imap4-auth-cram-md5): New function.
9226         (elmo-imap4-auth-digest-md5): New function.
9227         (elmo-imap4-login): New function.
9228
9229 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9230
9231         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9232         function `error'.
9233
9234 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9235
9236         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9237
9238 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9239
9240         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9241
9242 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9243
9244         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9245         for server responses, quote `*' regardless of where it appears.
9246
9247 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9248
9249         * elmo-maildir.el (elmo-maildir-commit): New alias.
9250
9251 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9252
9253         * elmo-util.el (elmo-display-progress):
9254                 Use `progress-feedback-with-label'.
9255
9256 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9257
9258         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9259         (elmo-imap4-non-atom-char-regex): Ditto.
9260         (elmo-imap4-non-text-char-regex): Ditto.
9261         (elmo-imap4-literal-threshold): Ditto.
9262         (elmo-imap4-atom-p): New function.
9263         (elmo-imap4-quotable-p): Ditto.
9264         (elmo-imap4-nil): Ditto.
9265         (elmo-imap4-atom): Ditto.
9266         (elmo-imap4-quoted): Ditto.
9267         (elmo-imap4-literal-subr): Ditto.
9268         (elmo-imap4-literal): Ditto.
9269         (elmo-imap4-buffer-literal): Ditto.
9270         (elmo-imap4-string-subr): Ditto.
9271         (elmo-imap4-string): Ditto.
9272         (elmo-imap4-buffer-string): Ditto.
9273         (elmo-imap4-astring-subr): Ditto.
9274         (elmo-imap4-astring): Ditto.
9275         (elmo-imap4-buffer-astring): Ditto.
9276         (elmo-imap4-nstring): Ditto.
9277         (elmo-imap4-buffer-nstring): Ditto.
9278         (elmo-imap4-mailbox): New alias.
9279         (elmo-imap4-field-body): Ditto.
9280         (elmo-imap4-userid): Ditto.
9281         (elmo-imap4-password): Ditto.
9282         (elmo-imap4-format-quoted): New function.
9283         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9284         arguments and handle "atom", "quoted" and "literal" string here.
9285         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9286         `elmo-imap4-send-command'.
9287         (elmo-imap4-folder-exists-p): Likewise.
9288         (elmo-imap4-create-folder): Likewise.
9289         (elmo-imap4-delete-folder): Likewise.
9290         (elmo-imap4-rename-folder): Likewise.
9291         (elmo-imap4-max-of-folder): Likewise.
9292         (elmo-imap4-check-validity): Likewise.
9293         (elmo-imap4-sync-validity): Likewise.
9294         (elmo-imap4-server-diff): Likewise.
9295         (elmo-imap4-select-folder): Likewise.
9296         (elmo-imap4-copy-msgs): Likewise.
9297         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9298         (elmo-imap4-mark-set-on-msgs): Likewise.
9299         (elmo-imap4-read-part): Likewise.
9300         (elmo-imap4-read-msg): Likewise.
9301         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9302         `elmo-imap4-password' for `elmo-imap4-send-command'.
9303         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9304         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9305         `elmo-imap4-buffer-literal'.
9306         (elmo-imap4-append-msg): Likewise.
9307
9308         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9309         `delete' for removing dead connection from the connection cache.
9310         Move deletion of the process buffer after that.
9311         (elmo-imap4-list): Change `defsubst' to `defun'.
9312         (elmo-imap4-commit): Make error message verbose.
9313         (elmo-imap4-search): Ditto.
9314         (elmo-imap4-list): Ditto.
9315         (elmo-imap4-select-folder): Ditto.
9316         (elmo-imap4-copy-msgs): Ditto.
9317         (elmo-imap4-delete-msg-by-id): Ditto.
9318         (elmo-imap4-append-msg-by-id): Ditto.
9319         (elmo-imap4-append-msg): Ditto.
9320
9321 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9322
9323         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9324         when dired is used on XEmacs.
9325
9326 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9327
9328         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9329         instead of `append'.
9330         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9331         `elmo-plugged-p' directly.
9332         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9333         of `elmo-plugged-p' directly.
9334
9335         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9336         Eliminate unused variable.  Use `memq' for checking a process status.
9337         Use `cons' instead of `append' for updating the connection cache.
9338         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9339         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9340
9341 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9342
9343         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9344         `elmo-imap4-read-point' exactly.
9345
9346         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9347         the local variable `folder' to `mailbox'.
9348         Rename the argument `fld' to `folder'.
9349
9350 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9351
9352         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9353         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9354
9355 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9356
9357         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9358         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9359         (elmo-pop3-uidl-number-hash): Ditto.
9360         (elmo-pop3-size-hash): Ditto.
9361         (elmo-pop3-uidl-done): Ditto.
9362         (elmo-pop3-list-done): Ditto.
9363         (elmo-pop3-connection-get-process): New defmacro.
9364         (elmo-pop3-connection-get-buffer): Ditto.
9365         (elmo-pop3-close-connection): Delete buffer and process.
9366         (elmo-pop3-flush-connection): Don't delete buffer and process.
9367         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9368         Setup UIDL and size hash.
9369         (elmo-pop3-send-command-no-erase): Deleted
9370         (elmo-pop3-send-command): Added optional argument `no-erase'.
9371         (elmo-pop3-parse-uidl-response): New function.
9372         (elmo-pop3-parse-list-response): Set size hash.
9373         (elmo-pop3-list-location): New function.
9374         (elmo-pop3-list-by-uidl-subr): Ditto.
9375         (elmo-pop3-list-by-list): Ditto.
9376         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9377         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9378         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9379         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9380         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9381         Use uidl.
9382         (elmo-pop3-uidl-to-number): New function.
9383         (elmo-pop3-number-to-uidl): Ditto.
9384         (elmo-pop3-number-to-size): Ditto.
9385         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9386         Set number by use of uidl.
9387         (elmo-pop3-msgdb-create-message): Likewise.
9388         Set size, loc-alist in msgdb.
9389         (elmo-pop3-read-msg): Set number by use of uidl.
9390         Added optional argument `msgdb'.
9391         (elmo-pop3-delete-msg): Ditto.
9392         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9393         (elmo-pop3-commit): Close connection.
9394
9395         * elmo-pipe.el (elmo-pipe-max-of-folder):
9396         Bind `elmo-pop3-use-uidl' as nil.
9397         (elmo-pipe-drain): Ditto.
9398         Call `elmo-commit'.
9399
9400         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9401         (elmo-msgdb-overview-entity-set-size): New defsubst.
9402
9403 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9404
9405         * elmo-vars.el (elmo-use-killed-list): New variable
9406         (Renamed from `elmo-nntp-use-killed-list').
9407         (elmo-nntp-use-killed-list): Eliminated.
9408
9409         * elmo-msgdb.el (elmo-msgdb-expand-path):
9410         Changed expanding msgdb path for elmo-multi.
9411
9412         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9413         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9414         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9415         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9416         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9417         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9418         (toplevel): Deleted time-stamp line.
9419
9420         * elmo2.el (elmo-clear-killed ): Defined as function
9421         (Abolished defining as a backend function).
9422         All other related modules are changed.
9423
9424 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9425
9426         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9427
9428 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9429
9430         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9431
9432 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9433
9434         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9435
9436 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9437
9438         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9439         asynchronous folder check.
9440
9441         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9442
9443         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9444         `elmo-nntp-use-killed-list'.
9445         (elmo-nntp-list-folder): Use killed list.
9446         (elmo-nntp-max-of-folder): Ditto.
9447         (elmo-nntp-msgdb-create): Set killed list.
9448
9449         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9450
9451         * elmo2.el (elmo-clear-killed): New backend function.
9452         All other related modules are changed.
9453
9454 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9455
9456         * elmo-util.el (elmo-imap4-spec-folder): Use
9457         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9458         All callers changed.
9459
9460 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9461
9462         * mmelmo-2.el (initialize-instance):
9463         Use `mime-buffer-entity-buffer-internal' instead of
9464         `mime-entity-buffer'.
9465
9466         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9467         (mime-entity-body): Implemented.
9468         (mime-goto-header-start-point): Deleted.
9469         (mime-goto-body-end-point): Ditto.
9470         (mime-entity-point-min): Ditto.
9471         (mime-entity-point-max): Ditto.
9472         (mime-entity-children): Ditto.
9473         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9474         instead of `mime-entity-buffer'.
9475         (mime-entity-header-buffer): Ditto.
9476         (mime-entity-body-buffer): Ditto.
9477         (mime-write-entity-content): Ditto.
9478
9479         * pldap.el (ldap-static-if): New macro.
9480         (toplevel): Use it instead of `static-if'.
9481
9482 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9483
9484         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9485         included in `attrs' argument.
9486
9487 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9488
9489         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9490
9491         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9492         (ldap-ldif-safe-init-char-regexp): Ditto.
9493         (ldap-ldif-safe-string-regexp): Ditto.
9494         (ldap/ldif-safe-string-p): New macro.
9495         (ldap/ldif-insert-field): Ditto.
9496         (ldap-modify): Use it.
9497         (ldap-add): Ditto.
9498         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9499         (ldap-decode-attribute): Decode only when `attr' is consp.
9500         (ldap-delete): Bind `ret'.
9501         (toplevel): Require 'cl at compile time.
9502         Removed (require 'poe) and (require 'std11).
9503         (pldap-version): Eliminated.
9504         (ldap-search-basic): Removed auth and dn binding.
9505         (ldap-ldif-field-name-regexp): New constant.
9506         (ldap-ldif-field-head-regexp): Ditto.
9507         (ldap-ldif-next-field-head-regexp): Ditto.
9508         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9509         (ldap/field-end): New function.
9510         (ldap/field-body): Use it.
9511         (ldap/collect-field): Ditto.
9512         (ldap-search-basic): Use `ldap/field-body'.
9513
9514 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9515
9516         * pldap.el (ldap-default-attribute-encoder): New user option.
9517         (ldap/field-body): Decode base64 string.
9518         (ldap/collect-field): Ditto.
9519         (ldap-encode-attribute): New function.
9520         (ldap-add-entries): Use it.
9521         (ldap-modify-entries): Ditto.
9522         (ldap-search-entries): Enclosed decoding function with
9523         `with-temp-buffer' and set as unibyte.
9524         (ldap-search-basic): Set process buffer as unibyte.
9525
9526         * elmo-util.el (elmo-folder-identical-system-p):
9527         Eliminated name space checking.
9528
9529         * pldap.el: New module.
9530         toplevel: Changed condition to detect built-in ldap feature.
9531         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9532         (ldap-add): Added error handling.
9533         (ldap-modify): Ditto.
9534         (ldap-delete): Ditto.
9535
9536 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9537
9538         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9539         Initialize local variables with `let'.  Inline a temporary
9540         variable for the progress percentage.  Sort `setq' to reduce
9541         function call in the while-loop.
9542
9543         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9544         into the conditional branch.
9545
9546 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9547
9548         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9549         Move a conditional out of the while-loop.
9550
9551 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9552
9553         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9554         elmo-msgdb-overview-get-entity-by-number.
9555         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9556         throw.
9557
9558 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9559
9560         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9561         the local variable for a packed number self descriptively.
9562
9563 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9564
9565         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9566         * elmo-localdir.el (elmo-localdir-pack-number): Use
9567         `elmo-msgdb-overview-get-entity' instead of
9568         `elmo-msgdb-overview-get-entity-by-number'.
9569         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9570         (elmo-msgdb-search-overview-entity): Removed.
9571         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9572         by message-id or number.
9573         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9574         instead of `elmo-msgdb-overview-get-entity-by-number'.
9575
9576 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9577
9578         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9579         non-nil, use hash table for overview.
9580         (elmo-hash-maximum-size): New variable.
9581         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9582         (elmo-msgdb-make-overview-hashtb): New function.
9583         (elmo-msgdb-clear-overview-hashtb): New function.
9584         (elmo-clear-hash-val): New macro.
9585         All other related modules are changed.
9586
9587 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9588
9589         * elmo2.el (elmo-move-msgs): If there's other message with
9590         same message-id, don't use cache.
9591
9592 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9593
9594         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9595         number is already packed.
9596
9597 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9598
9599         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9600
9601 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9602
9603         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9604         All other related modules are changed.
9605
9606 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9607
9608         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9609         of refiling failure on Maildir.
9610
9611 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9612
9613         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9614         decoded mime-charset with cache.
9615         (elmo-msgdb-overview-entity-get-from): Ditto.
9616         (elmo-msgdb-overview-entity-get-subject): Ditto.
9617         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9618
9619 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9620
9621         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9622         (elmo-remove-passwd): Fill password with 0 before erase.
9623         * elmo-vars.el (elmo-passwd-life-time): New variable.
9624
9625 \f
9626 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9627
9628         * elmo-cache.el (elmo-buffer-cache-add):
9629         Set message cache buffer as unibyte.
9630
9631 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9632
9633         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9634         become nil.
9635
9636 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9637
9638         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9639         when display is finished.
9640         (elmo-nntp-msgdb-create): Ditto.
9641         (elmo-nntp-groups-read-response): Ditto.
9642         (elmo-nntp-retrieve-headers): Ditto.
9643         (elmo-nntp-msgdb-create-message): Ditto.
9644         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9645         (elmo-pop3-msgdb-create-message): Ditto.
9646
9647 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9648
9649         * elmo-maildir.el (elmo-maildir-msgdb-create):
9650         Use `elmo-msgdb-sort-by-date'.
9651
9652 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9653
9654         * elmo2.el (elmo-read-msg-no-cache):
9655         Eliminated arguments after `outbuf'.
9656         Don't use cache even if it exists.
9657         (elmo-read-msg): Don't pass arguments after `outbuf' to
9658         `elmo-read-msg-no-cache'.
9659
9660 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9661
9662         * elmo-archive.el (elmo-archive-list-folders):
9663         Use `file-name-directory' if base folder does not exist.
9664
9665 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9666
9667         * elmo-archive.el (elmo-archive-list-folders): Don't use
9668         `file-name-directory'.
9669
9670 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9671
9672         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9673         If `force' is non-nil, try flushing all operation queues.
9674
9675 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9676
9677         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9678         as-binary-process.
9679
9680 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9681
9682         * elmo-util.el (elmo-display-progress): Fixed.
9683
9684 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9685
9686         * elmo-util.el (elmo-display-progress): New function.
9687         All other related modules are changed.