6efc9ebdc2526b38e018d1b678c76e7963b8b2d5
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * pldap.el (ldap/ldif-safe-string-p): macro to function.
4         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
5
6         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
7         `mapcar'; Suppress compile warning.
8         * elmo-imap4.el (elmo-network-initialize-session-buffer)
9         (elmo-imap4-search-internal-primitive): Ditto.
10         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
11         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
12
13         * elmo-imap4.el (elmo-imap4-parse-address-list)
14         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
15         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
16         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
17         `(string-to-char " ")' instead of `? ', `?\ '.
18
19 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
20
21         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
22         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
23         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
24         `function' for lambda.
25
26         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
27         `string-to-number' instead of `string-to-int'.
28
29         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
30         instead of `save-excursion' (for suppress compile warnings).
31         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
32         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
33         (elmo-nntp-post): Ditto.
34
35 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
36
37         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
38         Mule-UCS (to-utf-16).
39         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
40         Emacs 23.
41
42 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
43
44         * utf7.el (utf7-find-coding-system-without-bom): New Function.
45         (utf7-utf-16-coding-system): use no-BOM coding system.
46         (utf7-get-u16char-converter): remove workaround for BOM.
47
48 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
49
50         * elmo-util.el (elmo-union): New function, make a union of two lists.
51
52         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
53         mime-view when displaying malformed base64 attach.
54
55         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
56         (removed duplicated code)
57
58         * modb-standard.el (modb-standard-cleanup-stale-entities): New
59         function, Remove stale entities from elmo's cache.
60
61 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
62
63         * elmo-version.el (elmo-version): Up to 2.15.7.
64
65 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
66
67         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
68         default value to `--auto-update'.
69
70 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
71
72         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
73         Add `elmo-pop3-read-point' barrier.
74
75 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
76
77         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
78         goto the previous end-point insead of the head-point, and use
79         `search-forward' instead of `re-search-forward'.
80
81 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
82
83         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
84
85 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
86
87         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
88         case-insensitive fashion.
89
90 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
91
92         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
93
94 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
95
96         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
97         `eval-and-compile' for suppress compile warnings.
98
99         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
100         instead of `defun-maybe'
101
102         * elmo-util.el: Add (eval-when-compile (require 'static)).
103
104 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
105
106         * mmimap.el: Remove (require 'static).
107         * acap.el: Ditto.
108
109         * elmo-flag.el: Move ';;; Code:' comment.
110         * elmo-imap4.el: Ditto.
111         * elmo-net.el: Ditto.
112
113         * elmo-version.el (product-provide): Fix comment.
114
115 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
116
117         * slp.el: Add (eval-when-compile (require 'cl)).
118         * elmo-date.el: Ditto.
119         * elmo-pop3.el: Ditto.
120         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
121
122 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
123
124         * modb.el (elmo-msgdb-match-condition-primitive): Use
125         `string-to-number' instead of `string-to-int'.
126
127         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
128         (elmo-msgdb-message-match-condition)
129         (elmo-msgdb-create-message-entity-from-buffer): Use
130         `string-to-number' instead of `string-to-int'.
131
132         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
133         instead of `string-to-int'.
134
135         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
136         instead of `string-to-int'.
137
138         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
139         `string-to-number' instead of `string-to-int'.
140
141         * elmo-nntp.el (elmo-nntp-make-msglist)
142         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
143         (elmo-nntp-create-msgdb-from-overview-string)
144         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
145         (elmo-nntp-search-primitive): Use `string-to-number' instead of
146         `string-to-int'.
147
148         * elmo-net.el (elmo-net-folder-set-parameters): Use
149         `string-to-number' instead of `string-to-int'.
150
151         * elmo-localdir.el (elmo-localdir-list-subr): Use
152         `string-to-number' instead of `string-to-int'.
153
154         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
155         `string-to-number' instead of `string-to-int'.
156
157         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
158         instead of `string-to-int'.
159
160         * elmo-archive.el (elmo-archive-list-folder-subr): Use
161         `string-to-number' instead of `string-to-int'.
162
163 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
164
165         * elmo-util.el (elmo-get-passwd): Fix typo.
166
167         * elmo-nntp.el (elmo-nntp-get-server-command)
168         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
169         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
170         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
171         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
172
173         * elmo-imap4.el (elmo-imap4-debug)
174         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
175         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
176         (elmo-imap4-response-value, elmo-imap4-response-error-text)
177         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
178         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
179         (elmo-imap4-identical-system-p): New backquote style.
180
181 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
182
183         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
184         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
185         (elmo-dop-queue-arguments): Ditto.
186
187         * elmo-date.el (elmo-match-substring): New backquote style.
188         (elmo-match-string, elmo-match-buffer): Ditto.
189         (elmo-date-make-sortable-string): Ditto.
190
191         * elmo-archive.el (elmo-archive-get-method):New backquote style.
192         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
193
194         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
195         style.
196
197         * elmo-net.el (elmo-network-stream-type-spec-string): New
198         backquote style.
199         (elmo-network-stream-type-symbol): Ditto.
200         (elmo-network-stream-type-feature): Ditto.
201         (elmo-network-stream-type-function): Ditto.
202         (elmo-network-session-buffer): Ditto.
203
204         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
205         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
206         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
207         (elmo-bind-directory, elmo-set-work-buf): Ditto.
208
209         * elmo.el (elmo-folder-send): New backquote style.
210
211 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
212
213         * pldap.el (ldap-static-if): New backquote style.
214         (ldap/ldif-safe-string-p): Ditto.
215         (ldap/ldif-insert-field): Ditto.
216
217         * elmo-version.el (elmo-version): Up to 2.15.6.
218
219 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
220
221         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
222         messages with \Deleted flag.
223         (elmo-folder-delete-messages-plugged): Ask before sending expunge
224         command if there are messages with \Deleted flag.
225
226 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
227
228         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
229         http://seclists.org/bugtraq/2007/Apr/0018.html
230         (Suggested by Tatsuya Kinoshita)
231
232 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
233
234         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
235         with \Noselect attribute.
236
237 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
238
239         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
240         hierarchical folder structure with UW-imapd.
241
242 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
243
244         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
245         when the LOGINDISABLED capability is advertised.
246
247 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
248
249         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
250
251 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
252
253         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
254         `entity'.
255         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
256         if the message entity is exists.
257
258 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
259
260         * elmo-util.el (elmo-msgdb-insert-file-header): Call
261         `elmo-delete-cr-buffer'.
262
263         * elmo-localdir.el (elmo-message-fetch-internal): Use
264         `insert-file-contents-as-raw-text' instead of
265         `insert-file-contents-as-binary'.
266
267         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
268
269 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
270
271         * elmo-imap4.el (elmo-network-initialize-session): Check to
272         retrieve a whole greeting message.
273
274 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
275
276         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
277
278 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
279
280         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
281         (elmo-progress-notify): Use it instead of `plist-get'.
282
283 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
284
285         * elmo.el (elmo-generic-folder-append-messages): Remove unused
286         variable `table'.
287
288 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
289
290         * elmo-pipe.el (elmo-folder-set-plugged): Define.
291
292 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
293
294         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
295         (elmo-spam-list-spam-messages): Check it option.
296
297 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
298
299         * elmo-util.el (elmo-with-progress-display): Return the value
300         of the last form in `body'.
301
302 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
303
304         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
305         `elmo-progress-counter' as t when a query callback returns nil.
306         (elmo-progress-clear): New function.
307         (elmo-progress-done): Split into `elmo-progress-clear'.
308         (elmo-progress-notify): Update a total slot when it is nil.
309         (elmo-with-progress-display): Call `elmo-progress-clear' in
310         unwind-protect and move calling `elmo-progress-done' to outside.
311
312         * elmo-imap4.el (elmo-imap4-find-next-line): Call
313         `elmo-progress-notify' with :total parameter instead of
314         `elmo-progress-counter-set-total'.
315
316 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
317
318         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
319         Make it interactive.
320         (elmo-progress-start): Avoid updating `elmo-progress-counter'
321         when a query callback returns nil.  Return a progress counter
322         instead of t whenever a start callback was called.
323
324 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
325
326         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
327         (elmo-imap4-send-command): Use it.
328         (elmo-network-initialize-session): Ditto.
329         (elmo-network-setup-session): Ditto.
330         (elmo-folder-msgdb-create-plugged): Ditto.
331
332 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
333
334         * elmo-util.el (elmo-progress-done): Fix a miss refer to
335         `elmo-progress-counter'.
336
337 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
338
339         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
340         (elsp-bsfilter-list-spam-filter): New function.
341         (elsp-bsfilter-start-list-spam): Ditto.
342         (elsp-bsfilter-read-list-spam): Ditto.
343         (elmo-spam-list-spam-messages): Use async process to display
344         progress message by each message.
345
346 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
347
348         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
349         of flushing previously inserted message contents.
350
351         * elmo-imap4.el (elmo-folder-search): Fix return value.
352
353 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
354
355         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
356         of reporter is enable or not.
357
358 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
359
360         * elmo-util.el (elmo-list-bigger-diff): Abolish.
361         (elmo-display-progress): Ditto.
362         (elmo-progress-counter-alist): Ditto.
363         (elmo-progress-set): Ditto.
364         (elmo-progress-clear): Ditto.
365         (elmo-progress-counter-all-value): Rename to
366         `elmo-progress-counter-total'.
367         (elmo-progress-counter-format): Rename to
368         `elmo-progress-counter-action'.
369         (elmo-progress-counter): New internal variable.
370         (elmo-progress-callback-function): Ditto.
371         (elmo-progress-counter-label): New function.
372         (elmo-progress-counter-set-total): Ditto.
373         (elmo-progress-counter-set-action): Ditto.
374         (elmo-progress-call-callback): Ditto.
375         (elmo-progress-start): Ditto.
376         (elmo-progress-done): Ditto.
377         (elmo-progress-notify): Rewrite.
378         (elmo-with-progress-display): Remove first argument
379         `condition'. Add optional argument `var' in `spec'.
380
381         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
382         (elmo-display-retrieval-progress-threshold): Ditto.
383         (elmo-inhibit-display-retrieval-progress): Ditto.
384
385         * Replace all pair of `elmo-progress-set' and
386         `elmo-progress-clear' into `elmo-with-progress-display'.
387
388         * Replace to call `elmo-display-progress' into pair of
389         `elmo-progress-notify' and `elmo-with-progress-display'.
390
391         * elmo-version.el (elmo-version): Up to 2.15.5.
392
393 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
394
395         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
396         `cond'.
397
398 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
399
400         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
401         cleanup-forms [wl:14027].
402
403 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
404
405         * elmo-flag.el (elmo-global-flag-set-internal): Use
406         `elmo-copy-file' by priority when the message is a file.
407
408 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
409
410         * elmo.el: Fix typo: disptch -> dispatch.
411
412 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
413
414         * elmo.el (elmo-file-tag): New class.
415         (elmo-append-messages-disptch-table): New constant.
416         (elmo-folder-type-p): New function.
417         (elmo-folder-append-messages): Redefine as function.
418
419         * elmo-null.el (elmo-folder-append-messages): Renamed from
420         `elmo-folder-append-messages'.
421
422         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
423         (elmo-folder-append-messages-*-maildir): Renamed from
424         `elmo-folder-append-messages'.
425
426         * elmo-localdir.el (elmo-localdir-folder): Inherit
427         `elmo-file-tag'.
428         (elmo-folder-append-messages-*-localdir): Renamed from
429         `elmo-folder-append-messages'.
430
431         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
432         from `elmo-folder-append-messages'.
433
434         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
435         `elmo-folder-append-messages'.
436
437         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
438         function.
439         (elmo-folder-append-messages-*-filter): Ditto.
440
441         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
442
443         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
444         (elmo-folder-append-messages-*-pipe): Renamed from
445         `elmo-folder-append-messages'.
446
447         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
448
449         * elmo-file.el (elmo-file-folder): Ditto.
450
451         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
452
453         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
454         from `elmo-folder-append-messages'
455
456 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
457
458         * elmo-map.el (elmo-location-map-setup): Change an argument
459         `locations' to optional.
460         (elmo-location-map-clear): Abolish.
461         (elmo-folder-clear): Follow the API change.
462
463         * elmo-pop3.el (elmo-folder-clear): Ditto.
464
465         * elmo-pop3.el (toplevel): Require elmo-map.
466         (elmo-pop3-folder): Inherit elmo-location-map and abolish
467         location-alist slot (All other related portions are changed).
468         (elmo-pop3-folder-use-uidl): New function.
469         (elmo-folder-msgdb-create): Don't sort message entities.
470         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
471         (elmo-pop3-number-to-size): Convert return value to number.
472         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
473         working buffer.
474
475         * elmo-map.el: Use `location-map' as a variable name for instance
476         instead of `mapper'.
477         (elmo-location-map-setup): Return location alist.
478         (elmo-location-map-update): Ditto.
479
480 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
481
482         * elmo-map.el (elmo-location-map): New class; split location and
483         number mapping from elmo-map-folder (All other related portions
484         are changed).
485
486         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
487         change.
488
489         * elmo-version.el (elmo-version): Up to 2.15.4.
490
491 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
492
493         * elmo-vars.el (elmo-use-hardlink): New user option.
494
495         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
496         `elmo-use-hardlink'.
497
498         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
499         killed-list.
500         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
501         instead of `*-internal'. Use `elmo-with-progress-display'.
502
503 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
504
505         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
506         `elmo-spam-process-messages-as-mbox'.
507
508         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
509
510 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
511
512         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
513         argument BUFFER of `call-process'.
514
515 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
516
517         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
518         args.
519         (elsp-bsfilter-list-spam-files): Ditto.
520
521 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
522
523         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
524         (elmo-spam-bsfilter-max-messages-per-process): New use option.
525         (elmo-spam-bsfilter-debug): Fix a group.
526         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
527         `--homedir'.
528         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
529         (elsp-bsfilter-list-spam-files): New function.
530         (elmo-spam-list-spam-messages): Define.
531         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
532         (elmo-spam-bsfilter-register-messages): New function.
533         (elmo-spam-register-spam-messages): Define.
534         (elmo-spam-register-good-messages): Ditto.
535
536         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
537
538         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
539         `nconc' and `consp'.
540
541 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
542
543         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
544         hash table to test whether a location is exists.
545
546 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
547
548         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
549         even if some error occurred.
550
551         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
552         meaningless unwind-protect.
553
554         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
555         start-number correctly.
556         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
557         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
558
559 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
560
561         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
562         (elmo-folder-initialize): Use it.
563         (elmo-global-flag-replace-referrer): New function.
564
565         * elmo.el (toplevel): Added autoload setting for
566         `elmo-global-flag-replace-referrer'.
567         (elmo-folder-rename): Rewrite the last change use
568         `elmo-global-flag-replace-referrer'.
569
570         * elmo-pipe.el (elmo-folder-rename): Call
571         `elmo-global-flag-replace-referrer'.
572
573 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
574
575         * elmo.el (elmo-folder-rename): Set meta data for global flags
576         follow the rename.
577
578 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
579
580         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
581         as 'not-loaded.
582         (elmo-folder-close): Ditto.
583         (elmo-filter-folder-number-list-loaded-p): New function.
584         (elmo-filter-folder-number-list): Check whether loaded or not.
585         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
586         of `elmo-filter-folder-number-list-internal'.
587         (elmo-folder-delete-messages): Ditto.
588         (elmo-folder-length): Check whether number-list is loaded or not.
589
590 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
591
592         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
593         field `real field' into each element of list.
594         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
595         (elmo-msgdb-message-entity-field): Ditto.
596         (modb-entity-ml-info-real-fields): New function.
597
598         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
599
600         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
601         `elmo-msgdb-extra-fields'.
602
603 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
604
605         * elmo-util.el (elmo-passwd-alist-load): Move point to min
606         position before read.
607
608 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
609
610         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
611         (elmo-global-flags-initialize): Ditto.
612
613 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
614
615         * elmo-archive.el (toplevel): Don't require emu, std11
616         and elmo-localdir.
617
618         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
619         definition.
620
621 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
622
623         * elmo.el (elmo-folder-confirm-appends): Display folder name.
624
625 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
626
627         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
628         literals.
629
630 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
631
632         * elmo-maildir.el (elmo-maildir-list-location): Reduce
633         `elmo-get-last-modification-time' call.
634
635 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
636
637         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
638         expression.
639         (elmo-maildir-set-mark): Ditto.
640         (elmo-maildir-delete-mark): Ditto.
641
642 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
643
644         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
645         optional argument `separators'.
646
647 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
648
649         * elmo.el (cache-changed): Abolish.
650         (status-changed): New signal.
651         (elmo-message-killed-p): New generic function and define for
652         elmo-folder.
653         (elmo-folder-recover-messages): Ditto.
654         (elmo-message-set-cached): Emit signal `status-changed' instead of
655         `cache-changed'.
656         (elmo-message-status): New macro.
657         (elmo-message-status-folder): Ditto.
658         (elmo-message-status-number): Ditto.
659         (elmo-message-status-set-flags): Ditto.
660         (elmo-message-status-set-killed): Ditto.
661         (elmo-message-status-flags): New function.
662         (elmo-message-status-cached-p): Ditto.
663         (elmo-message-status-killed-p): Ditto.
664
665         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
666         `status-changed' instead of `cache-changed'.
667         (elmo-folder-recover-messages): Define.
668         (elmo-message-killed-p): Ditto.
669
670         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
671         `status-changed' instead of `cache-changed'.
672
673         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
674         (elmo-message-killed-p): Define.
675         (elmo-folder-recover-messages): Ditto.
676
677         * elmo-version.el (elmo-version): Up to 2.15.3.
678
679 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
680
681         * elmo-signal.el (elmo-signal-bindings): Use cons to append
682         element into list.
683         (elmo-define-signal-handler): Add docstring.
684         (elmo-define-signal-filter): Ditto.
685
686         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
687
688 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
689
690         * elmo-util.el (elmo-flatten): Don't use recursive call.
691
692         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
693         assignment.
694         (elmo-folder-message-make-temp-files): Use `number-to-string'
695         instead of `int-to-string'.
696
697 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
698
699         * elmo-search.el (elmo-folder-delete-messages): Define.
700
701 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
702
703         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
704         customization type.
705         (elmo-mailing-list-count-spec-list): Ditto.
706
707         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
708         for `list-id'.
709
710 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
711
712         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
713         handling.
714
715 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
716
717         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
718         (elmo-mailing-list-count-spec-list): Ditto.
719
720         * elmo-util.el (elmo-map-until-success): New function.
721         (elmo-string-match-substring): Ditto.
722         (elmo-find-list-match-value): Ditto.
723
724         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
725         Removed.
726         (modb-entity-extract-ml-info-from-subject): Ditto.
727         (modb-entity-extract-ml-info-from-return-path): Ditto.
728         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
729         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
730         (modb-entity-extract-ml-info-from-mailman): Ditto.
731         (modb-entity-extract-mailing-list-info-functions): Ditto.
732         (modb-entity-extract-mailing-list-info): Rewrite with
733         `elmo-find-list-match-value'.
734
735 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
736
737         * elmo-net.el (elmo-network-session-retry-count): New user option.
738         (elmo-network-session-buffer-name): New internal function.
739         (elmo-network-session-buffer-create): Ditto.
740         (elmo-network-open-session): Retry open network session
741         `elmo-network-session-retry-count' times.
742
743 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
744
745         * elmo-util.el (elmo-list-filter): Rewritten.
746
747 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
748
749         * elmo-util.el (elmo-string-member): Allow symbol element in list.
750
751 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
752
753         * elmo-search.el (elmo-make-search-engine): Use prefix
754         `elmo-search-' for require symbol instead of `else-'.
755         (elmo-search-engine-extprog): New class.
756         (elmo-search-engine-do-search): Remove nil from argument
757         list. Added argument pattern to evaluate element as function.
758         (elmo-search-engine-local-file): Derived from
759         `elmo-search-engine-extprog'.
760         (elmo-search-engine-create-message-entity): Check existance of file.
761         (elmo-search-engine-fetch-message): Ditto.
762         (elmo-search-namazu-index): Follow the API change.
763         (elmo-search-grep-target): Ditto.
764
765 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
766
767         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
768         characters of working buffer.
769
770         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
771         Does not bind `default-mime-charset'.
772         (elmo-msgdb-create-message-entity-from-buffer): Removed
773         unnecessary local bind.
774
775         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
776         function.
777         (modb-entity-extract-mailing-list-info-functions): Added it.
778
779 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
780
781         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
782         when number and message-id are non-nil.
783
784         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
785
786         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
787         conditional steatment.
788         (elmo-pop3-auth-apop): Likewise.
789         (elmo-network-authenticate-session): Likewise.
790
791 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
792
793         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
794         symbol `fill-column'.
795         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
796         decode field value.
797
798         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
799         (elmo-decoded-field-body): Ditto.
800
801 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
802
803         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
804         `tokens' to `params'.
805
806 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
807
808         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
809         working buffer.
810
811 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
812
813         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
814         decide index.
815
816 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
817
818         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
819         Set default value as nil.
820         (toplevel): Register search engines by
821         `elmo-search-register-engine' if there are not defined.
822
823         * elmo.el (autoload): Added autoload setting for
824         `elmo-search-register-engine'.
825
826 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
827
828         * elmo.el (toplevel): `[' is redefined as the prefix of the search
829         folder instead of nmz folder.
830         (elmo-nmz-default-index-path): Added obsolete variable setting.
831         (elmo-nmz-index-alias-alist): Ditto.
832         (elmo-nmz-use-drive-letter): Ditto.
833
834         * elmo-search.el (elmo-search-register-engine): New function.
835
836         * elmo-nmz.el: Removed.
837
838         * elmo-version.el (elmo-version): Up to 2.15.2.
839
840 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
841
842         * elmo-search.el: New file.
843
844 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
845
846         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
847         condition `larger' and `smaller'.
848
849 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
850
851         * elmo-util.el (elmo-safe-filename): Rewrite to replace
852         `"' (double quote) into "_Q_".
853
854 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
855
856         * elmo-net.el (elmo-net-quote-chars): Abolish.
857         (elmo-net-format-quoted): Ditto.
858
859 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
860
861         * elmo.el (elmo-get-folder-function): New variable.
862         (elmo-get-folder): New function.
863         (elmo-folder-rename): Call `elmo-make-folder' with specified
864         mime-charset.
865
866         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
867         `elmo-make-folder'.
868         (elmo-split-subr): Ditto.
869
870         * elmo-multi.el (elmo-folder-initialize): Ditto.
871
872         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
873
874         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
875         (elmo-flag-get-folder): Ditto.
876
877         * elmo-filter.el (elmo-folder-initialize): Ditto.
878
879         * elmo-access.el (elmo-folder-initialize): Ditto.
880         (elmo-access-folder-update-children): Ditto.
881
882         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
883         (elmo-dop-queue-flush): Ditto.
884         (elmo-folder-append-buffer-dop-delayed): Ditto.
885         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
886         mime-charset.
887
888         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
889         instead of `elmo-make-folder'.
890         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
891         destination folder instead of send `elmo-folder-rename-internal'.
892
893         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
894         slot of subfolder instead of create it.
895
896 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
897
898         * elmo-util.el (elmo-collect-separators): New function.
899         (elmo-collect-separators-internal): Ditto.
900         (elmo-collect-trail-separators): Ditto.
901         (elmo-parse-separated-tokens): Ditto.
902         (elmo-parse-separated-tokens-internal): Ditto.
903         (elmo-quote-syntactical-element): Ditto.
904
905         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
906         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
907
908         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
909         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
910         (elmo-nntp-folder-list-subfolders): Quote a user name.
911
912         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
913         (elmo-net-parse-network): Abolish.
914         (elmo-net-folder-set-parameters): New function.
915         (elmo-folder-initialize): Follow the above change.
916
917         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
918         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
919         (elmo-folder-list-subfolders): Use
920         `elmo-quote-syntactical-element' instead of
921         `elmo-net-format-quoted' to quote mailbox and user name.
922
923 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
924
925         * elmo-util.el (elmo-token-valid-p): New function.
926         (elmo-parse-token): Add optional argument `requirement'.
927         (elmo-parse-prefixed-element): Likewise.
928
929         * elmo-net.el (elmo-net-quote-chars): Renamed from
930         `elmo-net-quote-chars-regexp'.
931         (elmo-net-format-quoted): Add optional argument `extra-chars'.
932
933         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
934         by info document. Check token `uidl' is started an alphabet.
935
936         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
937         by info document. Check token `user' is started an alphabet.
938
939         * elmo-imap4.el (elmo-folder-initialize): Ditto.
940         (elmo-folder-list-subfolders): Quote user.
941
942 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
943
944         * elmo-util.el (elmo-quoted-specials-list): New constant.
945         (elmo-quoted-token): New function.
946
947         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
948         (elmo-net-format-quoted): New function.
949         (elmo-net-parse-network): Ditto.
950         (elmo-folder-initialize): Use it.
951
952         * elmo-nntp.el (elmo-folder-initialize): Use
953         `elmo-net-parse-network' to parse network specification instead of
954         `elmo-folder-initialize#elmo-net'.
955
956         * elmo-pop3.el (elmo-folder-initialize): Ditto.
957
958         * elmo-imap4.el (elmo-folder-initialize): Ditto.
959         (elmo-folder-list-subfolders): Quote folder name by
960         `elmo-net-format-quoted'.
961
962 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
963
964         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
965         (elmo-folder-search): Use it.
966
967 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
968
969         * modb-standard.el (modb-standard-loaded-message-id): Use
970         `elmo-msgdb-message-entity-field'.
971
972 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
973
974         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
975         without filename.
976
977 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
978
979         * elmo-util.el (elmo-set-auto-coding): New function.
980         (elmo-object-load): Use it.
981
982 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
983
984         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
985         (elmo-time<): Define as alias of `elmo-time-less-p'.
986         (elmo-time-to-datevec): New function.
987
988         * elmo-date.el (elmo-time-to-days): New function.
989
990 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
991
992         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
993         is not cons cell.
994
995 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
996
997         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
998         parenthesis.
999
1000         * elmo-util.el (elmo-map-recursive): New function.
1001
1002         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1003         (modb-entity-encode-string-recursive): Ditto.
1004
1005 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1006
1007         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1008         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1009         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1010         compare sequence number when last modified time is nil.
1011
1012 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1013
1014         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1015
1016         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1017
1018 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1019
1020         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1021         modification time of the file.
1022
1023 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1024
1025         * elmo-util.el (elmo-condition-optimize): Discriminated against
1026         preserved fields, extra fields and the other weight.
1027
1028 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * modb-entity.el (initialize-instance): Define.
1031         (modb-entity-handler-mime-charset): New internal function.
1032         (modb-standard-entity-set-field): Use it.
1033         (elmo-msgdb-message-entity-field): Ditto.
1034         (elmo-msgdb-message-entity-field): Ditto.
1035
1036         * modb.el (elmo-msgdb-match-condition): Rewrite with
1037         `elmo-condition-match'.
1038         (elmo-msgdb-match-condition-primitive): New function.
1039
1040         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1041         arguments `flags' and `numbers'.
1042         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1043         `elmo-msgdb-message-match-condition').
1044         (modb-buffer-entity-handler): New class.
1045
1046         * elmo.el (elmo-folder-search): Optimize condition to use
1047         `elmo-condition-optimize'.
1048         (elmo-message-buffer-match-condition): New function.
1049         (elmo-message-match-condition): Use
1050         `elmo-message-buffer-match-condition' instead of
1051         `elmo-buffer-field-condition-match'.
1052
1053         * elmo-util.el (elmo-condition-match): New function.
1054         (elmo-condition-optimize): Ditto.
1055         (elmo-buffer-field-primitive-condition-match): Abolish.
1056         (elmo-buffer-field-condition-match): Ditto.
1057
1058         * elmo-archive.el (elmo-archive-field-condition-match): Use
1059         `elmo-message-buffer-match-condition' instead of
1060         `elmo-buffer-field-condition-match'.
1061
1062 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1063
1064         * elmo-flag.el (elmo-global-flags-initialize): Check the
1065         existence of the flag directory.
1066
1067 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1068
1069         * elmo-access.el (elmo-folder-initialize): Call
1070         `elmo-multi-connect-signals'.
1071
1072         * elmo-pipe.el (elmo-folder-close): Define.
1073
1074         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1075         children folders.
1076
1077         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1078         with target folder.
1079
1080         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1081         `number'.
1082
1083         * elmo-multi.el (elmo-message-entity): Don't use return value of
1084         `elmo-message-entity-set-number'.
1085
1086 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1087
1088         * modb.el (modb-generic): Added slot `mime-charset'.
1089
1090         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1091         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1092         and `modb-entity-handler-dump-parameters'.
1093         (modb-standard-default-entity-handler): Abolish.
1094         (elmo-msgdb-message-entity-handler): Save created handler by
1095         instance slot.
1096
1097         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1098         (modb-entity-handler-list-parameters): New method.
1099         (modb-entity-handler-equal-p): New function.
1100         (modb-entity-handler-dump-parameters): Ditto.
1101         (modb-entity-parse-address-string): Encode return value.
1102         (modb-entity-make-address-string): Decode argument value.
1103         (modb-entity-decode-string-recursive): New function.
1104         (modb-entity-encode-string-recursive): Ditto.
1105         (modb-standard-entity-normalizer): Set to encode field value.
1106         (modb-standard-entity-specializer): Follow the above change.
1107         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1108         mime-charset of handler.
1109         (elmo-msgdb-message-entity-field): Ditto.
1110         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1111         structure.
1112         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1113
1114         * elmo.el (elmo-folder): Added slot `mime-charset'.
1115         (elmo-make-folder): Added argument `mime-charset'.
1116         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1117         `mime-charest'.
1118
1119         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1120         (elmo-make-msgdb): Likewise.
1121
1122         * elmo-internal.el (elmo-internal-folder-initialize): Call
1123         `luna-make-entity' with :mime-charset parameter.
1124
1125 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1126
1127         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1128         encoded words in `from' and `subject' field.
1129
1130 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1131
1132         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1133         (elmo-msgdb-match-condition): Get handler from entity instead of
1134         msgdb.
1135
1136         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1137         (modb-standard-load-entity): Treat new file format.
1138         (modb-standard-save-entity-1): Save as new file format.
1139         (modb-standard-save-entity): Split messages into section here.
1140         (elmo-msgdb-message-field): Follow the API change.
1141         (modb-standard-default-entity-handler): New internal variable.
1142         (elmo-msgdb-message-entity-handler): Define.
1143
1144         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1145         to `elmo-vars.el'.
1146         (modb-entity-field-extractor-alist): New user option.
1147         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1148         added argument `type'.
1149         (elmo-msgdb-copy-message-entity): Add optional argument
1150         `make-handler'.
1151         (modb-set-field-converter): New function.
1152         (modb-convert-field-value): Ditto.
1153         (modb-entity-string-decoder): Ditto.
1154         (modb-entity-string-encoder): Ditto.
1155         (modb-entity-parse-date-string): Ditto.
1156         (modb-entity-make-date-string): Ditto.
1157         (modb-entity-mime-decoder): Ditto.
1158         (modb-entity-mime-encoder): Ditto.
1159         (modb-entity-address-list-decoder): Ditto.
1160         (modb-entity-address-list-encoder): Ditto.
1161         (modb-entity-parse-address-string): Ditto.
1162         (modb-entity-make-address-string): Ditto.
1163         (modb-entity-create-field-indices): Ditto.
1164         (modb-legacy-entity-field-slots): New constant.
1165         (modb-legacy-entity-field-indices): Ditto.
1166         (modb-legacy-entity-normalizer): New variable.
1167         (modb-legacy-entity-specializer): Ditto.
1168         (modb-legacy-entity-field-index): New macro.
1169         (modb-legacy-entity-set-field): New function.
1170         (modb-legacy-make-message-entity): Rewrite.
1171         (elmo-msgdb-create-message-entity-from-buffer): Use
1172         `elmo-msgdb-get-references-from-buffer'. Use
1173         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1174         Use `modb-legacy-entity-set-field' instead of
1175         `elmo-msgdb-message-entity-set-field'.
1176         (elmo-msgdb-message-entity-field): Rewrite.
1177         (elmo-msgdb-message-entity-set-field): Ditto.
1178         (elmo-msgdb-copy-message-entity): Make new entity by
1179         `make-handler' if it specified.
1180         (elmo-msgdb-message-match-condition): Define a method of
1181         `modb-entity-handler' and follow the API change.
1182         (modb-standard-entity-handler): New class.
1183         (modb-entity-extract-ml-info-from-x-sequence): New function.
1184         (modb-entity-extract-ml-info-from-subject): Ditto.
1185         (modb-entity-extract-ml-info-from-return-path): Ditto.
1186         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1187         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1188         (modb-entity-extract-mailing-list-info): Ditto.
1189         (modb-entity-extract-mailing-list-info-functions): New variable.
1190
1191         * elmo.el (elmo-message-field): Add optional argument `type'.
1192
1193         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1194         from `modb-entity.el'.
1195
1196         * elmo-util.el (elmo-object-load): Decode by coding-system from
1197         `set-auto-coding-function'.
1198         (elmo-object-save): Use `detect-mime-charset-region' and add
1199         coding cookie if encode.
1200         (elmo-msgdb-get-references-from-buffer): New function.
1201         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1202
1203         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1204
1205         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1206         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1207         instead of `shimbun-make-header' and follow the API change.
1208         (elmo-shimbun-update-overview): Follow the API change.
1209         (elmo-map-folder-list-message-locations): Ditto.
1210
1211         * elmo-pipe.el (elmo-message-field): Ditto.
1212
1213         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1214         Ditto.
1215
1216         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1217
1218         * elmo-multi.el (elmo-message-field): Ditto.
1219
1220         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1221         (elmo-msgdb-sort-by-date): Ditto.
1222         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1223         `elmo-message-entity-field'.
1224         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1225         change.
1226         (elmo-msgdb-overview-entity-get-from): Ditto.
1227         (elmo-msgdb-overview-entity-get-subject): Ditto.
1228         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1229         (elmo-msgdb-overview-entity-get-date): Ditto.
1230         (elmo-msgdb-overview-entity-get-to): Ditto.
1231         (elmo-msgdb-overview-entity-get-cc): Ditto.
1232
1233         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1234         (elmo-mime-collect-message/partial-pieces): Ditto.
1235
1236         * elmo-filter.el (elmo-message-field): Ditto.
1237
1238         * elmo-date.el (elmo-datevec-to-time): New function.
1239         (elmo-time-parse-date-string): Ditto.
1240         (elmo-time-make-date-string): Ditto.
1241         (elmo-time<): Ditto.
1242
1243         * elmo-version.el (elmo-version): Up to 2.15.1.
1244
1245 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1246
1247         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1248         member of elmo-local-flags.
1249
1250 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1251
1252         * elmo-version.el (elmo-version): Up to 2.15.0.
1253
1254 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1255
1256         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1257         `ignore-msgdb' is non-nil.
1258
1259 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1260
1261         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1262         (elmo-condition-in-msgdb-p): Ditto.
1263         (elmo-file-field-primitive-condition-match): Ditto.
1264         (elmo-file-field-condition-match): Ditto.
1265
1266         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1267
1268 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1269
1270         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1271         subdirectories here.
1272         (elmo-global-flags-initialize): New function.
1273
1274         * elmo.el (toplevel): Added autoload setting for
1275         `elmo-global-flags-initialize'.
1276
1277 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1278
1279         * elmo.el (message-number-changed): Define new signal.
1280         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1281         message-number-changed signal.
1282         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1283         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1284         Respect `elmo-pack-number-check-strict'.
1285
1286 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1287
1288         * elmo-signal.el (elmo-connect-signal): Document.
1289         (elmo-emit-signal): Ditto.
1290         (elmo-emit-signal): It should pass source argument to filter and
1291         handler, not slot-source.
1292
1293 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1294
1295         * modb.el (elmo-msgdb-update-entity): New API and define generic
1296         implement.
1297
1298         * modb-standard.el (elmo-msgdb-update-entity): Define.
1299
1300         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1301         API and define generic implement.
1302
1303         * elmo.el (update-overview): New singnal.
1304
1305         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1306         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1307         (elmo-message-entity-parent): Define.
1308
1309         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1310         `update-overview'.
1311
1312         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1313
1314         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1315
1316 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1317
1318         * elmo.el (elmo-folder-synchronize): Sort the return value of
1319         `elmo-list-diff'.
1320
1321         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1322         list.
1323
1324 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1325
1326         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1327         `default-enable-multibyte-characters'.
1328         (elmo-object-load): Use `with-temp-buffer' instead of
1329         `elmo-set-work-buf'.
1330         (elmo-object-save): Ditto.
1331         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1332         `elmo-set-work-buf'.
1333         (elmo-decoded-field-body): Ditto.
1334
1335         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1336
1337         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1338         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1339
1340         * elmo-version.el (elmo-version): Up to 2.13.3.
1341
1342 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1343
1344         * elmo-util.el (elmo-list-diff): Fix the last change.
1345         Reverse order of result lists.
1346
1347 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1348
1349         * modb-standard.el (elmo-msgdb-set-flag): Use
1350         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1351         (elmo-msgdb-unset-flag): Ditto.
1352
1353         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1354         `elmo-list-diff'.
1355
1356         * elmo-util.el (elmo-list-diff): Rewrite.
1357         (elmo-list-diff-nonsortable): New function.
1358
1359 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1360
1361         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1362         `elmo-multibypte-buffer-name'.  All referers are updated.
1363
1364 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1365
1366         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1367         (elmo-mime-entity-fragment-p): New function.
1368         (mime-elmo-buffer-entity): Added slot `reassembled'.
1369         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1370         (elmo-message-mime-entity-internal): New function (renamed from
1371         `elmo-message-mime-entity').
1372         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1373         (elmo-mime-make-reassembled-mime-entity): New function.
1374         (elmo-message-reassembled-mime-entity): Ditto.
1375         (elmo-mime-collect-message/partial-pieces): Ditto.
1376
1377 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1378
1379         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1380
1381         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1382         (elmo-with-enable-multibyte): New macro.
1383
1384         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1385
1386 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1387
1388         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1389         argument `number'.
1390         (elmo-filter-connect-signals): Follow the above change.
1391
1392 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1393
1394         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1395
1396         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1397         that only the first flag is used.
1398
1399 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1400
1401         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1402         if available.
1403
1404 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1405
1406         * elmo-signal.el: New file.
1407
1408         * elmo.el (toplevel): Require elmo-signal.
1409         (flag-changing, flag-changed, cache-changed): New signal.
1410         (elmo-folder): Remove slog `handlers'.
1411         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1412         `elmo-folder-notify-event'.
1413         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1414         (elmo-folder-unset-flag): Ditto.
1415         (elmo-event-handler): Abolish.
1416         (elmo-event-handler-flag-changed): Ditto.
1417         (elmo-event-handler-cache-changed): Ditto.
1418         (elmo-folder-add-handler): Ditto.
1419         (elmo-folder-remove-handler): Ditto.
1420         (elmo-folder-notify-event): Ditto.
1421
1422         * elmo-pipe.el (toplevel): Require elmo-signal.
1423         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1424         (elmo-pipe-connect-signals): New function.
1425         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1426         (elmo-folder-set-flag): Ditto.
1427         (elmo-folder-unset-flag): Ditto.
1428         (elmo-message-set-cached): Ditto.
1429
1430         * elmo-multi.el (toplevel): Require elmo-signal.
1431         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1432         (elmo-multi-connect-signals): New function.
1433         (elmo-multi-map-numbers): Ditto.
1434         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1435         (elmo-message-fetch): Ditto.
1436         (elmo-folder-set-flag): Ditto.
1437         (elmo-folder-unset-flag): Ditto.
1438
1439         * elmo-filter.el (toplevel): Require elmo-signal.
1440         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1441         (elmo-filter-connect-signals): New function.
1442         (elmo-filter-add-flag-count): Ditto.
1443         (elmo-message-fetch): Does not call
1444         `elmo-filter-folder-countup-message-flags' and
1445         `elmo-folder-notify-event'.
1446         (elmo-message-set-cached): Ditto.
1447         (elmo-folder-set-flag): Ditto.
1448         (elmo-folder-unset-flag): Ditto.
1449
1450         * elmo-version.el (elmo-version): Up to 2.13.2.
1451
1452 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1453
1454         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1455         `flags'.
1456
1457 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1458
1459         * elmo-filter.el (elmo-message-set-cached): Call
1460         `elmo-folder-notify-event' with event `cache-changed'.
1461
1462         * elmo-multi.el (elmo-message-set-cached): Ditto.
1463
1464         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1465
1466 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1467
1468         * elmo.el (elmo-folder-encache): Abolish.
1469
1470 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1471
1472         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1473         (elmo-folder-next-message-number-dop): Return appropriate negative
1474         integer.
1475
1476 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1477
1478         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1479         clearing pending operations.
1480         (elmo-folder-next-message-number-dop): Return appropriate negative
1481         integer.
1482
1483 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1484
1485         * elmo.el (toplevel): Added autoload setting for `md5'.
1486         (elmo-msgdb-path-encode-threshold): New user option.
1487         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1488         longer than `elmo-msgdb-path-encode-threshold'.
1489
1490         * elmo-flag.el (elmo-global-mark-migrate): Use
1491         `elmo-folder-expand-msgdb-path' instead of
1492         `elmo-folder-msgdb-path'.
1493
1494 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1495
1496         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1497         element of the difference is nil.
1498
1499 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1500
1501         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1502         to the check logic of file systems which are weak in colon character.
1503
1504 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1505
1506         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1507
1508 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1509
1510         * elmo-maildir.el (elmo-maildir-move-file): New function.
1511         (elmo-folder-append-buffer): Use it.
1512         (elmo-folder-append-messages): Ditto.
1513         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1514
1515         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1516         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1517
1518         * elmo-maildir.el (elmo-maildir-separator): New user option.
1519         (elmo-maildir-adjust-separator): New macro.
1520         (elmo-maildir-list-location): Use it.
1521         (elmo-maildir-update-current): Ditto.
1522         (elmo-maildir-set-mark): Ditto.
1523         (elmo-maildir-delete-mark): Ditto.
1524         (These changes are based on Hiroya Murata's patch [wl: 13437])
1525
1526 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1527
1528         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1529
1530 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1531
1532         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1533         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1534         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1535
1536 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1537
1538         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1539         Use `with-temp-buffer'.
1540
1541 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1542
1543         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1544
1545         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1546         `wl-read-search-condition').
1547         (elmo-read-search-condition-internal): Likewise.
1548
1549         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1550         (elmo-flag-valid-p): New function.
1551         (elmo-folder-initialize): Check flag name is valid.
1552
1553 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1554
1555         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1556         delimiter to obtain root mailbox itself.
1557
1558 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1559
1560         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1561         type mismatch.
1562
1563 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1564
1565         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1566         as t.
1567
1568 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1569
1570         * elmo-shimbun.el (toplevel): Require cl at compile.
1571
1572         * elmo-nntp.el (toplevel): Ditto.
1573
1574         * elmo-nmz.el (toplevel): Ditto.
1575
1576         * elmo-multi.el (toplevel): Ditto.
1577
1578         * elmo-file.el (toplevel): Ditto.
1579
1580         * elmo-dop.el (toplevel): Ditto.
1581
1582         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1583
1584 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1585
1586         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1587         as nil.
1588
1589         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1590         size of elmo-message-fetch-internal is 0 byte.
1591
1592 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1593
1594         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1595
1596 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1597
1598         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1599         always plugged.
1600
1601 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1602
1603         * elmo-maildir.el (elmo-map-message-fetch): Call
1604         `elmo-map-folder-set-flag'.
1605
1606         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1607         (elmo-message-fetch): Merge from
1608         `elmo-message-fetch-with-cache-process'.
1609
1610         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1611         (elmo-message-fetch): Define.
1612
1613         * elmo-nntp.el (elmo-message-fetch): Renamed from
1614         `elmo-message-fetch-with-cache-process'.
1615
1616         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1617         (elmo-message-fetch): Define.
1618
1619         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1620         search-key.
1621
1622         * elmo-shimbun.el (shimbun-mua-search-id): Use
1623         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1624         (elmo-shimbun-folder-shimbun-header): Ditto.
1625         (elmo-shimbun-get-headers): Ditto.
1626         (elmo-shimbun-update-overview): Ditto.
1627
1628         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1629
1630         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1631         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1632
1633 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1634
1635         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1636         message is cached.
1637         (elmo-message-fetch-string): Fixed argument.
1638
1639 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1640
1641         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1642         exchange order of arguments `section' and `unread'.
1643         (elmo-message-encache): Follow the API change.
1644         (elmo-message-match-condition): Ditto.
1645         (elmo-generic-folder-append-messages): Ditto.
1646         (elmo-message-fetch-string): New function.
1647
1648         * elmo-split.el (elmo-split-subr): Ditto.
1649
1650         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1651
1652         * elmo-pipe.el (elmo-message-fetch): Ditto.
1653
1654         * elmo-multi.el (elmo-message-fetch): Ditto.
1655
1656         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1657
1658         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1659
1660         * elmo-filter.el (elmo-message-fetch): Ditto.
1661
1662         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1663
1664         * elmo-imap4.el (mime-imap-location-section-body): Use
1665         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1666         follow the API change.
1667
1668 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1669
1670         * elmo-access.el: New file.
1671
1672         * elmo-null.el: Ditto.
1673
1674         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1675
1676 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1677
1678         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1679         (elmo-network-session): New attribute `last-accessed'.
1680         (elmo-network-get-session): Discard network cache if elapsed time
1681         since last-accessed is larger than elmo-network-session-idle-timeout.
1682
1683 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1684
1685         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1686         and added `number', `require-entireness'.
1687         (elmo-find-fetch-strategy): Rewrite.
1688         (elmo-message-fetch): Unset `unread' flag when argument unread is
1689         non-nil.
1690
1691         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1692
1693         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1694         (elmo-message-fetch): Notify event `flag-changed'.
1695
1696         * elmo-pipe.el: Likewise.
1697
1698         * elmo-mime.el (elmo-mime-entity): New class.
1699         (elmo-mime-entity-display-p): New generic function.
1700         (elmo-mime-entity-display): Ditto.
1701         (elmo-mime-entity-display-as-is): Ditto.
1702         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1703         elmo-mime-entity.
1704         (elmo-make-mime-message-location): Removed.
1705         (elmo-mime-message-display): Ditto.
1706         (elmo-mime-display-as-is): Ditto.
1707         (elmo-message-mime-entity): New function.
1708
1709         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1710
1711         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1712         change.
1713         (elmo-message-fetch): Re-count flagged message number and notify
1714         event `flag-changed'.
1715
1716         * elmo-version.el (elmo-version): Up to 2.13.1.
1717
1718 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1719
1720         * elmo-filter.el (elmo-message-field): Define.
1721         (elmo-message-set-field): Ditto.
1722
1723 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1724
1725         * elmo.el (elmo-message-set-cached): Call
1726         `elmo-folder-notify-event' with cache-changed.
1727         (elmo-event-handler-cache-changed): New generic function.
1728
1729 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1730
1731         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1732         instead of elmo-add-name-to-file.
1733         (elmo-folder-append-messages): Ditto.
1734
1735 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1736
1737         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1738
1739 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1740
1741         * elmo-version.el (elmo-version): Up to 2.13.0.
1742
1743         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1744         `auto'.
1745
1746         * modb-standard.el (modb-standard-economize-entity-size): Changed
1747         default value to `t'.
1748
1749         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1750         `standard'.
1751
1752         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1753         after parsing greeting string.
1754
1755 2004-11-23  Daishi Kato <daishi@axlight.com>
1756
1757         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1758         New user option.
1759         (elmo-spam-spamoracle-call): Use it.
1760
1761 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1762
1763         * elmo.el (elmo-message-accessible-p): Message in dop spool
1764         is accessible.
1765
1766 2004-11-23  Daishi Kato <daishi@axlight.com>
1767
1768         * elsp-spamoracle.el: New file.
1769
1770 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1771
1772         * elmo.el (elmo-message-flags-for-append): New function.
1773         (elmo-generic-folder-append-messages): Use it.
1774
1775         * elmo-split.el (elmo-split-subr): Ditto.
1776
1777         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1778         `flags' and use elmo-folder-append-buffer instead of
1779         write-region-as-binary.
1780         (elmo-dop-filter-pending-messages): New function.
1781         (elmo-folder-append-buffer-dop): Call
1782         elmo-dop-spool-folder-append-buffer with `flag'.
1783         (elmo-folder-set-flag-dop): Filter messages by
1784         elmo-dop-filter-pending-messages.
1785         (elmo-folder-unset-flag-dop): Ditto.
1786         (elmo-folder-append-buffer-dop-delayed): Use
1787         elmo-message-flags-for-append to get flags of the message and
1788         simplify.
1789
1790 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1791
1792         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1793
1794 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1795
1796         * elmo.el (elmo-folder): Added handlers slot.
1797         (elmo-event-handler): New class.
1798         (elmo-event-handler-flag-changed): New API.
1799         (elmo-folder-add-handler): New function.
1800         (elmo-folder-remove-handler): Ditto.
1801         (elmo-folder-notify-event): Ditto.
1802         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1803         `flag-changed'.
1804         (elmo-folder-unset-flag): Ditto.
1805
1806         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1807         (elmo-folder-unset-flag): Ditto.
1808
1809         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1810         (elmo-folder-unset-flag): Ditto.
1811
1812         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1813         (elmo-folder-unset-flag): Ditto.
1814
1815         * elmo-version.el (elmo-version): Up to 2.11.33.
1816
1817 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1818
1819         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1820
1821 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1822
1823         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1824
1825         * elmo-flag.el (elmo-folder-unset-flag): Define.
1826         (elmo-global-flag-detach): Do process when the flag is not target
1827         flag.
1828
1829 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1830
1831         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1832         variable.
1833         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1834
1835 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1836
1837         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1838         function.
1839         (elmo-folder-delete-messages): Detach messages before delete
1840         messages from target folder.
1841         (elmo-folder-detach-messages): Set updated number-list to slot.
1842
1843 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1844
1845         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1846
1847 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1848
1849         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1850
1851 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1852
1853         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1854         internal use only).
1855         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1856         not modified.
1857         (elmo-folder-delete-messages): Define.
1858         (elmo-folder-move-messages): Don't call
1859         `elmo-folder-detach-messages'.
1860         (elmo-folder-synchronize): Rewrite.
1861         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1862
1863         * elmo-util.el (elmo-last): New function.
1864         (elmo-set-list): Ditto.
1865         (elmo-number-set-delete-list): Ditto.
1866         (elmo-number-set-delete): Ditto.
1867
1868         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1869
1870         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1871         `elmo-folder-delete-messages' and don't delete location map.
1872         (elmo-folder-detach-messages): Define.
1873
1874         * elmo-imap4.el (elmo-folder-delete): Use
1875         `elmo-folder-delete-messages-internal' instead of
1876         `elmo-folder-delete-messages'.
1877
1878         * elmo-filter.el (elmo-folder-delete-messages): Call
1879         `elmo-folder-detach-messages'.
1880         (elmo-folder-detach-messages): Don't call
1881         `elmo-folder-detach-messages' for target folder.
1882
1883         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1884         message deletion is succeeded.
1885
1886         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1887
1888         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1889         from `elmo-folder-delete-messages'.
1890
1891         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1892
1893         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1894
1895         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1896
1897         * elmo-version.el (elmo-version): Up to 2.11.32.
1898
1899 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1900
1901         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1902         (elmo-global-flag-list): Added obsolete variable setting.
1903
1904         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1905
1906         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1907         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1908         `elmo-mime-display-header-analysis' is nil.
1909
1910         * elmo-flag.el (elmo-global-flags): Renamed from
1911         `elmo-global-flag-list' (All other related portions are changed).
1912         (elmo-local-flags): New variable.
1913         (elmo-local-flag-p): New function.
1914         (elmo-global-flag-set-internal): Cause an error when flag is not
1915         global.
1916
1917 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1918
1919         * elmo-util.el (elmo-concat-path): Treat empty path.
1920
1921 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1922
1923         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1924         field-or-fields).
1925         (elmo-split-address-match): Ditto.
1926         (elmo-split-equal): Ditto.
1927         (elmo-split-match): Ditto.
1928
1929 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1930
1931         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1932         (elmo-generic-folder-append-messages): If src message exists but
1933         has no flag, pass (read) for the FLAG argument of
1934         `elmo-folder-append-buffer'. Otherwise, pass nil.
1935
1936         * elmo-split.el (elmo-split-subr): Likewise.
1937
1938         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1939
1940         * elmo-multi.el (elmo-message-flags): Ditto.
1941
1942         * elmo-filter.el (elmo-message-flags): Ditto.
1943
1944         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1945         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1946         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1947         
1948 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1949
1950         * elmo-split.el (elmo-split-rule): Update comment.
1951         (elmo-split-address-equal): Allow 2nd argument to be a list.
1952         (elmo-split-address-match): Ditto.
1953         (elmo-split-equal): Ditto.
1954         (elmo-split-match): Ditto.
1955
1956 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1957
1958         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1959         (elmo-folder-append-msgdb): Don't treat `read'.
1960         (elmo-message-flags): Don't return `read'.
1961
1962         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1963         (elmo-folder-unset-read-delayed): Ditto.
1964
1965         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1966
1967 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1968
1969         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1970         deletion.
1971
1972 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1973
1974         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1975         header.
1976
1977 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1978
1979         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1980         here.
1981         (elmo-msgdb-save): Bind inhibit-quit.
1982         (modb-standard-message-entity): Ditto.
1983
1984 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1985
1986         * elmo-database.el: No need to require elmo-msgdb.
1987
1988 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1989
1990         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1991         instead of `elmo-list-subdirectories'.
1992
1993 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1994
1995         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1996         group entry.
1997         (elmo-folder-exists-p): "[" is empty.
1998         (elmo-folder-list-subfolders): Define.
1999         (elmo-folder-have-subfolder-p): Ditto.
2000
2001 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2002
2003         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2004
2005 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2006
2007         * elmo-filter.el (elmo-folder-local-p): Define.
2008
2009 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2010
2011         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2012         when entity is garbaged.
2013         (modb-standard-save-entity-1): Don't modify the original entity.
2014
2015 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2016
2017         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2018
2019 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2020
2021         * elmo.el (elmo-strict-folder-diff): Use
2022         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2023
2024 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2025
2026         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2027         (elmo-msgdb-message-number): Ditto.
2028         (elmo-msgdb-message-field): Ditto.
2029
2030         * modb-standard.el (modb-standard-economize-entity-size): New user
2031         option.
2032         (modb-standard-loaded-message-id): New inline function.
2033         (modb-standard-load-entity): Use it.
2034         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2035         throw message-id string away.
2036         (elmo-msgdb-flag-available-p): Define.
2037         (elmo-msgdb-message-number): Ditto.
2038         (elmo-msgdb-message-field): Ditto.
2039
2040         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2041         (suppoted -> supported).
2042         (modb-legacy-supported-flag-p): Ditto.
2043         (elmo-msgdb-set-flag): Ditto.
2044         (elmo-msgdb-unset-flag): Ditto.
2045         (elmo-msgdb-flag-available-p): Define.
2046
2047         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2048         is `t', treat it as legacy entity.
2049         
2050         * elmo.el (elmo-message-flag-available-p): New generic function.
2051         (elmo-message-number): Ditto.
2052         (elmo-message-field): Use `elmo-msgdb-message-field'.
2053
2054         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2055
2056         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2057         (elmo-message-number): Ditto.
2058
2059         * elmo-multi.el (elmo-message-number): Define.
2060         (elmo-message-flag-available-p): Ditto.
2061
2062         * elmo-filter.el (elmo-message-flag-available-p): Define.
2063         (elmo-message-number): Ditto.
2064
2065         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2066         (elmo-folder-initialize): Load `max-number'.
2067         (elmo-folder-commit): Save it.
2068         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2069         (elmo-global-flag-set-internal): Set up max-number slot.
2070
2071 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2072
2073         * elmo-version.el (elmo-version): Up to 2.11.31.
2074
2075 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2076
2077         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2078         unibyte string of the current buffer for the argument of `md5'
2079         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2080
2081 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2082
2083         * modb-legacy.el (modb-legacy-flag-list): New constant.
2084         (modb-legacy-suppoted-flag-p): New internal function.
2085         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2086         (elmo-msgdb-unset-flag): Ditto.
2087
2088 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2089
2090         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2091
2092         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2093         from msgdb.
2094
2095 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2096
2097         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2098         (follow the API change).
2099
2100         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2101
2102 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2103
2104         * modb-standard.el (modb-standard-digest-flags): Abolish.
2105         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2106
2107         * elmo-vars.el (elmo-digest-flags): New variable.
2108         (elmo-preserved-flags): Moved from elmo-flag.el.
2109
2110         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2111         (elmo-imap4-flag-to-imap-criteria): Ditto.
2112         (elmo-imap4-folder-list-flagged): Use it.
2113
2114         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2115
2116         * elmo.el (elmo-folder-count-flags): Changed return value.
2117
2118         * elmo-flag.el (elmo-preserved-flags): New variable.
2119         (elmo-get-global-flags): Use it.
2120
2121         * modb-standard.el (modb-standard-digest-flags): New variable.
2122         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2123         Changed behavior of `any'.
2124
2125         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2126         which are defined the Internet draft
2127         (draft-melnikov-imap-keywords-03.txt).
2128         (elmo-imap4-flags-to-imap): New function.
2129         (elmo-folder-append-buffer): Use it.
2130
2131         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2132         in the docstring.
2133
2134         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2135         avoid the bug of Emacs 21.3.
2136
2137 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2138
2139         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2140         function find-coding-system does not exist.
2141
2142 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2143
2144         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2145         parsing.
2146
2147 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2148
2149         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2150         response codes.
2151
2152 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2153
2154         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2155         (elmo-network-close-session): Follow the changes in
2156         `elmo-pop3-read-response'.
2157         (elmo-pop3-auth-user): Ditto.
2158         (elmo-pop3-auth-apop): Ditto.
2159         (elmo-network-initialize-session): Ditto.
2160         (elmo-network-authenticate-session): Ditto.
2161         (elmo-network-setup-session): Ditto.
2162         (elmo-folder-status): Ditto.
2163         (elmo-message-fetch-plugged): Ditto.
2164         (elmo-pop3-delete-msg): Ditto.
2165
2166 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2167
2168         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2169         on failure.
2170
2171 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2172
2173         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2174         style.
2175         (elmo-bind-directory): Ditto.
2176
2177 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2178
2179         * elmo.el (elmo-folder-append-messages): Note on return value.
2180         * elmo-archive.el (elmo-folder-append-messages): Don't return
2181         message numbers which could not be appended.
2182
2183 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2184
2185         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2186
2187 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2188
2189         * elmo-version.el (elmo-version): Up to 2.11.30.
2190
2191 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2192
2193         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2194         `mask'.
2195
2196         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2197
2198         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2199         (elmo-multi-split-numbers): Add elmo-folder object into each
2200         element of return value at first.
2201         (elmo-folder-delete-messages): Follow the above change.
2202         (elmo-folder-detach-messages): Ditto.
2203
2204         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2205         number which is synchronized in target folder.
2206
2207 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2208
2209         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2210         Change default value to symbol `all'.
2211         (elmo-map-message-fetch): Change condition to update overview
2212         follow the above.
2213
2214 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2215
2216         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2217         behavior to update overview.
2218         (elmo-shimbun-update-overview-folder-list): Note it.
2219
2220 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2221
2222         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2223         recursive call.
2224
2225 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2226
2227         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2228         buffer-disable-undo, it is unnecessary.
2229         (elmo-spam-register-good-messages): Ditto.
2230
2231         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2232         Ditto.
2233
2234         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2235
2236 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2237
2238         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2239         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2240         elmo-set-buffer-multibyte.
2241         (elmo-object-load): Ditto.
2242         (elmo-save-buffer): Ditto.
2243         (elmo-delete-char): Ditto.
2244         (elmo-file-field-primitive-condition-match): Ditto.
2245         (elmo-mime-string): Ditto.
2246
2247         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2248         (elmo-archive-field-condition-match): Ditto.
2249
2250         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2251
2252         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2253
2254         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2255         (elmo-nntp-msgdb-create-message): Ditto.
2256
2257         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2258
2259         * elmo.el (elmo-message-match-condition): Ditto.
2260         (elmo-message-match-condition): Ditto.
2261
2262         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2263         Ditto.
2264
2265         * elmo-version.el (elmo-version): Up to 2.11.29.
2266
2267         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2268         (elsp-header): New backend.
2269
2270         * elmo-util.el (elmo-decoded-field-body): New function.
2271
2272 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2273
2274         * elmo-version.el (elmo-version): Up to 2.11.28.
2275
2276 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2277
2278         * elmo-filter.el: Rewrite.
2279
2280         * elmo-version.el (elmo-version): Up to 2.11.27.
2281
2282 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2283
2284         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2285         msgdb path for the localdir folder with absolute path.
2286
2287         * utf7.el: Synch up with latest gnus/utf7.el;
2288         Modified for latest Emacs.
2289
2290 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2291
2292         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2293         shimbun backend couldn't open.
2294
2295 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2296
2297         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2298         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2299         when a destination folder is a filter folder.
2300
2301 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2302
2303         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2304         (elmo-generic-folder-append-messages): Call elmo-message-flags
2305         with argument `msgid'.
2306
2307         * elmo-split.el (elmo-split-subr): Ditto.
2308
2309         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2310
2311         * elmo-multi.el (elmo-message-flags): Ditto.
2312
2313 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2314
2315         * elmo.el (elmo-folder): Add new slot `flag-table'.
2316         (elmo-folder-flag-table): New API.
2317         (elmo-folder-close-flag-table): Ditto.
2318         (elmo-folder-preserve-flags): New function.
2319         (elmo-generic-folder-append-messages): Use
2320         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2321         Flag of a non-registered message, it sets to nil.
2322         Does not set flag to flag-table.
2323
2324         * elmo-maildir.el (elmo-folder-append-buffer): Use
2325         `elmo-folder-preserve-flags'.
2326         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2327         `elmo-folder-close-flag-table'.
2328
2329         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2330         (elmo-archive-folder-append-buffer): Use
2331         `elmo-folder-preserve-flags'.
2332
2333         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2334
2335         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2336
2337         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2338         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2339         `elmo-folder-close-flag-table'.
2340
2341         * elmo-version.el (elmo-version): Up to 2.11.26.
2342
2343 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2344
2345         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2346
2347         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2348         md5's 4th and 5th argument (non-existent in flim one).
2349
2350 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2351
2352         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2353         message, It sets to nil.
2354
2355 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2356
2357         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2358         list is non-nil.
2359
2360 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2361
2362         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2363
2364         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2365
2366         * elmo-util.el (elmo-uniq-sorted-list): New function.
2367         (elmo-make-number-list): Ditto.
2368         (elmo-number-set-to-number-list): Use elmo-make-number-list
2369         and don't use nreverse.
2370
2371 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2372
2373         * elmo-version.el (elmo-version): Up to 2.11.25.
2374
2375 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2376
2377         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2378         field not exists in message, Use md5 message digest of header.
2379
2380 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2381
2382         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2383         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2384         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2385         * elmo-split.el (elmo-split-subr): Check return value of
2386         elmo-folder-append-buffer.
2387
2388         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2389         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2390
2391         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2392         message-id.
2393
2394 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2395
2396         * elmo-split.el (elmo-split-subr): Append message with flag.
2397
2398         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2399         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2400         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2401
2402 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2403
2404         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2405         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2406         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2407
2408 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2409
2410         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2411         with a function call of `process-buffer'.  All callers are updated.
2412         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2413         Remove redundant `set-buffer' in a while loop.
2414
2415 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2416
2417         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2418         calls.
2419
2420 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2421
2422         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2423         elsp-spamfilter-register-buffer-internal with current buffer.
2424         (elmo-spam-register-spam-buffer): Ditto.
2425         (elmo-spam-register-good-buffer): Ditto.
2426
2427 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2428
2429         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2430         if it is not contained in the response(A workaround for courier-imap).
2431
2432 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2433
2434         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2435         parenthesis.
2436
2437 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2438
2439         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2440         range.
2441
2442 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2443
2444         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2445         of nconc.
2446
2447         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2448         argument handler.
2449         (elmo-msgdb-message-match-condition): Follow the change above.
2450
2451 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2452
2453         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2454         folder name.
2455
2456 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2457
2458         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2459
2460 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2461
2462         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2463
2464 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2465
2466         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2467         not found.
2468
2469 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2470
2471         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2472         value.
2473         (elmo-file-command-argument): Undo last change for cygwin.
2474         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2475         Don't return nil.
2476         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2477
2478 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2479
2480         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2481         value returned from elmo-file-find is nil.
2482
2483 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2484
2485         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2486         to elmo-vars.el.
2487
2488         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2489         instead of insert-file-contents-as-binary.
2490         (elmo-message-set-field): New generic function.
2491
2492         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2493         behavior change on `split-string'.
2494
2495         * elmo-file.el (elmo-file-find): New function.
2496         (elmo-file-command): New user option.
2497         (elmo-file-command-argument): Ditto.
2498         (elmo-file-fetch-max-size): Ditto.
2499         (elmo-file-detect-format): New function.
2500         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2501         Use elmo-file-detect-format.
2502         (elmo-map-folder-list-message-locations): Don't treat directories.
2503
2504 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2505
2506         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2507         (elmo-passwd-alist-clear): Shred password before clear.
2508         (elmo-remove-passwd): Remove all mached pair.
2509
2510 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2511
2512         * elmo.el (elmo-folder-synchronize): Fix description of the return
2513         value.
2514
2515 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2516
2517         * elmo.el (elmo-message-fetch-bodystructure): New method.
2518         (elmo-message-fetch-bodystructure): Define default.
2519
2520         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2521         elmo-message-fetch-bodystructure.
2522         (elmo-message-fetch-bodystructure): Define.
2523
2524         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2525
2526 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2527
2528         * elmo-filter.el (elmo-message-folder): Define.
2529
2530 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2531
2532         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2533         elmo-delete-cr-buffer.
2534
2535         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2536
2537         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2538
2539         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2540
2541         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2542         type seems to be a text.
2543
2544 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2545
2546         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2547         (elmo-spam-register-good-buffer): Ditto.
2548         (elmo-spam-spamassassin-register-messages): Ditto.
2549
2550         * elmo-util.el (elmo-string-member-ignore-case): Define with
2551         static-cond.
2552
2553 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2554
2555         * elmo.el (elmo-folder-type): Undo last change.
2556
2557         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2558
2559         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2560         warnings.
2561
2562         * elmo-file.el: New file.
2563         
2564         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2565
2566         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2567         variable.
2568         (elmo-spam-spamassassin-register-messages): New inline function.
2569         (elmo-spam-register-spam-messages): Define.
2570         (elmo-spam-register-good-messages): Ditto.
2571
2572         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2573         Fixed typo.
2574
2575         * elmo.el (toplevel): Added autoload setting for
2576         `elmo-get-global-flags'.
2577         (elmo-message-has-global-flag-p): New function.
2578         (elmo-message-set-global-flags): Ditto.
2579         (elmo-folder-type): Improvement for name: format.
2580
2581         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2582         availability of keyword flags.
2583         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2584         (elmo-folder-list-flagged-plugged): Renamed from
2585         elmo-folder-list-flagged-unplugged.
2586         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2587         accept any flag as keyword flag.
2588         (elmo-folder-set-flag-plugged): Accept keyword flags.
2589         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2590
2591         * elmo-flag.el (elmo-get-global-flags): New function.
2592
2593         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2594         folders.
2595
2596         * elmo-version.el (elmo-version): Up to 2.11.24.
2597
2598 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2599
2600         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2601         elmo-multiple-field-body instead of std11-field-body to check all
2602         headers.
2603
2604 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2605
2606         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2607         or "size".
2608
2609 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2610
2611         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2612         unintern is unbound.
2613
2614 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2615
2616         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2617         Protect from infinite loop.
2618
2619 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2620
2621         * elsp-bogofilter.el
2622         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2623         (elmo-spam-bogofilter-register-messages): New internal function.
2624         (elmo-spam-register-spam-messages): Define.
2625         (elmo-spam-register-good-messages): Ditto.
2626
2627 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2628
2629         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2630         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2631         (elmo-spam-bogofilter-call): Fixed the last change.
2632         (elmo-spam-bogofilter-arguments): Ditto.
2633
2634         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2635         Follow the options change of latest bogofilter.
2636
2637         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2638         (elmo-spam-bogofilter-good-switch): Ditto.
2639         (elmo-spam-bogofilter-arguments-alist): New user option.
2640         (elmo-spam-bogofilter-debug): Ditto.
2641         (elmo-spam-bogofilter-call): Renamed from
2642         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2643         is non-nil, insert output in buffer for debug.
2644         (elmo-spam-bogofilter-arguments): New macro.
2645         (elmo-spam-buffer-spam-p): Use it.
2646         (elsp-bogofilter-register-buffer): Ditto.
2647
2648 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2649
2650         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2651         regexp.
2652
2653 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2654
2655         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2656         value as "ruby".
2657         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2658         (elmo-spam-bsfilter-program): Set default value as full path for
2659         `bsfilter'.
2660         (elmo-spam-bsfilter-debug): New user option.
2661         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2662         non-nil, insert output in buffer for debug. Fix treating of
2663         argument.
2664
2665 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2666
2667         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2668         `elmo-maildir-flag-specs' element instead of one.
2669         (elmo-map-folder-unset-flag): Ditto.
2670         (Reported by Ken Makimura <macky@astem.or.jp>)
2671
2672         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2673         (elmo-folder-unset-flag-plugged): Ditto.
2674
2675 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2676
2677         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2678         to `reads' slot only if `in-msgdb' is nil.
2679
2680 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2681
2682         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2683         and complement argument list.
2684
2685 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2686
2687         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2688         instead of elmo-folder-list-flagged.
2689
2690 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2691
2692         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2693
2694         * elsp-bsfilter.el: New file.
2695
2696         * elmo-pipe.el (elmo-folder-list-unreads,
2697         elmo-folder-list-answereds,
2698         elmo-folder-list-importants,
2699         elmo-folder-flag-as-important,
2700         elmo-folder-unflag-important,
2701         elmo-folder-flag-as-read,
2702         elmo-folder-unflag-read,
2703         elmo-folder-flag-as-answered,
2704         elmo-folder-unflag-answered): Remove.
2705         (elmo-folder-set-flag): Define.
2706         (elmo-folder-unset-flag): Ditto.
2707
2708         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2709         (elmo-folder-set-flag): Define.
2710         (elmo-folder-unset-flag): Ditto.
2711         (elmo-folder-list-unreads): Remove.
2712         (elmo-folder-list-flagged): Define.
2713
2714         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2715         (elmo-folder-list-unreads,
2716         elmo-folder-list-importants,
2717         elmo-folder-list-answereds,
2718         elmo-folder-list-unreads-plugged,
2719         elmo-folder-list-importants-plugged,
2720         elmo-folder-list-answereds-plugged): Remove.
2721         (elmo-folder-list-flagged-plugged): New method.
2722         (elmo-folder-unflag-important,
2723         elmo-folder-flag-as-important,
2724         elmo-folder-unflag-read,
2725         elmo-folder-flag-as-read,
2726         elmo-folder-unflag-answered,
2727         elmo-folder-flag-as-answered,
2728         elmo-folder-flag-as-read-unplugged,
2729         elmo-folder-unflag-read-unplugged,
2730         elmo-folder-flag-as-important-unplugged,
2731         elmo-folder-unflag-important-unplugged,
2732         elmo-folder-flag-as-answered-unplugged,
2733         elmo-folder-unflag-answered-unplugged): Remove.
2734         (elmo-folder-set-flag): Define.
2735         (elmo-folder-unset-flag): Ditto.
2736         (elmo-folder-set-flag-unplugged): Ditto.
2737         (elmo-folder-unset-flag-unplugged): Ditto.
2738
2739         * elmo-multi.el (elmo-folder-list-unreads,
2740         elmo-folder-list-answereds,
2741         elmo-folder-list-importants,
2742         elmo-folder-flag-as-important,
2743         elmo-folder-unflag-important,
2744         elmo-folder-flag-as-read,
2745         elmo-folder-unflag-read,
2746         elmo-folder-flag-as-answered,
2747         elmo-folder-unflag-answered): Remove.
2748         (elmo-folder-set-flag): Define.
2749         (elmo-folder-unset-flag): Ditto.
2750
2751         * elmo-map.el (elmo-map-folder-unflag-important,
2752         elmo-map-folder-flag-as-important,
2753         elmo-map-folder-unflag-read,
2754         elmo-map-folder-flag-as-read,
2755         elmo-map-folder-unflag-answered,
2756         elmo-map-folder-flag-as-answered): Remove.
2757         (elmo-map-folder-set-flag): New method.
2758         (elmo-map-folder-unset-flag): Ditto.
2759         (elmo-map-folder-list-unreads,
2760         elmo-map-folder-list-importants,
2761         elmo-map-folder-list-answereds): Remove.
2762         (elmo-folder-list-flagged-internal): Define.
2763         (elmo-map-folder-list-flagged): New method.
2764
2765         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2766         (elmo-map-folder-list-unreads,
2767         elmo-map-folder-list-importants,
2768         elmo-map-folder-list-flagged): Remove.
2769         (elmo-map-folder-list-flagged): Define.
2770         (elmo-map-folder-flag-as-important,
2771         elmo-map-folder-unflag-important,
2772         elmo-map-folder-flag-as-read,
2773         elmo-map-folder-unflag-read,
2774         elmo-map-folder-flag-as-answered,
2775         elmo-map-folder-unflag-answered): Remove.
2776         (elmo-maildir-set-mark-messages): New internal function.
2777         (elmo-map-folder-set-flag): Define.
2778         (elmo-map-folder-unset-flag): Ditto.
2779
2780         * elmo.el (toplevel): Added autoload setting for
2781         `elmo-folder-list-global-flag-messages'.
2782         (elmo-folder-list-unreads,
2783         elmo-folder-list-importants,
2784         elmo-folder-list-answereds): Remove.
2785         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2786         Return a list whitch merged with messages have global flag.
2787         (elmo-folder-list-flagged-internal): New method.
2788         (elmo-folder-unflag-important,
2789         elmo-folder-flag-as-important,
2790         elmo-folder-unflag-read,
2791         elmo-folder-flag-as-read,
2792         elmo-folder-unflag-answered,
2793         elmo-folder-flag-as-answered): Remove.
2794         (elmo-folder-set-flag): New method.
2795         (elmo-folder-unset-flag): Ditto.
2796         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2797         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2798
2799         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2800         (elmo-folder-list-unreads-plugged,
2801         elmo-folder-list-importants-plugged,
2802         elmo-folder-list-answereds-plugged,
2803         elmo-folder-list-flagged-unplugged,
2804         elmo-folder-unflag-important-plugged,
2805         elmo-folder-flag-as-important-plugged,
2806         elmo-folder-unflag-read-plugged,
2807         elmo-folder-flag-as-read-plugged,
2808         elmo-folder-unflag-answered-plugged,
2809         elmo-folder-flag-as-answered-plugged): Remove.
2810         (elmo-folder-set-flag-plugged,
2811         elmo-folder-unset-flag-plugged): Define.
2812
2813         * elmo-flag.el (elmo-folder-initialize): Register to
2814         `elmo-global-flag-list' if flag is not global.
2815         (elmo-folder-append-messages): Set flag to source messages.
2816
2817         * elmo-filter.el (elmo-filter-folder-list-unreads,
2818         elmo-folder-list-unreads,
2819         elmo-filter-folder-list-importants,
2820         elmo-folder-list-importants,
2821         elmo-folder-flag-as-read,
2822         elmo-folder-unflag-read,
2823         elmo-folder-flag-as-important,
2824         elmo-folder-unflag-important,
2825         elmo-folder-flag-as-answered,
2826         elmo-folder-unflag-answered): Remove.
2827         (elmo-folder-set-flag): Define.
2828         (elmo-folder-unset-flag): Ditto.
2829
2830         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2831         elmo-folder-unflag-read-dop,
2832         elmo-folder-flag-as-important-dop,
2833         elmo-folder-unflag-important-dop,
2834         elmo-folder-flag-as-answered-dop,
2835         elmo-folder-unflag-answered-dop): Remove.
2836         (elmo-folder-set-flag-dop,
2837         elmo-folder-unset-flag-dop,
2838         elmo-folder-set-important-delayed,
2839         elmo-folder-unset-important-delayed,
2840         elmo-folder-set-read-delayed,
2841         elmo-folder-unset-read-delayed,
2842         elmo-folder-set-answered-delayed,
2843         elmo-folder-unset-answered-delayed): New function.
2844         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2845         (elmo-dop-queue-method-name-alist): Ditto.
2846
2847         * elmo-version.el (elmo-version): Up to 2.11.23.
2848
2849 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2850
2851         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2852
2853         * elsp-sa.el: New file.
2854
2855 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2856
2857         * modb-standard.el (modb-standard-message-entity): New function.
2858         (elmo-msgdb-message-entity): Use it.
2859
2860 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2861
2862         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2863         behavior when one-level is nil.
2864
2865         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2866
2867         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2868
2869 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2870
2871         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2872         get max number.
2873         (elmo-generic-folder-diff): Ditto.
2874
2875         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2876         (elmo-folder-update-number): Ditto.
2877
2878         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2879         (elmo-folder-next-message-number-dop): Ditto.
2880
2881 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2882
2883         * elmo-filter.el (elmo-folder-msgdb-create): Use
2884         `elmo-message-entity' and `elmo-message-flags' instead of
2885         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2886
2887 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2888
2889         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2890         `if-exists'.
2891
2892 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2893
2894         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2895
2896         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2897
2898         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2899
2900 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2901
2902         * elmo-version.el (elmo-version): Up to 2.11.22.
2903
2904 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2905
2906         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2907
2908 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2909
2910         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2911         if the message dose not exist.
2912
2913 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2914
2915         * elmo-version.el (elmo-version): Up to 2.11.21.
2916
2917 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2918
2919         * modb-standard.el (toplevel): Don't require mime.
2920
2921 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2922
2923         * elsp-bogofilter.el (toplevel): Don't require path-util.
2924         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2925         (elmo-spam-bogofilter-header): Abolish.
2926         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2927         (elmo-spam-bogofilter-args): New user option.
2928         (elsp-bogofilter-call-bogofilter): New internal function.
2929         (elmo-spam-buffer-spam-p): Use it.
2930         (elsp-bogofilter-register-buffer): Renamed from
2931         `elmo-spam-bogofilter-register-buffer';
2932         Use `elsp-bogofilter-call-bogofilter'.
2933         (elmo-spam-register-spam-buffer): Follow the change above.
2934         (elmo-spam-register-good-buffer): Ditto.
2935
2936 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2937
2938         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2939         message-id is nil do nothing.
2940
2941 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2942
2943         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2944         Revival.
2945         (elmo-imap4-session): Removed use-flag slot.
2946         (elmo-imap4-session-select-mailbox): Undo last change.
2947         (elmo-folder-use-flag-p): Use
2948         elmo-imap4-disuse-server-flag-mailbox-regexp.
2949
2950 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2951
2952         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2953         (elmo-imap4-session-select-mailbox): Set it up.
2954         (elmo-folder-use-flag-p): Return value of use-flag slot.
2955
2956 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2957
2958         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2959         message-id is nil.
2960         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2961
2962         * modb-entity.el (elmo-message-entity-handler): Likewise.
2963
2964 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2965
2966         * elmo.el (toplevel): Remove setting of autoloding for
2967         elmo-global-flag-initialize.
2968         (elmo-init): Don't call elmo-global-flag-initialize.
2969         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2970
2971         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2972         (elmo-global-mark-migrate): Don't call it.
2973         (elmo-global-mark-upgrade): Ditto.
2974
2975 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2976
2977         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2978         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2979
2980         * elmo-vars.el (elmo-init-hook): New user option.
2981
2982         * elmo.el (elmo-init): Run the elmo-init-hook.
2983
2984         * elmo-flag.el (elmo-global-mark-migrate): New function.
2985
2986 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2987
2988         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2989         Undo last change (move to elmo-msgdb-unset-flag).
2990         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2991         flag is unset.
2992
2993 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2994
2995         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2996         read flag is set.
2997         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2998         (elmo-msgdb-unset-flag): Ditto.
2999
3000 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3001
3002         * elmo-split.el (elmo-split): Return split message count.
3003
3004 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3005
3006         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3007         is nil.
3008
3009 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3010
3011         * elmo.el (elmo-folder-unflag-important): Call
3012         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3013         a symbol `always'.
3014
3015         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3016         before unset flag.
3017         (elmo-global-flag-detach): Delete the message from flag folder, if
3018         `delete-if-none' is a symbol `always'.
3019
3020 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3021
3022         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3023         `elmo-spam-spamfilter-decode-buffer'.
3024         (elsp-spamfilter-register-buffer-internal): New internal function.
3025         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3026         (elmo-spam-register-spam-buffer): Ditto.
3027         (elmo-spam-register-good-buffer): Ditto.
3028
3029         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3030         change.
3031         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3032         (elmo-spam-register-spam-buffer): Follow the API change.
3033         (elmo-spam-register-good-buffer): Ditto.
3034
3035         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3036         (elmo-split-spam-p): Added argument plist; Call
3037         `elmo-spam-buffer-spam-p' with new argument register.
3038
3039         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3040         `register'.
3041         (elmo-spam-message-spam-p): Ditto.
3042         (elmo-spam-register-spam-buffer): Added optional argument
3043         `restore'.
3044         (elmo-spam-register-good-buffer): Ditto.
3045         (elmo-spam-register-spam-messages): Ditto.
3046         (elmo-spam-register-good-messages): Ditto.
3047
3048 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3049
3050         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3051         register into good corpus.
3052         (elmo-spam-register-good-buffer): Fixed to register into bad
3053         corpus.
3054
3055 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3056
3057         * elmo-version.el (elmo-version): Up to 2.11.20.
3058
3059         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3060         change.
3061
3062         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3063         flag without depending on \Recent flag.
3064
3065 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3066
3067         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3068         (elmo-spam-modified-p): Defined.
3069         (elmo-spam-save-status): Set `modified' slot to nil.
3070         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3071         (elmo-spam-register-good-buffer): Ditto.
3072
3073         * elmo-spam.el (elmo-spam-modified-p): New API.
3074
3075 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3076
3077         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3078         duplicate definition.
3079
3080         * elmo-util.el (elmo-unfold-field-body): New function.
3081         (elmo-msgdb-get-message-id-from-buffer): Use it.
3082
3083         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3084         Fixed the last change; Use elmo-unfold-field-body.
3085
3086 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3087
3088         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3089         Unfold date value.
3090
3091 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3092
3093         * elmo-spam.el (elmo-spam-save-status): New API.
3094
3095         * elsp-spamfilter.el: New file.
3096
3097 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3098
3099         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3100
3101 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3102
3103         * elmo-split.el (elmo-split-spam-p): New function.
3104
3105         * elmo-spam.el: New file.
3106
3107         * elsp-bogofilter.el: Ditto.
3108
3109 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3110
3111         * elmo.el (elmo-folder-next-message-number): New API.
3112         (elmo-folder-next-message-number): Define.
3113         (elmo-message-field): Don't check folder length.
3114
3115         * elmo-net.el (elmo-folder-next-message-number): Define.
3116         (elmo-folder-next-message-number-unplugged): Define.
3117
3118         * elmo-map.el (elmo-folder-next-message-number): Define.
3119         (elmo-folder-delete-messages): Clear hash value.
3120
3121         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3122
3123         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3124         (elmo-folder-delete-messages-dop-delayed): Always return t.
3125
3126         * elmo-version.el (elmo-version): Up to 2.11.19.
3127
3128 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3129
3130         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3131         change.
3132
3133         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3134         identical cons cell into the mark-alist and the hash table.
3135
3136 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3137
3138         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3139         elmo-folder-list-messages with argument `visible-only' as t.
3140
3141         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3142         (elmo-folder-msgdb-create): Check the target folder.
3143
3144 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3145
3146         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3147         `permanentflag' instead of `flags'.
3148         (elmo-folder-open): Ditto.
3149         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3150         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3151         (elmo-folder-use-flag-p): Always return t.
3152         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3153         `permanentflags' does not exist.
3154         (elmo-folder-open): Ditto.
3155
3156 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3157
3158         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3159         is nil.
3160         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3161
3162         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3163         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3164         response.
3165         (elmo-folder-open): Ditto.
3166         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3167         slot of the session includes the flag.
3168         (elmo-imap4-session-flag-available-p): New function.
3169         (elmo-imap4-folder-list-flagged): Ditto.
3170         (elmo-folder-list-unreads-plugged): Use it.
3171         (elmo-folder-list-importants-plugged): Ditto.
3172         (elmo-folder-list-answereds-plugged): Ditto.
3173         (elmo-imap4-search-internal-primitive): Ditto.
3174         (elmo-imap4-folder-list-any-plugged,
3175         elmo-imap4-folder-list-digest-plugged): Abolish.
3176
3177         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3178         if numbers is nil.
3179
3180 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3181
3182         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3183
3184 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3185
3186         * elmo-util.el (elmo-get-hash-val): Simplify.
3187         (elmo-set-hash-val): Rewrite.
3188
3189 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3190
3191         * elmo.el (elmo-folder-list-messages): Append killed messages into
3192         result if `visible-only' is nil and `in-msgdb' is non-nil.
3193
3194         * elmo-util.el (elmo-uniq-list): Added optional argument
3195         `delete-function'.
3196
3197         * modb.el (elmo-msgdb-flag-count): New API.
3198
3199         * modb-standard.el (modb-standard): Added slot flag-count.
3200         (modb-standard-countup-flags): New function.
3201         (modb-standard-load-flag): Call it.
3202         (elmo-msgdb-append): Ditto.
3203         (elmo-msgdb-clear): Clear slot flag-count.
3204         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3205         (elmo-msgdb-unset-flag): Treat `all' flag and call
3206         modb-standard-countup-flags.
3207         (elmo-msgdb-flag-count): Define.
3208         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3209         (elmo-msgdb-delete-messages): Ditto.
3210
3211         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3212         (elmo-msgdb-flag-count): Define.
3213
3214         * elmo.el (elmo-folder-list-messages): Undo last change.
3215         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3216         (elmo-folder-kill-messages): Unset all flags to numbers.
3217
3218         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3219         elmo-folder-kill-messages.
3220
3221         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3222         (elmo-nntp-folder-delete-messages): Abolish.
3223
3224         * elmo-version.el (elmo-version): Up to 2.11.18.
3225
3226 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3227
3228         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3229         (elmo-folder-kill-messages-range): New function.
3230         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3231         instead of elmo-folder-kill-messages-before.
3232
3233 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3234
3235         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3236         elmo-imap4-current-msgdb to decide entity handler.
3237
3238 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3239
3240         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3241
3242         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3243         inline function.
3244         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3245         (elmo-msgdb-overview-entity-set-number,
3246         elmo-msgdb-overview-entity-get-references,
3247         elmo-msgdb-overview-entity-set-references,
3248         elmo-msgdb-overview-entity-get-from-no-decode,
3249         elmo-msgdb-overview-entity-get-from,
3250         elmo-msgdb-overview-entity-set-from,
3251         elmo-msgdb-overview-entity-get-subject,
3252         elmo-msgdb-overview-entity-get-subject-no-decode,
3253         elmo-msgdb-overview-entity-set-subject,
3254         elmo-msgdb-overview-entity-get-date,
3255         elmo-msgdb-overview-entity-set-date,
3256         elmo-msgdb-overview-entity-get-to,
3257         elmo-msgdb-overview-entity-get-cc,
3258         elmo-msgdb-overview-entity-get-size,
3259         elmo-msgdb-overview-entity-set-size,
3260         elmo-msgdb-overview-entity-get-extra,
3261         elmo-msgdb-overview-entity-set-extra,
3262         elmo-msgdb-overview-entity-get-extra-field,
3263         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3264         (elmo-msgdb-make-index): Use
3265         `elmo-msgdb-overview-entity-get-number-internal'.
3266         (elmo-msgdb-clear-index): Ditto.
3267         (elmo-msgdb-append-entity): Ditto;
3268         Use `elmo-msgdb-overview-entity-get-id-internal'.
3269
3270         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3271         elmo-msgdb-overview-entity-set-number,
3272         elmo-msgdb-overview-entity-get-references,
3273         elmo-msgdb-overview-entity-set-references,
3274         elmo-msgdb-overview-entity-get-from-no-decode,
3275         elmo-msgdb-overview-entity-get-from,
3276         elmo-msgdb-overview-entity-set-from,
3277         elmo-msgdb-overview-entity-get-subject,
3278         elmo-msgdb-overview-entity-get-subject-no-decode,
3279         elmo-msgdb-overview-entity-set-subject,
3280         elmo-msgdb-overview-entity-get-date,
3281         elmo-msgdb-overview-entity-set-date,
3282         elmo-msgdb-overview-entity-get-to,
3283         elmo-msgdb-overview-entity-get-cc,
3284         elmo-msgdb-overview-entity-get-size,
3285         elmo-msgdb-overview-entity-set-size,
3286         elmo-msgdb-overview-entity-get-extra,
3287         elmo-msgdb-overview-entity-set-extra,
3288         elmo-msgdb-overview-entity-get-extra-field,
3289         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3290         and rewrote for backward compatibility.
3291
3292 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3293
3294         * elmo.el (elmo-message-entity-number,
3295         elmo-message-entity-set-number,
3296         elmo-message-entity-field,
3297         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3298
3299         * elmo-msgdb.el (elmo-message-entity-number,
3300         elmo-message-entity-set-number,
3301         elmo-message-entity-field,
3302         elmo-message-entity-set-field): Moved from elmo.el.
3303
3304 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3305
3306         * elmo.el (toplevel): Changed definition orders.
3307
3308 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3309
3310         * modb.el (elmo-msgdb-search): New API .
3311         (elmo-msgdb-match-condition): Ditto.
3312
3313         * modb-standard.el (elmo-msgdb-search): Define.
3314
3315         * modb-legacy.el (elmo-msgdb-search): Ditto.
3316
3317         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3318         from elmo-msgdb-match-condition-internal.
3319
3320         * elmo.el (elmo-folder-search-fast): Abolish.
3321         (elmo-folder-search): Use elmo-msgdb-search and
3322         elmo-with-progress-display.
3323
3324         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3325         as msgdb API.
3326
3327         * elmo.el (elmo-folder): Remove slot message-modified and
3328         flag-modified.
3329         (elmo-folder-set-message-modified): Abolish.
3330         (elmo-generic-folder-commit): Follow the change above.
3331         (elmo-folder-synchronize): Ditto.
3332
3333         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3334
3335         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3336
3337         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3338
3339 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3340
3341         * modb-standard.el (modb-standard-make-message-entity,
3342         elmo-msgdb-make-message-entity,
3343         elmo-msgdb-create-message-entity-from-buffer,
3344         elmo-msgdb-message-entity-number,
3345         elmo-msgdb-message-entity-set-number,
3346         elmo-msgdb-message-entity-field,
3347         elmo-msgdb-message-entity-set-field,
3348         elmo-msgdb-copy-message-entity,
3349         elmo-msgdb-match-condition-internal): Remove.
3350
3351         * modb-entity.el: New file (again).
3352
3353         * modb.el (toplevel): Require modb-entity.
3354         (elmo-msgdb-message-entity-handler): New method.
3355
3356         * modb-standard.el (modb-standard-entity-id): Use
3357         elmo-message-entity-handler.
3358         (modb-standard-load-entity): Ditto.
3359         (elmo-msgdb-append-entity): Ditto.
3360         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3361
3362         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3363         elmo-msgdb-decoded-cache-hashtb,
3364         (modb-legacy-make-message-entity,
3365         elmo-msgdb-make-message-entity,
3366         elmo-msgdb-create-message-entity-from-buffer,
3367         elmo-msgdb-message-entity-number,
3368         elmo-msgdb-message-entity-set-number,
3369         elmo-msgdb-message-entity-field,
3370         elmo-msgdb-message-entity-set-field,
3371         elmo-msgdb-copy-message-entity,
3372         elmo-msgdb-match-condition-internal,
3373         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3374
3375         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3376         (elmo-message-entity-set-number): Ditto.
3377         (elmo-message-entity-field): Ditto.
3378         (elmo-message-entity-set-field): Ditto.
3379
3380         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3381
3382         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3383
3384         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3385
3386         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3387         (elmo-nntp-msgdb-create-message): Ditto.
3388
3389         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3390         (elmo-folder-msgdb-create): Add unread flag.
3391
3392         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3393
3394         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3395
3396         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3397
3398         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3399
3400         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3401         elmo-msgdb-messge-entity-handler.
3402         * elmo-version.el (elmo-version): Up to 2.11.17.
3403
3404 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3405
3406         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3407         change.
3408
3409 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3410
3411         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3412
3413         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3414         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3415         (elmo-msgdb-flag-table): Ditto.
3416         (elmo-msgdb-sort-by-date): Ditto.
3417
3418         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3419
3420         * modb-standard.el (toplevel): Require mime.
3421         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3422         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3423         elmo-msgdb-message-entity-number.
3424         (elmo-msgdb-append-entity): Ditto.
3425         (elmo-msgdb-create-message-entity-from-file): Remove.
3426         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3427         corresponds to the entity.
3428         (elmo-msgdb-message-entity-number): Do nothing currently.
3429         (elmo-msgdb-message-entity-field): Ditto.
3430         (elmo-msgdb-message-entity-set-field): Ditto.
3431         (elmo-msgdb-copy-message-entity): Ditto.
3432         (elmo-msgdb-match-condition-internal): Ditto.
3433
3434         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3435         elmo-util.el.
3436         (elmo-msgdb-create-message-entity-from-file): Remove.
3437
3438         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3439         modb-legacy.el.
3440         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3441
3442         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3443
3444 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3445
3446         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3447         (elmo-msgdb-message-entity-field): Ditto.
3448         (elmo-msgdb-message-entity-number): Ditto.
3449
3450 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3451
3452         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3453         Fixed how to set extra field into entity.
3454         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3455         symbol.
3456
3457         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3458         Fixed how to set extra field into entity.
3459         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3460         symbol.
3461
3462 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3463
3464         * modb.el (elmo-message-entity-db): New function.
3465         (elmo-msgdb-make-message-entity): New API.
3466         (elmo-msgdb-message-entity-number): Ditto.
3467         (elmo-msgdb-message-entity-set-number): Ditto.
3468         (elmo-msgdb-message-entity-field): Ditto.
3469         (elmo-msgdb-message-entity-set-field): Ditto.
3470         (elmo-msgdb-copy-message-entity): Ditto.
3471         (elmo-msgdb-create-message-entity-from-file): Ditto.
3472         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3473         (elmo-msgdb-match-condition-internal): Ditto.
3474
3475         * modb-standard.el (modb-legacy): Require modb-legacy.
3476         (modb-standard-make-message-entity): New inline function.
3477         (elmo-msgdb-make-message-entity): Define.
3478         (elmo-msgdb-create-message-entity-from-file): Ditto.
3479         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3480         (elmo-msgdb-message-entity-field): Ditto.
3481         (elmo-msgdb-message-entity-set-field): Ditto.
3482         (elmo-msgdb-copy-message-entity): Ditto.
3483         (elmo-msgdb-match-condition-internal): Ditto.
3484
3485         * modb-legacy.el: Don't require modb-entity.
3486         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3487         (elmo-msgdb-match-condition-primitive): Ditto.
3488         (elmo-msgdb-get-decoded-cache): Ditto.
3489         (elmo-msgdb-overview-entity-get-id): Ditto.
3490         (elmo-msgdb-overview-entity-get-number): Ditto.
3491         (elmo-msgdb-overview-entity-set-number): Ditto.
3492         (elmo-msgdb-overview-entity-get-references): Ditto.
3493         (elmo-msgdb-overview-entity-set-references): Ditto.
3494         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3495         (elmo-msgdb-overview-entity-get-from): Ditto.
3496         (elmo-msgdb-overview-entity-set-from): Ditto.
3497         (elmo-msgdb-overview-entity-get-subject): Ditto.
3498         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3499         (elmo-msgdb-overview-entity-set-subject): Ditto.
3500         (elmo-msgdb-overview-entity-get-date): Ditto.
3501         (elmo-msgdb-overview-entity-set-date): Ditto.
3502         (elmo-msgdb-overview-entity-get-to): Ditto.
3503         (elmo-msgdb-overview-entity-get-cc): Ditto.
3504         (elmo-msgdb-overview-entity-get-size): Ditto.
3505         (elmo-msgdb-overview-entity-set-size): Ditto.
3506         (elmo-msgdb-overview-entity-get-extra): Ditto.
3507         (elmo-msgdb-overview-entity-set-extra): Ditto.
3508         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3509         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3510         (elmo-msgdb-number-load): Ditto.
3511         (elmo-msgdb-overview-load): Ditto.
3512         (elmo-msgdb-mark-load): Ditto.
3513         (elmo-msgdb-number-save): Ditto.
3514         (elmo-msgdb-mark-save): Ditto.
3515         (elmo-msgdb-overview-save): Ditto.
3516         (modb-legacy-make-message-entity): New inline function.
3517         (elmo-msgdb-insert-file-header): Ditto.
3518         (elmo-msgdb-make-message-entity): Define.
3519         (elmo-msgdb-create-message-entity-from-file): Ditto.
3520         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3521         (elmo-msgdb-message-entity-number): Ditto.
3522         (elmo-msgdb-message-entity-set-number): Ditto.
3523         (elmo-msgdb-message-entity-field): Ditto.
3524         (elmo-msgdb-message-entity-set-field): Ditto.
3525         (elmo-msgdb-copy-message-entity): Ditto.
3526         (elmo-msgdb-match-condition-internal): Ditto.
3527
3528         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3529         (elmo-message-copy-entity): Rewrite.
3530         (elmo-message-entity-number): Ditto.
3531         (elmo-message-entity-set-number): Ditto.
3532         (elmo-message-entity-field): Use elmo-message-entity-db.
3533         (elmo-message-entity-set-field): Ditto.
3534         (elmo-message-field): Rewrite.
3535
3536         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3537         elmo-msgdb.el
3538         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3539
3540         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3541         elmo-message-entity-field.
3542         (elmo-shimbun-folder-shimbun-header): Ditto.
3543         (elmo-shimbun-entity-to-header): Ditto.
3544         (elmo-folder-msgdb-create): Ditto.
3545         (elmo-shimbun-msgdb-create-entity): Ditto;
3546         Use elmo-msgdb-create-message-entity-from-buffer.
3547         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3548         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3549
3550         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3551         elmo-msgdb-create-message-entity-from-file and 
3552         elmo-message-entity-field.
3553
3554         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3555         elmo-message-entity-number.
3556         (elmo-pop3-msgdb-create-message): Use
3557         elmo-msgdb-create-message-entity-from-buffer,
3558         elmo-message-entity-set-field, elmo-message-entity-number and
3559         elmo-message-entity-set-number.
3560
3561         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3562         the API change in elmo-msgdb-make-message-entity.
3563         (elmo-nntp-msgdb-create-message): Use
3564         elmo-msgdb-create-message-entity-from-buffer.
3565
3566         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3567         elmo-message-entity-field and
3568         elmo-msgdb-create-message-entity-from-file.
3569
3570         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3571         (elmo-msgdb-get-field): Abolish.
3572         (elmo-msgdb-get-number): Rewrite.
3573         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3574         (elmo-msgdb-flag-table): Ditto.
3575         (elmo-msgdb-get-last-message-id,
3576         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3577         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3578         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3579         (elmo-msgdb-create-overview-from-buffer,
3580         elmo-msgdb-overview-get-parent-entity): Abolish.
3581
3582         * elmo-mime.el (elmo-mime-display-as-is): Use
3583         elmo-message-entity-field.
3584
3585         * elmo-map.el (elmo-folder-pack-numbers): Use
3586         elmo-message-entity-set-number.
3587
3588         * elmo-maildir.el (elmo-folder-msgdb-create): 
3589         elmo-msgdb-create-message-entity-from-file instead of
3590         elmo-msgdb-create-overview-entity-from-file.
3591
3592         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3593         msgdb.
3594         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3595         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3596
3597         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3598         elmo-messge-entity-field and elmo-message-entity-number.
3599         (elmo-imap4-fetch-callback-1): Call
3600         elmo-msgdb-create-message-entity-from-buffer instead of
3601         elmo-msgdb-create-overview-from-buffer. 
3602         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3603         (elmo-find-fetch-strategy): Likewise.
3604
3605         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3606         elmo-localdir-msgdb-create-entity with argument msgdb.
3607
3608         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3609         and elmo-message-entity-set-number.
3610
3611         * elmo-cache.el (elmo-folder-msgdb-create): Use
3612         elmo-message-entity-field.
3613         (elmo-folder-msgdb-create): Call
3614         elmo-msgdb-create-message-entity-from-file instead of
3615         elmo-msgdb-create-overview-entity-from-file.
3616
3617         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3618         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3619         instead of elmo-msgdb-create-overview-from-buffer.
3620         (elmo-archive-msgdb-create-entity): Ditto.
3621         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3622         elmo-message-entity-field.
3623         (elmo-archive-parse-mmdf): Ditto.
3624
3625         * modb-entity.el: Removed.
3626
3627         * elmo-version.el (elmo-version): Up to 2.11.16.
3628
3629 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3630
3631         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3632         `is-local'.
3633         (elmo-folder-flag-as-answered): Ditto.
3634
3635 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3636
3637         * modb-standard.el: New file.
3638
3639         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3640         elmo-msgdb-convert-type is `sync'.
3641
3642         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3643         (elmo-msgdb-convert-type): New user option.
3644
3645         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3646         (elmo-load-msgdb): Auto detect saved type.
3647
3648         * elmo-version.el (elmo-version): Up to 2.11.15.
3649
3650 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3651
3652         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3653
3654         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3655         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3656         with argument `delete-if-none' when dst-folder is 'null.
3657
3658         * elmo-flag.el (elmo-folder-append-messages): Defined.
3659         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3660
3661 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3662
3663         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3664
3665 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3666
3667         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3668         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3669         (elmo-folder-commit): Ditto.
3670
3671 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3672
3673         * elmo-flag.el: New file.
3674
3675         * elmo-mark.el: Removed.
3676
3677         * modb-legacy.el (modb-legacy-new-mark,
3678         modb-legacy-unread-uncached-mark,
3679         modb-legacy-unread-cached-mark,
3680         modb-legacy-read-uncached-mark,
3681         modb-legacy-answered-cached-mark,
3682         modb-legacy-answered-uncached-mark,
3683         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3684         All other related portions are changed.
3685
3686         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3687         (elmo-folder-list-messages-with-global-mark): Abolish.
3688         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3689         (elmo-folder-flag-as-important): Ditto.
3690         (elmo-folder-unflag-read): Ditto.
3691         (elmo-folder-flag-as-read): Ditto.
3692         (elmo-folder-unflag-answered): Ditto.
3693         (elmo-folder-flag-as-answered): Ditto.
3694         (elmo-message-encache): Return the cache path.
3695         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3696         (elmo-message-set-flag): Transitional implementation.
3697         (elmo-message-unset-flag): Ditto.
3698         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3699         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3700         (elmo-init): Call elmo-global-flag-initialize.
3701         (toplevel): Added autoload settings for elmo-flag.
3702
3703         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3704
3705         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3706         (elmo-file-cache-delete): Don't treat global-mark.
3707
3708         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3709
3710         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3711
3712         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3713         `elmo-global-flags-set'.
3714
3715         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3716         `flag'.
3717         (elmo-folder-unflag-read): Ditto.
3718         (elmo-folder-unflag-important): Ditto.
3719         (elmo-folder-flag-as-important): Ditto.
3720         (elmo-folder-unflag-answered): Ditto.
3721         (elmo-folder-flag-as-answered): Ditto.
3722
3723         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3724         `elmo-global-flags-set'.
3725         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3726
3727         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3728
3729         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3730         `flag'.
3731         (elmo-folder-flag-as-important): Ditto.
3732         (elmo-folder-unflag-important): Ditto.
3733         (elmo-folder-flag-as-important): Ditto.
3734         (elmo-folder-unflag-read): Ditto.
3735         (elmo-folder-flag-as-read): Ditto.
3736         (elmo-folder-unflag-answered): Ditto.
3737         (elmo-folder-flag-as-answered): Ditto.
3738
3739         * elmo-multi.el (elmo-folder-list-importants): Don't call
3740         elmo-folder-list-messages-with-global-mark.
3741         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3742         (elmo-folder-unflag-important): Ditto.
3743         (elmo-folder-flag-as-read): Ditto.
3744         (elmo-folder-unflag-read): Ditto.
3745         (elmo-folder-flag-as-answered): Ditto.
3746         (elmo-folder-unflag-answered): Ditto.
3747
3748         * elmo-msgdb.el (elmo-msgdb-new-mark,
3749         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3750         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3751         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3752         (Moved to modb-legacy.el).
3753         (elmo-flag-table-get): Treat important flag too.
3754
3755         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3756         `mark' to `flag'.
3757         (elmo-map-folder-flag-as-important): Ditto.
3758         (elmo-map-folder-unflag-read): Ditto.
3759         (elmo-map-folder-flag-as-read): Ditto.
3760         (elmo-map-folder-unflag-answered): Ditto.
3761         (elmo-map-folder-flag-as-answered): Ditto.
3762         (elmo-folder-unflag-important): Ditto.
3763         (elmo-folder-flag-as-important): Ditto.
3764         (elmo-folder-unflag-read): Ditto.
3765         (elmo-folder-flag-as-read): Ditto.
3766         (elmo-folder-unflag-answered): Ditto.
3767         (elmo-folder-flag-as-answered): Ditto.
3768
3769         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3770         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3771         `flag'.
3772         (elmo-map-folder-unflag-important): Ditto.
3773         (elmo-map-folder-flag-as-read): Ditto.
3774         (elmo-map-folder-unflag-read): Ditto.
3775         (elmo-map-folder-flag-as-answered): Ditto.
3776         (elmo-map-folder-unflag-answered): Ditto.
3777
3778         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3779         `elmo-global-flags-set'.
3780         (elmo-global-flags-set): Added autoload setting.
3781
3782         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3783         `flag'.
3784
3785         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3786         `elmo-msgdb-global-mark-set'.
3787         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3788         Call `elmo-global-flags-set'.
3789         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3790         `flag'.
3791         (elmo-folder-flag-as-important-plugged): Ditto.
3792         (elmo-folder-unflag-read-plugged): Ditto.
3793         (elmo-folder-flag-as-read-plugged): Ditto.
3794         (elmo-folder-unflag-answered-plugged): Ditto.
3795         (elmo-folder-flag-as-answered-plugged): Ditto.
3796         (elmo-global-flags-set): Added autoload setting.
3797
3798         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3799         `flag'.
3800         (elmo-folder-unflag-read): Ditto.
3801         (elmo-folder-flag-as-important): Ditto.
3802         (elmo-folder-unflag-important): Ditto.
3803         (elmo-folder-flag-as-answered): Ditto.
3804         (elmo-folder-unflag-answered): Ditto.
3805
3806         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3807         change of `mark'->`flag'.
3808         (elmo-dop-queue-method-name-alist): Ditto.
3809         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3810         (elmo-folder-unflag-read-dop): Ditto.
3811         (elmo-folder-flag-as-important-dop): Ditto.
3812         (elmo-folder-unflag-important-dop): Ditto.
3813         (elmo-folder-flag-as-answered-dop): Ditto.
3814         (elmo-folder-unflag-answered-dop): Ditto.
3815
3816         * elmo-cache.el (elmo-folder-msgdb-create): Call
3817         `elmo-global-flags-set'.
3818
3819         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3820         Call `elmo-global-flags-set'.
3821         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3822         elmo-archive-parse-mmdf with argument `folder'.
3823         (elmo-archive-parse-mmdf): Added argument `folder';
3824         Call `elmo-global-flags-set'.
3825
3826         * elmo-version.el (elmo-version): Up to 2.11.14.
3827
3828 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3829
3830         * modb.el (elmo-msgdb-length): Define.
3831
3832         * elmo.el (elmo-make-folder): Fixed.
3833         (elmo-generic-folder-append-messages): Follow the API change.
3834
3835         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3836         API change.
3837
3838 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3839
3840         * modb.el: New file.
3841
3842         * modb-entity.el: Ditto.
3843
3844         * modb-legacy.el: Ditto.
3845
3846         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3847         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3848         of `elmo-msgdb-overview-get-entity'.
3849         (elmo-msgdb-get-field): Ditto.
3850         (elmo-msgdb-merge): Moved to `elmo.el'.
3851         (elmo-msgdb-length): Removed; redefine as modb method.
3852         (elmo-msgdb-change-mark): Abolish.
3853         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3854         (elmo-msgdb-match-condition): Don't use mark.
3855         (elmo-msgdb-overview-get-entity): Abolish.
3856         Split modb part into `modb*.el'.
3857
3858         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3859
3860         * elmo-shimbun.el (shimbun-mua-search-id): Use
3861         `elmo-msgdb-message-entity' instead of
3862         `elmo-msgdb-overview-get-entity'.
3863         (elmo-shimbun-folder-shimbun-header): Ditto.
3864         (elmo-shimbun-get-headers): Ditto.
3865         (elmo-shimbun-update-overview): Ditto.
3866
3867         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3868
3869         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3870
3871         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3872         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3873
3874         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3875         `elmo-msgdb-mark-to-flags'.
3876
3877         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3878         `elmo-msgdb-set-path'.
3879
3880         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3881  
3882         * elmo-version.el (elmo-version): Up to 2.11.13.
3883
3884         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3885
3886         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3887         of mark.
3888
3889 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3890
3891         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3892         mismatch.
3893
3894 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3895
3896         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3897         instead of `elmo-msgdb-get-cached'.
3898         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3899
3900         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3901         (elmo-msgdb-set-cached): Ditto.
3902         (elmo-msgdb-set-flag): Rewrite.
3903         (elmo-msgdb-unset-flag): Ditto.
3904
3905         * elmo-msgdb.el: Rewrite with luna.
3906
3907         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3908         (elmo-folder-msgdb): Follow the change above.
3909         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3910         (elmo-folder-unmark-important): Follow the API change.
3911         (elmo-folder-mark-as-important): Ditto.
3912         (elmo-folder-unmark-read): Ditto.
3913         (elmo-folder-mark-as-read): Ditto.
3914         (elmo-folder-unmark-answered): Ditto.
3915         (elmo-folder-mark-as-answered): Ditto.
3916         (elmo-folder-clear): Likewise.
3917
3918         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3919         instead of `elmo-msgdb-load' (renamed).
3920
3921         * elmo-version.el (elmo-version): Up to 2.11.12.
3922
3923 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3924
3925         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3926         change.
3927         (elmo-message-mark): Abolish.
3928         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3929         instead of `elmo-msgdb-change-mark'.
3930
3931         * elmo-pipe.el (elmo-message-mark): Abolish.
3932
3933         * elmo-multi.el (elmo-message-mark): Ditto.
3934
3935         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3936         (elmo-msgdb-unread-uncached-mark): Ditto.
3937         (elmo-msgdb-unread-cached-mark): Ditto.
3938         (elmo-msgdb-read-uncached-mark): Ditto.
3939         (elmo-msgdb-answered-cached-mark): Ditto.
3940         (elmo-msgdb-answered-uncached-mark): Ditto.
3941         (elmo-msgdb-important-mark): Ditto.
3942         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3943         `use-cache'.
3944         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3945         `flags'.
3946         (elmo-flag-table-load): Changed flag to list of flag.
3947         (elmo-flag-table-set): If flags is nil, set read flag.
3948         (elmo-flag-table-get): Return derived flags from global mark,
3949         cache status and saved flags.
3950         (elmo-msgdb-flag-table): Follow the change above.
3951         (elmo-msgdb-out-of-date-messages): New function.
3952
3953         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3954
3955         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3956
3957         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3958
3959         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3960         (elmo-nntp-msgdb-create-message): Ditto.
3961
3962         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3963
3964         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3965         independent.
3966         (elmo-folder-msgdb-create): Follow the API change.
3967
3968         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3969         (elmo-folder-append-messages): Ditto.
3970
3971         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3972         (elmo-folder-append-buffer): Ditto.
3973
3974         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3975
3976         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3977
3978         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3979         (elmo-archive-parse-mmdf): Ditto.
3980
3981         * elmo-version.el (elmo-version): Up to 2.11.11.
3982
3983 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3984
3985         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3986         `elmo-msgdb-mark'.
3987
3988         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3989
3990         * elmo-pipe.el (elmo-message-flags): Defined.
3991
3992         * elmo-multi.el (elmo-message-flags): Ditto.
3993
3994 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3995
3996         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3997         `elmo-msgdb-delete-msgs'.
3998
3999         * elmo.el (elmo-folder-count-flags): Don't use
4000         `elmo-msgdb-get-mark-alist'.
4001         (elmo-folder-detach-messages): Follow the API change.
4002
4003         * elmo.el (elmo-folder-list-messages): Append killed messages into
4004         result if `visible-only' is nil.
4005
4006         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4007         canceled messages.
4008         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4009         (elmo-folder-update-number): Likewise.
4010
4011         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4012         (elmo-pop3-sort-msgdb-by-original-number): Use
4013         `elmo-msgdb-sort-entities'.
4014
4015         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4016         (elmo-msgdb-sort-by-date): Use it.
4017         (elmo-msgdb-overview-sort-by-date): Abolish.
4018
4019         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4020
4021         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4022         (elmo-msgdb-flags): New function.
4023         (elmo-msgdb-merge): Use elmo-msgdb-append.
4024
4025         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4026         change.
4027
4028         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4029
4030         * elmo-dop.el (elmo-folder-status-dop): Use
4031         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4032
4033 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4034
4035         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4036
4037         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4038
4039         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4040
4041         * elmo-util.el (elmo-with-progress-display): New macro.
4042
4043         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4044
4045 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4046
4047         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4048         `elmo-folder-list-message-entities' instead of
4049         `elmo-msgdb-get-overview'.
4050         (elmo-map-folder-list-message-locations): Ditto.
4051
4052         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4053         methods instead of treat directly).
4054         (elmo-msgdb-clear): Ditto.
4055         (elmo-msgdb-delete-msgs): Ditto.
4056         (elmo-msgdb-sort-by-date): Ditto.
4057
4058         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4059         local variables.
4060         (elmo-nntp-folder-msgdb-create): Follow the API change.
4061
4062         * elmo-version.el (elmo-version): Up to 2.11.10.
4063
4064 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4065
4066         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4067         (elmo-msgdb-flags-to-mark): Ditto.
4068         (elmo-msgdb-append-entity): Ditto.
4069
4070         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4071         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4072         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4073         (elmo-archive-parse-mmdf): Ditto.
4074
4075         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4076
4077         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4078
4079         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4080
4081         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4082
4083         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4084
4085         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4086
4087         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4088
4089         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4090
4091         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4092         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4093         to empty msgdb.
4094
4095         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4096         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4097         instead of directly construction.
4098         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4099         instead of construct msgdb.
4100
4101         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4102         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4103         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4104         instead of construct msgdb.
4105
4106 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4107
4108         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4109         when field is from or subject.
4110
4111 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4112
4113         * elmo-multi.el (elmo-message-entity-parent): Define.
4114         (elmo-folder-search): Rewrite.
4115
4116 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4117
4118         * elmo-multi.el (elmo-message-cached-p): Define.
4119
4120         * elmo.el (elmo-message-cached-p): New method.
4121         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4122         (elmo-message-flags): New method.
4123         (elmo-message-flagged-p): New function.
4124
4125         * elmo-version.el (elmo-version): Up to 2.11.9.
4126
4127 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4128
4129         * elmo-version.el (elmo-version): Up to 2.11.8.
4130
4131         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4132
4133         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4134
4135 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4136
4137         * elmo.el (elmo-folder-detach-messages): Undo last change.
4138
4139 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4140
4141         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4142
4143         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4144         only when src folder type is pop3.
4145
4146 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4147
4148         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4149         elmo-msgdb-overview-entity-get-number instead of
4150         elmo-message-entity-number.
4151
4152 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4153
4154         * elmo-version.el (elmo-version): Up to 2.11.7.
4155
4156 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4157
4158         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4159         function.
4160
4161         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4162         (elmo-msgdb-merge): New function.
4163         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4164         (elmo-msgdb-make-index): Rewrite.
4165
4166         * elmo-version.el (elmo-version): Up to 2.11.6.
4167
4168         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4169         use it as a the path for loading message entities.
4170
4171         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4172
4173 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4174
4175         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4176         message-modified slot of itself if it does not require target msgdb.
4177
4178         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4179         if folder length is zero.
4180         (elmo-mime-display-as-is): Ditto.
4181
4182         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4183
4184         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4185
4186 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4187
4188         * elmo.el (elmo-folder-set-message-modified): New method.
4189         (elmo-generic-folder-commit): Use it.
4190         (elmo-folder-synchronize): Ditto.
4191
4192         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4193         (elmo-folder-commit): Remove duplicate definition.
4194
4195 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4196
4197         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4198
4199 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4200
4201         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4202         (elmo-strict-folder-diff): Ditto.
4203         (elmo-folder-set-info-max-by-numdb): Simplify.
4204
4205         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4206         elmo-msgdb-list-messages.
4207
4208         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4209         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4210
4211 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4212
4213         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4214         visible-only is non-nil.
4215         (elmo-folder-confirm-appends): Changed message.
4216         (elmo-folder-synchronize): Added argument disable-killed.
4217
4218         * elmo-multi.el (elmo-folder-synchronize): Added argument
4219         disable-killed.
4220
4221         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4222
4223         * elmo-version.el (elmo-version): Up to 2.11.5.
4224
4225         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4226         elmo-list-filter.
4227
4228         * elmo-util.el (elmo-list-filter): Simplify.
4229
4230         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4231         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4232         (elmo-generic-folder-diff): Abolish argument.
4233         (elmo-msgdb-load): Don't use number-alist.
4234
4235         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4236
4237         * elmo-pipe.el (elmo-folder-diff): Ditto.
4238
4239         * elmo-nmz.el (elmo-folder-diff): Ditto.
4240
4241         * elmo-net.el (elmo-folder-diff): Ditto.
4242
4243         * elmo-maildir.el (elmo-folder-diff): Ditto.
4244
4245         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4246
4247         * elmo-multi.el (elmo-folder-diff): Ditto
4248         (elmo-multi-folder-diff): Rewrite.
4249
4250 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4251
4252         * elmo-pipe.el (elmo-folder-msgdb): Define.
4253
4254 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4255
4256         * elmo.el (elmo-message-set-cached): Define as a method.
4257
4258         * elmo-pipe.el (elmo-message-set-cached): Define.
4259         (elmo-find-fetch-strategy): Ditto.
4260
4261         * elmo-multi.el (elmo-message-set-cached): Define.
4262         (elmo-find-fetch-strategy): Rewrite.
4263
4264         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4265
4266         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4267
4268 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4269
4270         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4271         instead of number-alist.
4272
4273         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4274         mark nor message-id when msgdb of source folder is not loaded.
4275
4276         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4277
4278         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4279
4280 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4281
4282         * elmo.el (elmo-folder-length): Don't require msgdb.
4283
4284 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4285
4286         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4287         (elmo-message-field): Ditto.
4288
4289         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4290         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4291         slot.
4292         (elmo-map-folder-list-answereds): Define.
4293         (elmo-maildir-list-location): Treat 'R' info.
4294         (elmo-folder-msgdb-create): Treat flag-table.
4295         (elmo-folder-append-messages): Save flag-table.
4296
4297 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4298
4299         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4300         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4301
4302 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4303
4304         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4305
4306         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4307         'read when mark is null.
4308
4309 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4310
4311         * elmo-version.el (elmo-version): Up to 2.11.4.
4312
4313 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4314
4315         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4316         (elmo-folder-mark-as-answered): Ditto.
4317
4318 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4319
4320         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4321         (elmo-pop3-get-session): Make msgdb directory after session.
4322         (elmo-folder-exists-p): Check exactly at the first time even when the
4323         elmo-pop3-exists-exactly is nil.
4324
4325         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4326         (elmo-folder-list-messages): Define instead of
4327         elmo-folder-list-messages-internal.
4328         (elmo-folder-check): Check destination folder.
4329         (elmo-folder-synchronize): Drain the pipe.
4330
4331         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4332         when msgdb is not loaded.
4333
4334         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4335
4336         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4337         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4338         messages.
4339
4340         * elmo.el (elmo-folder-kill-messages-before): New function.
4341         (elmo-folder-kill-messages): Ditto.
4342         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4343
4344         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4345         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4346         killed not by synchronize (e.g. scoring).
4347
4348 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4349
4350         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4351         treated.
4352         (elmo-folder-search): Follow the change above.
4353
4354         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4355         into the candidates of search field.
4356
4357 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4358
4359         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4360         (elmo-msgdb-unset-flag): Ditto.
4361
4362         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4363
4364 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4365
4366         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4367         (elmo-folder-commit): Define.
4368         (elmo-folder-synchronize): Ditto.
4369         (elmo-folder-list-flagged): Ditto.
4370         (elmo-folder-commit): Ditto.
4371         (elmo-folder-length): Ditto.
4372         (elmo-folder-count-flags): Ditto.
4373         (elmo-message-mark): Ditto.
4374         (elmo-message-field): Ditto.
4375         (elmo-message-entity): Ditto.
4376         (elmo-message-folder): Ditto.
4377
4378 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4379
4380         * elmo.el (elmo-message-field): Define as a method.
4381
4382         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4383         (elmo-message-field): Define.
4384
4385         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4386         (elmo-folder-list-importants): Ditto.
4387         (elmo-folder-list-answereds): Ditto.
4388
4389         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4390         qualifier.
4391         (elmo-folder-mark-as-read): Ditto.
4392         (elmo-folder-unmark-read): Ditto.
4393         (elmo-folder-mark-as-answered): Ditto.
4394         (elmo-folder-unmark-answered): Ditto.
4395         (elmo-folder-list-flagged): Define.
4396         (elmo-folder-commit): Ditto.
4397         (elmo-folder-length): Ditto.
4398         (elmo-folder-count-flags): Ditto.
4399
4400 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4401
4402         * elmo.el (elmo-folder-detach-messages): New method.
4403         (elmo-folder-move-messages): Use it.
4404         (elmo-folder-synchronize): Ditto.
4405
4406         * elmo-multi.el (elmo-folder-detach-messages): Define.
4407
4408         * elmo.el (elmo-message-copy-entity): New function.
4409         (elmo-message-entity-set-number): Ditto.
4410         (elmo-message-mark): Define as method.
4411
4412         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4413         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4414         (elmo-message-entity): Fixed last change.
4415         (elmo-message-mark): Define.
4416         (elmo-folder-msgdb-create): Abolish.
4417         (elmo-multi-folder-append-msgdb): Ditto.
4418         (elmo-multi-folder-diff): Fixed.
4419         (elmo-multi-split-number-alist): Removed.
4420         (elmo-multi-split-mark-alist): Removed.
4421         (elmo-folder-list-messages): Define.
4422         (elmo-folder-list-messages-internal): Removed.
4423
4424         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4425         local file messages.
4426         (elmo-folder-msgdb-create): Fixed read mark.
4427
4428 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4429
4430         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4431         if mark is nil.
4432
4433 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4434
4435         * elmo.el (elmo-folder-list-message-entities): Define as inline
4436         function.
4437         (elmo-folder-messages): Abolish.
4438
4439         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4440         folder.
4441         (elmo-folder-synchronize): Define.
4442         (elmo-message-entity): Define.
4443
4444 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4445
4446         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4447         elmo-imap4-session-select-mailbox.
4448
4449         * elmo.el (elmo-folder-move-messages): Don't display any message.
4450
4451         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4452         parsing.
4453         (elmo-imap4-session-check): Don't wait CHECK response.
4454         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4455
4456 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4457
4458         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4459
4460 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4461
4462         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4463         API.
4464         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4465
4466
4467         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4468         (elmo-folder-list-message-entities): Added argument in-msgdb and
4469         numbers.
4470         (elmo-folder-synchronize): Define as a method.
4471
4472         * elmo-nntp.el (elmo-folder-initialize): Don't use
4473         elmo-nntp-default-user if zero-length username is specified
4474         explicitly.
4475
4476 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4477
4478         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4479         server name in case with username.
4480         (XXX: this is ad-hoc fix against username includes "@", it
4481         should be solved fundamentally)
4482
4483 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4484
4485         * elmo-nntp.el (elmo-nntp-debug): New function.
4486         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4487         (elmo-network-authenticate-session): Hide auth-info from the log.
4488
4489         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4490         user name if it is equal to elmo-nntp-default-user.
4491
4492 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4493
4494         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4495         instead of shimbun-server-internal;
4496         Use shimbun-current-group instead of shimbun-current-group-internal.
4497         (elmo-folder-plugged-p): Use shimbun-server instead of
4498         shimbun-server-internal.
4499         (elmo-folder-set-plugged): Ditto.
4500         (elmo-net-port-info): Ditto.
4501         (elmo-folder-check): Ditto.
4502         (elmo-folder-expand-msgdb-path): Ditto.
4503         (elmo-folder-list-subfolders): Ditto.
4504
4505 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4506
4507         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4508         Convert field-name to lower case.
4509         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4510
4511 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4512
4513         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4514         `message' and `error' take format string.
4515
4516 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4517
4518         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4519
4520 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4521
4522         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4523         recursive call (can't byte compile on emacs 20.7).
4524
4525 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4526
4527         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4528         (elmo-folder-list-message-entities): New API.
4529         (elmo-message-entity): Ditto.
4530         (elmo-message-entity-parent): Ditto.
4531         (elmo-folder-do-each-message-entity): Ditto.
4532         (elmo-message-entity-number): Ditto.
4533         (elmo-message-entity-field): Ditto.
4534         (elmo-message-entity-set-field): Ditto.
4535         (elmo-folder-count-flags): Ditto.
4536         (elmo-folder-length): Ditto.
4537
4538         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4539         not.
4540
4541         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4542         (elmo-msgdb-count-marks): Abolish.
4543         (elmo-msgdb-make-entity): Ditto.
4544         (elmo-msgdb-do-each-entity): Ditto.
4545         (elmo-msgdb-message-entity): New inline function.
4546         (elmo-msgdb-message-entity-field): Ditto.
4547         (elmo-msgdb-message-entity-set-field): Ditto.
4548         (elmo-msgdb-make-message-entity): New function.
4549
4550 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4551
4552         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4553         to flag. (All other related portions are changed.)
4554         (elmo-folder-msgdb-create): Likewise.
4555         (elmo-generic-folder-append-messages): Use flag-table instead of
4556         seen-list.
4557         (elmo-folder-move-messages): Removed redundant process.
4558         (elmo-folder-synchronize): Likewise.
4559
4560         * elmo-msgdb.el (elmo-flag-table-get): New function.
4561         (elmo-flag-table-save): Fixed.
4562         (elmo-msgdb-length): New inline function.
4563         (elmo-msgdb-flag-table): New function.
4564         (elmo-msgdb-mark): Add optional argument new.
4565         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4566         (elmo-msgdb-seen-list): Ditto.
4567         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4568
4569
4570 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4571
4572         * elmo.el (elmo-message-set-mark): Abolish.
4573         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4574         (All related portions are changed.)
4575
4576         * elmo-msgdb.el (toplevel): Added comment.
4577         (elmo-load-msgdb): Added 4th element `path'.
4578         (elmo-msgdb-append): Follow the change above.
4579         (elmo-msgdb-clear): Ditto.
4580         (elmo-msgdb-delete-msgs): Ditto.
4581         (elmo-msgdb-get-path): New inline function.
4582         (elmo-msgdb-set-path): Ditto.
4583         (elmo-flag-table-filename): New variable.
4584         (elmo-flag-table-load): New function.
4585         (elmo-flag-table-set): Ditto.
4586         (elmo-flag-table-save): Ditto.
4587         (elmo-msgdb-get-field-value): Abolish.
4588         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4589
4590 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4591
4592         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4593         the folder has been deleted successfully.
4594         * elmo-imap4.el (elmo-folder-delete): Ditto.
4595         * elmo-archive.el (elmo-folder-delete): Ditto.
4596         * elmo-localdir.el (elmo-folder-delete): Ditto.
4597         * elmo-maildir.el (elmo-folder-delete): Ditto.
4598
4599 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4600
4601         * elmo-util.el (elmo-string-member-ignore-case): New function.
4602         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4603         (elmo-imap4-fetch-callback-1-subr): Likewise.
4604
4605 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4606
4607         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4608         the case of the name attribute "\Noselect".
4609
4610 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4611
4612         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4613
4614         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4615         flist, is not always a member of onum-alist.
4616
4617 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4618
4619         * elmo-version.el (elmo-version): Up to 2.11.3.
4620
4621 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4622
4623         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4624         copied from localdir's one.
4625
4626         * elmo-pipe.el (elmo-folder-rename): New method, rename
4627         destination folder with leaving source folder as it is.
4628
4629 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4630
4631         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4632         replace-regexp.
4633
4634 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4635
4636         * elmo-version.el (elmo-version): Up to 2.11.2.
4637
4638 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4639
4640         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4641         shimbun-open in case of "@".
4642         (elmo-folder-open-internal): Cope with shimbun = nil case.
4643         (elmo-folder-plugged-p): Ditto.
4644         (elmo-folder-list-subfolders): Make list for "@/" group.
4645
4646 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4647
4648         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4649         mailbox (e.g. for %~/something).
4650
4651 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4652
4653         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4654         Replace nested conditional with guard clauses.
4655
4656 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4657
4658         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4659         error [wl:11327].
4660
4661         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4662         print-depth.
4663
4664 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4665
4666         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4667         Replace nested conditional with guard clauses.
4668
4669 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4670
4671         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4672         (elmo-passwd-alist-save): Ditto.
4673         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4674
4675 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4676
4677         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4678         dir-name only if it is absolute path.
4679         (TODO: distinguish +/something and +something)
4680
4681 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4682
4683         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4684         path for "+~/something".
4685
4686 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4687
4688         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4689         as non-directory, cause error before rename-file.
4690         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4691         apropriately, mimic localdir's one.
4692         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4693
4694 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4695
4696         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4697
4698 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4699
4700         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4701
4702         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4703         
4704         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4705         is included in the global-mark or not.
4706
4707 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4708
4709         * utf7.el (toplevel): Avoid error when the function
4710         find-coding-system does not exist.
4711
4712 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4713
4714         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4715         cache even if the folder is plugged.
4716         (elmo-nntp-search-primitive): Do nothing when body search is
4717         invoked (although it is not used by the change above).
4718         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4719
4720 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4721
4722         * elmo-version.el (elmo-version): Up to 2.11.1.
4723
4724 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4725
4726         * elmo-archive.el: Specify charset.
4727
4728 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4729
4730         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4731         process buffer lives or not.
4732
4733         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4734         while flushing queues (It causes infinite loop).
4735
4736 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4737
4738         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4739
4740 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4741
4742         * utf7.el (toplevel): Check the ucs features dynamically.
4743         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4744
4745         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4746         folder is creatabe or not if it already exists.
4747
4748 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4749
4750         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4751
4752         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4753
4754         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4755         (elmo-imap4-read-response): Take care of garbage response.
4756
4757 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4758
4759         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4760         just return nil instead of error.
4761
4762 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4763
4764         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4765         search-key is "body".
4766
4767 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4768
4769         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4770         of elmo-string-matched-assoc to use match-data.
4771         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4772
4773 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4774
4775         * elmo-split.el (elmo-split->): New function.
4776         (elmo-split-<): Ditto.
4777
4778 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4779
4780         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4781         workaround for invalid message-id.
4782
4783 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4784
4785         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4786         return normal pop3 session or pop3 biff session.
4787
4788 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4789
4790         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4791         info part to the cur files when the new files already have it.
4792         (Adviced by Jared Rhine <jared@wordzoo.com>)
4793
4794 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4795
4796         * elmo-split.el (elmo-split-default-action): New variable.
4797         (elmo-split-subr): Use it if all other conditions are passed.
4798         Extend `fname' and rename it as `action'. (implemented
4799         Teranishi-san's idea in [wl:10800])
4800
4801 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4802
4803         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4804         * elmo-util.el: Ditto.
4805
4806 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4807
4808         * elmo.el (elmo-message-accessible-p): Renamed from
4809         elmo-message-cached-p and rewritten.
4810
4811 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4812
4813         * elmo.el (elmo-folder-list-flagged): New generic function.
4814         (elmo-folder-list-importants): New implementation.
4815         (elmo-folder-list-answereds): Ditto.
4816         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4817         Added 'digest'.
4818         (elmo-message-cached-p): New function.
4819         (elmo-message-set-flag): Ditto (no content).
4820         (elmo-message-unset-flag): Ditto.
4821         (elmo-folder-list-messages-mark-match): Abolish.
4822
4823         * elmo-util.el (elmo-regexp-opt): New function.
4824
4825         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4826         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4827         Added 'digest'.
4828         (elmo-msgdb-list-flagged): New function.
4829
4830         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4831         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4832         Added 'digest'.
4833
4834         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4835
4836 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4837
4838         * elmo-version.el (elmo-version): Up to 2.11.0.
4839
4840 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4841
4842         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4843         `elmo-file-cache-exists-p'; use proper mark that depends on
4844         `use-cache'.
4845         (elmo-msgdb-unset-flag): Ditto.
4846         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4847
4848         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4849         with 4th argument `use-cache'.
4850
4851 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4852
4853         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4854         (elmo-folder-mark-as-important): Ditto.
4855         (elmo-folder-unmark-read): Ditto.
4856         (elmo-folder-mark-as-read): Ditto.
4857         (elmo-folder-unmark-answered): Ditto.
4858         (elmo-folder-mark-as-answered): Ditto.
4859
4860         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4861         message status.
4862         (elmo-msgdb-mark): Likewise.
4863         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4864         (elmo-msgdb-unset-flag): Likewise.
4865
4866         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4867
4868 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4869
4870         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4871         `last:' filter.
4872
4873 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4874
4875         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4876         set spool-length to 0.
4877
4878 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4879
4880         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4881         (elmo-dop-queue-flush): Fixed last change.
4882
4883 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4884
4885         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4886         if require-msgdb slot is nil.
4887         (elmo-folder-list-importants): Likewise.
4888
4889 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4890
4891         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4892         mark is changed.
4893
4894         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4895         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4896         is changed.
4897
4898 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4899
4900         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4901
4902 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4903
4904         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4905
4906         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4907
4908 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4909
4910         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4911         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4912
4913 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4914
4915         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4916         the problem reported by Sean Rima [wl-en:180].
4917
4918 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4919
4920         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4921
4922         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4923
4924         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4925
4926         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4927
4928         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4929
4930         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4931
4932         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4933
4934 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4935
4936         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4937         status number.
4938
4939 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4940
4941         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4942         (elmo-folder-mark-as-read): Follow the API change.
4943         (elmo-message-set-cached): New function.
4944
4945         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4946
4947         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4948
4949         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4950         (elmo-folder-mark-as-important): Ditto.
4951         (elmo-folder-unmark-read): Ditto.
4952         (elmo-folder-mark-as-read): Ditto.
4953         (elmo-folder-unmark-answered): Ditto.
4954         (elmo-folder-mark-as-answered): Ditto.
4955
4956         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4957         (elmo-folder-unmark-important): Ditto.
4958         (elmo-folder-mark-as-read): Ditto.
4959         (elmo-folder-unmark-read): Ditto.
4960         (elmo-folder-mark-as-answered): Ditto.
4961         (elmo-folder-unmark-answered): Ditto.
4962
4963         * elmo-mark.el (toplevel): Removed some mark method definitions.
4964
4965         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4966         (elmo-map-folder-mark-as-answered): Ditto.
4967         (elmo-folder-unmark-important): Add :before qualifier.
4968         (elmo-folder-mark-as-important): Ditto.
4969         (elmo-folder-unmark-read): Ditto.
4970         (elmo-folder-mark-as-read): Ditto.
4971         (elmo-folder-unmark-answered): Define.
4972         (elmo-folder-mark-as-answered): Ditto.
4973
4974         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4975         (elmo-map-folder-unmark-answered): Ditto.
4976
4977         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4978
4979         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4980         (elmo-folder-mark-as-important): Ditto.
4981         (elmo-folder-unmark-read): Ditto.
4982         (elmo-folder-mark-as-read): Ditto.
4983         (elmo-folder-unmark-answered): Ditto.
4984         (elmo-folder-mark-as-answered): Ditto.
4985
4986         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4987         `mark'; evaluate mark condition.
4988         (elmo-msgdb-match-condition-internal): New function.
4989         (elmo-msgdb-match-condition): Call it; changed argument.
4990
4991         * elmo.el (elmo-folder-search): Follow the API change on
4992         `elmo-msgdb-match-condition'.
4993
4994 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4995
4996         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4997         original mark is non-nil.
4998
4999 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5000
5001         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5002         (elmo-map-folder-list-answereds): New method.
5003         (elmo-folder-list-unreads): Add :around qualifier.
5004         (elmo-folder-list-importants): Ditto.
5005         (elmo-folder-list-answereds): Ditto.
5006
5007 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5008
5009         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5010
5011         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5012         method if msgdb is not required.
5013         (elmo-filter-folder-list-importants): Don't treat global-mark.
5014
5015         * elmo.el (elmo-folder-list-importants): Ditto.
5016
5017         * elmo-net.el (elmo-folder-list-importants): Ditto.
5018
5019         * elmo-map.el (elmo-folder-list-importants): Ditto.
5020
5021         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5022
5023         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5024         (elmo-imap4-folder-list-any-plugged): New function.
5025         (elmo-imap4-search-internal-primitive): Use it.
5026
5027         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5028         only when require-msgdb slot is non-nil.
5029         (elmo-folder-close): Clear target folder's msgdb.
5030
5031 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5032
5033         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5034         (elmo-pop3-msgdb-create-by-header): Ditto.
5035         (elmo-pop3-msgdb-create-message): Ditto.
5036
5037         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5038
5039         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5040
5041         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5042
5043         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5044         (elmo-folder-msgdb-create): Ditto.
5045         (elmo-nntp-folder-msgdb-create): Ditto.
5046         (elmo-nntp-msgdb-create-by-header): Ditto.
5047         (elmo-nntp-msgdb-create-message): Ditto.
5048         (elmo-folder-list-unreads): Define.
5049
5050         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5051         (elmo-folder-append-messages): Ditto.
5052         (elmo-folder-list-unreads): Define.
5053         (elmo-folder-list-importants): Ditto.
5054         (elmo-folder-list-answereds): Ditto.
5055
5056         * elmo-net.el (elmo-folder-list-unreads): Define.
5057         (elmo-folder-list-importants): Ditto.
5058         (elmo-folder-list-answereds): Ditto.
5059         (elmo-folder-list-answereds-plugged): Ditto.
5060         (elmo-folder-msgdb-create): Follow the API change.
5061         (elmo-folder-msgdb-create-unplugged): Ditto.
5062         (elmo-folder-unmark-answered): Define.
5063         (elmo-folder-mark-as-answered-unplugged): Ditto.
5064         (elmo-folder-unmark-answered-unplugged): Ditto.
5065
5066         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5067         (elmo-msgdb-unread-uncached-mark): Ditto.
5068         (elmo-msgdb-unread-cached-mark): Ditto.
5069         (elmo-msgdb-read-uncached-mark): Ditto.
5070         (elmo-msgdb-answered-cached-mark): Ditto.
5071         (elmo-msgdb-answered-uncached-mark): Ditto.
5072         (elmo-msgdb-important-mark): Ditto.
5073         (elmo-msgdb-set-mark): Rewrite.
5074         (elmo-msgdb-count-marks): Rewrite.
5075         (elmo-msgdb-mark-alist-set): Abolish.
5076         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5077         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5078
5079         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5080         (elmo-folder-close): Define.
5081         (elmo-folder-msgdb-create): Follow the API change.
5082         (elmo-folder-list-unreads): Rewrite.
5083         (elmo-folder-mark-as-important): Ditto.
5084         (elmo-folder-unmark-important): Ditto.
5085         (elmo-folder-mark-as-read): Ditto.
5086         (elmo-folder-unmark-read): Ditto.
5087         (elmo-folder-mark-as-answered): Define.
5088         (elmo-folder-unmark-answered): Ditto.
5089
5090         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5091         (elmo-folder-append-messages): Ditto.
5092
5093         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5094
5095         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5096         (elmo-folder-list-importants): Ditto.
5097
5098         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5099         (elmo-folder-append-messages): Ditto.
5100
5101         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5102         change.
5103         (elmo-folder-msgdb-create-plugged): Ditto.
5104         (elmo-folder-append-messages): Ditto.
5105         (elmo-folder-list-answereds-plugged): Define.
5106         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5107         (elmo-folder-unmark-answered-plugged): Define.
5108         (elmo-folder-mark-as-answered-plugged): Ditto.
5109         (elmo-folder-search-requires-msgdb-p): Ditto.
5110
5111         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5112         (elmo-folder-initialize): Set it.
5113         (elmo-folder-msgdb): Define.
5114         (elmo-folder-check): Call elmo-folder-synchronize.
5115         (elmo-folder-close): Define.
5116         (elmo-folder-commit): Ditto.
5117         (elmo-folder-msgdb-create): Rewrite.
5118         (elmo-folder-list-unreads): Ditto.
5119         (elmo-folder-list-importants): Ditto.
5120         (elmo-folder-mark-as-read): Ditto.
5121         (elmo-folder-unmark-read): Ditto.
5122         (elmo-folder-mark-as-important): Ditto.
5123         (elmo-folder-unmark-important): Ditto.
5124         (elmo-folder-mark-as-answered): Define.
5125         (elmo-folder-unmark-answered): Ditto.
5126
5127         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5128         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5129         (elmo-dop-queue-method-name-alist): Likewise.
5130         (elmo-folder-mark-as-answered-dop): New inline function.
5131         (elmo-folder-unmark-answered-dop): Ditto.
5132         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5133
5134         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5135         (elmo-folder-msgdb-create): Ditto.
5136         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5137         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5138         (elmo-archive-parse-mmdf): Ditto.
5139
5140         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5141         (elmo-folder-list-unreads-internal): Ditto.
5142
5143         * elmo.el (elmo-folder-msgdb): Define as generic function.
5144         (elmo-folder-list-messages): Added argument `in-msgdb'.
5145         (elmo-folder-list-unreads): Define as generic function.
5146         (elmo-folder-list-importants): Ditto.
5147         (elmo-folder-list-answereds): Ditto.
5148         (elmo-folder-list-messages-with-global-mark): New function.
5149         (elmo-folder-msgdb-create): Removed mark arguments.
5150         (elmo-folder-unmark-answered): New generic function.
5151         (elmo-folder-mark-as-answered): Ditto.
5152         (elmo-folder-append-messages): Removed argunment `unread-marks'
5153         (elmo-folder-list-unreads-internal): Abolish.
5154         (elmo-folder-list-importants-internal): Ditto.
5155         (elmo-folder-search-requires-msgdb-p): New generic function.
5156         (elmo-folder-search-requires-msgdb-p-internal): New function.
5157         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5158         elmo-msgdb-load.
5159         (elmo-folder-search-fast): Added key 'mark'.
5160         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5161         instead of unread-marks argument.
5162         (elmo-folder-move-messages): Removed argunment `unread-marks'
5163         (elmo-folder-unmark-important): Define.
5164         (elmo-folder-mark-as-important): Ditto.
5165         (elmo-folder-unmark-read): Ditto.
5166         (elmo-folder-mark-as-read): Ditto.
5167         (elmo-folder-unmark-answered): Ditto.
5168         (elmo-folder-mark-as-answered): Ditto.
5169         (elmo-folder-replace-marks): Abolish.
5170         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5171         duplicates.
5172         (elmo-folder-synchronize): Removed mark arguments;
5173         return crosspost only number.
5174
5175 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5176
5177         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5178         Remove redundunt connectivity check.
5179
5180 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5181
5182         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5183         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5184
5185 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5186
5187         * pldap.el (ldap-decode-string): Return string as-is if
5188         `ldap-coding-system' is nil.
5189         (ldap-encode-string): Ditto.
5190         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5191         (ldap-default-host): Fixed docstring.
5192
5193 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5194
5195         * elmo-util.el (elmo-warning): Define as a macro which uses
5196         `display-warning' if it is defined as a function.
5197
5198         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5199         (elmo-split-equal): Use it.
5200         (elmo-split-match): Ditto.
5201         (elmo-split-message-entity): New buffer-local variable.
5202         (elmo-split-subr): Set it.
5203
5204         * elmo-version.el (elmo-version): Up to 2.9.15.
5205
5206 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5207
5208         * elmo-imap4.el (elmo-network-initialize-session):
5209         Check capability after starttls.
5210
5211 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5212
5213         * elmo-util.el (elmo-list-delete): Added optional argument
5214         DELETE-FUNCTION.
5215
5216         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5217
5218         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5219
5220         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5221
5222         * elmo-imap4.el (elmo-folder-initialize): Don't use
5223         elmo-imap4-default-mailbox.
5224
5225 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5226
5227         * elmo-split.el (toplevel): Use `product-provide'.
5228         (elmo-split): Checkdoc.
5229
5230 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5231
5232         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5233         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5234         the function `elmo-imap4-debug-1'.
5235
5236 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5237
5238         * elmo-split.el (elmo-split): Moved to run hooks and to show
5239         message from elmo-split-subr.
5240         (elmo-split-subr): Follow the change above.
5241
5242         * elmo-split.el (elmo-split-subr): New function (renamed from
5243         elmo-split-subr).
5244         (elmo-split): Changed to call elmo-split-subr by element of
5245         elmo-split-folder.
5246         (elmo-split-folder): Changed customization type to choice.
5247
5248 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5249
5250         * elmo-split.el (elmo-split-and): Fixed condition.
5251
5252 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5253
5254         * elmo-split.el: New file.
5255         (elmo-split): Fixed logic.
5256         Display "Test:" instead of "Folder:" when reharsal.
5257
5258         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5259         explicitly.
5260
5261         * elmo-version.el (elmo-version): Up to 2.9.14.
5262
5263         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5264         wl-expand-newtext).
5265
5266 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5267
5268         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5269         message with no message-id field.
5270
5271 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5272
5273         * elmo-version.el (elmo-version): Up to 2.9.13.
5274
5275         * elmo-dop.el (elmo-folder-status-dop): Fix.
5276
5277 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5278
5279         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5280
5281         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5282         changing default value of default-mime-charset.
5283         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5284
5285         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5286
5287         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5288         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5289         instead of elmo-dop-queue-method-name-alist to check merging queue.
5290         (elmo-folder-delete-messages-dop): Delete from queue if negative
5291         message number.
5292         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5293         file is already removed.
5294
5295 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5296
5297         * elmo-vars.el: Bind colon keywords for old Emacsen.
5298
5299 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5300
5301         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5302         against non-exsisting charset.
5303
5304 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5305
5306         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5307         Use eword-decode-and-unfold-unstructured-field-body.
5308
5309         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5310         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5311         exists to decode raw subject string.
5312         (toplevel): Require 'mime.
5313
5314         * elmo-version.el (elmo-version): Up to 2.9.12.
5315
5316 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5317
5318         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5319         (elmo-msgdb-set-mark): Ditto.
5320
5321         * elmo-version.el (elmo-version): Up to 2.9.11.
5322
5323 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5324
5325         * elmo-util.el (elmo-delete-match-files): New function.
5326
5327         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5328         instead of elmo-delete-directory.
5329
5330         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5331         elmo-hash-minimun-size as 63.
5332
5333         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5334         elmo-diff-unread is nil.
5335
5336         * elmo-imap4.el (elmo-folder-open): Fix.
5337
5338         * elmo.el (elmo-message-mark): Rewrite.
5339         (elmo-message-field): Ditto.
5340         (elmo-message-set-mark): Ditto.
5341         (elmo-folder-replace-marks): New function.
5342         (elmo-generic-folder-append-msgdb): Removed third argument for
5343         elmo-msgdb-append.
5344         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5345         (elmo-msgdb-load): New implementation.
5346
5347         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5348
5349         * elmo-util.el (elmo-list-insert): New implementation.
5350
5351         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5352         argument for elmo-msgdb-append.
5353         
5354
5355         * elmo-msgdb.el (elmo-load-msgdb): New function.
5356         (elmo-make-msgdb): Ditto.
5357         (elmo-msgdb-get-index): New inline function.
5358         (elmo-msgdb-set-index): Ditto.
5359         (elmo-msgdb-get-entity-hashtb): Ditto.
5360         (elmo-msgdb-get-mark-hashtb): Ditto.
5361         (elmo-msgdb-get-mark): Ditto.
5362         (elmo-msgdb-set-mark): Ditto.
5363         (elmo-msgdb-count-marks): Ditto.
5364         (elmo-msgdb-get-number): Ditto.
5365         (elmo-msgdb-get-field): Ditto.
5366         (elmo-msgdb-seen-list): Ditto.
5367         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5368         (elmo-msgdb-delete-msgs): Follow the changes above.
5369         (elmo-msgdb-overview-get-entity): Ditto.
5370         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5371         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5372         and rewritten.
5373         (elmo-msgdb-make-index): Likewise.
5374         (elmo-msgdb-append): Removed third argument.
5375         (elmo-msgdb-clear): Clear index as nil.
5376         (elmo-folder-set-info-hashtb): Removed.
5377         (elmo-folder-set-info-max-by-numdb): Ditto.
5378         (elmo-folder-info-make-hashtb): Ditto.
5379
5380         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5381
5382         * elmo-map.el (elmo-folder-pack-number): Ditto.
5383
5384 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5385
5386         * elmo-version.el (elmo-version): Up to 2.9.10.
5387
5388         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5389
5390         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5391
5392 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5393
5394         * elmo-utils.el (elmo-make-directory): Add option.
5395         Default file mode is 700.
5396
5397 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5398
5399         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5400
5401 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5402
5403         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5404         mime-charset.
5405
5406         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5407         and "smaller".
5408
5409 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5410
5411         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5412         (elmo-shimbun-folder-entity-hash): New function.
5413         (elmo-shimbun-folder-shimbun-header): Ditto.
5414         (elmo-shimbun-entity-to-header): Ditto.
5415         (elmo-shimbun-msgdb-to-headers): Removed.
5416         (elmo-shimbun-folder-setup): Ditto.
5417         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5418         for hash key.
5419         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5420         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5421         Removed useless local bind.
5422         (elmo-folder-open-internal): Don't call
5423         `elmo-shimbun-folder-setup'.
5424         (elmo-folder-close-internal): Clear entity-hash slot.
5425         (elmo-folder-clear): Ditto.
5426         (elmo-shimbun-msgdb-create-entity): Use
5427         `elmo-shimbun-folder-shimbun-header'.
5428         (elmo-map-message-fetch): Ditto.
5429         (elmo-shimbun-update-overview): Use overview entity instead of
5430         shimbun header to lookup id by references.
5431         (elmo-map-folder-list-message-locations): Use not only headers but
5432         also overviews to list locations.
5433
5434 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5435
5436         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5437         msgdb path.
5438
5439         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5440
5441 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5442
5443         * elmo-util.el (elmo-read-search-condition-internal): Give default
5444         value for date.
5445
5446 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5447
5448         * elmo-util.el (elmo-condition-parse-search-value): Accept
5449         YYYY-MM-DD format to search.
5450         * elmo-date.el (elmo-date-get-datevec): Likewise.
5451
5452 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5453
5454         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5455         debugging code.
5456
5457 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5458
5459         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5460         from t.
5461
5462         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5463
5464         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5465         case from `elmo-folder-exists-p'.
5466         (elmo-folder-exists-p): Removed.
5467         (elmo-folder-creatable-p) Ditto.
5468
5469         * elmo-net.el (elmo-folder-create): Defined.
5470         (elmo-folder-create-unplugged): New function.
5471         (elmo-folder-exists-p): Changed default value to nil from t.
5472
5473         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5474         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5475
5476         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5477         `elmo-create-folder-dop' and append queue
5478         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5479         (elmo-folder-create-dop-delayed): New function.
5480
5481         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5482
5483         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5484
5485         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5486         (elmo-folder-writable-p) : Ditto.
5487
5488         * elmo-version.el (elmo-version): Up to 2.9.9.
5489
5490 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5491
5492         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5493         `elmo-message-use-cache-p' returns nil.
5494         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5495         (ignore cache file and refer the substance in local folders)
5496
5497 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5498
5499         * elmo-version.el (elmo-version): Up to 2.9.8.
5500
5501 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5502
5503         * elmo-version.el (elmo-version): Up to 2.9.7.
5504
5505         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5506
5507 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5508
5509         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5510
5511 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5512
5513         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5514         from --early.
5515         (elmo-map-folder-list-message-locations): Reverse location list.
5516
5517 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5518
5519         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5520
5521 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5522
5523         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5524         as a key.
5525         (elmo-nntp-folder-list-subfolders): Follow the change above.
5526
5527 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5528
5529         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5530         name if authentication type is specified.
5531
5532 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5533
5534         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5535         variable.
5536         (elmo-default-nntp-stream-type): Ditto.
5537         (elmo-default-pop3-stream-type): Ditto.
5538
5539 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5540
5541         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5542
5543 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5544
5545         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5546         elmo-vars.el.
5547         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5548
5549         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5550         (elmo-maildir-folder-path): Ditto.
5551         (elmo-maildir-list): Ditto (abolished).
5552
5553 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5554
5555         * elmo-version.el (elmo-version): Up to 2.9.6.
5556
5557 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5558
5559         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5560         (elmo-maildir-folder-path): Ditto.
5561         (elmo-msgdb-directory): Ditto.
5562         (elmo-passwd-life-time): Ditto.
5563         (elmo-msgdb-extra-fields): Ditto.
5564         (elmo-enable-disconnected-operation): Ditto.
5565
5566 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5567
5568         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5569         other choices.
5570         (elmo-pop3-default-authenticate-type): Ditto.
5571
5572 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5573
5574         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5575         choices for custom.
5576         (elmo-pop3-default-authenticate-type): Ditto.
5577
5578 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5579
5580         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5581         mailbox to new-folder.
5582
5583 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5584
5585         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5586         less than new, set new as unread.
5587
5588         * elmo-util.el (elmo-string): Don't put text-property if nil.
5589
5590 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5591
5592         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5593         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5594
5595 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5596
5597         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5598         is nil on `completing-read'.
5599
5600 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5601
5602         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5603         for namespace part.
5604         (elmo-imap4-parse-namespace-subr): Ditto.
5605         (elmo-folder-list-subfolders): Append a delimiter when the specified
5606         folder path is a root with namespace and does not end with delimiter.
5607
5608 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5609
5610         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5611         was used.
5612
5613 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5614
5615         * elmo-util.el (elmo-save-buffer): The first argument of message
5616         is a format control string.
5617
5618 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5619
5620         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5621         `elmo-folder-diff').
5622         (elmo-diff-unread): Likewise.
5623
5624 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5625
5626         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5627         is t on `completing-read'.
5628
5629 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5630
5631         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5632         method of target folder with self mark-alist if MARK-ALIST is nil.
5633
5634 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5635
5636         * elmo-version.el (elmo-version): Up to 2.9.5.
5637
5638 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5639
5640         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5641         (elmo-dop-merge-funcs): Remove.
5642
5643 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5644
5645         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5646         Return t if PATH is directory, too.
5647         Use `dolist' instead of while loop.
5648
5649 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5650
5651         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5652         is deleted.
5653
5654 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5655
5656         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5657         return value to t.
5658         (elmo-folder-list-messages-unplugged): Return t if
5659         elmo-enable-disconnected-operation is nil.
5660
5661         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5662         `elmo-folder-list-messages-internal'.
5663
5664 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5665
5666         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5667         Change to looking-at `[23][0-9]+'.
5668         (elmo-network-initialize-session): Use 'error-msg'
5669         * elmo-net.el (elmo-network-open-session): Set unplugged
5670         if elmo-network-initialize-session returns 'elmo-open-err.
5671
5672 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5673
5674         * elmo-version.el (elmo-version): Up to 2.9.4.
5675
5676 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5677
5678         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5679         `elmo-folder-list-messages-internal'.
5680
5681 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5682
5683         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5684         (elmo-message-match-condition): New method.
5685         (elmo-folder-search-fast): New inline function.
5686         (elmo-msgdb-search): Removed.
5687
5688         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5689         target folder if it is unplugged.
5690         (elmo-folder-list-messages-internal): Return t if target folder is
5691         unplugged and itself is persistent; In this case, use list be
5692         searched already.
5693
5694         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5695         (elmo-msgdb-search-internal-primitive): Ditto.
5696         (elmo-msgdb-match-condition): New function.
5697         (elmo-msgdb-match-condition-primitive): Ditto.
5698
5699         * elmo-util.el (elmo-filter-condition-p): New macro.
5700
5701         * elmo-cache.el (elmo-folder-search): Removed.
5702
5703         * elmo-localdir.el (elmo-folder-search): Ditto.
5704
5705         * elmo-maildir.el (elmo-folder-search): Ditto.
5706
5707         * elmo-mark.el (elmo-folder-search): Ditto.
5708
5709         * elmo-nmz.el (elmo-folder-search): Ditto.
5710
5711         * elmo-sendlog.el (elmo-folder-search): Ditto.
5712
5713         * elmo-shimbun.el (elmo-folder-search): Ditto.
5714
5715         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5716         if folder is unplugged.
5717
5718         * elmo-nntp.el (elmo-folder-search): Likewise.
5719         (elmo-nntp-search-internal): New function.
5720
5721         * elmo-version.el (elmo-version): Up to 2.9.3.
5722
5723 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5724
5725         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5726
5727 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5728
5729         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5730
5731 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5732
5733         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5734
5735 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5736
5737         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5738         (elmo-map-folder-list-message-locations): Do drive letter conversion
5739         on Windows environment.
5740         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5741         (elmo-map-message-fetch): Ditto.
5742
5743 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5744
5745         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5746         (elmo-network-initialize-session): Ditto.
5747
5748 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5749
5750         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5751
5752         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5753
5754         * elmo-util.el (elmo-progress-clear): Ditto.
5755
5756         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5757         `DD-Mon-YYYY' type date.
5758
5759 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5760
5761         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5762         `elmo-date-make-sortable-string' instead of
5763         `timezone-make-date-sortable'.
5764
5765         * elmo-date.el (elmo-date-make-sortable-string): Use
5766         `timezone-make-time-string'.
5767
5768 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5769
5770         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5771
5772         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5773         `since'; Fix timezone.
5774
5775         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5776
5777         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5778
5779 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5780
5781         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5782
5783 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5784
5785         * elmo.el (elmo-generic-folder-append-messages): Make
5786         fetch-strategy with `use-cache' as 'maybe. Check return value of
5787         `elmo-message-fetch'.
5788         (elmo-message-fetch): Return return value of
5789         `elmo-message-fetch-with-cache-process'.
5790         (elmo-message-fetch-with-cache-process): Return non-nil if
5791         fetching was succeed. Load cache when fetching was failed and
5792         fetch-strategy-use-cache is 'maybe.
5793
5794         * elmo-util.el (elmo-file-cache-load): New function.
5795
5796         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5797         defun.
5798
5799         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5800         non-nil if fetching was succeed.
5801
5802         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5803
5804         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5805
5806         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5807         (elmo-message-fetch-with-cache-process): Likwise.
5808
5809         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5810
5811         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5812
5813         * elmo-version.el (elmo-version): Up to 2.9.2.
5814
5815 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5816
5817         * elmo.el (elmo-folder-delete): Delete msgdb path.
5818
5819         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5820
5821         * elmo-maildir.el (elmo-folder-delete): Ditto.
5822
5823         * elmo-localdir.el (elmo-folder-delete): Ditto.
5824
5825         * elmo-imap4.el (elmo-folder-delete): Ditto.
5826
5827 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5828
5829         * elmo.el (luna-define-class): Added `biff' slot.
5830
5831         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5832         (elmo-pop3-debug-inhibit-logging): Abolished.
5833         (elmo-network-close-session): Eliminated needless let.
5834         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5835         (elmo-pop3-send-command): Added `no-log' argument.
5836         (elmo-pop3-process-filter): Use `with-current-buffer'.
5837         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5838         if login failure.
5839         (elmo-pop3-auth-apop): Likewise.
5840         (elmo-network-authenticate-session): Likewise.
5841
5842         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5843         if biff folder.
5844
5845         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5846         string to determine protocol.
5847         (elmo-network-session-name-prefix): Abolished.
5848         (elmo-network-session-cache-key): Follow the change above.
5849         (elmo-network-open-session): Ditto.
5850
5851         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5852         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5853
5854         * elmo-version.el (elmo-version): Up to 2.9.1.
5855
5856         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5857         unmatch condition checking.
5858
5859         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5860         condition.
5861
5862 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5863
5864         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5865
5866 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5867
5868         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5869         test for while loop to execute at least one SEARCH command.
5870
5871 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5872
5873         * elmo-version.el (elmo-version): Up to 2.9.0.
5874
5875 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5876
5877         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5878         (elmo-archive-folder-path): Define.
5879         (elmo-folder-initialize): Setup `dir-name' slot.
5880         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5881         Use `dir-name' as prefix of each subfolders.
5882         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5883
5884 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5885
5886         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5887         (elmo-pipe-folder-list-target-messages): New internal function.
5888         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5889         `killed-list'.
5890         (elmo-pipe-folder-copied-list-load): New function.
5891         (elmo-pipe-folder-copied-list-save): Ditto.
5892         (elmo-folder-open-internal): Follow the change above.
5893         (elmo-folder-status): Fixed for copy.
5894
5895 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5896
5897         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5898
5899 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5900
5901         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5902         elmo-copy-file instead of elmo-add-name-to-file.
5903
5904         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5905
5906         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5907         "file://..." index.
5908
5909         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5910         of accept-process-output as 1.
5911         (elmo-pop3-read-contents): Ditto.
5912         (elmo-pop3-read-body): Ditto.
5913
5914 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5915
5916         * elmo-version.el (product-version-as-string): Remove define.
5917
5918 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5919
5920         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5921         (elmo-imap4-copy-messages): Chop number set using
5922         `elmo-imap4-number-set-chop-length'.
5923         (elmo-imap4-set-flag): Ditto.
5924         (elmo-imap4-search-internal-primitive): Ditto.
5925
5926 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5927
5928         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5929         `elmo-folder-make-temp-dir'
5930
5931         * elmo-vars.el (elmo-cache-directory): New variable.
5932         (elmo-cache-dir): Abolished.
5933         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5934
5935         * elmo-version.el (elmo-version): Up to 2.7.7.
5936
5937 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5938
5939         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5940         defcustom; Set default value as t.
5941
5942 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5943
5944         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5945         (ldap-search-program-arguments): Changed default value.
5946         (ldap-search-basic): Accept exit status 4.
5947         (ldap/field-body): Parse options.
5948         (ldap/collect-field): Ditto.
5949         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5950
5951         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5952         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5953         (elmo-imap4-accept-ok): Ditto.
5954         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5955         'notify-bye, only BYE error is reported.
5956         (elmo-folder-exists-p-plugged): Set no-error argument of
5957         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5958
5959         * elmo.el (elmo-imap4-bye-error): Changed message.
5960
5961         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5962         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5963         queues (It causes infinite loop).
5964
5965 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5966
5967         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5968         (RECENT UNSEEN MESSAGES) extension.
5969
5970 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5971
5972         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5973         Check number of overview fields.
5974
5975 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5976
5977         * elmo.el (elmo-folder-confirm-appends): Changed message.
5978         (elmo-folder-confirm-appends): Ditto.
5979
5980         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5981         `with-temp-buffer'.
5982         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5983
5984 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5985
5986         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5987         of elmo-folder-update-threshold is nil, which can be set by
5988         wl-summary-update-confirm-threshold.
5989
5990 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5991
5992         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5993         (elmo-nmz-index-alias-alist): Ditto.
5994         (elmo-map-folder-list-message-locations): Follow the change above.
5995
5996 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5997
5998         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5999
6000         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6001
6002         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6003
6004         * elmo-util.el (elmo-read): Ditto.
6005         (elmo-display-error): Ditto.
6006
6007         * elmo-vars.el (elmo-date-match): Ditto.
6008
6009         * pldap.el (ldap-coding-system): Ditto.
6010
6011         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6012         `elmo-inhibit-number-mapping' as nil.
6013
6014 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6015
6016         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6017         space delimiter for list response.
6018
6019 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6020
6021         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6022
6023 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6024
6025         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6026         (elmo-map-message-fetch): Fix.
6027         * elmo-map.el (elmo-folder-status): Fix for killed.
6028
6029 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6030
6031         * elmo-sendlog.el: New file.
6032         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6033
6034 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6035
6036         * acap.el (acap-logging-out): New buffer local variable.
6037         (acap-close): Set it.
6038         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6039         an error.
6040
6041 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6042
6043         * acap.el (acap-response-bye-p): New function.
6044         (acap-response-bye-message): Ditto.
6045         (acap-wait-for-response): If bye response is received, cause an error.
6046         (acap-parse-response): Make bye response when 'Bye' is received.
6047
6048 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6049
6050         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6051
6052 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6053
6054         * elmo-util.el (elmo-copy-file): Added argument
6055         `ok-if-already-exists'.
6056         (elmo-copy-file): Fixed typo.
6057
6058 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6059
6060         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6061
6062 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6063
6064         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6065
6066 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6067
6068         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6069         to killed-list.
6070
6071 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6072
6073         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6074         (elmo-folder-initialize): Fix for `copy'.
6075         (elmo-pipe-drain): Ditto.
6076         (elmo-folder-open-internal): Ditto.
6077         (elmo-folder-newsgroups): Fix.
6078
6079 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6080
6081         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6082         for each message.
6083
6084         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6085         recent value is returned from imap folder.
6086
6087         * elmo.el (elmo-folder-newsgroups): New generic function.
6088
6089         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6090         (elmo-folder-initialize): Set it.
6091         (elmo-folder-expand-msgdb-path): Use it.
6092         (elmo-folder-newsgroups): Define.
6093
6094         * elmo-filter.el (elmo-folder-newsgroups): Define.
6095
6096         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6097
6098         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6099
6100         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6101
6102 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6103
6104         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6105         user option.
6106         (elmo-shimbun-header-extra-field): New inline function.
6107         (elmo-shimbun-header-set-extra-field): Ditto.
6108         (elmo-shimbun-folder-header-hash-setup): Ditto.
6109         (elmo-shimbun-update-overview): Ditto.
6110         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6111         (elmo-shimbun-folder-setup): Use
6112         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6113         (elmo-shimbun-get-headers): Ditto.
6114         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6115         Insert `X-Shimbun-Id:' header if extra field is set.
6116         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6117         field's value instead of `shimbun-header-id'.
6118
6119         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6120         inline function.
6121         (elmo-msgdb-overview-entity-set-date): Ditto.
6122         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6123
6124 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6125
6126         * mmimap.el (mmimap-entity-section): Changed body node number from
6127         "0" to "1".
6128
6129 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6130
6131         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6132         `elmo-folder-delete-messages'.
6133
6134         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6135         (elmo-folder-initialize): Changed to expand alias into index path.
6136
6137         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6138         `elmo-mime-insert-header-from-buffer' with 6th arg
6139         `sorted-fields'.
6140
6141 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6142
6143         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6144
6145         * elmo.el (elmo-diff-new): New inline function.
6146         (elmo-diff-unread): Ditto.
6147         (elmo-diff-all): Ditto.
6148
6149         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6150         value from responseb.
6151         (elmo-imap4-folder-diff-plugged): Ditto.
6152         (elmo-imap4-server-diff-async): Added recent argument.
6153         (elmo-server-diff-async): Ditto.
6154         (elmo-imap4-folder-diff-plugged): Ditto.
6155
6156         * elmo-version.el (elmo-version): Up to 2.7.6.
6157
6158 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6159
6160         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6161         in quoted-stirng.
6162
6163 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6164
6165         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6166
6167         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6168
6169         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6170
6171         * elmo-multi.el (elmo-folder-initialize): Ditto.
6172
6173         * elmo-util.el (elmo-parse-token): New function.
6174         (elmo-parse-prefixed-element): Ditto.
6175
6176 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6177
6178         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6179         delete process.
6180         (elmo-imap4-accept-ok): Ditto.
6181
6182 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6183
6184         * mmimap.el (mime-imap-entity-header-string): Don't check first
6185         element of node-id is `0' (Follow last change).
6186
6187 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6188
6189         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6190         assigned irregular node-id to nested multipart section.
6191         (initialize-instance): Followed above change.
6192
6193 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6194
6195         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6196         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6197         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6198         `elmo-shimbun-get-headers');
6199         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6200         visible article on summary exists in headers).
6201         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6202
6203 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6204
6205         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6206         definition.
6207
6208 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6209
6210         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6211
6212 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6213
6214         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6215         header separator into loop condition.
6216
6217 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6218
6219         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6220         Return duplicate folder if it has subfolder.
6221
6222 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6223
6224         * elmo.el (elmo-make-folder): Add folder name error check.
6225
6226         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6227         (elmo-nntp-encode-group-string): New inline function.
6228         (elmo-nntp-decode-group-string): Ditto.
6229         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6230         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6231         Use `not' instead of `null';
6232         Use elmo-nntp-decode-group-string.
6233
6234         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6235
6236         * elmo-version.el (elmo-version): Up to 2.7.5.
6237
6238 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6239
6240         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6241         Hide progress gauge if `elmo-folder-move-messages' exits
6242         nonlocally.
6243
6244 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6245
6246         * elmo-imap4.el (elmo-folder-initialize): Use
6247         `elmo-imap4-encode-folder-string' for folder name.
6248
6249 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6250
6251         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6252         `done'.
6253
6254 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6255
6256         * elmo-util.el (elmo-progress-counter-alist): New internal
6257         variable.
6258         (elmo-progress-counter-value): New macro.
6259         (elmo-progress-counter-all-value): Ditto.
6260         (elmo-progress-counter-format): Ditto.
6261         (elmo-progress-counter-set-value): Ditto.
6262         (elmo-progress-set): New function.
6263         (elmo-progress-clear): Ditto.
6264         (elmo-progress-notify): Ditto.
6265
6266         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6267         counter.
6268
6269         * elmo.el (elmo-generic-folder-append-messages): Call
6270         `elmo-progress-notify'.
6271         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6272
6273         * elmo-archive.el (elmo-folder-append-messages): Call
6274         `elmo-progress-notify'.
6275
6276         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6277
6278         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6279
6280         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6281
6282 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6283
6284         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6285         'Create'.
6286         (elmo-message-encache-dop): Added argument `read'.
6287
6288         * elmo-shimbun.el (elmo-message-encache): Ditto.
6289
6290         * elmo-net.el (elmo-message-encache): Ditto.
6291
6292         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6293         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6294         elmo-imap4-seen-messages.
6295         (elmo-folder-msgdb-create-plugged): Initialize
6296         elmo-imap4-seen-messages;
6297         Set seen mark on elmo-imap4-seen-messages.
6298
6299         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6300
6301         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6302         elmo-folder-append-buffer.
6303         (elmo-folder-encache): Added optional argument `read'.
6304         (elmo-message-encache): Ditto.
6305
6306         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6307
6308         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6309
6310         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6311         if append buffer content succeds.
6312
6313 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6314
6315         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6316         elmo-display-progress.
6317
6318         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6319         Set 4th argument of mime-display-message.
6320         (elmo-mime-display-as-is): Ditto.
6321
6322 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6323
6324         * elmo-nmz.el (toplevel): Require 'mime-edit.
6325         (elmo-nmz-content-type-alist): Abolished.
6326         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6327         content is not a message.
6328         (elmo-map-message-fetch): Changed behavior exept for message content;
6329         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6330         content-type, Add From: and Subject: field.
6331
6332 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6333
6334         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6335         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6336         not a message.
6337
6338 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6339
6340         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6341         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6342
6343         * elmo-archive.el (elmo-folder-writable-p): Defined.
6344
6345         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6346
6347         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6348
6349         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6350
6351         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6352
6353         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6354
6355         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6356
6357         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6358
6359         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6360
6361 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6362
6363         * elmo-util.el (elmo-address-quote-specials): New function;
6364         Renamed from `wl-address-quote-specials'.
6365
6366 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6367
6368         * elmo-version.el (elmo-version): Up to 2.7.4.
6369
6370 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6371
6372         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6373
6374 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6375
6376         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6377         both compile-time and run-time to avoid byte-compile warning.
6378
6379 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6380
6381         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6382
6383 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6384
6385         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6386         option.
6387         (elmo-mime-display-as-is-internal): Use it.
6388
6389         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6390         if `read-passwd' is not defined.
6391
6392 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6393
6394         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6395         by original number.
6396         (elmo-folder-status): Call `elmo-folder-open-internal';
6397         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6398         (elmo-folder-close-internal): Set location-alist as nil.
6399         (elmo-folder-clear): Define.
6400         (elmo-folder-check): Don't set location-alist as nil.
6401
6402         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6403
6404 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6405
6406         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6407         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6408
6409         * mmimap.el (mime-imap-entity::requested): New slot.
6410         (mime-imap-location-fetch-entity-p): New generic function.
6411         (mime-decode-parameters): Define using `defun-maybe'.
6412         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6413         content-type structure.
6414         (mime-entity-body): Return empty body if
6415         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6416
6417         * elmo.el (elmo-message-displaying): New variable.
6418
6419         * elmo-mime.el (elmo-mime-message-display): Bind
6420         elmo-message-displaying as t.
6421
6422         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6423
6424 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6425
6426         * acap.el (acap-open): erase buffer before starting network process.
6427         (acap-store): Rewrite.
6428
6429 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6430
6431         * elmo-imap4.el (elmo-imap4-default-mailbox,
6432         elmo-imap4-default-server
6433         elmo-imap4-default-authenticate-type,
6434         elmo-imap4-default-user,
6435         elmo-imap4-default-port,
6436         elmo-imap4-default-stream-type,
6437         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6438
6439         * elmo-pop3.el (elmo-pop3-default-user,
6440         elmo-pop3-default-server,
6441         elmo-pop3-default-authenticate-type,
6442         elmo-pop3-default-port,
6443         elmo-pop3-default-stream-type,
6444         elmo-pop3-stream-type-alist): Ditto.
6445
6446         * elmo-nntp.el (elmo-nntp-default-server,
6447         elmo-nntp-default-user,
6448         elmo-nntp-default-port,
6449         elmo-nntp-default-stream-type,
6450         elmo-nntp-stream-type-alist): Ditto.
6451
6452         * elmo-vars.el: Follow changes above.
6453         (elmo-setting): New custom group; added 'elmo-setting group to
6454         above variables.
6455
6456         * elmo-version.el (elmo-version): Up to 2.7.3.
6457
6458         * acap.el (acap-parse-response): Don't delete process when BYE
6459         response (It causes hang-up on slow network environment).
6460         (toplevel): Added comment.
6461
6462 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6463
6464         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6465
6466         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6467         parsing NIL.
6468         (acap-parse-return-metadata): Ditto.
6469
6470         * slp.el: New file.
6471         (toplevel): Fixed typo.
6472
6473         * acap.el: New file.
6474         (acap-network-stream-open): Show "Connecting..." message.
6475         (acap-parse-response): Fixed problem for BYE untagged response.
6476         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6477         (toplevel): Added tiny comments.
6478
6479 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6480
6481         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6482         space delimiter for uidl response.
6483
6484 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6485
6486         * elmo-vars.el (elmo-use-semi): Eliminated.
6487
6488         * elmo-util.el (elmo-string-assoc-all): New function.
6489
6490 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6491
6492         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6493         property 'mime-preview-situation for `mime-preview-quit'.
6494
6495 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6496
6497         * elmo.el (elmo-message-fetch-with-cache-process): Call
6498         elmo-message-fetch-internal instead of causing an error when fetch
6499         strategy is 'entire but only 'section cache is available.
6500
6501 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6502
6503         * elmo-version.el (elmo-version): Up to 2.7.2.
6504
6505         * elmo.el (elmo-generic-folder-append-messages): Make
6506         fetch-strategy with `use-cache'.
6507
6508         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6509         (elmo-dop-queue-method-name): New macro.
6510
6511 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6512
6513         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6514         unbalanced parenthesis.
6515
6516 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6517
6518         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6519
6520 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6521
6522         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6523         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6524
6525 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6526
6527         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6528         local variables.
6529
6530 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6531
6532         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6533         (elmo-message-use-cache-p): Define.
6534         (elmo-folder-msgdb-create): Treat cache.
6535
6536 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6537
6538         * elmo-nntp.el (elmo-network-initialize-session): Call
6539         `elmo-nntp-send-mode-reader'.
6540         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6541
6542 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6543
6544         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6545         alist.
6546         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6547         assoc.
6548
6549         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6550         for `elmo-plugged-p'.
6551         (elmo-open-network-stream): Fixed stream-type argument.
6552
6553 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6554
6555         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6556         unknown archive type is specified.
6557
6558 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6559
6560         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6561
6562         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6563         while loading msgdb.
6564
6565         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6566         (elmo-folder-open-internal): Rewrite.
6567
6568 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6569
6570         * elmo-mime.el (elmo-mime-display-as-is-internal):
6571         Adjust buffer-multibyte status.
6572
6573 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6574
6575         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6576         of elmo-condition-find-key.
6577
6578         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6579         (elmo-condition-in-msgdb-p): Ditto.
6580         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6581         argument.
6582
6583 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6584
6585         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6586
6587 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6588
6589         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6590         label for elmo-display-progress.
6591
6592 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6593
6594         * elmo.el (elmo-folder-clear): New method.
6595         (elmo-folder-clear): Define.
6596         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6597
6598         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6599         (elmo-folder-clear): Define.
6600
6601         * elmo-map.el (elmo-folder-clear): Define.
6602
6603         * elmo-version.el (elmo-version): Up to 2.7.1.
6604
6605 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6606
6607         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6608         updates.
6609
6610 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6611
6612         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6613         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6614
6615 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6616
6617         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6618
6619         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6620         and re-written.
6621
6622         * elmo-imap4.el (elmo-folder-initialize): Use
6623         elmo-get-network-stream-type.
6624
6625         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6626
6627         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6628
6629 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6630
6631         * elmo.el (elmo-message-encache): Set unread argument for
6632         elmo-message-fetch.
6633
6634         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6635
6636         * elmo.el (elmo-net-port-info): New method.
6637
6638         * elmo-shimbun.el (elmo-net-port-info): Define.
6639         (elmo-message-encache): Ditto.
6640
6641         * elmo-net.el (elmo-net-port-info): Define as method.
6642
6643         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6644         unplugged status when elmo-enable-disconnected-operation is t.
6645
6646         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6647         of spool folder before checking new number.
6648
6649 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6650
6651         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6652         (elmo-network-setup-session): Ditto.
6653         (elmo-message-fetch-plugged): Ditto.
6654         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6655         (elmo-network-initialize-session): Ditto.
6656         (elmo-pop3-read-response): Abolish 3rd argument.
6657         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6658         (elmo-pop3-read-contents): Ditto.
6659         (elmo-pop3-read-body): Ditto.
6660         (elmo-folder-status): Call elmo-folder-close.
6661         (elmo-pop3-lock): Abolish.
6662         (elmo-pop3-unlock): Ditto.
6663         (elmo-pop3-locked-p): Ditto.
6664         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6665
6666 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6667
6668         * elmo-version.el (elmo-version): Up to 2.7.0.
6669
6670         * elmo-pop3.el (elmo-pop3-debug): New variable.
6671         (elmo-pop3-debug-inhibit-logging): Ditto.
6672         (elmo-pop3-debug): New function.
6673         (elmo-pop3-send-command): Call elmo-pop3-debug.
6674         (elmo-pop3-read-response): Added keep-lock optional argument;
6675         Don't unlock if keep-lock is non-nil.
6676         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6677         (elmo-network-authenticate-session): Bind
6678         elmo-pop3-debug-inhibit-logging as t.
6679         (elmo-network-setup-session): Call elmo-pop3-read-response with
6680         keep-lock argument.
6681         (elmo-pop3-read-msg): Ditto.
6682         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6683         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6684         (elmo-network-initialize-session): Call elmo-pop3-lock.
6685         (elmo-folder-close-internal): Don't clear location-alist slot.
6686         (elmo-folder-check): Clear location-alist slot.
6687
6688 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6689
6690         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6691         (elmo-pop3-send-command): Call elmo-pop3-lock.
6692         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6693         (elmo-pop3-read-contents): Ditto.
6694         (elmo-pop3-lock): New function.
6695         (elmo-pop3-unlock): Ditto.
6696         (elmo-pop3-locked-p): Ditto.
6697         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6698         returns t.
6699
6700 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6701
6702         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6703
6704         * elmo-util.el (elmo-file-field-primitive-condition-match):
6705         New inline function (Don't fetch file content if "first" or "last").
6706         (elmo-file-field-condition-match): Use
6707         elmo-file-field-primitive-condition-match.
6708
6709         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6710         "first".
6711
6712         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6713         (elmo-message-fetch-plugged): Fixed.
6714
6715         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6716
6717 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6718
6719         * elmo.el (elmo-folder-move-messages): Bind
6720         elmo-inhibit-display-retrieval-progress as t while moving messages.
6721
6722         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6723         New variable.
6724         (elmo-inhibit-display-retrieval-progress): Ditto.
6725
6726         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6727         for retrieval progress;
6728         Don't display progress when total buffer size is smaller than
6729         elmo-display-retrieval-progress-threshold.
6730         (elmo-message-fetch-plugged): Don't display progress when
6731         elmo-inhibit-display-retrieval-progress is non-nil.
6732
6733         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6734         for retrieval progress;
6735         Don't display progress when literal size is smaller than
6736         elmo-display-retrieval-progress-threshold.
6737         (elmo-imap4-message-fetch): Don't display progress when
6738         elmo-inhibit-display-retrieval-progress is non-nil.
6739
6740 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6741
6742         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6743         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6744         (elmo-imap4-message-fetch): Likewise.
6745
6746         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6747         (elmo-shimbun-index-range-alist): Ditto.
6748         (elmo-shimbun-use-entire-index): Abolish.
6749         (shimbun-mua-use-entire-index): Ditto.
6750         (elmo-shimbun-folder): Added new slot `range'.
6751         (elmo-folder-initialize): Setup slot `range'.
6752
6753 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6754
6755         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6756         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6757         (elmo-shimbun-get-headers): Use return value of
6758         `shimbun-article-expiration-days'.
6759         (elmo-folder-close-internal): Clean up last-check slot.
6760
6761         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6762         (elmo-pop3-total-size): New variable.
6763         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6764
6765         * elmo.el (elmo-folder-reserve-status-p): New method.
6766
6767         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6768         (elmo-shimbun-use-entire-index): New user option.
6769         (shimbun-elmo-mua): New class.
6770         (shimbun-mua-search-id): Define.
6771         (shimbun-mua-use-entire-index): Ditto.
6772         (elmo-shimbun-folder:last-check): New slot.
6773         (elmo-shimbun-headers-cache-header-list): Abolish.
6774         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6775         (elmo-shimbun-headers-cache-header-hash): Ditto.
6776         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6777         (elmo-shimbun-headers-cache-last-check): Ditto.
6778         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6779         (elmo-shimbun-headers-check-p): Rewrite.
6780         (elmo-shimbun-msgdb-to-headers): New function.
6781         (elmo-shimbun-get-headers): Rewrite.
6782         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6783         (elmo-folder-open-internal): Get headers only if
6784         `elmo-shimbun-headers-check-p' is non-nil.
6785         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6786         is non-nil.
6787         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6788         (elmo-quit): Removed.
6789
6790         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6791         function.
6792         (elmo-msgdb-overview-entity-set-extra): Ditto.
6793         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6794
6795         * elmo-map.el (elmo-folder-status): Don't call
6796         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6797         is non-nil.
6798
6799 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6800
6801         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6802         of `elmo-msgdb-search-internal-primitive' when condition's car is
6803         `and' or `or'.
6804
6805 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6806
6807         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6808
6809 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6810
6811         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6812         call `elmo-pipe-drain'.
6813
6814 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6815
6816         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6817         typo. (elmo-cache-folder -> elmo-mark-folder)
6818
6819 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6820
6821         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6822         `elmo-message-fetch'.
6823
6824 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6825
6826         * elmo-net.el (elmo-message-encache): Fixed typo.
6827         (elmo-message-fetch-unplugged): Changed call
6828         `elmo-message-fetch-internal' without argument `outbuf'.
6829
6830 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6831
6832         * elmo.el (elmo-message-encache): Define as generic function.
6833         (elmo-message-fetch-field): New generic function.
6834         (elmo-message-fetch-with-cache-process): Cause an error when
6835         fetch strategy is 'entire but only 'section cache is available.
6836         (toplevel): Fixed nmz folder definition.
6837
6838         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6839         (elmo-msgdb-resume-list-filename): Ditto.
6840         (elmo-queue-filename): Ditto.
6841         (elmo-enable-disconnected-operation): Changed default value to t.
6842
6843         * elmo-util.el (elmo-cache-path-section-p): New function.
6844         (elmo-file-cache-get): Use it.
6845         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6846         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6847         (elmo-dop-queue-save): Ditto.
6848
6849         * elmo-net.el (elmo-folder-status-unplugged): Call
6850         elmo-folder-status-dop.
6851         (elmo-folder-list-messages-unplugged): Implemented.
6852         (elmo-folder-delete-messages-unplugged): Define.
6853         (elmo-folder-msgdb-create): Define.
6854         (elmo-folder-msgdb-create-unplugged): Define.
6855         (elmo-folder-mark-as-read-unplugged): Ditto.
6856         (elmo-folder-unmark-read-unplugged): Ditto.
6857         (elmo-folder-mark-as-important-unplugged): Ditto.
6858         (elmo-folder-unmark-important-unplugged): Ditto.
6859         (elmo-message-encache): Ditto.
6860
6861         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6862         (elmo-dop-queue-save): Ditto.
6863
6864         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6865         `elmo-folder-msgdb-create'.
6866         (elmo-folder-append-buffer): Implemented unplugged operation.
6867         (elmo-folder-append-messages): Call parent method in unplugged status.
6868         (elmo-message-fetch-unplugged): Removed definition.
6869         (elmo-message-fetch-field): Implemented.
6870
6871         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6872         (elmo-dop-folder): Removed variable definition.
6873         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6874         (elmo-dop-queue-flush): Implemented.
6875         (elmo-dop-queue-merge): Removed definition (TODO).
6876         (elmo-dop-spool-folder): New function.
6877         (elmo-dop-spool-folder-append-buffer): Ditto.
6878         (elmo-dop-spool-folder-list-messages): Ditto.
6879         (elmo-dop-list-deleting-messages): Ditto.
6880         (elmo-folder-append-buffer-dop): Ditto.
6881         (elmo-folder-delete-messages-dop): Ditto.
6882         (elmo-message-encache-dop): New inline function.
6883         (elmo-create-folder-dop): Ditto.
6884         (elmo-folder-mark-as-read-dop): Ditto.
6885         (elmo-folder-unmark-read-dop): Ditto.
6886         (elmo-folder-mark-as-important-dop): Ditto.
6887         (elmo-folder-unmark-important-dop): Ditto.
6888         (elmo-folder-status-dop): Fixed.
6889         (elmo-folder-append-buffer-dop-delayed): New function.
6890         (elmo-folder-delete-messages-dop-delayed): Ditto.
6891         (elmo-dop-msgdb): Ditto.
6892
6893 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6894
6895         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6896
6897 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6898
6899         * elmo.el (elmo-folder-move-messages): Fixed problem when
6900         `dst-folder' is 'null.
6901
6902 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6903
6904         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6905         instead of current mark.
6906
6907         * elmo-multi.el (elmo-folder-list-importants-internal): No
6908         operation if importants is not list.
6909
6910         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6911         Return t if importants is not list.
6912
6913         * elmo-map.el (elmo-map-folder-list-importants): Define.
6914         (elmo-folder-list-importants-internal): Check return value of
6915         `elmo-map-folder-list-importants-internal'.
6916
6917         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6918
6919         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6920
6921         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6922
6923         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6924
6925 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6926
6927         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6928         (Patch is provided by <kita@coe.nttdata.co.jp>).
6929
6930 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6931
6932         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6933         mark folder.
6934
6935 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6936
6937         * elmo.el (elmo-message-fetch): Define.
6938         (elmo-message-fetch-with-cache-process): New generic method.
6939         (elmo-message-fetch-internal): New generic method.
6940         (elmo-folder-synchronize):
6941
6942         * elmo-archive.el (elmo-message-fetch-internal): Define.
6943         (elmo-message-fetch): Eliminated.
6944
6945         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6946         (elmo-message-fetch): Eliminated.
6947
6948         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6949         argument OUTBUF.
6950         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6951
6952         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6953         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6954
6955         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6956         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6957
6958         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6959
6960         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6961
6962         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6963
6964         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6965         (elmo-message-fetch-unplugged): New generic method.
6966         (elmo-message-fetch-internal): Remove cache process (Renamed from
6967         `elmo-message-fetch').
6968
6969         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6970         (elmo-message-fetch): Eliminated.
6971         (elmo-message-fetch-unplugged): Ditto.
6972
6973         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6974
6975 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6976
6977         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6978         of `to-be-deleted' from number-alist to number-list.
6979
6980 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6981
6982         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6983         (elmo-folder-mark-as-important): Ditto.
6984
6985 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6986
6987         * elmo.el (elmo-folder): Added process-duplicates slot.
6988
6989         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6990         (elmo-folder-unmark-read): Ditto.
6991         (elmo-folder-unmark-important): Ditto.
6992         (elmo-folder-mark-as-important): Ditto.
6993
6994         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6995         duplicated message processing.
6996
6997         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6998
6999 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7000
7001         * elmo-util.el (elmo-list-subdirectories-1): New function.
7002         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7003         (elmo-mapcar-list-of-list): New function.
7004
7005         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7006         `elmo-mapcar-list-of-list' instead of `mapcar'.
7007
7008         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7009
7010         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7011         `elmo-have-link-count'. Return the fully qualified folder name.
7012
7013 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7014
7015         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7016         (elmo-shimbun-headers-cache): New internal variable.
7017         (elmo-shimbun-headers-cache-header-list): New inline function.
7018         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7019         (elmo-shimbun-headers-cache-header-hash): Ditto.
7020         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7021         (elmo-shimbun-headers-cache-last-check): Ditto.
7022         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7023         (elmo-shimbun-lapse-seconds): Ditto.
7024         (elmo-shimbun-headers-cache-check-p): Ditto.
7025         (elmo-shimbun-get-headers): New function.
7026         (elmo-folder-open-internal): Call it.
7027         (elmo-quit): Define (Clear headers-cache).
7028
7029 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7030
7031         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7032
7033         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7034         (elmo-msgdb-flist-save): Ditto.
7035
7036         * elmo-shimbun.el (elmo-folder-list-subfolders):
7037         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7038         (elmo-folder-exists-p): Ditto.
7039
7040         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7041         argument for `shimbun-header-insert'.
7042
7043 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7044
7045         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7046         at first time.
7047
7048         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7049         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7050
7051 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7052
7053         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7054         (elmo-folder-plugged-p): Define.
7055         (elmo-folder-set-plugged): Ditto.
7056         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7057         (elmo-folder-list-messages-internal): Return t if unplugged.
7058         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7059
7060         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7061         when elmo-folder-list-messages-internal method of children returns t.
7062
7063         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7064         pair is nil.
7065         (elmo-folder-open-internal): Don't update if unplugged status.
7066
7067 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7068
7069         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7070         new message.
7071
7072 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7073
7074         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7075
7076         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7077         saving.
7078
7079 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7080
7081         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7082
7083         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7084         (elmo-folder-open-internal): Set up headers slot.
7085         (elmo-folder-check): Call elmo-folder-close-internal and
7086         elmo-folder-open-internal.
7087         (elmo-folder-close-internal): Clean up headers slot.
7088
7089 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7090
7091         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7092         exactly folder list.
7093         (elmo-folder-append-messages): Fixed append archive with prefix.
7094
7095         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7096         make temp files with start-number.
7097
7098         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7099
7100 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7101
7102         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7103         argument `visible-only'.
7104         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7105         instead of `if'.
7106
7107         * elmo-pop3.el (elmo-folder-open-internal): Check
7108         `elmo-inhibit-number-mapping' is non-nil.
7109
7110         * elmo-pipe.el (elmo-folder-status): Fixed.
7111
7112 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7113
7114         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7115
7116         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7117         (elmo-folder-open-internal): Setup `header-hash' slot.
7118         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7119         information.
7120         (elmo-map-message-fetch): Ditto.
7121
7122 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7123
7124         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7125         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7126         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7127         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7128
7129         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7130
7131 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7132
7133         * sb-airs.el: Added footer.
7134
7135         * shimbun.el (shimbun-article): Define as luna-method.
7136
7137         * sb-tcup.el: New file.
7138
7139         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7140         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7141
7142 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7143
7144         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7145         (shimbun-get-headers): Ditto.
7146
7147         * elmo.el: Moved obsolete variable definitions from
7148         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7149
7150         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7151         groups.
7152
7153         * shimbun.el: New file.
7154
7155         * elmo-shimbun.el: New file.
7156
7157         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7158         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7159         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7160         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7161
7162 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7163
7164         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7165         hierarchy is t.
7166
7167 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7168
7169         * elmo.el (elmo-folder-msgdb): Define as macro.
7170         (elmo-folder-open): Added argument `load-msgdb'.
7171         (elmo-generic-folder-open): Ditto.
7172         (elmo-folder-encache): New function.
7173
7174         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7175
7176         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7177
7178         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7179         Eliminated argument FOLDER and added argument MSGDB.
7180         (elmo-dop-queue-load): Moved from elmo-dop.el.
7181         (elmo-dop-queue-save): Ditto.
7182
7183         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7184
7185         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7186
7187         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7188         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7189         (elmo-filter-folder-list-importants-internal): Ditto.
7190
7191         * elmo-map.el (elmo-folder-pack-number): Ditto.
7192
7193         * elmo-mime.el (elmo-mime-message-display): Ditto.
7194
7195         * elmo.el (elmo-generic-folder-commit): Ditto.
7196         (elmo-folder-list-unreads): Ditto.
7197         (elmo-folder-list-importants): Ditto.
7198         (elmo-generic-folder-commit): Ditto.
7199         (elmo-message-set-mark): Ditto.
7200         (elmo-generic-folder-append-msgdb): Ditto.
7201         (elmo-folder-synchronize): Ditto.
7202         (elmo-folder-messages): Ditto.
7203         (elmo-init): Call elmo-dop-queue-load.
7204         (elmo-folder-list-messages): Ditto.
7205
7206         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7207         (elmo-nntp-folder-process-crosspost): Ditto.
7208         (elmo-folder-list-unreads-internal): Ditto.
7209
7210         * elmo-dop.el: Removed old functions.
7211
7212 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7213
7214         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7215         `folder' to `msgdb'.
7216
7217 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7218
7219         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7220         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7221
7222         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7223         case-fold-search.
7224
7225 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7228         defined.
7229
7230         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7231         (mmimap-parse-parameters-from-list): Define as alias for
7232         `mime-decode-parameter-plist' if it is defined as function.
7233         (mmimap-make-mime-entity): Added argument `number'.
7234         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7235         as 0.
7236         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7237
7238         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7239
7240         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7241
7242         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7243
7244 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7245
7246         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7247
7248         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7249         when elmo-imap4-default-authenticate-type is nil.
7250         (elmo-folder-list-subfolders): Ditto
7251         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7252         (elmo-imap4-fetch-callback-1-subr): Renamed from
7253         `elmo-imap4-fetch-callback-1' and define as inline function.
7254         (elmo-imap4-fetch-callback-1):
7255         Renamed from `elmo-imap4-fetch-callback'.
7256         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7257
7258         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7259         msgdb path (To keep compatibility with main trunk).
7260
7261         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7262
7263         * elmo-util.el (elmo-make-file-cache): Moved position of
7264         some macros.
7265
7266         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7267         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7268         instead of `elmo-pop3-inhibit-uidl'.
7269         (elmo-folder-exists-p): Ditto.
7270         (elmo-pop3-folder-list-messages): Ditto.
7271
7272         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7273         instead of `elmo-pop3-inhibit-uidl'.
7274         (elmo-folder-status): Ditto.
7275
7276         * elmo-dop.el (elmo-dop-folder): New variable.
7277         (elmo-dop-lock-message): Eliminated.
7278         (elmo-dop-unlock-message): Ditto.
7279         (elmo-dop-lock-list-load): Ditto.
7280         (elmo-dop-lock-list-save): Ditto.
7281         (elmo-dop-delete-folder): Ditto.
7282         (elmo-dop-rename-folder): Ditto.
7283
7284         * elmo.el: Removed incomplete commentary.
7285
7286 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7287
7288         * elmo.el (toplevel): Require 'elmo-version first;
7289         for little `recursive-load-depth' settings.
7290         Fix "ends here" comment.
7291
7292 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7293
7294         * elmo-util.el (toplevel): Require 'poem;
7295         Some functions are moved from elmo-cache.el.
7296
7297         * elmo-net.el (toplevel): Require 'elmo-cache.
7298
7299         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7300
7301         * elmo.el (toplevel): Ditto.
7302
7303         * elmo-cache.el: Rewrite with luna;
7304         Some functions are moved to elmo-util.el.
7305
7306         * elmo-internal.el (elmo-internal-folder-list): New variable.
7307         (elmo-internal-folder-initialize): Rewrite.
7308         (elmo-folder-list-subfolders): Ditto.
7309
7310         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7311         (elmo-cache-collect-sub-directories): Ditto.
7312
7313 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7314
7315         * elmo-version.el (elmo-version): Up to 2.5.8.
7316
7317         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7318
7319         * elmo-util.el (elmo-list-insert): New function.
7320
7321 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7322
7323         * elmo.el (elmo-init): New function.
7324         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7325
7326         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7327         (Renamed from `elmo-localdir-header-chop-length').
7328
7329         * elmo-pop3.el (elmo-pop3-use-cache,
7330         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7331
7332         * elmo-nntp.el (elmo-message-fetch): Define.
7333         (elmo-message-fetch-unplugged): Ditto.
7334         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7335         (elmo-nntp-use-cache): Ditto.
7336         (elmo-nntp-max-number-precedes-list-active): Ditto.
7337
7338         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7339
7340         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7341         `elmo-msgdb-insert-file-header'.
7342         Use `elmo-msgdb-file-header-chop-length'.
7343
7344         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7345         `elmo-vars.el'.
7346
7347         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7348         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7349         `elmo-msgdb-insert-file-header'.
7350
7351         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7352         Use new variable;
7353         Define obsolete variables with `elmo-define-obsolete-variable',
7354
7355         * elmo-util.el (elmo-warning-buffer-name): New constant.
7356         (elmo-warning): New function.
7357         (elmo-obsolete-variable-alist): New variable.
7358         (elmo-obsolete-variable-show-warnings): New variable.
7359         (elmo-define-obsolete-variable): New function.
7360         (elmo-resque-obsolete-variable): Ditto.
7361         (elmo-resque-obsolete-variables): Ditto.
7362
7363 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7364
7365         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7366         Eliminated.
7367
7368         * elmo-pop3.el, elmo-nntp.el: Use custom.
7369
7370 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7371
7372         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7373         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7374
7375 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7376
7377         * Luna-fy Kenichi OKADA's following changes.
7378         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7379         `nohide'.
7380         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7381
7382 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7383
7384         * elmo-util.el (elmo-display-progress): Prefer
7385         `progress-feedback-with-label' to `lprogress-display'.
7386
7387 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7388
7389         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7390
7391 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7392
7393         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7394         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7395         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7396         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7397         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7398         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7399         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7400         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7401         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7402         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7403         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7404         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7405         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7406
7407 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7408
7409         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7410         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7411
7412 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7413
7414         * elmo.el (elmo-folder-process-crosspost): New generic method.
7415         (elmo-folder-writable-p): Ditto.
7416         (elmo-folder-message-appendable-p): Eliminated.
7417         (elmo-generic-folder-append-msgdb): Rewrite.
7418         (elmo-newsgroups-hashtb): New internal variable.
7419         (elmo-crosspost-message-set): Eliminated.
7420         (elmo-crosspost-message-delete): Ditto.
7421         (elmo-setup-subscribed-newsgroups): New function.
7422         (elmo-crosspost-message-alist-modified): New internal variable.
7423         (elmo-crosspost-message-alist-load): New function (Renamed from
7424         `wl-crosspost-alist-load').
7425         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7426         `wl-crosspost-alist-save').
7427
7428         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7429
7430         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7431         `unreads'.
7432         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7433         elmo-newsgroups-hashtb).
7434         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7435         `elmo-nntp-folder-update-crosspost-message-alist'.
7436         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7437         `elmo-nntp-groups-hashtb'.
7438         (elmo-nntp-make-groups-hashtb): Eliminated.
7439         (elmo-nntp-parse-newsgroups): New function (Renamed from
7440         `wl-parse-newsgroups').
7441         (elmo-folder-creatable-p, elmo-folder-writable-p,
7442         elmo-folder-close-internal, elmo-folder-mark-as-read,
7443         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7444         Define.
7445         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7446
7447         * elmo-net.el (elmo-message-fetch): Check buffer size.
7448
7449         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7450
7451         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7452
7453         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7454         before `close' command.
7455
7456         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7457         `mark-alist' (All other related portions are changed).
7458
7459 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7460
7461         * elmo-util.el (elmo-create-hash-size): Eliminated.
7462         (elmo-make-hash) Make a hash with `one less than a power of two'
7463         length.
7464
7465         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7466         (elmo-hash-maximum-size): Changed value.
7467
7468 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7469
7470         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7471         (elmo-mime-message-display-as-is): Ditto.
7472
7473 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7474
7475         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7476         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7477
7478 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7479
7480         * elmo-mark.el: New file.
7481
7482         * elmo-internal.el: Rewrite (Almost empty).
7483
7484 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7485
7486         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7487         (mime-imap-entity-header-string): Ditto.
7488         (mmimap-entity-section): Rewrite.
7489
7490 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7491
7492         * elmo-nmz.el: New file.
7493
7494         * elmo-pipe.el: Rewrite with luna.
7495
7496 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7497
7498         * elmo-archive.el: Rewrite with luna.
7499
7500         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7501         (elmo-folder-list-importants-internal): Ditto.
7502
7503 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7504
7505         * elmo-archive.el (elmo-archive-version): Abolish.
7506         (toplevel) Removed `boso' comment.
7507
7508 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7509
7510         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7511         elmo-msgdb-add-msgs-to-seen-list-subr;
7512         Changed argument seen-marks to unread-marks.
7513
7514         * elmo-nntp.el: Rewrite with luna.
7515
7516 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7517
7518         * elmo-filter.el: Rewrite with luna.
7519
7520 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7521
7522         * elmo-pop3.el: Rewrite with luna.
7523
7524 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7525
7526         * elmo-multi.el: Rewrite with luna.
7527
7528         * elmo-vars.el (elmo-use-killed-list): Abolish.
7529         All other related portions are changed.
7530         (elmo-filename-replace-string-alist): Renamed from
7531         elmo-msgid-replace-string-alist.
7532
7533 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7534
7535         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7536
7537         * elmo-map.el: New file.
7538         * elmo-maildir.el: Rewrite with luna.
7539
7540 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7541
7542         * elmo.el: Changed meaning of `elmo-folder-commit'.
7543         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7544
7545 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7546
7547         * elmo.el (elmo-folder-append-buffer): New function.
7548         (Renamed from `elmo-append-msg')
7549
7550 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7551
7552         * elmo-mime.el: New file.
7553
7554 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7555
7556         * elmo-cache.el: Rewrite.
7557
7558 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7559
7560         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7561
7562 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7563
7564         * elmo-vars.el (elmo): New group.
7565         (elmo-strict-diff-folder-regexp): New variable.
7566
7567         * elmo-util.el (elmo-call-func): Abolish.
7568         (elmo-folder-get-type): Ditto.
7569         (elmo-*-get-spec): Ditto.
7570         (elmo-*-spec-*): Ditto.
7571         (elmo-imap4-identical-name-space-p): Ditto.
7572         (elmo-folder-identical-system-p): Ditto.
7573         (elmo-folder-direct-copy-alist): Ditto.
7574         (elmo-folder-direct-copy-p): Ditto.
7575
7576         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7577         (elmo-folder-initialize): Define.
7578         (elmo-folder-get-primitive-list): Ditto.
7579
7580         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7581         (elmo-folder-initialize): Define.
7582         Renamed `elmo-network-session-host-internal' to
7583         `elmo-network-session-server-internal'.
7584
7585         * elmo-multi.el (elmo-multi-folder): New luna class.
7586         (elmo-folder-initialize): Define.
7587         (elmo-folder-get-primitive-list): Ditto.
7588         (elmo-folder-contains-type): Ditto.
7589         (elmo-message-use-cache-p): Ditto.
7590
7591         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7592         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7593
7594         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7595         (elmo-folder-initialize): Define.
7596
7597         * elmo-filter.el (elmo-filter-folder): New luna class.
7598         (elmo-folder-initialize): Define.
7599         (elmo-folder-get-primitive-list): Ditto.
7600         (elmo-folder-contains-type): Ditto.
7601
7602 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7603
7604         * elmo-imap4.el: Rewrite with luna.
7605
7606         * mmimap.el: New file.
7607
7608         * mmelmo.el, mmelmo-imap4.el: Removed.
7609
7610         * elmo-net.el: Ditto.
7611
7612         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7613         (elmo-folder-initialize): Define.
7614
7615         * elmo-archive.el (elmo-archive-folder): New luna class.
7616         (elmo-folder-initialize): Define.
7617
7618         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7619         `elmo-folder-msgdb-path'.
7620         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7621         `elmo-make-folder'.
7622
7623 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7624
7625         * elmo.el: New file.
7626
7627         * elmo2.el: Renamed to elmo.el.
7628
7629 \f
7630 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7631
7632         * elmo-cache.el (elmo-cache-expire-by-size): Count
7633         a disk usage for a cache file entry in KB even when
7634         its kind is a directory.
7635
7636 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7637
7638         * elmo-version.el (elmo-version): Up to 2.5.7.
7639
7640 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7641
7642         * elmo-version.el (elmo-version): Up to 2.5.6.
7643
7644 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7645
7646         * elmo-version.el (elmo-version): Up to 2.5.5.
7647
7648 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7649
7650         * elmo-imap4.el (elmo-network-authenticate-session):
7651         Fixed a logic for response checking.
7652
7653 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7654
7655         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7656         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7657         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7658         `sasl-mechanisms'.
7659
7660         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7661         for `starttls-open-stream' and `starttls-negotiate'.
7662
7663         * elmo-nntp.el: Remove autoload settings for
7664         `starttls-open-stream' and `starttls-negotiate'.
7665
7666         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7667         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7668         `luna-define-class' with `eval-and-compile'.
7669
7670 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7671
7672         * elmo-util.el (elmo-read-search-condition-internal):
7673         Require an element of table for searching field.
7674
7675 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7676
7677         * elmo-version.el (elmo-version): Up to 2.5.4.
7678
7679 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7680
7681         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7682
7683 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7684
7685         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7686
7687 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7688
7689         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7690         before greeting.
7691
7692 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7693
7694         * elmo-imap4.el (elmo-imap4-delete-folder):
7695         Send "close" before "delete" (Use commented out line).
7696         (elmo-imap4-rename-folder): Ditto.
7697
7698         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7699         folder string itself.
7700         (elmo-dop-list-deleted): New function.
7701         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7702         killed.
7703
7704         * elmo-util.el (elmo-string-rassoc-all): New function.
7705
7706 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7707
7708         * elmo-version.el (elmo-version): Up to 2.5.3.
7709
7710         * elmo-net.el (elmo-network-get-session): Changed logic for
7711         checking process status.
7712
7713         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7714         process is nil;
7715         Changed logic for checking process status.
7716
7717 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7718
7719         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7720         before greeting.
7721         (elmo-network-setup-session): Set UIDL hash size according to
7722         the length of list response.
7723         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7724         according to the length of list response;
7725         Return the length of list response.
7726         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7727
7728 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7729
7730         * elmo-imap4.el (toplevel): Require 'ssl.
7731         Add autoload 'starttls.
7732         * elmo-pop3.el (toplevel): Ditto.
7733         * elmo-nntp.el (toplevel): Ditto.
7734
7735 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7736
7737         * elmo-imap4.el (toplevel): defun at compile time.
7738         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7739         sasl-next-step, sasl-step-data, sasl-step-set-data.
7740         * elmo-pop3.el (toplevel): Ditto.
7741
7742 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7743
7744         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7745
7746 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7747
7748         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7749         if error.
7750         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7751         and `elmo-pop-auth-apop'.
7752
7753 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7754
7755         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7756
7757 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7758
7759         * elmo-pop3.el (elmo-network-authenticate-session): Split
7760         encoded response value.
7761
7762 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7763
7764         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7765         `elmo-pop3-force-login'.
7766         Redefine `sasl-mechanisms'.
7767         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7768
7769 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7770
7771         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7772         Delete `elmo-imap4-authenticator-alist'.
7773         (elmo-imap4-auth-cram-md5): Delete.
7774         (elmo-imap4-auth-digest-md5): Delete.
7775
7776 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7777
7778         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7779         (elmo-pop3-auth-scram-md5): Ditto.
7780         (elmo-pop3-auth-cram-md5): Ditto.
7781
7782 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7783
7784         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7785         Delete `elmo-pop3-authenticator-alist'.
7786
7787 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7788
7789         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7790         new SASL API.
7791         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7792
7793 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7794
7795         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7796
7797 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7798
7799         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7800         Fixed problem when `elmo-pop3-use-uidl' is nil.
7801         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7802
7803 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7804
7805         * elmo-version.el (elmo-version): Up to 2.5.2.
7806
7807 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7808
7809         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7810         New function.
7811         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7812         (elmo-pop3-msgdb-create-as-numlist): Use it.
7813
7814         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7815         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7816
7817         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7818         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7819
7820 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7821
7822         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7823         when elmo-mark-as-read is called with second argument nil.
7824
7825 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7826
7827         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7828         Moved to elmo-util.el.
7829
7830         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7831         Moved from elmo-pipe.el
7832
7833         * elmo-archive.el (elmo-archive-call-process): Enclose with
7834         static-if.
7835
7836         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7837         "RFC822" (because RFC822.PEEK is obsolete).
7838         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7839
7840 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7841
7842         * elmo-archive.el (elmo-archive-call-process): Don't check for
7843         the exit status when Nemacs is running.
7844
7845 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7846
7847         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7848         'plain.
7849
7850         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7851         (elmo-pop3-get-spec): Set default of auth to 'user.
7852
7853         * elmo-imap4.el (elmo-imap4-session-check):
7854         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7855         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7856         (elmo-imap4-auth-login): New function; Revival.
7857         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7858         `elmo-imap4-auth-login'.
7859
7860 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7861
7862         * elmo2.el (toplevel): Move `product-provide' declare.
7863         * mmelmo.el (toplevel): Ditto.
7864
7865 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7866
7867         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7868
7869 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7870
7871         * elmo-util.el (elmo-folder-get-store-type): New function.
7872         (elmo-folder-direct-copy-p): Use it.
7873
7874 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7875
7876         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7877         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7878         and result of `elmo-imap4-use-flag-p'.
7879         (elmo-imap4-fetch-callback-1): Set mark according to
7880         the result of `elmo-imap4-use-flag-p'.
7881
7882 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7883
7884         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7885         (elmo-generic-list-folder-unread): Ditto.
7886         (elmo-folder-get-info): Ditto.
7887         (elmo-folder-set-info-max-by-numdb): Ditto.
7888         (elmo-folder-get-info-max): Ditto.
7889         (elmo-folder-get-info-length): Ditto.
7890         (elmo-folder-get-info-unread): Ditto.
7891         (elmo-folder-info-make-hashtb): Ditto.
7892
7893         * elmo2.el: Removed above functions.
7894
7895 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7896
7897         * elmo-imap4.el (toplevel): Require 'ssl.
7898         Add autoload 'starttls.
7899         * elmo-pop3.el (toplevel): Ditto.
7900         * elmo-nntp.el (toplevel): Ditto.
7901
7902 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7903
7904         * elmo-imap4.el (toplevel): defun at compile time.
7905         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7906         sasl-next-step, sasl-step-data, sasl-step-set-data.
7907         * elmo-pop3.el (toplevel): Ditto.
7908
7909 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7910
7911         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7912
7913 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7914
7915         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7916         if error.
7917         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7918         and `elmo-pop-auth-apop'.
7919
7920 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7921
7922         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7923
7924 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7925
7926         * elmo-pop3.el (elmo-network-authenticate-session): Split
7927         encoded response value.
7928
7929 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7930
7931         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7932         `elmo-pop3-force-login'.
7933         Redefine `sasl-mechanisms'.
7934         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7935
7936 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7937
7938         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7939         Delete `elmo-imap4-authenticator-alist'.
7940         (elmo-imap4-auth-cram-md5): Delete.
7941         (elmo-imap4-auth-digest-md5): Delete.
7942
7943 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7944
7945         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7946         (elmo-pop3-auth-scram-md5): Ditto.
7947         (elmo-pop3-auth-cram-md5): Ditto.
7948
7949 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7950
7951         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7952         Delete `elmo-pop3-authenticator-alist'.
7953
7954 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7955
7956         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7957         new SASL API.
7958         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7959
7960 \f
7961 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7962
7963         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7964
7965 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7966
7967         * elmo-nntp.el (elmo-nntp-get-folders-info):
7968         Fixed problem when '\' character is contained in user-id.
7969         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7970
7971 \f
7972 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7973
7974         * elmo-imap4.el (elmo-imap4-delete-folder):
7975         Send "close" before "delete" (Use commented out line).
7976         (elmo-imap4-rename-folder): Ditto.
7977
7978         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7979         folder string itself.
7980         (elmo-dop-list-deleted): New function.
7981         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7982         killed.
7983
7984         * elmo-util.el (elmo-string-rassoc-all): New function.
7985
7986         * elmo-version.el (elmo-version): Up to 2.5.1.
7987
7988 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7989
7990         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7991
7992         * elmo-internal.el (elmo-internal-search): Fix last change.
7993
7994 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7995
7996         * elmo-internal.el (elmo-internal-search): Rewrite.
7997         (Fixed problem which is pointed out by Akihiro MOTOKI
7998         <motoki@da.jp.nec.com>)
7999
8000         * elmo-version.el (elmo-version): Up to 2.5.0.
8001
8002 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8003
8004         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8005
8006 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8007
8008         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8009         non-nil, make hierarchy.
8010
8011 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8012
8013         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8014         `elmo-pop3-use-uidl' must be bound to nil.
8015         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8016
8017 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8018
8019         * elmo-util.el (elmo-copy-file): Don't cause an error after
8020         `add-name-to-file' failed.
8021
8022         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8023         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8024
8025 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8026
8027         * elmo-version.el (elmo-version): Up to 2.3.93.
8028
8029 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8030
8031         * elmo-util.el (elmo-flatten): New function.
8032
8033 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8034
8035         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8036         sync Author header.
8037         * elmo-cache.el (toplevel): Ditto.
8038         * elmo-database.el (toplevel): Ditto.
8039         * elmo-date.el (toplevel): Ditto.
8040         * elmo-dop.el (toplevel): Ditto.
8041         * elmo-filter.el (toplevel): Ditto.
8042         * elmo-imap4.el (toplevel): Ditto.
8043         * elmo-internal.el (toplevel): Ditto.
8044         * elmo-localdir.el (toplevel): Ditto.
8045         * elmo-localnews.el (toplevel): Ditto.
8046         * elmo-maildir.el (toplevel): Ditto.
8047         * elmo-msgdb.el (toplevel): Ditto.
8048         * elmo-multi.el (toplevel): Ditto.
8049         * elmo-net.el (toplevel): Ditto.
8050         * elmo-nntp.el (toplevel): Ditto.
8051         * elmo-pipe.el (toplevel): Ditto.
8052         * elmo-pop3.el (toplevel): Ditto.
8053         * elmo-util.el (toplevel): Ditto.
8054         * elmo-vars.el (toplevel): Ditto.
8055         * elmo2.el (toplevel): Ditto.
8056         * mmelmo-imap4.el (toplevel): Ditto.
8057         * mmelmo.el (toplevel): Ditto.
8058
8059         * elmo-version.el (elmo-version): Move to top.
8060
8061         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8062         * elmo-imap4.el (toplevel): Ditto.
8063         * elmo-localdir.el (toplevel): Ditto.
8064         * elmo-msgdb.el (toplevel): Ditto.
8065         * elmo-nntp.el (toplevel): Ditto.
8066         * elmo-pop3.el (toplevel): Ditto.
8067         * elmo-version.el (toplevel): Ditto.
8068
8069         * elmo-localnews.el (toplevel): Added Keyword header.
8070
8071 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8072
8073         * elmo-version.el (product-version-as-string): Defined using
8074         `defun-maybe'.
8075         (toplevel): Use it.
8076
8077         * elmo-localdir.el (toplevel): Updated copyright notice.
8078         * elmo-version.el (toplevel): Ditto.
8079         * elmo-msgdb.el (toplevel): Ditto.
8080         * elmo-imap4.el (toplevel): Ditto.
8081         * elmo-nntp.el (toplevel): Ditto.
8082         * elmo-pop3.el (toplevel): Ditto.
8083
8084 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8085
8086         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8087         messages.
8088
8089         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8090         parameter value (It sometimes contains raw kanji).
8091
8092 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8093
8094         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8095         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8096
8097 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8098
8099         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8100
8101 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8102
8103         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8104         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8105
8106 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8107
8108         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8109         value if selecting folder succceeded.
8110         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8111
8112 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8113
8114         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8115         representation.
8116
8117         * elmo-util.el (elmo-string-matched-member): New function.
8118
8119 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8120
8121         * elmo-util.el (elmo-unintern): New macro.
8122         (elmo-number-set-member): Fixed docstring.
8123
8124         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8125         tag token.
8126
8127 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8128
8129         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8130         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8131
8132 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8133
8134         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8135         `no-error'.
8136         Added docstring.
8137         Return non-nil if selecting folder succeeded.
8138         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8139
8140 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8141
8142         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8143         `file-name-completion' returns t.
8144         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8145         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8146         directory if it does not exist.
8147         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8148         for iteration.
8149
8150 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8151
8152         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8153         enclosure (It's harmful in unplugged status).
8154
8155         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8156
8157         * mmelmo-1.el: Removed.
8158
8159         * mmelmo-2.el: Ditto.
8160
8161         * mmelmo-imap4-1.el: Ditto.
8162
8163         * mmelmo-imap4-2.el: Ditto.
8164
8165         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8166
8167         * mmelmo.el: Merged mmelmo-2.el.
8168
8169         * elmo-version.el (elmo-version): Up to 2.3.92.
8170
8171 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8172
8173         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8174         elmo-update-number): Remove last period in "...done." message.
8175         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8176         Ditto.
8177         * elmo-cache.el (elmo-cache-expire-by-size,
8178         elmo-cache-get-sorted-cache-file-list,
8179         elmo-cache-msgdb-create-as-numlist): Ditto.
8180         * elmo-dop.el (elmo-dop-save-pending-messages,
8181         (elmo-dop-flush-pending-append-operations): Ditto.
8182         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8183         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8184         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8185         (elmo-localdir-pack-number): Ditto.
8186         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8187         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8188         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8189         mime-write-entity-content): Ditto.
8190         * pldap.el (ldap-search-basic): Ditto.
8191
8192 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8193
8194         * elmo-version.el (elmo-version): Up to 2.3.91.
8195
8196         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8197         Only when filter is 'last'.
8198
8199         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8200         (elmo-condition-parse-search-value): Use it.
8201         (elmo-read-search-condition-internal): Quote value only when
8202         it is not an atom.
8203
8204 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8205
8206         * elmo2.el (elmo-generic-folder-diff): Fix.
8207
8208 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8209
8210         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8211         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8212         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8213         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8214         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8215         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8216
8217 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8218
8219         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8220         extra-fields.
8221
8222 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8223
8224         * elmo-version.el (elmo-version): Up to 2.3.90.
8225
8226         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8227         (elmo-imap4-list-folder-important): Ditto.
8228
8229 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8230
8231         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8232
8233 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8234
8235         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8236
8237 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8238
8239         * elmo-nntp.el (elmo-network-initialize-session):
8240         Add starttls negotiation.
8241
8242 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8243
8244         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8245         response.
8246         (elmo-network-setup-session): Define.
8247         Call `elmo-nntp-send-mode-reader' when session opened.
8248
8249 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8250
8251         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8252
8253 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8254
8255         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8256         an invalid SPACE character ahead of `SEARCH' command.  Move
8257         a valid SPACE character following `SEARCH' from conditional
8258         `format' arguments to control-strings.
8259
8260 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8261
8262         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8263         was succeeded.
8264
8265         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8266
8267 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8268
8269         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8270         `w32-get-true-file-link-count' as t.
8271
8272         * elmo-imap4.el (elmo-imap4-read): Abolished.
8273         (Renamed to `elmo-read' and moved to elmo-util.el)
8274         All other related portions are changed.
8275
8276         * elmo-util.el (elmo-read): New function.
8277         (elmo-condition-parse-search-value): Use it.
8278
8279 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8280
8281         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8282
8283         * elmo-nntp.el (elmo-nntp-session): Define.
8284         (elmo-nntp-setting): Abolished.
8285         All other related portions are changed.
8286         (elmo-nntp-get-server-command): Changed argument.
8287         (elmo-nntp-set-server-command): Ditto.
8288         (elmo-nntp-xover-p): Ditto.
8289         (elmo-nntp-set-xover): Ditto.
8290         (elmo-nntp-listgroup-p): Ditto.
8291         (elmo-nntp-set-listgroup): Ditto.
8292         (elmo-nntp-list-active-p): Ditto.
8293         (elmo-nntp-set-list-active): Ditto.
8294         (elmo-nntp-xhdr-p): Ditto.
8295         (elmo-nntp-set-xhdr): Ditto.
8296         (elmo-nntp-flush-connection): Abolished.
8297         (elmo-nntp-get-connection): Abolished.
8298         (elmo-nntp-get-session): New function.
8299         (elmo-network-initialize-session): Defined.
8300         (elmo-network-authenticate-session): Ditto.
8301         (elmo-nntp-send-mode-reader): Changed argument.
8302         (elmo-nntp-send-command): Changed argument.
8303         All other related portions are changed.
8304         (elmo-nntp-read-response): Ditto.
8305         (elmo-nntp-read-raw-response): Ditto.
8306         (elmo-nntp-read-contents): Ditto.
8307         (elmo-nntp-read-body): Ditto.
8308         (elmo-nntp-goto-folder): Abolished.
8309         (elmo-nntp-select-group): New function.
8310         All other related portions are changed.
8311         (This function substitutes `elmo-nntp-goto-folder')
8312         (elmo-nntp-msgdb-create-by-header): Rewrite.
8313         (elmo-nntp-get-overview): Eliminated.
8314         (elmo-nntp-get-message): Ditto.
8315         (elmo-nntp-open-connection) Abolished.
8316         (elmo-nntp-read-msg): Rewrite.
8317         (elmo-nntp-post): Ditto.
8318         (elmo-nntp-send-data): Abolished.
8319         (elmo-nntp-send-buffer): New function.
8320         (elmo-nntp-send-data-line): Define as inline function.
8321         (elmo-nntp-get-folders-info-prepare): Use session as key.
8322         (elmo-nntp-groups-read-response): Changed argument.
8323         (elmo-nntp-retrieve-headers): Ditto.
8324         (elmo-nntp-msgdb-create-message): Ditto.
8325
8326         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8327         when searching by 'since' or 'before'.
8328
8329 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8330
8331         * elmo-version.el (toplevel): Use product-version-as-string for set
8332         verstion-string, if defined.
8333
8334 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8335
8336         * elmo-util.el: Doc fixes.
8337
8338 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8339
8340         * elmo-archive.el (toplevel): Use product-provide.
8341         * elmo-cache.el (toplevel): Ditto.
8342         * elmo-database.el (toplevel): Ditto.
8343         * elmo-date.el (toplevel): Ditto.
8344         * elmo-dop.el (toplevel): Ditto.
8345         * elmo-filter.el (toplevel): Ditto.
8346         * elmo-imap4.el (toplevel): Ditto.
8347         * elmo-internal.el (toplevel): Ditto.
8348         * elmo-localdir.el (toplevel): Ditto.
8349         * elmo-localnews.el (toplevel): Ditto.
8350         * elmo-maildir.el (toplevel): Ditto.
8351         * elmo-msgdb.el (toplevel): Ditto.
8352         * elmo-multi.el (toplevel): Ditto.
8353         * elmo-net.el (toplevel): Ditto.
8354         * elmo-nntp.el (toplevel): Ditto.
8355         * elmo-pipe.el (toplevel): Ditto.
8356         * elmo-pop3.el (toplevel): Ditto.
8357         * elmo-util.el (toplevel): Ditto.
8358         * elmo-vars.el (toplevel): Ditto.
8359         * elmo2.el (toplevel): Ditto.
8360         * mmelmo-1.el (toplevel): Ditto.
8361         * mmelmo-2.el (toplevel): Ditto.
8362         * mmelmo-imap4-1.el (toplevel): Ditto.
8363         * mmelmo-imap4-2.el (toplevel): Ditto.
8364         * mmelmo-imap4.el (toplevel): Ditto.
8365         * mmelmo.el (toplevel): Ditto.
8366
8367 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8368
8369         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8370         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8371
8372 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8373
8374         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8375         before splitting.
8376         (elmo-multi-split-number-alist): Ditto.
8377
8378 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8379
8380         * elmo-version.el: New file.  Use product.el.
8381         * elmo2.el: Add (require 'elmo-version).
8382         * elmo-vars.el (elmo-appname, elmo-version): Move to
8383         elmo-version.el
8384
8385 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8386
8387         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8388         `elmo-msgdb-expand-path'.
8389         (elmo-msgdb-load): Ditto.
8390         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8391         (elmo-generic-list-folder-unread): Rewrite.
8392         (elmo-generic-list-folder-important): Changed argument.
8393         (elmo-list-folder-unread): Ditto.
8394         (elmo-list-folder-important): Ditto.
8395         (elmo-folder-diff): Rewrite.
8396         (elmo-generic-folder-diff): New function.
8397         (elmo-multi-get-number-alist-list): Abolished
8398         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8399         (elmo-multi-folder-diff): Moved to elmo-multi.el
8400         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8401
8402         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8403         `elmo-msgdb-expand-path'.
8404         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8405         (elmo-pop3-read-msg): Ditto.
8406         (elmo-pop3-delete-msgs): Ditto.
8407         (elmo-pop3-folder-diff): New alias.
8408
8409         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8410         `elmo-msgdb-expand-path'.
8411         (elmo-pipe-list-folder-unread): Changed arguments.
8412         (elmo-pipe-list-folder-important): Ditto.
8413         (elmo-pipe-folder-diff): New alias.
8414
8415         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8416         `elmo-msgdb-expand-path'.
8417         (elmo-nntp-max-of-folder): Ditto.
8418         (elmo-nntp-msgdb-create): Ditto.
8419         (elmo-nntp-delete-msgs): Ditto.
8420         (elmo-nntp-folder-diff): New alias.
8421
8422         * elmo-multi.el (elmo-multi-folder-diff): New function.
8423         (elmo-multi-split-mark-alist): Ditto.
8424         (elmo-multi-split-number-alist): Ditto.
8425         (elmo-multi-mark-alist-list): Abolished (Renamed to
8426         elmo-multi-split-mark-alist).
8427         (elmo-multi-list-folder-unread): Rewrite.
8428         (elmo-multi-list-folder-important): Ditto.
8429         (elmo-multi-list-folder): Set `spec' as 1st argument for
8430         `elmo-msgdb-expand-path'.
8431         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8432         instead of `elmo-multi-get-number-alist-list'.
8433
8434         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8435         If 1st argument is not string, treat as spec.
8436         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8437         `elmo-msgdb-expand-path'.
8438         (elmo-msgdb-flist-load): Ditto.
8439         (elmo-msgdb-flist-save): Ditto.
8440         (elmo-msgdb-delete-path): Ditto.
8441         (elmo-msgdb-rename-path): Ditto.
8442
8443         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8444         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8445         (elmo-maildir-delete-mark-msgs): Ditto.
8446         (elmo-maildir-msgdb-create): Ditto.
8447         (elmo-maildir-read-msg): Ditto.
8448         (elmo-maildir-delete-msgs): Ditto.
8449         (elmo-maildir-list-folder-subr): Ditto.
8450         (elmo-maildir-search): Ditto.
8451         (elmo-maildir-get-msg-filename): Ditto.
8452         (elmo-maildir-pack-number): Ditto.
8453         (elmo-maildir-folder-diff): New alias.
8454
8455         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8456
8457         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8458         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8459         (elmo-localdir-folder-diff): New alias.
8460
8461         * elmo-internal.el (elmo-internal-list-folder-subr):
8462         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8463         (elmo-internal-list-folder-by-location): Ditto.
8464         (elmo-internal-msgdb-create): Ditto.
8465         (elmo-internal-delete-msgs): Ditto.
8466         (elmo-internal-read-msg): Ditto.
8467         (elmo-internal-folder-diff): New alias.
8468
8469         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8470         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8471         `elmo-msgdb-expand-path'.
8472         (elmo-imap4-list-folder-unread): Changed arguments.
8473         (elmo-imap4-list-folder-important): Ditto.
8474
8475         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8476         (elmo-filter-list-folder-important): Ditto.
8477         (elmo-filter-folder-diff): New function.
8478
8479         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8480
8481         * elmo-cache.el (elmo-cache-list-folder):
8482         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8483         (elmo-cache-copy-msgs): Ditto.
8484         (elmo-cache-folder-diff): New alias.
8485
8486         * elmo-archive.el (elmo-archive-list-folder-subr):
8487         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8488         (elmo-archive-get-archive-name): Ditto.
8489         (elmo-archive-create-file): Ditto.
8490         (elmo-archive-append-msg): Ditto.
8491         (elmo-archive-copy-msgs): Ditto.
8492         (elmo-archive-copy-msgs-froms): Ditto.
8493         (elmo-archive-get-msg-filename): Ditto.
8494         (elmo-archive-folder-diff): New alias.
8495
8496 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8497
8498         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8499         (elmo-pop3-stream-type-alist): New variable.
8500         (elmo-nntp-stream-type-alist): New variable.
8501
8502         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8503         (elmo-kill-buffer): Ditto.
8504         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8505         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8506         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8507         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8508         (elmo-imap4-get-spec): Take into account
8509         `elmo-imap4-stream-type-alist'.
8510
8511 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8512
8513         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8514         (elmo-nntp-list-folders-get-cache): Ditto.
8515
8516 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8517
8518         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8519         character before 'uid'.
8520
8521 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8522
8523         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8524
8525         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8526
8527         * elmo-util.el (elmo-number-set-member): New function.
8528         (elmo-number-set-append-list): Ditto.
8529         (elmo-number-set-append): Ditto.
8530
8531         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8532         Use `elmo-number-set-member'.
8533         (elmo-living-messages): Ditto.
8534         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8535         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8536
8537         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8538         (elmo-imap4-add-to-cont-list): Abolished.
8539         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8540         instead of elmo-imap4-add-to-cont-list.
8541
8542         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8543         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8544
8545         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8546
8547 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8548
8549         * elmo-util.el (elmo-condition-parse-search-value):
8550         Fixed date parsing.
8551
8552 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8553
8554         * elmo-util.el (elmo-condition-find-key-internal): New function.
8555         (elmo-condition-find-key): Ditto.
8556
8557         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8558         (elmo-msgdb-search-internal): Ditto.
8559         (elmo-msgdb-search): Ditto.
8560
8561 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8562
8563         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8564         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8565
8566         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8567         (elmo-nntp-search-primitive): Fixed problem when condition is
8568         'unmatch'.
8569
8570         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8571
8572         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8573         (elmo-nntp-xhdr-p): New macro.
8574         (elmo-nntp-set-xhdr): Ditto.
8575         (elmo-nntp-parse-xhdr-response): New function.
8576         (elmo-nntp-retrieve-field): Ditto.
8577         (elmo-nntp-search-primitive): Ditto.
8578         (elmo-nntp-search): Implemented.
8579
8580         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8581
8582         * elmo-archive.el (elmo-archive-search): Set all number list to
8583         `elmo-archive-field-condition-match'
8584
8585         * elmo-localdir.el (elmo-localdir-search): Likewise.
8586
8587         * elmo-maildir.el (elmo-maildir-search): Likewise.
8588
8589 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8590
8591         * elmo-msgdb.el (elmo-living-messages): New function.
8592         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8593         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8594         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8595         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8596         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8597         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8598         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8599         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8600         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8601         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8602         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8603
8604 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8605
8606         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8607
8608         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8609
8610         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8611
8612         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8613         arguments for `SEARCH' command.
8614         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8615         All other related portions are changed.
8616
8617         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8618
8619         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8620         (elmo-list-folder-unread): Rewrite.
8621         (elmo-list-folder-important): Ditto.
8622
8623         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8624         (elmo-condition-parse-error): New inline function.
8625         (elmo-read-search-condition): New function.
8626         (elmo-read-search-condition-internal): Ditto.
8627         (elmo-parse-search-condition): Rewrite.
8628         (elmo-condition-parse): New function.
8629         (elmo-condition-parse-or-expr): Ditto.
8630         (elmo-condition-parse-and-expr): Ditto.
8631         (elmo-condition-parse-primitive): Ditto.
8632         (elmo-condition-parse-search-value): Ditto.
8633         (elmo-buffer-field-primitive-condition-match): Ditto.
8634         (elmo-buffer-field-condition-match): Rewrite.
8635         (elmo-file-field-condition-match): Ditto.
8636
8637         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8638         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8639
8640         * elmo-internal.el (elmo-internal-search): Set `number' and
8641         `number-list' argument of `elmo-file-field-condition-match'.
8642
8643         * elmo-maildir.el (elmo-maildir-search): Ditto.
8644
8645         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8646         `msgdb' as argument instead of `mark-alist'.
8647         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8648         `overview'.
8649
8650         * elmo-multi.el: Likewise.
8651
8652         * elmo-pipe.el: Likewise.
8653
8654         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8655         (elmo-imap4-search-internal): Rewrite.
8656         (elmo-imap4-search): Ditto.
8657
8658         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8659         (elmo-filter-list-folder-unread): Ditto.
8660         (elmo-filter-list-folder-important): Ditto.
8661         (elmo-filter-search): Rewrite.
8662
8663         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8664         `number-list' argument of `elmo-file-field-condition-match'.
8665         (elmo-cache-search): Ditto.
8666
8667         * elmo-localdir.el: Likewise.
8668
8669         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8670         number-list and pass it to `elmo-buffer-field-condition-match'.
8671         (elmo-archive-field-condition-match): Pass `number-list' to
8672         `elmo-archive-field-condition-match'
8673
8674 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8675
8676         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8677         `listgroup'.
8678
8679         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8680         (elmo-folder-diff-async-callback-data): Ditto.
8681         (elmo-folder-diff-async): New function.
8682
8683         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8684         (elmo-network-session-cache-key): Use it as a prefix of the session
8685         name.
8686         (elmo-network-open-session): Ditto.
8687
8688         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8689         (elmo-imap4-status-callback-data): Ditto.
8690         (elmo-imap4-server-diff-async-callback): New variable.
8691         (elmo-imap4-server-diff-async-callback-data): Ditto.
8692         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8693         `elmo-imap4-status-callback-data'.
8694         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8695         `elmo-imap4-status-callback-data' as nil.
8696         (elmo-imap4-server-diff): Ditto.
8697         (elmo-imap4-server-diff-async-callback-1): New function.
8698         (elmo-imap4-server-diff-async): Ditto.
8699         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8700
8701 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8702
8703         * elmo-util.el (elmo-list-delete): Doc fix.
8704         (elmo-delete-lists): Abolish.
8705         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8706         instead of `elmo-delete-lists'.
8707
8708 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8709
8710         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8711         before `sort'.
8712
8713 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8714
8715         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8716         `elmo-imap4-literal-subr'.
8717         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8718         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8719
8720 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8721
8722         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8723         (elmo-archive-list-folder): Fix.
8724         (elmo-archive-max-of-folder): Fix.
8725
8726 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8727
8728         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8729          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8730         (elmo-localdir-append-msg): Ditto.
8731         (elmo-localdir-list-folder): Fix for `nonsort'.
8732         (elmo-localdir-list-folder-subr): Fix for `killed'.
8733         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8734         (elmo-maildir-list-folder-subr): Ditto.
8735         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8736         (elmo-archive-list-folder-subr): Ditto.
8737         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8738         (elmo-internal-list-folder-subr): Ditto.
8739
8740 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8741
8742         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8743
8744 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8745
8746         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8747
8748 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8749
8750         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8751         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8752
8753         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8754         before greeting.
8755         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8756         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8757
8758 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8759
8760         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8761
8762         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8763         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8764         before STORE command.
8765
8766 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8767
8768         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8769
8770         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8771         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8772         of `response'.
8773         (elmo-imap4-list-folders): Removed unused local variable.
8774         (elmo-network-initialize-session): Ditto.
8775         (elmo-imap4-delete-msg-by-id): Ditto.
8776         (elmo-imap4-parse-fetch): Ditto.
8777         (elmo-imap4-copy-msgs): Ditto.
8778         Use `dst-spec' instead of `dst-folder'.
8779         (elmo-network-authenticate-session): Check authenticate type `plain'.
8780
8781 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8782
8783         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8784         garbage checking.
8785         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8786         `elmo-imap4-response-value'.
8787         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8788
8789 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8790
8791         * elmo-imap4.el (elmo-imap4-send-command):
8792         Cause elmo-imap4-bye-error when current response is BYE.
8793         (elmo-imap4-arrival-filter): Changed greeting response value.
8794
8795         * elmo2.el (elmo-imap4-bye-error): Define.
8796
8797         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8798         (elmo-imap4-server-diff): Ditto.
8799         (elmo-imap4-response-bye-p): New macro.
8800         (elmo-imap4-response-error-text): Get text from BYE response.
8801         (elmo-imap4-read-response): Return if BYE response.
8802         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8803         (elmo-imap4-folder-exists-p): Ditto.
8804         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8805         (elmo-imap4-parse-bye): New function.
8806         (elmo-imap4-parse-response): Remove needless let.
8807         Call `elmo-imap4-parse-bye'.
8808
8809 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8810
8811         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8812         the mailbox does not exist.
8813         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8814
8815 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8816
8817         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8818
8819 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8820
8821         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8822
8823         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8824         (elmo-network-initialize-session-buffer): Defined.
8825
8826         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8827         Abolished.
8828         (mmelmo-imap4-get-mime-entity): Rewrite.
8829
8830         * elmo2.el (elmo-error): Capitalize error message.
8831
8832         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8833         (elmo-network-session-buffer): New macro.
8834         (elmo-network-open-session): Use it.
8835
8836         * elmo-imap4.el: Rewrite.
8837
8838 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8839
8840         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8841
8842 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8843
8844         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8845         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8846         (elmo-imap4-create-msgdb-from-overview-string): Use
8847         `elmo-msgdb-create-overview-from-buffer'.
8848
8849 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8850
8851         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8852         (elmo-imap4-default-hierarchy-delimiter): New variable.
8853         (elmo-imap4-list-folders): Use it.
8854
8855 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8856
8857         * elmo-net.el (elmo-network-open-session): Add user and
8858         stream-type for process-buffer name.
8859
8860         * elmo-pop3.el (elmo-network-initialize-session): Call
8861         buffer-disable-undo.
8862
8863         * elmo-imap4.el (elmo-network-initialize-session):
8864         Set current-buffer as an argument for `buffer-disable-undo'.
8865
8866         * elmo-pop3.el (elmo-network-close-session): Don't use
8867         `process-live-p'.
8868
8869         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8870         Set default as 'user.
8871
8872         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8873
8874         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8875         and `elmo-imap4-flush-connection'.
8876
8877         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8878         (elmo-pop3-get-spec): Assume auth as symbol.
8879         (elmo-open-network-stream): Moved to `elmo-net'.
8880
8881         * elmo-pop3.el (toplevel): Require 'elmo-net.
8882         Define `sasl-cram-md5' to silence byte compilier.
8883         (elmo-pop3-connection-cache) Abolished.
8884         (elmo-pop3-authenticator-alist) New variable.
8885         (elmo-pop3-session): Define.
8886         (elmo-pop3-connection-get-process): Abolished.
8887         (elmo-pop3-connection-get-buffer): Ditto.
8888         (elmo-pop3-close-connection): Ditto.
8889         (elmo-pop3-flush-connection): Ditto.
8890         (elmo-pop3-get-connection): Ditto.
8891         (elmo-pop3-get-session): New function.
8892         (Replacement for `elmo-pop3-get-connection').
8893         All other related modules are changed.
8894         (elmo-network-close-session): Define.
8895         (elmo-pop3-send-command): Abolished argument `buffer'.
8896         All other related modules are changed.
8897         (elmo-pop3-read-response): Likewise.
8898         (elmo-pop3-open-connection): Abolished.
8899         (elmo-pop3-auth-user): New function.
8900         (elmo-pop3-auth-apop): Ditto.
8901         (elmo-pop3-auth-cram-md5): Ditto.
8902         (elmo-pop3-auth-scram-md5): Ditto.
8903         (elmo-pop3-auth-digest-md5): Ditto.
8904         (elmo-network-initialize-session): Define.
8905         (elmo-network-authenticate-session): Ditto.
8906         (elmo-network-setup-session): Ditto.
8907
8908         * elmo-imap4.el (toplevel): Require 'elmo-net.
8909         (elmo-imap4-session): Define.
8910         (elmo-imap4-connection-cache): Abolished.
8911         (elmo-imap4-password-key): Ditto.
8912         (elmo-imap4-flush-connection): Ditto.
8913         (elmo-imap4-get-connection): Ditto.
8914         All other related modules are changed.
8915         (elmo-imap4-get-session): New function
8916         (Replacement for `elmo-imap4-get-connection').
8917         (elmo-imap4-read-response): Abolished argument `buffer'.
8918         All other related modules are changed.
8919         (elmo-imap4-send-command): Likewise.
8920         (elmo-imap4-select-folder): Abolished.
8921         All other related modules are changed.
8922         (elmo-imap4-select-mailbox): New function.
8923         (Replacement for `elmo-imap4-select-folder').
8924         (elmo-imap4-auth-login): Simplify.
8925         (Assume current buffer as process buffer)
8926         (elmo-imap4-auth-cram-md5): Ditto.
8927         (elmo-imap4-auth-digest-md5): Ditto.
8928         (elmo-imap4-login): Ditto.
8929         (elmo-imap4-open-connection): Abolished.
8930         (elmo-imap4-open-connection-1): Abolished.
8931         (elmo-network-initialize-sessoin): Define.
8932         (elmo-network-authenticate-session): Ditto.
8933         (elmo-network-setup-session): Ditto.
8934
8935         * elmo-net.el: New module.
8936
8937 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8938
8939         * elmo-util.el (elmo-define-error): New function.
8940
8941         * elmo2.el (elmo-error): Define.
8942         (elmo-open-error): Define.
8943         (elmo-authenticate-error): Define.
8944
8945         * elmo-imap4.el (elmo-imap4-error): Abolish.
8946         (elmo-imap4-error-type): Abolish.
8947         (elmo-imap4-error-process): Abolish.
8948         (elmo-imap4-error-message): Abolish
8949         (elmo-imap4-list-folders): Don't quote lambda.
8950         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8951         (elmo-imap4-parse-namespace): Ditto.
8952         (elmo-imap4-open-connection): Rewrite.
8953         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8954         (elmo-imap4-get-connection): Abolish local variable `result'.
8955
8956 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8957
8958         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8959         wrong-type-argument error when auth is nil.
8960
8961 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8962
8963         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8964         (elmo-default-nntp-stream-type): Ditto.
8965         (elmo-default-pop3-stream-type): Ditto.
8966         (elmo-network-stream-type-alist): Ditto.
8967         (elmo-default-imap4-ssl): Abolished.
8968         (elmo-default-nntp-ssl): Ditto.
8969         (elmo-default-pop3-ssl): Ditto.
8970
8971         * elmo-util.el: (toplevel): Removed needless requires.
8972         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8973         (elmo-open-network-stream): Open network stream according to
8974         the value of `elmo-network-stream-type-alist'.
8975         (elmo-get-network-stream-type): New function.
8976         (elmo-network-stream-type-spec-string): New macro.
8977         (elmo-network-stream-type-symbol): Ditto.
8978         (elmo-network-stream-type-function): Ditto.
8979
8980         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8981         network-stream-type. All other related portions are changed.
8982         (elmo-pop3-open-connection): Ditto.
8983
8984         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8985         network-stream-type. All other related portions are changed.
8986
8987         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8988         network-stream-type.All other related portions are changed.
8989         (elmo-imap4-error): New macro.
8990         (elmo-imap4-error-type): Ditto.
8991         (elmo-imap4-error-process): Ditto.
8992         (elmo-imap4-error-message): Ditto.
8993         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8994         (elmo-imap4-auth-cram-md5): Ditto.
8995         (elmo-imap4-auth-digest-md5): Ditto.
8996         (elmo-imap4-login): Ditto.
8997         (elmo-imap4-open-connection): Remove password entry if authentication
8998         was in vain.
8999         (elmo-imap4-user-at-host): Abolished.
9000         (elmo-imap4-password-key): New buffer local variable.
9001         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9002         using protocol, port, auth and stream-type.
9003
9004         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9005
9006 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9007
9008         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9009
9010         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9011
9012         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9013         (elmo-imap4-authenticator-alist): New variable.
9014         (elmo-imap4-open-connection-1): Rename from
9015         elmo-imap4-open-connection.
9016         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9017         only wraps elmo-imap4-open-connection-1.
9018         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9019         user-at-host.
9020         (elmo-imap4-auth-login): New function.
9021         (elmo-imap4-auth-cram-md5): New function.
9022         (elmo-imap4-auth-digest-md5): New function.
9023         (elmo-imap4-login): New function.
9024
9025 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9026
9027         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9028         function `error'.
9029
9030 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9031
9032         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9033
9034 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9035
9036         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9037
9038 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9039
9040         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9041         for server responses, quote `*' regardless of where it appears.
9042
9043 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9044
9045         * elmo-maildir.el (elmo-maildir-commit): New alias.
9046
9047 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9048
9049         * elmo-util.el (elmo-display-progress):
9050                 Use `progress-feedback-with-label'.
9051
9052 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9053
9054         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9055         (elmo-imap4-non-atom-char-regex): Ditto.
9056         (elmo-imap4-non-text-char-regex): Ditto.
9057         (elmo-imap4-literal-threshold): Ditto.
9058         (elmo-imap4-atom-p): New function.
9059         (elmo-imap4-quotable-p): Ditto.
9060         (elmo-imap4-nil): Ditto.
9061         (elmo-imap4-atom): Ditto.
9062         (elmo-imap4-quoted): Ditto.
9063         (elmo-imap4-literal-subr): Ditto.
9064         (elmo-imap4-literal): Ditto.
9065         (elmo-imap4-buffer-literal): Ditto.
9066         (elmo-imap4-string-subr): Ditto.
9067         (elmo-imap4-string): Ditto.
9068         (elmo-imap4-buffer-string): Ditto.
9069         (elmo-imap4-astring-subr): Ditto.
9070         (elmo-imap4-astring): Ditto.
9071         (elmo-imap4-buffer-astring): Ditto.
9072         (elmo-imap4-nstring): Ditto.
9073         (elmo-imap4-buffer-nstring): Ditto.
9074         (elmo-imap4-mailbox): New alias.
9075         (elmo-imap4-field-body): Ditto.
9076         (elmo-imap4-userid): Ditto.
9077         (elmo-imap4-password): Ditto.
9078         (elmo-imap4-format-quoted): New function.
9079         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9080         arguments and handle "atom", "quoted" and "literal" string here.
9081         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9082         `elmo-imap4-send-command'.
9083         (elmo-imap4-folder-exists-p): Likewise.
9084         (elmo-imap4-create-folder): Likewise.
9085         (elmo-imap4-delete-folder): Likewise.
9086         (elmo-imap4-rename-folder): Likewise.
9087         (elmo-imap4-max-of-folder): Likewise.
9088         (elmo-imap4-check-validity): Likewise.
9089         (elmo-imap4-sync-validity): Likewise.
9090         (elmo-imap4-server-diff): Likewise.
9091         (elmo-imap4-select-folder): Likewise.
9092         (elmo-imap4-copy-msgs): Likewise.
9093         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9094         (elmo-imap4-mark-set-on-msgs): Likewise.
9095         (elmo-imap4-read-part): Likewise.
9096         (elmo-imap4-read-msg): Likewise.
9097         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9098         `elmo-imap4-password' for `elmo-imap4-send-command'.
9099         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9100         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9101         `elmo-imap4-buffer-literal'.
9102         (elmo-imap4-append-msg): Likewise.
9103
9104         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9105         `delete' for removing dead connection from the connection cache.
9106         Move deletion of the process buffer after that.
9107         (elmo-imap4-list): Change `defsubst' to `defun'.
9108         (elmo-imap4-commit): Make error message verbose.
9109         (elmo-imap4-search): Ditto.
9110         (elmo-imap4-list): Ditto.
9111         (elmo-imap4-select-folder): Ditto.
9112         (elmo-imap4-copy-msgs): Ditto.
9113         (elmo-imap4-delete-msg-by-id): Ditto.
9114         (elmo-imap4-append-msg-by-id): Ditto.
9115         (elmo-imap4-append-msg): Ditto.
9116
9117 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9118
9119         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9120         when dired is used on XEmacs.
9121
9122 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9123
9124         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9125         instead of `append'.
9126         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9127         `elmo-plugged-p' directly.
9128         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9129         of `elmo-plugged-p' directly.
9130
9131         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9132         Eliminate unused variable.  Use `memq' for checking a process status.
9133         Use `cons' instead of `append' for updating the connection cache.
9134         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9135         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9136
9137 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9138
9139         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9140         `elmo-imap4-read-point' exactly.
9141
9142         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9143         the local variable `folder' to `mailbox'.
9144         Rename the argument `fld' to `folder'.
9145
9146 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9147
9148         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9149         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9150
9151 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9152
9153         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9154         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9155         (elmo-pop3-uidl-number-hash): Ditto.
9156         (elmo-pop3-size-hash): Ditto.
9157         (elmo-pop3-uidl-done): Ditto.
9158         (elmo-pop3-list-done): Ditto.
9159         (elmo-pop3-connection-get-process): New defmacro.
9160         (elmo-pop3-connection-get-buffer): Ditto.
9161         (elmo-pop3-close-connection): Delete buffer and process.
9162         (elmo-pop3-flush-connection): Don't delete buffer and process.
9163         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9164         Setup UIDL and size hash.
9165         (elmo-pop3-send-command-no-erase): Deleted
9166         (elmo-pop3-send-command): Added optional argument `no-erase'.
9167         (elmo-pop3-parse-uidl-response): New function.
9168         (elmo-pop3-parse-list-response): Set size hash.
9169         (elmo-pop3-list-location): New function.
9170         (elmo-pop3-list-by-uidl-subr): Ditto.
9171         (elmo-pop3-list-by-list): Ditto.
9172         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9173         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9174         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9175         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9176         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9177         Use uidl.
9178         (elmo-pop3-uidl-to-number): New function.
9179         (elmo-pop3-number-to-uidl): Ditto.
9180         (elmo-pop3-number-to-size): Ditto.
9181         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9182         Set number by use of uidl.
9183         (elmo-pop3-msgdb-create-message): Likewise.
9184         Set size, loc-alist in msgdb.
9185         (elmo-pop3-read-msg): Set number by use of uidl.
9186         Added optional argument `msgdb'.
9187         (elmo-pop3-delete-msg): Ditto.
9188         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9189         (elmo-pop3-commit): Close connection.
9190
9191         * elmo-pipe.el (elmo-pipe-max-of-folder):
9192         Bind `elmo-pop3-use-uidl' as nil.
9193         (elmo-pipe-drain): Ditto.
9194         Call `elmo-commit'.
9195
9196         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9197         (elmo-msgdb-overview-entity-set-size): New defsubst.
9198
9199 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9200
9201         * elmo-vars.el (elmo-use-killed-list): New variable
9202         (Renamed from `elmo-nntp-use-killed-list').
9203         (elmo-nntp-use-killed-list): Eliminated.
9204
9205         * elmo-msgdb.el (elmo-msgdb-expand-path):
9206         Changed expanding msgdb path for elmo-multi.
9207
9208         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9209         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9210         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9211         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9212         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9213         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9214         (toplevel): Deleted time-stamp line.
9215
9216         * elmo2.el (elmo-clear-killed ): Defined as function
9217         (Abolished defining as a backend function).
9218         All other related modules are changed.
9219
9220 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9221
9222         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9223
9224 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9225
9226         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9227
9228 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9229
9230         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9231
9232 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9233
9234         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9235         asynchronous folder check.
9236
9237         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9238
9239         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9240         `elmo-nntp-use-killed-list'.
9241         (elmo-nntp-list-folder): Use killed list.
9242         (elmo-nntp-max-of-folder): Ditto.
9243         (elmo-nntp-msgdb-create): Set killed list.
9244
9245         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9246
9247         * elmo2.el (elmo-clear-killed): New backend function.
9248         All other related modules are changed.
9249
9250 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9251
9252         * elmo-util.el (elmo-imap4-spec-folder): Use
9253         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9254         All callers changed.
9255
9256 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9257
9258         * mmelmo-2.el (initialize-instance):
9259         Use `mime-buffer-entity-buffer-internal' instead of
9260         `mime-entity-buffer'.
9261
9262         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9263         (mime-entity-body): Implemented.
9264         (mime-goto-header-start-point): Deleted.
9265         (mime-goto-body-end-point): Ditto.
9266         (mime-entity-point-min): Ditto.
9267         (mime-entity-point-max): Ditto.
9268         (mime-entity-children): Ditto.
9269         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9270         instead of `mime-entity-buffer'.
9271         (mime-entity-header-buffer): Ditto.
9272         (mime-entity-body-buffer): Ditto.
9273         (mime-write-entity-content): Ditto.
9274
9275         * pldap.el (ldap-static-if): New macro.
9276         (toplevel): Use it instead of `static-if'.
9277
9278 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9279
9280         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9281         included in `attrs' argument.
9282
9283 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9284
9285         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9286
9287         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9288         (ldap-ldif-safe-init-char-regexp): Ditto.
9289         (ldap-ldif-safe-string-regexp): Ditto.
9290         (ldap/ldif-safe-string-p): New macro.
9291         (ldap/ldif-insert-field): Ditto.
9292         (ldap-modify): Use it.
9293         (ldap-add): Ditto.
9294         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9295         (ldap-decode-attribute): Decode only when `attr' is consp.
9296         (ldap-delete): Bind `ret'.
9297         (toplevel): Require 'cl at compile time.
9298         Removed (require 'poe) and (require 'std11).
9299         (pldap-version): Eliminated.
9300         (ldap-search-basic): Removed auth and dn binding.
9301         (ldap-ldif-field-name-regexp): New constant.
9302         (ldap-ldif-field-head-regexp): Ditto.
9303         (ldap-ldif-next-field-head-regexp): Ditto.
9304         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9305         (ldap/field-end): New function.
9306         (ldap/field-body): Use it.
9307         (ldap/collect-field): Ditto.
9308         (ldap-search-basic): Use `ldap/field-body'.
9309
9310 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9311
9312         * pldap.el (ldap-default-attribute-encoder): New user option.
9313         (ldap/field-body): Decode base64 string.
9314         (ldap/collect-field): Ditto.
9315         (ldap-encode-attribute): New function.
9316         (ldap-add-entries): Use it.
9317         (ldap-modify-entries): Ditto.
9318         (ldap-search-entries): Enclosed decoding function with
9319         `with-temp-buffer' and set as unibyte.
9320         (ldap-search-basic): Set process buffer as unibyte.
9321
9322         * elmo-util.el (elmo-folder-identical-system-p):
9323         Eliminated name space checking.
9324
9325         * pldap.el: New module.
9326         toplevel: Changed condition to detect built-in ldap feature.
9327         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9328         (ldap-add): Added error handling.
9329         (ldap-modify): Ditto.
9330         (ldap-delete): Ditto.
9331
9332 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9333
9334         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9335         Initialize local variables with `let'.  Inline a temporary
9336         variable for the progress percentage.  Sort `setq' to reduce
9337         function call in the while-loop.
9338
9339         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9340         into the conditional branch.
9341
9342 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9343
9344         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9345         Move a conditional out of the while-loop.
9346
9347 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9348
9349         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9350         elmo-msgdb-overview-get-entity-by-number.
9351         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9352         throw.
9353
9354 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9355
9356         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9357         the local variable for a packed number self descriptively.
9358
9359 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9360
9361         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9362         * elmo-localdir.el (elmo-localdir-pack-number): Use
9363         `elmo-msgdb-overview-get-entity' instead of
9364         `elmo-msgdb-overview-get-entity-by-number'.
9365         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9366         (elmo-msgdb-search-overview-entity): Removed.
9367         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9368         by message-id or number.
9369         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9370         instead of `elmo-msgdb-overview-get-entity-by-number'.
9371
9372 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9373
9374         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9375         non-nil, use hash table for overview.
9376         (elmo-hash-maximum-size): New variable.
9377         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9378         (elmo-msgdb-make-overview-hashtb): New function.
9379         (elmo-msgdb-clear-overview-hashtb): New function.
9380         (elmo-clear-hash-val): New macro.
9381         All other related modules are changed.
9382
9383 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9384
9385         * elmo2.el (elmo-move-msgs): If there's other message with
9386         same message-id, don't use cache.
9387
9388 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9389
9390         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9391         number is already packed.
9392
9393 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9394
9395         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9396
9397 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9398
9399         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9400         All other related modules are changed.
9401
9402 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9403
9404         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9405         of refiling failure on Maildir.
9406
9407 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9408
9409         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9410         decoded mime-charset with cache.
9411         (elmo-msgdb-overview-entity-get-from): Ditto.
9412         (elmo-msgdb-overview-entity-get-subject): Ditto.
9413         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9414
9415 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9416
9417         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9418         (elmo-remove-passwd): Fill password with 0 before erase.
9419         * elmo-vars.el (elmo-passwd-life-time): New variable.
9420
9421 \f
9422 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9423
9424         * elmo-cache.el (elmo-buffer-cache-add):
9425         Set message cache buffer as unibyte.
9426
9427 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9428
9429         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9430         become nil.
9431
9432 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9433
9434         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9435         when display is finished.
9436         (elmo-nntp-msgdb-create): Ditto.
9437         (elmo-nntp-groups-read-response): Ditto.
9438         (elmo-nntp-retrieve-headers): Ditto.
9439         (elmo-nntp-msgdb-create-message): Ditto.
9440         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9441         (elmo-pop3-msgdb-create-message): Ditto.
9442
9443 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9444
9445         * elmo-maildir.el (elmo-maildir-msgdb-create):
9446         Use `elmo-msgdb-sort-by-date'.
9447
9448 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9449
9450         * elmo2.el (elmo-read-msg-no-cache):
9451         Eliminated arguments after `outbuf'.
9452         Don't use cache even if it exists.
9453         (elmo-read-msg): Don't pass arguments after `outbuf' to
9454         `elmo-read-msg-no-cache'.
9455
9456 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9457
9458         * elmo-archive.el (elmo-archive-list-folders):
9459         Use `file-name-directory' if base folder does not exist.
9460
9461 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9462
9463         * elmo-archive.el (elmo-archive-list-folders): Don't use
9464         `file-name-directory'.
9465
9466 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9467
9468         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9469         If `force' is non-nil, try flushing all operation queues.
9470
9471 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9472
9473         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9474         as-binary-process.
9475
9476 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9477
9478         * elmo-util.el (elmo-display-progress): Fixed.
9479
9480 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9481
9482         * elmo-util.el (elmo-display-progress): New function.
9483         All other related modules are changed.