This commit was manufactured by cvs2svn to create branch 'elmo-
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-04-15  David Maus  <dmaus@ictsoc.de>
2
3         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
4         imap user name.
5
6 2010-04-14  David Maus  <dmaus@ictsoc.de>
7
8         * elmo-imap4.el (elmo-imap4-disabled-extension): New
9         variable. List of server extensions that are disabled on the
10         client side.
11         (elmo-imap4-session-capable-p): Honour list of disabled
12         extensions.
13
14 2010-03-17  David Maus  <dmaus@ictsoc.de>
15
16         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
17         (elmo-imap4-search-internal-primitive): Pass filter type to imap
18         search when performing search for flagged messages.
19
20 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
21
22         * modb-standard.el (modb-standard-save-entity): Use
23         `modb-standard-cleanup-stale-entities' to clean up stale entity
24         files in modb cache.
25         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
26         capabilities after login.
27
28 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
29
30         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
31         indent (only cosmetic fix).
32
33 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
34
35         * elmo-version.el (elmo-version): Up to 2.15.9.
36
37         * elmo-imap4.el (elmo-imap4-elist): New function
38         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
39         ESEARCH feature (RFC4731).
40         * elmo-imap4.el (toplevel): Require time-stamp
41         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
42         elmo-imap4-read-response elmo-imap4-read-untagged
43         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
44         logging format.
45         * elmo-imap4.el (elmo-folder-list-messages-plugged,
46         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
47         for full uid range on folder entering, retrieve updates only for
48         newly appeared messages.
49         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
50         elmo-imap4-read-response, elmo-imap4-read-untagged,
51         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
52         to format-time-string.
53         * elmo-vars.el (toplevel): New custom
54         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
55         flag for some buggy servers.
56         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
57
58 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
59
60         * acap.el (acap-parse-response): Fix comment-out style. Use three
61         semicolons, that should start at the left margin.
62         See. also (Info-goto-node "(elisp)Comment Tips").
63         * elmo.el (toplevel, elmo-message-match-condition)
64         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
65         Ditto.
66         * elmo-archive.el (elmo-archive-suffix-alist)
67         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
68         (elmo-archive-method-list)
69         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
70         Ditto.
71         * elmo-imap4.el (toplevel)
72         (elmo-imap4-send-command, elmo-imap4-check-validity)
73         (elmo-imap4-fetch-callback-1-subr)
74         (elmo-network-initialize-session, elmo-server-diff-async)
75         (elmo-imap4-folder-diff-plugged): Ditto
76         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
77         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
78         * elmo-net.el (elmo-network-close-session): Ditto.
79         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
80         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
81         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
82         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
83         (elmo-number-set-delete)
84         (elmo-cache-get-oldest-cache-file-entity): Ditto.
85
86 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
87
88         * elmo-version.el (elmo-version): Up to 2.15.8.
89
90         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
91         `with-current-buffer' instead of `save-excursion' (for suppress
92         compile warnings).
93
94         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
95         instead of `int-to-string'.
96         * elmo-archive.el (elmo-archive-message-fetch-internal)
97         (elmo-archive-folder-message-make-temp-files)
98         (elmo-archive-folder-append-buffer)
99         (elmo-folder-delete-messages-internal)
100         (elmo-archive-msgdb-create-entity)
101         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
102         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
103         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
104         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
105         * elmo-imap4.el (elmo-imap4-make-number-set-list)
106         (elmo-folder-list-subfolders): Ditto.
107         * elmo-localdir.el (elmo-message-file-name)
108         (elmo-folder-message-make-temp-files)
109         (elmo-localdir-msgdb-create-entity)
110         (elmo-folder-append-messages-*-localdir)
111         (elmo-folder-pack-numbers): Ditto.
112         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
113         * elmo-map.el (elmo-location-map-key): Ditto.
114         * elmo-nntp.el (elmo-nntp-folder-postfix)
115         (elmo-nntp-folder-list-subfolders)
116         (elmo-nntp-folder-msgdb-create): Ditto.
117
118         * elmo.el (elmo-crosspost-message-alist-save): Don't use
119         `function' for `lambda'.
120         * elmo-archive.el (elmo-archive-folder-list-subfolders)
121         (elmo-folder-append-messages-*-archive)
122         (elmo-folder-delete-messages-internal): Ditto.
123         * elmo-date.el (elmo-replace-in-string): Ditto.
124         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
125         (elmo-folder-list-flagged): Ditto.
126         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
127         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
128         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
129
130 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
131
132         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
133         `elmo-dop-spool-folder' was used before it was defined"; Use
134         `defun' instead.
135
136         * pldap.el (ldap/ldif-safe-string-p): macro to function.
137         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
138
139         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
140         `mapcar'; Suppress compile warning.
141         * elmo-imap4.el (elmo-network-initialize-session-buffer)
142         (elmo-imap4-search-internal-primitive): Ditto.
143         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
144         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
145
146         * elmo-imap4.el (elmo-imap4-parse-address-list)
147         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
148         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
149         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
150         `(string-to-char " ")' instead of `? ', `?\ '.
151
152 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
153
154         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
155         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
156         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
157         `function' for lambda.
158
159         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
160         `string-to-number' instead of `string-to-int'.
161
162         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
163         instead of `save-excursion' (for suppress compile warnings).
164         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
165         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
166         (elmo-nntp-post): Ditto.
167
168 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
169
170         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
171         Mule-UCS (to-utf-16).
172         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
173         Emacs 23.
174
175 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
176
177         * utf7.el (utf7-find-coding-system-without-bom): New Function.
178         (utf7-utf-16-coding-system): use no-BOM coding system.
179         (utf7-get-u16char-converter): remove workaround for BOM.
180
181 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
182
183         * elmo-util.el (elmo-union): New function, make a union of two lists.
184
185         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
186         mime-view when displaying malformed base64 attach.
187
188         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
189         (removed duplicated code)
190
191         * modb-standard.el (modb-standard-cleanup-stale-entities): New
192         function, Remove stale entities from elmo's cache.
193
194 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
195
196         * elmo-version.el (elmo-version): Up to 2.15.7.
197
198 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
199
200         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
201         default value to `--auto-update'.
202
203 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
204
205         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
206         Add `elmo-pop3-read-point' barrier.
207
208 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
209
210         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
211         goto the previous end-point insead of the head-point, and use
212         `search-forward' instead of `re-search-forward'.
213
214 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
215
216         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
217
218 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
219
220         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
221         case-insensitive fashion.
222
223 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
224
225         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
226
227 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
228
229         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
230         `eval-and-compile' for suppress compile warnings.
231
232         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
233         instead of `defun-maybe'
234
235         * elmo-util.el: Add (eval-when-compile (require 'static)).
236
237 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
238
239         * mmimap.el: Remove (require 'static).
240         * acap.el: Ditto.
241
242         * elmo-flag.el: Move ';;; Code:' comment.
243         * elmo-imap4.el: Ditto.
244         * elmo-net.el: Ditto.
245
246         * elmo-version.el (product-provide): Fix comment.
247
248 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
249
250         * slp.el: Add (eval-when-compile (require 'cl)).
251         * elmo-date.el: Ditto.
252         * elmo-pop3.el: Ditto.
253         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
254
255 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
256
257         * modb.el (elmo-msgdb-match-condition-primitive): Use
258         `string-to-number' instead of `string-to-int'.
259
260         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
261         (elmo-msgdb-message-match-condition)
262         (elmo-msgdb-create-message-entity-from-buffer): Use
263         `string-to-number' instead of `string-to-int'.
264
265         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
266         instead of `string-to-int'.
267
268         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
269         instead of `string-to-int'.
270
271         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
272         `string-to-number' instead of `string-to-int'.
273
274         * elmo-nntp.el (elmo-nntp-make-msglist)
275         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
276         (elmo-nntp-create-msgdb-from-overview-string)
277         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
278         (elmo-nntp-search-primitive): Use `string-to-number' instead of
279         `string-to-int'.
280
281         * elmo-net.el (elmo-net-folder-set-parameters): Use
282         `string-to-number' instead of `string-to-int'.
283
284         * elmo-localdir.el (elmo-localdir-list-subr): Use
285         `string-to-number' instead of `string-to-int'.
286
287         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
288         `string-to-number' instead of `string-to-int'.
289
290         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
291         instead of `string-to-int'.
292
293         * elmo-archive.el (elmo-archive-list-folder-subr): Use
294         `string-to-number' instead of `string-to-int'.
295
296 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
297
298         * elmo-util.el (elmo-get-passwd): Fix typo.
299
300         * elmo-nntp.el (elmo-nntp-get-server-command)
301         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
302         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
303         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
304         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
305
306         * elmo-imap4.el (elmo-imap4-debug)
307         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
308         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
309         (elmo-imap4-response-value, elmo-imap4-response-error-text)
310         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
311         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
312         (elmo-imap4-identical-system-p): New backquote style.
313
314 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
315
316         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
317         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
318         (elmo-dop-queue-arguments): Ditto.
319
320         * elmo-date.el (elmo-match-substring): New backquote style.
321         (elmo-match-string, elmo-match-buffer): Ditto.
322         (elmo-date-make-sortable-string): Ditto.
323
324         * elmo-archive.el (elmo-archive-get-method):New backquote style.
325         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
326
327         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
328         style.
329
330         * elmo-net.el (elmo-network-stream-type-spec-string): New
331         backquote style.
332         (elmo-network-stream-type-symbol): Ditto.
333         (elmo-network-stream-type-feature): Ditto.
334         (elmo-network-stream-type-function): Ditto.
335         (elmo-network-session-buffer): Ditto.
336
337         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
338         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
339         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
340         (elmo-bind-directory, elmo-set-work-buf): Ditto.
341
342         * elmo.el (elmo-folder-send): New backquote style.
343
344 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
345
346         * pldap.el (ldap-static-if): New backquote style.
347         (ldap/ldif-safe-string-p): Ditto.
348         (ldap/ldif-insert-field): Ditto.
349
350         * elmo-version.el (elmo-version): Up to 2.15.6.
351
352 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
353
354         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
355         messages with \Deleted flag.
356         (elmo-folder-delete-messages-plugged): Ask before sending expunge
357         command if there are messages with \Deleted flag.
358
359 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
360
361         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
362         http://seclists.org/bugtraq/2007/Apr/0018.html
363         (Suggested by Tatsuya Kinoshita)
364
365 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
366
367         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
368         with \Noselect attribute.
369
370 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
371
372         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
373         hierarchical folder structure with UW-imapd.
374
375 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
376
377         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
378         when the LOGINDISABLED capability is advertised.
379
380 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
381
382         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
383
384 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
385
386         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
387         `entity'.
388         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
389         if the message entity is exists.
390
391 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
392
393         * elmo-util.el (elmo-msgdb-insert-file-header): Call
394         `elmo-delete-cr-buffer'.
395
396         * elmo-localdir.el (elmo-message-fetch-internal): Use
397         `insert-file-contents-as-raw-text' instead of
398         `insert-file-contents-as-binary'.
399
400         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
401
402 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
403
404         * elmo-imap4.el (elmo-network-initialize-session): Check to
405         retrieve a whole greeting message.
406
407 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
408
409         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
410
411 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
412
413         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
414         (elmo-progress-notify): Use it instead of `plist-get'.
415
416 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
417
418         * elmo.el (elmo-generic-folder-append-messages): Remove unused
419         variable `table'.
420
421 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
422
423         * elmo-pipe.el (elmo-folder-set-plugged): Define.
424
425 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
426
427         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
428         (elmo-spam-list-spam-messages): Check it option.
429
430 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
431
432         * elmo-util.el (elmo-with-progress-display): Return the value
433         of the last form in `body'.
434
435 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
436
437         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
438         `elmo-progress-counter' as t when a query callback returns nil.
439         (elmo-progress-clear): New function.
440         (elmo-progress-done): Split into `elmo-progress-clear'.
441         (elmo-progress-notify): Update a total slot when it is nil.
442         (elmo-with-progress-display): Call `elmo-progress-clear' in
443         unwind-protect and move calling `elmo-progress-done' to outside.
444
445         * elmo-imap4.el (elmo-imap4-find-next-line): Call
446         `elmo-progress-notify' with :total parameter instead of
447         `elmo-progress-counter-set-total'.
448
449 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
450
451         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
452         Make it interactive.
453         (elmo-progress-start): Avoid updating `elmo-progress-counter'
454         when a query callback returns nil.  Return a progress counter
455         instead of t whenever a start callback was called.
456
457 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
458
459         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
460         (elmo-imap4-send-command): Use it.
461         (elmo-network-initialize-session): Ditto.
462         (elmo-network-setup-session): Ditto.
463         (elmo-folder-msgdb-create-plugged): Ditto.
464
465 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
466
467         * elmo-util.el (elmo-progress-done): Fix a miss refer to
468         `elmo-progress-counter'.
469
470 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
471
472         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
473         (elsp-bsfilter-list-spam-filter): New function.
474         (elsp-bsfilter-start-list-spam): Ditto.
475         (elsp-bsfilter-read-list-spam): Ditto.
476         (elmo-spam-list-spam-messages): Use async process to display
477         progress message by each message.
478
479 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
480
481         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
482         of flushing previously inserted message contents.
483
484         * elmo-imap4.el (elmo-folder-search): Fix return value.
485
486 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
487
488         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
489         of reporter is enable or not.
490
491 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
492
493         * elmo-util.el (elmo-list-bigger-diff): Abolish.
494         (elmo-display-progress): Ditto.
495         (elmo-progress-counter-alist): Ditto.
496         (elmo-progress-set): Ditto.
497         (elmo-progress-clear): Ditto.
498         (elmo-progress-counter-all-value): Rename to
499         `elmo-progress-counter-total'.
500         (elmo-progress-counter-format): Rename to
501         `elmo-progress-counter-action'.
502         (elmo-progress-counter): New internal variable.
503         (elmo-progress-callback-function): Ditto.
504         (elmo-progress-counter-label): New function.
505         (elmo-progress-counter-set-total): Ditto.
506         (elmo-progress-counter-set-action): Ditto.
507         (elmo-progress-call-callback): Ditto.
508         (elmo-progress-start): Ditto.
509         (elmo-progress-done): Ditto.
510         (elmo-progress-notify): Rewrite.
511         (elmo-with-progress-display): Remove first argument
512         `condition'. Add optional argument `var' in `spec'.
513
514         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
515         (elmo-display-retrieval-progress-threshold): Ditto.
516         (elmo-inhibit-display-retrieval-progress): Ditto.
517
518         * Replace all pair of `elmo-progress-set' and
519         `elmo-progress-clear' into `elmo-with-progress-display'.
520
521         * Replace to call `elmo-display-progress' into pair of
522         `elmo-progress-notify' and `elmo-with-progress-display'.
523
524         * elmo-version.el (elmo-version): Up to 2.15.5.
525
526 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
527
528         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
529         `cond'.
530
531 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
532
533         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
534         cleanup-forms [wl:14027].
535
536 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
537
538         * elmo-flag.el (elmo-global-flag-set-internal): Use
539         `elmo-copy-file' by priority when the message is a file.
540
541 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
542
543         * elmo.el: Fix typo: disptch -> dispatch.
544
545 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
546
547         * elmo.el (elmo-file-tag): New class.
548         (elmo-append-messages-disptch-table): New constant.
549         (elmo-folder-type-p): New function.
550         (elmo-folder-append-messages): Redefine as function.
551
552         * elmo-null.el (elmo-folder-append-messages): Renamed from
553         `elmo-folder-append-messages'.
554
555         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
556         (elmo-folder-append-messages-*-maildir): Renamed from
557         `elmo-folder-append-messages'.
558
559         * elmo-localdir.el (elmo-localdir-folder): Inherit
560         `elmo-file-tag'.
561         (elmo-folder-append-messages-*-localdir): Renamed from
562         `elmo-folder-append-messages'.
563
564         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
565         from `elmo-folder-append-messages'.
566
567         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
568         `elmo-folder-append-messages'.
569
570         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
571         function.
572         (elmo-folder-append-messages-*-filter): Ditto.
573
574         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
575
576         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
577         (elmo-folder-append-messages-*-pipe): Renamed from
578         `elmo-folder-append-messages'.
579
580         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
581
582         * elmo-file.el (elmo-file-folder): Ditto.
583
584         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
585
586         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
587         from `elmo-folder-append-messages'
588
589 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
590
591         * elmo-map.el (elmo-location-map-setup): Change an argument
592         `locations' to optional.
593         (elmo-location-map-clear): Abolish.
594         (elmo-folder-clear): Follow the API change.
595
596         * elmo-pop3.el (elmo-folder-clear): Ditto.
597
598         * elmo-pop3.el (toplevel): Require elmo-map.
599         (elmo-pop3-folder): Inherit elmo-location-map and abolish
600         location-alist slot (All other related portions are changed).
601         (elmo-pop3-folder-use-uidl): New function.
602         (elmo-folder-msgdb-create): Don't sort message entities.
603         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
604         (elmo-pop3-number-to-size): Convert return value to number.
605         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
606         working buffer.
607
608         * elmo-map.el: Use `location-map' as a variable name for instance
609         instead of `mapper'.
610         (elmo-location-map-setup): Return location alist.
611         (elmo-location-map-update): Ditto.
612
613 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
614
615         * elmo-map.el (elmo-location-map): New class; split location and
616         number mapping from elmo-map-folder (All other related portions
617         are changed).
618
619         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
620         change.
621
622         * elmo-version.el (elmo-version): Up to 2.15.4.
623
624 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
625
626         * elmo-vars.el (elmo-use-hardlink): New user option.
627
628         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
629         `elmo-use-hardlink'.
630
631         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
632         killed-list.
633         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
634         instead of `*-internal'. Use `elmo-with-progress-display'.
635
636 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
637
638         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
639         `elmo-spam-process-messages-as-mbox'.
640
641         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
642
643 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
644
645         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
646         argument BUFFER of `call-process'.
647
648 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
649
650         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
651         args.
652         (elsp-bsfilter-list-spam-files): Ditto.
653
654 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
655
656         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
657         (elmo-spam-bsfilter-max-messages-per-process): New use option.
658         (elmo-spam-bsfilter-debug): Fix a group.
659         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
660         `--homedir'.
661         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
662         (elsp-bsfilter-list-spam-files): New function.
663         (elmo-spam-list-spam-messages): Define.
664         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
665         (elmo-spam-bsfilter-register-messages): New function.
666         (elmo-spam-register-spam-messages): Define.
667         (elmo-spam-register-good-messages): Ditto.
668
669         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
670
671         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
672         `nconc' and `consp'.
673
674 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
675
676         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
677         hash table to test whether a location is exists.
678
679 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
680
681         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
682         even if some error occurred.
683
684         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
685         meaningless unwind-protect.
686
687         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
688         start-number correctly.
689         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
690         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
691
692 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
693
694         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
695         (elmo-folder-initialize): Use it.
696         (elmo-global-flag-replace-referrer): New function.
697
698         * elmo.el (toplevel): Added autoload setting for
699         `elmo-global-flag-replace-referrer'.
700         (elmo-folder-rename): Rewrite the last change use
701         `elmo-global-flag-replace-referrer'.
702
703         * elmo-pipe.el (elmo-folder-rename): Call
704         `elmo-global-flag-replace-referrer'.
705
706 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
707
708         * elmo.el (elmo-folder-rename): Set meta data for global flags
709         follow the rename.
710
711 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
712
713         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
714         as 'not-loaded.
715         (elmo-folder-close): Ditto.
716         (elmo-filter-folder-number-list-loaded-p): New function.
717         (elmo-filter-folder-number-list): Check whether loaded or not.
718         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
719         of `elmo-filter-folder-number-list-internal'.
720         (elmo-folder-delete-messages): Ditto.
721         (elmo-folder-length): Check whether number-list is loaded or not.
722
723 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
726         field `real field' into each element of list.
727         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
728         (elmo-msgdb-message-entity-field): Ditto.
729         (modb-entity-ml-info-real-fields): New function.
730
731         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
732
733         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
734         `elmo-msgdb-extra-fields'.
735
736 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
737
738         * elmo-util.el (elmo-passwd-alist-load): Move point to min
739         position before read.
740
741 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
742
743         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
744         (elmo-global-flags-initialize): Ditto.
745
746 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
747
748         * elmo-archive.el (toplevel): Don't require emu, std11
749         and elmo-localdir.
750
751         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
752         definition.
753
754 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
755
756         * elmo.el (elmo-folder-confirm-appends): Display folder name.
757
758 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
759
760         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
761         literals.
762
763 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
764
765         * elmo-maildir.el (elmo-maildir-list-location): Reduce
766         `elmo-get-last-modification-time' call.
767
768 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
769
770         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
771         expression.
772         (elmo-maildir-set-mark): Ditto.
773         (elmo-maildir-delete-mark): Ditto.
774
775 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
776
777         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
778         optional argument `separators'.
779
780 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
781
782         * elmo.el (cache-changed): Abolish.
783         (status-changed): New signal.
784         (elmo-message-killed-p): New generic function and define for
785         elmo-folder.
786         (elmo-folder-recover-messages): Ditto.
787         (elmo-message-set-cached): Emit signal `status-changed' instead of
788         `cache-changed'.
789         (elmo-message-status): New macro.
790         (elmo-message-status-folder): Ditto.
791         (elmo-message-status-number): Ditto.
792         (elmo-message-status-set-flags): Ditto.
793         (elmo-message-status-set-killed): Ditto.
794         (elmo-message-status-flags): New function.
795         (elmo-message-status-cached-p): Ditto.
796         (elmo-message-status-killed-p): Ditto.
797
798         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
799         `status-changed' instead of `cache-changed'.
800         (elmo-folder-recover-messages): Define.
801         (elmo-message-killed-p): Ditto.
802
803         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
804         `status-changed' instead of `cache-changed'.
805
806         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
807         (elmo-message-killed-p): Define.
808         (elmo-folder-recover-messages): Ditto.
809
810         * elmo-version.el (elmo-version): Up to 2.15.3.
811
812 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
813
814         * elmo-signal.el (elmo-signal-bindings): Use cons to append
815         element into list.
816         (elmo-define-signal-handler): Add docstring.
817         (elmo-define-signal-filter): Ditto.
818
819         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
820
821 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
822
823         * elmo-util.el (elmo-flatten): Don't use recursive call.
824
825         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
826         assignment.
827         (elmo-folder-message-make-temp-files): Use `number-to-string'
828         instead of `int-to-string'.
829
830 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
831
832         * elmo-search.el (elmo-folder-delete-messages): Define.
833
834 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
835
836         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
837         customization type.
838         (elmo-mailing-list-count-spec-list): Ditto.
839
840         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
841         for `list-id'.
842
843 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
844
845         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
846         handling.
847
848 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
849
850         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
851         (elmo-mailing-list-count-spec-list): Ditto.
852
853         * elmo-util.el (elmo-map-until-success): New function.
854         (elmo-string-match-substring): Ditto.
855         (elmo-find-list-match-value): Ditto.
856
857         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
858         Removed.
859         (modb-entity-extract-ml-info-from-subject): Ditto.
860         (modb-entity-extract-ml-info-from-return-path): Ditto.
861         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
862         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
863         (modb-entity-extract-ml-info-from-mailman): Ditto.
864         (modb-entity-extract-mailing-list-info-functions): Ditto.
865         (modb-entity-extract-mailing-list-info): Rewrite with
866         `elmo-find-list-match-value'.
867
868 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
869
870         * elmo-net.el (elmo-network-session-retry-count): New user option.
871         (elmo-network-session-buffer-name): New internal function.
872         (elmo-network-session-buffer-create): Ditto.
873         (elmo-network-open-session): Retry open network session
874         `elmo-network-session-retry-count' times.
875
876 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
877
878         * elmo-util.el (elmo-list-filter): Rewritten.
879
880 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
881
882         * elmo-util.el (elmo-string-member): Allow symbol element in list.
883
884 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
885
886         * elmo-search.el (elmo-make-search-engine): Use prefix
887         `elmo-search-' for require symbol instead of `else-'.
888         (elmo-search-engine-extprog): New class.
889         (elmo-search-engine-do-search): Remove nil from argument
890         list. Added argument pattern to evaluate element as function.
891         (elmo-search-engine-local-file): Derived from
892         `elmo-search-engine-extprog'.
893         (elmo-search-engine-create-message-entity): Check existance of file.
894         (elmo-search-engine-fetch-message): Ditto.
895         (elmo-search-namazu-index): Follow the API change.
896         (elmo-search-grep-target): Ditto.
897
898 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
899
900         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
901         characters of working buffer.
902
903         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
904         Does not bind `default-mime-charset'.
905         (elmo-msgdb-create-message-entity-from-buffer): Removed
906         unnecessary local bind.
907
908         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
909         function.
910         (modb-entity-extract-mailing-list-info-functions): Added it.
911
912 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
913
914         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
915         when number and message-id are non-nil.
916
917         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
918
919         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
920         conditional steatment.
921         (elmo-pop3-auth-apop): Likewise.
922         (elmo-network-authenticate-session): Likewise.
923
924 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
925
926         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
927         symbol `fill-column'.
928         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
929         decode field value.
930
931         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
932         (elmo-decoded-field-body): Ditto.
933
934 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
935
936         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
937         `tokens' to `params'.
938
939 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
940
941         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
942         working buffer.
943
944 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
945
946         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
947         decide index.
948
949 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
950
951         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
952         Set default value as nil.
953         (toplevel): Register search engines by
954         `elmo-search-register-engine' if there are not defined.
955
956         * elmo.el (autoload): Added autoload setting for
957         `elmo-search-register-engine'.
958
959 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
960
961         * elmo.el (toplevel): `[' is redefined as the prefix of the search
962         folder instead of nmz folder.
963         (elmo-nmz-default-index-path): Added obsolete variable setting.
964         (elmo-nmz-index-alias-alist): Ditto.
965         (elmo-nmz-use-drive-letter): Ditto.
966
967         * elmo-search.el (elmo-search-register-engine): New function.
968
969         * elmo-nmz.el: Removed.
970
971         * elmo-version.el (elmo-version): Up to 2.15.2.
972
973 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
974
975         * elmo-search.el: New file.
976
977 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
978
979         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
980         condition `larger' and `smaller'.
981
982 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
983
984         * elmo-util.el (elmo-safe-filename): Rewrite to replace
985         `"' (double quote) into "_Q_".
986
987 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
988
989         * elmo-net.el (elmo-net-quote-chars): Abolish.
990         (elmo-net-format-quoted): Ditto.
991
992 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
993
994         * elmo.el (elmo-get-folder-function): New variable.
995         (elmo-get-folder): New function.
996         (elmo-folder-rename): Call `elmo-make-folder' with specified
997         mime-charset.
998
999         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1000         `elmo-make-folder'.
1001         (elmo-split-subr): Ditto.
1002
1003         * elmo-multi.el (elmo-folder-initialize): Ditto.
1004
1005         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1006
1007         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1008         (elmo-flag-get-folder): Ditto.
1009
1010         * elmo-filter.el (elmo-folder-initialize): Ditto.
1011
1012         * elmo-access.el (elmo-folder-initialize): Ditto.
1013         (elmo-access-folder-update-children): Ditto.
1014
1015         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1016         (elmo-dop-queue-flush): Ditto.
1017         (elmo-folder-append-buffer-dop-delayed): Ditto.
1018         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1019         mime-charset.
1020
1021         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1022         instead of `elmo-make-folder'.
1023         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1024         destination folder instead of send `elmo-folder-rename-internal'.
1025
1026         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1027         slot of subfolder instead of create it.
1028
1029 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1030
1031         * elmo-util.el (elmo-collect-separators): New function.
1032         (elmo-collect-separators-internal): Ditto.
1033         (elmo-collect-trail-separators): Ditto.
1034         (elmo-parse-separated-tokens): Ditto.
1035         (elmo-parse-separated-tokens-internal): Ditto.
1036         (elmo-quote-syntactical-element): Ditto.
1037
1038         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1039         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1040
1041         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1042         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1043         (elmo-nntp-folder-list-subfolders): Quote a user name.
1044
1045         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1046         (elmo-net-parse-network): Abolish.
1047         (elmo-net-folder-set-parameters): New function.
1048         (elmo-folder-initialize): Follow the above change.
1049
1050         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1051         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1052         (elmo-folder-list-subfolders): Use
1053         `elmo-quote-syntactical-element' instead of
1054         `elmo-net-format-quoted' to quote mailbox and user name.
1055
1056 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1057
1058         * elmo-util.el (elmo-token-valid-p): New function.
1059         (elmo-parse-token): Add optional argument `requirement'.
1060         (elmo-parse-prefixed-element): Likewise.
1061
1062         * elmo-net.el (elmo-net-quote-chars): Renamed from
1063         `elmo-net-quote-chars-regexp'.
1064         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1065
1066         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1067         by info document. Check token `uidl' is started an alphabet.
1068
1069         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1070         by info document. Check token `user' is started an alphabet.
1071
1072         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1073         (elmo-folder-list-subfolders): Quote user.
1074
1075 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1076
1077         * elmo-util.el (elmo-quoted-specials-list): New constant.
1078         (elmo-quoted-token): New function.
1079
1080         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1081         (elmo-net-format-quoted): New function.
1082         (elmo-net-parse-network): Ditto.
1083         (elmo-folder-initialize): Use it.
1084
1085         * elmo-nntp.el (elmo-folder-initialize): Use
1086         `elmo-net-parse-network' to parse network specification instead of
1087         `elmo-folder-initialize#elmo-net'.
1088
1089         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1090
1091         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1092         (elmo-folder-list-subfolders): Quote folder name by
1093         `elmo-net-format-quoted'.
1094
1095 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1096
1097         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1098         (elmo-folder-search): Use it.
1099
1100 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1101
1102         * modb-standard.el (modb-standard-loaded-message-id): Use
1103         `elmo-msgdb-message-entity-field'.
1104
1105 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1106
1107         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1108         without filename.
1109
1110 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1111
1112         * elmo-util.el (elmo-set-auto-coding): New function.
1113         (elmo-object-load): Use it.
1114
1115 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1116
1117         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1118         (elmo-time<): Define as alias of `elmo-time-less-p'.
1119         (elmo-time-to-datevec): New function.
1120
1121         * elmo-date.el (elmo-time-to-days): New function.
1122
1123 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1124
1125         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1126         is not cons cell.
1127
1128 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1129
1130         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1131         parenthesis.
1132
1133         * elmo-util.el (elmo-map-recursive): New function.
1134
1135         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1136         (modb-entity-encode-string-recursive): Ditto.
1137
1138 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1139
1140         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1141         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1142         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1143         compare sequence number when last modified time is nil.
1144
1145 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1146
1147         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1148
1149         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1150
1151 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1152
1153         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1154         modification time of the file.
1155
1156 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1157
1158         * elmo-util.el (elmo-condition-optimize): Discriminated against
1159         preserved fields, extra fields and the other weight.
1160
1161 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1162
1163         * modb-entity.el (initialize-instance): Define.
1164         (modb-entity-handler-mime-charset): New internal function.
1165         (modb-standard-entity-set-field): Use it.
1166         (elmo-msgdb-message-entity-field): Ditto.
1167         (elmo-msgdb-message-entity-field): Ditto.
1168
1169         * modb.el (elmo-msgdb-match-condition): Rewrite with
1170         `elmo-condition-match'.
1171         (elmo-msgdb-match-condition-primitive): New function.
1172
1173         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1174         arguments `flags' and `numbers'.
1175         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1176         `elmo-msgdb-message-match-condition').
1177         (modb-buffer-entity-handler): New class.
1178
1179         * elmo.el (elmo-folder-search): Optimize condition to use
1180         `elmo-condition-optimize'.
1181         (elmo-message-buffer-match-condition): New function.
1182         (elmo-message-match-condition): Use
1183         `elmo-message-buffer-match-condition' instead of
1184         `elmo-buffer-field-condition-match'.
1185
1186         * elmo-util.el (elmo-condition-match): New function.
1187         (elmo-condition-optimize): Ditto.
1188         (elmo-buffer-field-primitive-condition-match): Abolish.
1189         (elmo-buffer-field-condition-match): Ditto.
1190
1191         * elmo-archive.el (elmo-archive-field-condition-match): Use
1192         `elmo-message-buffer-match-condition' instead of
1193         `elmo-buffer-field-condition-match'.
1194
1195 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1196
1197         * elmo-flag.el (elmo-global-flags-initialize): Check the
1198         existence of the flag directory.
1199
1200 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1201
1202         * elmo-access.el (elmo-folder-initialize): Call
1203         `elmo-multi-connect-signals'.
1204
1205         * elmo-pipe.el (elmo-folder-close): Define.
1206
1207         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1208         children folders.
1209
1210         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1211         with target folder.
1212
1213         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1214         `number'.
1215
1216         * elmo-multi.el (elmo-message-entity): Don't use return value of
1217         `elmo-message-entity-set-number'.
1218
1219 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1220
1221         * modb.el (modb-generic): Added slot `mime-charset'.
1222
1223         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1224         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1225         and `modb-entity-handler-dump-parameters'.
1226         (modb-standard-default-entity-handler): Abolish.
1227         (elmo-msgdb-message-entity-handler): Save created handler by
1228         instance slot.
1229
1230         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1231         (modb-entity-handler-list-parameters): New method.
1232         (modb-entity-handler-equal-p): New function.
1233         (modb-entity-handler-dump-parameters): Ditto.
1234         (modb-entity-parse-address-string): Encode return value.
1235         (modb-entity-make-address-string): Decode argument value.
1236         (modb-entity-decode-string-recursive): New function.
1237         (modb-entity-encode-string-recursive): Ditto.
1238         (modb-standard-entity-normalizer): Set to encode field value.
1239         (modb-standard-entity-specializer): Follow the above change.
1240         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1241         mime-charset of handler.
1242         (elmo-msgdb-message-entity-field): Ditto.
1243         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1244         structure.
1245         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1246
1247         * elmo.el (elmo-folder): Added slot `mime-charset'.
1248         (elmo-make-folder): Added argument `mime-charset'.
1249         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1250         `mime-charest'.
1251
1252         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1253         (elmo-make-msgdb): Likewise.
1254
1255         * elmo-internal.el (elmo-internal-folder-initialize): Call
1256         `luna-make-entity' with :mime-charset parameter.
1257
1258 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1259
1260         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1261         encoded words in `from' and `subject' field.
1262
1263 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1264
1265         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1266         (elmo-msgdb-match-condition): Get handler from entity instead of
1267         msgdb.
1268
1269         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1270         (modb-standard-load-entity): Treat new file format.
1271         (modb-standard-save-entity-1): Save as new file format.
1272         (modb-standard-save-entity): Split messages into section here.
1273         (elmo-msgdb-message-field): Follow the API change.
1274         (modb-standard-default-entity-handler): New internal variable.
1275         (elmo-msgdb-message-entity-handler): Define.
1276
1277         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1278         to `elmo-vars.el'.
1279         (modb-entity-field-extractor-alist): New user option.
1280         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1281         added argument `type'.
1282         (elmo-msgdb-copy-message-entity): Add optional argument
1283         `make-handler'.
1284         (modb-set-field-converter): New function.
1285         (modb-convert-field-value): Ditto.
1286         (modb-entity-string-decoder): Ditto.
1287         (modb-entity-string-encoder): Ditto.
1288         (modb-entity-parse-date-string): Ditto.
1289         (modb-entity-make-date-string): Ditto.
1290         (modb-entity-mime-decoder): Ditto.
1291         (modb-entity-mime-encoder): Ditto.
1292         (modb-entity-address-list-decoder): Ditto.
1293         (modb-entity-address-list-encoder): Ditto.
1294         (modb-entity-parse-address-string): Ditto.
1295         (modb-entity-make-address-string): Ditto.
1296         (modb-entity-create-field-indices): Ditto.
1297         (modb-legacy-entity-field-slots): New constant.
1298         (modb-legacy-entity-field-indices): Ditto.
1299         (modb-legacy-entity-normalizer): New variable.
1300         (modb-legacy-entity-specializer): Ditto.
1301         (modb-legacy-entity-field-index): New macro.
1302         (modb-legacy-entity-set-field): New function.
1303         (modb-legacy-make-message-entity): Rewrite.
1304         (elmo-msgdb-create-message-entity-from-buffer): Use
1305         `elmo-msgdb-get-references-from-buffer'. Use
1306         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1307         Use `modb-legacy-entity-set-field' instead of
1308         `elmo-msgdb-message-entity-set-field'.
1309         (elmo-msgdb-message-entity-field): Rewrite.
1310         (elmo-msgdb-message-entity-set-field): Ditto.
1311         (elmo-msgdb-copy-message-entity): Make new entity by
1312         `make-handler' if it specified.
1313         (elmo-msgdb-message-match-condition): Define a method of
1314         `modb-entity-handler' and follow the API change.
1315         (modb-standard-entity-handler): New class.
1316         (modb-entity-extract-ml-info-from-x-sequence): New function.
1317         (modb-entity-extract-ml-info-from-subject): Ditto.
1318         (modb-entity-extract-ml-info-from-return-path): Ditto.
1319         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1320         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1321         (modb-entity-extract-mailing-list-info): Ditto.
1322         (modb-entity-extract-mailing-list-info-functions): New variable.
1323
1324         * elmo.el (elmo-message-field): Add optional argument `type'.
1325
1326         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1327         from `modb-entity.el'.
1328
1329         * elmo-util.el (elmo-object-load): Decode by coding-system from
1330         `set-auto-coding-function'.
1331         (elmo-object-save): Use `detect-mime-charset-region' and add
1332         coding cookie if encode.
1333         (elmo-msgdb-get-references-from-buffer): New function.
1334         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1335
1336         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1337
1338         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1339         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1340         instead of `shimbun-make-header' and follow the API change.
1341         (elmo-shimbun-update-overview): Follow the API change.
1342         (elmo-map-folder-list-message-locations): Ditto.
1343
1344         * elmo-pipe.el (elmo-message-field): Ditto.
1345
1346         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1347         Ditto.
1348
1349         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1350
1351         * elmo-multi.el (elmo-message-field): Ditto.
1352
1353         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1354         (elmo-msgdb-sort-by-date): Ditto.
1355         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1356         `elmo-message-entity-field'.
1357         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1358         change.
1359         (elmo-msgdb-overview-entity-get-from): Ditto.
1360         (elmo-msgdb-overview-entity-get-subject): Ditto.
1361         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1362         (elmo-msgdb-overview-entity-get-date): Ditto.
1363         (elmo-msgdb-overview-entity-get-to): Ditto.
1364         (elmo-msgdb-overview-entity-get-cc): Ditto.
1365
1366         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1367         (elmo-mime-collect-message/partial-pieces): Ditto.
1368
1369         * elmo-filter.el (elmo-message-field): Ditto.
1370
1371         * elmo-date.el (elmo-datevec-to-time): New function.
1372         (elmo-time-parse-date-string): Ditto.
1373         (elmo-time-make-date-string): Ditto.
1374         (elmo-time<): Ditto.
1375
1376         * elmo-version.el (elmo-version): Up to 2.15.1.
1377
1378 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1379
1380         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1381         member of elmo-local-flags.
1382
1383 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1384
1385         * elmo-version.el (elmo-version): Up to 2.15.0.
1386
1387 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1388
1389         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1390         `ignore-msgdb' is non-nil.
1391
1392 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1393
1394         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1395         (elmo-condition-in-msgdb-p): Ditto.
1396         (elmo-file-field-primitive-condition-match): Ditto.
1397         (elmo-file-field-condition-match): Ditto.
1398
1399         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1400
1401 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1402
1403         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1404         subdirectories here.
1405         (elmo-global-flags-initialize): New function.
1406
1407         * elmo.el (toplevel): Added autoload setting for
1408         `elmo-global-flags-initialize'.
1409
1410 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1411
1412         * elmo.el (message-number-changed): Define new signal.
1413         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1414         message-number-changed signal.
1415         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1416         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1417         Respect `elmo-pack-number-check-strict'.
1418
1419 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1420
1421         * elmo-signal.el (elmo-connect-signal): Document.
1422         (elmo-emit-signal): Ditto.
1423         (elmo-emit-signal): It should pass source argument to filter and
1424         handler, not slot-source.
1425
1426 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1427
1428         * modb.el (elmo-msgdb-update-entity): New API and define generic
1429         implement.
1430
1431         * modb-standard.el (elmo-msgdb-update-entity): Define.
1432
1433         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1434         API and define generic implement.
1435
1436         * elmo.el (update-overview): New singnal.
1437
1438         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1439         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1440         (elmo-message-entity-parent): Define.
1441
1442         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1443         `update-overview'.
1444
1445         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1446
1447         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1448
1449 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1450
1451         * elmo.el (elmo-folder-synchronize): Sort the return value of
1452         `elmo-list-diff'.
1453
1454         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1455         list.
1456
1457 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1458
1459         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1460         `default-enable-multibyte-characters'.
1461         (elmo-object-load): Use `with-temp-buffer' instead of
1462         `elmo-set-work-buf'.
1463         (elmo-object-save): Ditto.
1464         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1465         `elmo-set-work-buf'.
1466         (elmo-decoded-field-body): Ditto.
1467
1468         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1469
1470         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1471         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1472
1473         * elmo-version.el (elmo-version): Up to 2.13.3.
1474
1475 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1476
1477         * elmo-util.el (elmo-list-diff): Fix the last change.
1478         Reverse order of result lists.
1479
1480 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1481
1482         * modb-standard.el (elmo-msgdb-set-flag): Use
1483         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1484         (elmo-msgdb-unset-flag): Ditto.
1485
1486         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1487         `elmo-list-diff'.
1488
1489         * elmo-util.el (elmo-list-diff): Rewrite.
1490         (elmo-list-diff-nonsortable): New function.
1491
1492 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1493
1494         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1495         `elmo-multibypte-buffer-name'.  All referers are updated.
1496
1497 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1498
1499         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1500         (elmo-mime-entity-fragment-p): New function.
1501         (mime-elmo-buffer-entity): Added slot `reassembled'.
1502         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1503         (elmo-message-mime-entity-internal): New function (renamed from
1504         `elmo-message-mime-entity').
1505         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1506         (elmo-mime-make-reassembled-mime-entity): New function.
1507         (elmo-message-reassembled-mime-entity): Ditto.
1508         (elmo-mime-collect-message/partial-pieces): Ditto.
1509
1510 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1511
1512         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1513
1514         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1515         (elmo-with-enable-multibyte): New macro.
1516
1517         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1518
1519 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1520
1521         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1522         argument `number'.
1523         (elmo-filter-connect-signals): Follow the above change.
1524
1525 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1526
1527         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1528
1529         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1530         that only the first flag is used.
1531
1532 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1533
1534         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1535         if available.
1536
1537 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1538
1539         * elmo-signal.el: New file.
1540
1541         * elmo.el (toplevel): Require elmo-signal.
1542         (flag-changing, flag-changed, cache-changed): New signal.
1543         (elmo-folder): Remove slog `handlers'.
1544         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1545         `elmo-folder-notify-event'.
1546         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1547         (elmo-folder-unset-flag): Ditto.
1548         (elmo-event-handler): Abolish.
1549         (elmo-event-handler-flag-changed): Ditto.
1550         (elmo-event-handler-cache-changed): Ditto.
1551         (elmo-folder-add-handler): Ditto.
1552         (elmo-folder-remove-handler): Ditto.
1553         (elmo-folder-notify-event): Ditto.
1554
1555         * elmo-pipe.el (toplevel): Require elmo-signal.
1556         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1557         (elmo-pipe-connect-signals): New function.
1558         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1559         (elmo-folder-set-flag): Ditto.
1560         (elmo-folder-unset-flag): Ditto.
1561         (elmo-message-set-cached): Ditto.
1562
1563         * elmo-multi.el (toplevel): Require elmo-signal.
1564         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1565         (elmo-multi-connect-signals): New function.
1566         (elmo-multi-map-numbers): Ditto.
1567         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1568         (elmo-message-fetch): Ditto.
1569         (elmo-folder-set-flag): Ditto.
1570         (elmo-folder-unset-flag): Ditto.
1571
1572         * elmo-filter.el (toplevel): Require elmo-signal.
1573         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1574         (elmo-filter-connect-signals): New function.
1575         (elmo-filter-add-flag-count): Ditto.
1576         (elmo-message-fetch): Does not call
1577         `elmo-filter-folder-countup-message-flags' and
1578         `elmo-folder-notify-event'.
1579         (elmo-message-set-cached): Ditto.
1580         (elmo-folder-set-flag): Ditto.
1581         (elmo-folder-unset-flag): Ditto.
1582
1583         * elmo-version.el (elmo-version): Up to 2.13.2.
1584
1585 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1586
1587         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1588         `flags'.
1589
1590 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1591
1592         * elmo-filter.el (elmo-message-set-cached): Call
1593         `elmo-folder-notify-event' with event `cache-changed'.
1594
1595         * elmo-multi.el (elmo-message-set-cached): Ditto.
1596
1597         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1598
1599 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1600
1601         * elmo.el (elmo-folder-encache): Abolish.
1602
1603 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1604
1605         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1606         (elmo-folder-next-message-number-dop): Return appropriate negative
1607         integer.
1608
1609 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1610
1611         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1612         clearing pending operations.
1613         (elmo-folder-next-message-number-dop): Return appropriate negative
1614         integer.
1615
1616 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1617
1618         * elmo.el (toplevel): Added autoload setting for `md5'.
1619         (elmo-msgdb-path-encode-threshold): New user option.
1620         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1621         longer than `elmo-msgdb-path-encode-threshold'.
1622
1623         * elmo-flag.el (elmo-global-mark-migrate): Use
1624         `elmo-folder-expand-msgdb-path' instead of
1625         `elmo-folder-msgdb-path'.
1626
1627 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1628
1629         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1630         element of the difference is nil.
1631
1632 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1633
1634         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1635         to the check logic of file systems which are weak in colon character.
1636
1637 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1638
1639         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1640
1641 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1642
1643         * elmo-maildir.el (elmo-maildir-move-file): New function.
1644         (elmo-folder-append-buffer): Use it.
1645         (elmo-folder-append-messages): Ditto.
1646         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1647
1648         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1649         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1650
1651         * elmo-maildir.el (elmo-maildir-separator): New user option.
1652         (elmo-maildir-adjust-separator): New macro.
1653         (elmo-maildir-list-location): Use it.
1654         (elmo-maildir-update-current): Ditto.
1655         (elmo-maildir-set-mark): Ditto.
1656         (elmo-maildir-delete-mark): Ditto.
1657         (These changes are based on Hiroya Murata's patch [wl: 13437])
1658
1659 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1660
1661         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1662
1663 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1664
1665         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1666         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1667         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1668
1669 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1670
1671         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1672         Use `with-temp-buffer'.
1673
1674 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1675
1676         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1677
1678         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1679         `wl-read-search-condition').
1680         (elmo-read-search-condition-internal): Likewise.
1681
1682         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1683         (elmo-flag-valid-p): New function.
1684         (elmo-folder-initialize): Check flag name is valid.
1685
1686 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1687
1688         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1689         delimiter to obtain root mailbox itself.
1690
1691 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1692
1693         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1694         type mismatch.
1695
1696 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1697
1698         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1699         as t.
1700
1701 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1702
1703         * elmo-shimbun.el (toplevel): Require cl at compile.
1704
1705         * elmo-nntp.el (toplevel): Ditto.
1706
1707         * elmo-nmz.el (toplevel): Ditto.
1708
1709         * elmo-multi.el (toplevel): Ditto.
1710
1711         * elmo-file.el (toplevel): Ditto.
1712
1713         * elmo-dop.el (toplevel): Ditto.
1714
1715         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1716
1717 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1718
1719         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1720         as nil.
1721
1722         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1723         size of elmo-message-fetch-internal is 0 byte.
1724
1725 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1726
1727         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1728
1729 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1730
1731         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1732         always plugged.
1733
1734 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1735
1736         * elmo-maildir.el (elmo-map-message-fetch): Call
1737         `elmo-map-folder-set-flag'.
1738
1739         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1740         (elmo-message-fetch): Merge from
1741         `elmo-message-fetch-with-cache-process'.
1742
1743         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1744         (elmo-message-fetch): Define.
1745
1746         * elmo-nntp.el (elmo-message-fetch): Renamed from
1747         `elmo-message-fetch-with-cache-process'.
1748
1749         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1750         (elmo-message-fetch): Define.
1751
1752         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1753         search-key.
1754
1755         * elmo-shimbun.el (shimbun-mua-search-id): Use
1756         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1757         (elmo-shimbun-folder-shimbun-header): Ditto.
1758         (elmo-shimbun-get-headers): Ditto.
1759         (elmo-shimbun-update-overview): Ditto.
1760
1761         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1762
1763         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1764         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1765
1766 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1767
1768         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1769         message is cached.
1770         (elmo-message-fetch-string): Fixed argument.
1771
1772 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1773
1774         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1775         exchange order of arguments `section' and `unread'.
1776         (elmo-message-encache): Follow the API change.
1777         (elmo-message-match-condition): Ditto.
1778         (elmo-generic-folder-append-messages): Ditto.
1779         (elmo-message-fetch-string): New function.
1780
1781         * elmo-split.el (elmo-split-subr): Ditto.
1782
1783         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1784
1785         * elmo-pipe.el (elmo-message-fetch): Ditto.
1786
1787         * elmo-multi.el (elmo-message-fetch): Ditto.
1788
1789         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1790
1791         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1792
1793         * elmo-filter.el (elmo-message-fetch): Ditto.
1794
1795         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1796
1797         * elmo-imap4.el (mime-imap-location-section-body): Use
1798         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1799         follow the API change.
1800
1801 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1802
1803         * elmo-access.el: New file.
1804
1805         * elmo-null.el: Ditto.
1806
1807         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1808
1809 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1810
1811         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1812         (elmo-network-session): New attribute `last-accessed'.
1813         (elmo-network-get-session): Discard network cache if elapsed time
1814         since last-accessed is larger than elmo-network-session-idle-timeout.
1815
1816 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1817
1818         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1819         and added `number', `require-entireness'.
1820         (elmo-find-fetch-strategy): Rewrite.
1821         (elmo-message-fetch): Unset `unread' flag when argument unread is
1822         non-nil.
1823
1824         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1825
1826         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1827         (elmo-message-fetch): Notify event `flag-changed'.
1828
1829         * elmo-pipe.el: Likewise.
1830
1831         * elmo-mime.el (elmo-mime-entity): New class.
1832         (elmo-mime-entity-display-p): New generic function.
1833         (elmo-mime-entity-display): Ditto.
1834         (elmo-mime-entity-display-as-is): Ditto.
1835         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1836         elmo-mime-entity.
1837         (elmo-make-mime-message-location): Removed.
1838         (elmo-mime-message-display): Ditto.
1839         (elmo-mime-display-as-is): Ditto.
1840         (elmo-message-mime-entity): New function.
1841
1842         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1843
1844         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1845         change.
1846         (elmo-message-fetch): Re-count flagged message number and notify
1847         event `flag-changed'.
1848
1849         * elmo-version.el (elmo-version): Up to 2.13.1.
1850
1851 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1852
1853         * elmo-filter.el (elmo-message-field): Define.
1854         (elmo-message-set-field): Ditto.
1855
1856 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1857
1858         * elmo.el (elmo-message-set-cached): Call
1859         `elmo-folder-notify-event' with cache-changed.
1860         (elmo-event-handler-cache-changed): New generic function.
1861
1862 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1863
1864         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1865         instead of elmo-add-name-to-file.
1866         (elmo-folder-append-messages): Ditto.
1867
1868 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1869
1870         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1871
1872 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1873
1874         * elmo-version.el (elmo-version): Up to 2.13.0.
1875
1876         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1877         `auto'.
1878
1879         * modb-standard.el (modb-standard-economize-entity-size): Changed
1880         default value to `t'.
1881
1882         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1883         `standard'.
1884
1885         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1886         after parsing greeting string.
1887
1888 2004-11-23  Daishi Kato <daishi@axlight.com>
1889
1890         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1891         New user option.
1892         (elmo-spam-spamoracle-call): Use it.
1893
1894 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1895
1896         * elmo.el (elmo-message-accessible-p): Message in dop spool
1897         is accessible.
1898
1899 2004-11-23  Daishi Kato <daishi@axlight.com>
1900
1901         * elsp-spamoracle.el: New file.
1902
1903 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1904
1905         * elmo.el (elmo-message-flags-for-append): New function.
1906         (elmo-generic-folder-append-messages): Use it.
1907
1908         * elmo-split.el (elmo-split-subr): Ditto.
1909
1910         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1911         `flags' and use elmo-folder-append-buffer instead of
1912         write-region-as-binary.
1913         (elmo-dop-filter-pending-messages): New function.
1914         (elmo-folder-append-buffer-dop): Call
1915         elmo-dop-spool-folder-append-buffer with `flag'.
1916         (elmo-folder-set-flag-dop): Filter messages by
1917         elmo-dop-filter-pending-messages.
1918         (elmo-folder-unset-flag-dop): Ditto.
1919         (elmo-folder-append-buffer-dop-delayed): Use
1920         elmo-message-flags-for-append to get flags of the message and
1921         simplify.
1922
1923 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1924
1925         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1926
1927 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1928
1929         * elmo.el (elmo-folder): Added handlers slot.
1930         (elmo-event-handler): New class.
1931         (elmo-event-handler-flag-changed): New API.
1932         (elmo-folder-add-handler): New function.
1933         (elmo-folder-remove-handler): Ditto.
1934         (elmo-folder-notify-event): Ditto.
1935         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1936         `flag-changed'.
1937         (elmo-folder-unset-flag): Ditto.
1938
1939         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1940         (elmo-folder-unset-flag): Ditto.
1941
1942         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1943         (elmo-folder-unset-flag): Ditto.
1944
1945         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1946         (elmo-folder-unset-flag): Ditto.
1947
1948         * elmo-version.el (elmo-version): Up to 2.11.33.
1949
1950 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1951
1952         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1953
1954 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1955
1956         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1957
1958         * elmo-flag.el (elmo-folder-unset-flag): Define.
1959         (elmo-global-flag-detach): Do process when the flag is not target
1960         flag.
1961
1962 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1963
1964         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1965         variable.
1966         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1967
1968 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1969
1970         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1971         function.
1972         (elmo-folder-delete-messages): Detach messages before delete
1973         messages from target folder.
1974         (elmo-folder-detach-messages): Set updated number-list to slot.
1975
1976 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1977
1978         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1979
1980 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1981
1982         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1983
1984 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1985
1986         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1987         internal use only).
1988         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1989         not modified.
1990         (elmo-folder-delete-messages): Define.
1991         (elmo-folder-move-messages): Don't call
1992         `elmo-folder-detach-messages'.
1993         (elmo-folder-synchronize): Rewrite.
1994         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1995
1996         * elmo-util.el (elmo-last): New function.
1997         (elmo-set-list): Ditto.
1998         (elmo-number-set-delete-list): Ditto.
1999         (elmo-number-set-delete): Ditto.
2000
2001         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2002
2003         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2004         `elmo-folder-delete-messages' and don't delete location map.
2005         (elmo-folder-detach-messages): Define.
2006
2007         * elmo-imap4.el (elmo-folder-delete): Use
2008         `elmo-folder-delete-messages-internal' instead of
2009         `elmo-folder-delete-messages'.
2010
2011         * elmo-filter.el (elmo-folder-delete-messages): Call
2012         `elmo-folder-detach-messages'.
2013         (elmo-folder-detach-messages): Don't call
2014         `elmo-folder-detach-messages' for target folder.
2015
2016         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2017         message deletion is succeeded.
2018
2019         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2020
2021         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2022         from `elmo-folder-delete-messages'.
2023
2024         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2025
2026         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2027
2028         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2029
2030         * elmo-version.el (elmo-version): Up to 2.11.32.
2031
2032 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2033
2034         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2035         (elmo-global-flag-list): Added obsolete variable setting.
2036
2037         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2038
2039         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2040         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2041         `elmo-mime-display-header-analysis' is nil.
2042
2043         * elmo-flag.el (elmo-global-flags): Renamed from
2044         `elmo-global-flag-list' (All other related portions are changed).
2045         (elmo-local-flags): New variable.
2046         (elmo-local-flag-p): New function.
2047         (elmo-global-flag-set-internal): Cause an error when flag is not
2048         global.
2049
2050 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2051
2052         * elmo-util.el (elmo-concat-path): Treat empty path.
2053
2054 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2055
2056         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2057         field-or-fields).
2058         (elmo-split-address-match): Ditto.
2059         (elmo-split-equal): Ditto.
2060         (elmo-split-match): Ditto.
2061
2062 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2063
2064         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2065         (elmo-generic-folder-append-messages): If src message exists but
2066         has no flag, pass (read) for the FLAG argument of
2067         `elmo-folder-append-buffer'. Otherwise, pass nil.
2068
2069         * elmo-split.el (elmo-split-subr): Likewise.
2070
2071         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2072
2073         * elmo-multi.el (elmo-message-flags): Ditto.
2074
2075         * elmo-filter.el (elmo-message-flags): Ditto.
2076
2077         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2078         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2079         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2080         
2081 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2082
2083         * elmo-split.el (elmo-split-rule): Update comment.
2084         (elmo-split-address-equal): Allow 2nd argument to be a list.
2085         (elmo-split-address-match): Ditto.
2086         (elmo-split-equal): Ditto.
2087         (elmo-split-match): Ditto.
2088
2089 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2090
2091         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2092         (elmo-folder-append-msgdb): Don't treat `read'.
2093         (elmo-message-flags): Don't return `read'.
2094
2095         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2096         (elmo-folder-unset-read-delayed): Ditto.
2097
2098         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2099
2100 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2101
2102         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2103         deletion.
2104
2105 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2106
2107         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2108         header.
2109
2110 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2111
2112         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2113         here.
2114         (elmo-msgdb-save): Bind inhibit-quit.
2115         (modb-standard-message-entity): Ditto.
2116
2117 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2118
2119         * elmo-database.el: No need to require elmo-msgdb.
2120
2121 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2122
2123         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2124         instead of `elmo-list-subdirectories'.
2125
2126 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2127
2128         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2129         group entry.
2130         (elmo-folder-exists-p): "[" is empty.
2131         (elmo-folder-list-subfolders): Define.
2132         (elmo-folder-have-subfolder-p): Ditto.
2133
2134 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2135
2136         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2137
2138 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2139
2140         * elmo-filter.el (elmo-folder-local-p): Define.
2141
2142 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2143
2144         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2145         when entity is garbaged.
2146         (modb-standard-save-entity-1): Don't modify the original entity.
2147
2148 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2149
2150         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2151
2152 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2153
2154         * elmo.el (elmo-strict-folder-diff): Use
2155         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2156
2157 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2158
2159         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2160         (elmo-msgdb-message-number): Ditto.
2161         (elmo-msgdb-message-field): Ditto.
2162
2163         * modb-standard.el (modb-standard-economize-entity-size): New user
2164         option.
2165         (modb-standard-loaded-message-id): New inline function.
2166         (modb-standard-load-entity): Use it.
2167         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2168         throw message-id string away.
2169         (elmo-msgdb-flag-available-p): Define.
2170         (elmo-msgdb-message-number): Ditto.
2171         (elmo-msgdb-message-field): Ditto.
2172
2173         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2174         (suppoted -> supported).
2175         (modb-legacy-supported-flag-p): Ditto.
2176         (elmo-msgdb-set-flag): Ditto.
2177         (elmo-msgdb-unset-flag): Ditto.
2178         (elmo-msgdb-flag-available-p): Define.
2179
2180         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2181         is `t', treat it as legacy entity.
2182         
2183         * elmo.el (elmo-message-flag-available-p): New generic function.
2184         (elmo-message-number): Ditto.
2185         (elmo-message-field): Use `elmo-msgdb-message-field'.
2186
2187         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2188
2189         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2190         (elmo-message-number): Ditto.
2191
2192         * elmo-multi.el (elmo-message-number): Define.
2193         (elmo-message-flag-available-p): Ditto.
2194
2195         * elmo-filter.el (elmo-message-flag-available-p): Define.
2196         (elmo-message-number): Ditto.
2197
2198         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2199         (elmo-folder-initialize): Load `max-number'.
2200         (elmo-folder-commit): Save it.
2201         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2202         (elmo-global-flag-set-internal): Set up max-number slot.
2203
2204 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2205
2206         * elmo-version.el (elmo-version): Up to 2.11.31.
2207
2208 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2209
2210         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2211         unibyte string of the current buffer for the argument of `md5'
2212         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2213
2214 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2215
2216         * modb-legacy.el (modb-legacy-flag-list): New constant.
2217         (modb-legacy-suppoted-flag-p): New internal function.
2218         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2219         (elmo-msgdb-unset-flag): Ditto.
2220
2221 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2222
2223         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2224
2225         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2226         from msgdb.
2227
2228 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2229
2230         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2231         (follow the API change).
2232
2233         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2234
2235 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2236
2237         * modb-standard.el (modb-standard-digest-flags): Abolish.
2238         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2239
2240         * elmo-vars.el (elmo-digest-flags): New variable.
2241         (elmo-preserved-flags): Moved from elmo-flag.el.
2242
2243         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2244         (elmo-imap4-flag-to-imap-criteria): Ditto.
2245         (elmo-imap4-folder-list-flagged): Use it.
2246
2247         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2248
2249         * elmo.el (elmo-folder-count-flags): Changed return value.
2250
2251         * elmo-flag.el (elmo-preserved-flags): New variable.
2252         (elmo-get-global-flags): Use it.
2253
2254         * modb-standard.el (modb-standard-digest-flags): New variable.
2255         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2256         Changed behavior of `any'.
2257
2258         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2259         which are defined the Internet draft
2260         (draft-melnikov-imap-keywords-03.txt).
2261         (elmo-imap4-flags-to-imap): New function.
2262         (elmo-folder-append-buffer): Use it.
2263
2264         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2265         in the docstring.
2266
2267         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2268         avoid the bug of Emacs 21.3.
2269
2270 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2271
2272         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2273         function find-coding-system does not exist.
2274
2275 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2276
2277         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2278         parsing.
2279
2280 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2281
2282         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2283         response codes.
2284
2285 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2286
2287         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2288         (elmo-network-close-session): Follow the changes in
2289         `elmo-pop3-read-response'.
2290         (elmo-pop3-auth-user): Ditto.
2291         (elmo-pop3-auth-apop): Ditto.
2292         (elmo-network-initialize-session): Ditto.
2293         (elmo-network-authenticate-session): Ditto.
2294         (elmo-network-setup-session): Ditto.
2295         (elmo-folder-status): Ditto.
2296         (elmo-message-fetch-plugged): Ditto.
2297         (elmo-pop3-delete-msg): Ditto.
2298
2299 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2300
2301         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2302         on failure.
2303
2304 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2305
2306         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2307         style.
2308         (elmo-bind-directory): Ditto.
2309
2310 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2311
2312         * elmo.el (elmo-folder-append-messages): Note on return value.
2313         * elmo-archive.el (elmo-folder-append-messages): Don't return
2314         message numbers which could not be appended.
2315
2316 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2317
2318         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2319
2320 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2321
2322         * elmo-version.el (elmo-version): Up to 2.11.30.
2323
2324 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2325
2326         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2327         `mask'.
2328
2329         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2330
2331         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2332         (elmo-multi-split-numbers): Add elmo-folder object into each
2333         element of return value at first.
2334         (elmo-folder-delete-messages): Follow the above change.
2335         (elmo-folder-detach-messages): Ditto.
2336
2337         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2338         number which is synchronized in target folder.
2339
2340 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2341
2342         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2343         Change default value to symbol `all'.
2344         (elmo-map-message-fetch): Change condition to update overview
2345         follow the above.
2346
2347 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2348
2349         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2350         behavior to update overview.
2351         (elmo-shimbun-update-overview-folder-list): Note it.
2352
2353 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2354
2355         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2356         recursive call.
2357
2358 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2359
2360         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2361         buffer-disable-undo, it is unnecessary.
2362         (elmo-spam-register-good-messages): Ditto.
2363
2364         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2365         Ditto.
2366
2367         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2368
2369 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2370
2371         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2372         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2373         elmo-set-buffer-multibyte.
2374         (elmo-object-load): Ditto.
2375         (elmo-save-buffer): Ditto.
2376         (elmo-delete-char): Ditto.
2377         (elmo-file-field-primitive-condition-match): Ditto.
2378         (elmo-mime-string): Ditto.
2379
2380         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2381         (elmo-archive-field-condition-match): Ditto.
2382
2383         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2384
2385         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2386
2387         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2388         (elmo-nntp-msgdb-create-message): Ditto.
2389
2390         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2391
2392         * elmo.el (elmo-message-match-condition): Ditto.
2393         (elmo-message-match-condition): Ditto.
2394
2395         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2396         Ditto.
2397
2398         * elmo-version.el (elmo-version): Up to 2.11.29.
2399
2400         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2401         (elsp-header): New backend.
2402
2403         * elmo-util.el (elmo-decoded-field-body): New function.
2404
2405 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2406
2407         * elmo-version.el (elmo-version): Up to 2.11.28.
2408
2409 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2410
2411         * elmo-filter.el: Rewrite.
2412
2413         * elmo-version.el (elmo-version): Up to 2.11.27.
2414
2415 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2416
2417         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2418         msgdb path for the localdir folder with absolute path.
2419
2420         * utf7.el: Synch up with latest gnus/utf7.el;
2421         Modified for latest Emacs.
2422
2423 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2424
2425         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2426         shimbun backend couldn't open.
2427
2428 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2429
2430         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2431         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2432         when a destination folder is a filter folder.
2433
2434 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2435
2436         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2437         (elmo-generic-folder-append-messages): Call elmo-message-flags
2438         with argument `msgid'.
2439
2440         * elmo-split.el (elmo-split-subr): Ditto.
2441
2442         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2443
2444         * elmo-multi.el (elmo-message-flags): Ditto.
2445
2446 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2447
2448         * elmo.el (elmo-folder): Add new slot `flag-table'.
2449         (elmo-folder-flag-table): New API.
2450         (elmo-folder-close-flag-table): Ditto.
2451         (elmo-folder-preserve-flags): New function.
2452         (elmo-generic-folder-append-messages): Use
2453         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2454         Flag of a non-registered message, it sets to nil.
2455         Does not set flag to flag-table.
2456
2457         * elmo-maildir.el (elmo-folder-append-buffer): Use
2458         `elmo-folder-preserve-flags'.
2459         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2460         `elmo-folder-close-flag-table'.
2461
2462         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2463         (elmo-archive-folder-append-buffer): Use
2464         `elmo-folder-preserve-flags'.
2465
2466         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2467
2468         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2469
2470         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2471         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2472         `elmo-folder-close-flag-table'.
2473
2474         * elmo-version.el (elmo-version): Up to 2.11.26.
2475
2476 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2477
2478         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2479
2480         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2481         md5's 4th and 5th argument (non-existent in flim one).
2482
2483 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2484
2485         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2486         message, It sets to nil.
2487
2488 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2489
2490         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2491         list is non-nil.
2492
2493 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2494
2495         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2496
2497         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2498
2499         * elmo-util.el (elmo-uniq-sorted-list): New function.
2500         (elmo-make-number-list): Ditto.
2501         (elmo-number-set-to-number-list): Use elmo-make-number-list
2502         and don't use nreverse.
2503
2504 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2505
2506         * elmo-version.el (elmo-version): Up to 2.11.25.
2507
2508 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2509
2510         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2511         field not exists in message, Use md5 message digest of header.
2512
2513 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2514
2515         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2516         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2517         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2518         * elmo-split.el (elmo-split-subr): Check return value of
2519         elmo-folder-append-buffer.
2520
2521         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2522         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2523
2524         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2525         message-id.
2526
2527 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2528
2529         * elmo-split.el (elmo-split-subr): Append message with flag.
2530
2531         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2532         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2533         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2534
2535 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2536
2537         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2538         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2539         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2540
2541 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2542
2543         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2544         with a function call of `process-buffer'.  All callers are updated.
2545         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2546         Remove redundant `set-buffer' in a while loop.
2547
2548 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2549
2550         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2551         calls.
2552
2553 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2554
2555         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2556         elsp-spamfilter-register-buffer-internal with current buffer.
2557         (elmo-spam-register-spam-buffer): Ditto.
2558         (elmo-spam-register-good-buffer): Ditto.
2559
2560 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2561
2562         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2563         if it is not contained in the response(A workaround for courier-imap).
2564
2565 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2566
2567         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2568         parenthesis.
2569
2570 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2571
2572         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2573         range.
2574
2575 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2576
2577         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2578         of nconc.
2579
2580         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2581         argument handler.
2582         (elmo-msgdb-message-match-condition): Follow the change above.
2583
2584 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2585
2586         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2587         folder name.
2588
2589 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2590
2591         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2592
2593 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2594
2595         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2596
2597 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2598
2599         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2600         not found.
2601
2602 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2603
2604         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2605         value.
2606         (elmo-file-command-argument): Undo last change for cygwin.
2607         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2608         Don't return nil.
2609         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2610
2611 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2612
2613         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2614         value returned from elmo-file-find is nil.
2615
2616 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2617
2618         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2619         to elmo-vars.el.
2620
2621         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2622         instead of insert-file-contents-as-binary.
2623         (elmo-message-set-field): New generic function.
2624
2625         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2626         behavior change on `split-string'.
2627
2628         * elmo-file.el (elmo-file-find): New function.
2629         (elmo-file-command): New user option.
2630         (elmo-file-command-argument): Ditto.
2631         (elmo-file-fetch-max-size): Ditto.
2632         (elmo-file-detect-format): New function.
2633         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2634         Use elmo-file-detect-format.
2635         (elmo-map-folder-list-message-locations): Don't treat directories.
2636
2637 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2638
2639         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2640         (elmo-passwd-alist-clear): Shred password before clear.
2641         (elmo-remove-passwd): Remove all mached pair.
2642
2643 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2644
2645         * elmo.el (elmo-folder-synchronize): Fix description of the return
2646         value.
2647
2648 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2649
2650         * elmo.el (elmo-message-fetch-bodystructure): New method.
2651         (elmo-message-fetch-bodystructure): Define default.
2652
2653         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2654         elmo-message-fetch-bodystructure.
2655         (elmo-message-fetch-bodystructure): Define.
2656
2657         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2658
2659 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2660
2661         * elmo-filter.el (elmo-message-folder): Define.
2662
2663 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2664
2665         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2666         elmo-delete-cr-buffer.
2667
2668         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2669
2670         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2671
2672         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2673
2674         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2675         type seems to be a text.
2676
2677 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2678
2679         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2680         (elmo-spam-register-good-buffer): Ditto.
2681         (elmo-spam-spamassassin-register-messages): Ditto.
2682
2683         * elmo-util.el (elmo-string-member-ignore-case): Define with
2684         static-cond.
2685
2686 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2687
2688         * elmo.el (elmo-folder-type): Undo last change.
2689
2690         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2691
2692         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2693         warnings.
2694
2695         * elmo-file.el: New file.
2696         
2697         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2698
2699         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2700         variable.
2701         (elmo-spam-spamassassin-register-messages): New inline function.
2702         (elmo-spam-register-spam-messages): Define.
2703         (elmo-spam-register-good-messages): Ditto.
2704
2705         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2706         Fixed typo.
2707
2708         * elmo.el (toplevel): Added autoload setting for
2709         `elmo-get-global-flags'.
2710         (elmo-message-has-global-flag-p): New function.
2711         (elmo-message-set-global-flags): Ditto.
2712         (elmo-folder-type): Improvement for name: format.
2713
2714         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2715         availability of keyword flags.
2716         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2717         (elmo-folder-list-flagged-plugged): Renamed from
2718         elmo-folder-list-flagged-unplugged.
2719         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2720         accept any flag as keyword flag.
2721         (elmo-folder-set-flag-plugged): Accept keyword flags.
2722         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2723
2724         * elmo-flag.el (elmo-get-global-flags): New function.
2725
2726         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2727         folders.
2728
2729         * elmo-version.el (elmo-version): Up to 2.11.24.
2730
2731 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2732
2733         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2734         elmo-multiple-field-body instead of std11-field-body to check all
2735         headers.
2736
2737 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2738
2739         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2740         or "size".
2741
2742 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2743
2744         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2745         unintern is unbound.
2746
2747 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2748
2749         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2750         Protect from infinite loop.
2751
2752 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2753
2754         * elsp-bogofilter.el
2755         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2756         (elmo-spam-bogofilter-register-messages): New internal function.
2757         (elmo-spam-register-spam-messages): Define.
2758         (elmo-spam-register-good-messages): Ditto.
2759
2760 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2761
2762         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2763         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2764         (elmo-spam-bogofilter-call): Fixed the last change.
2765         (elmo-spam-bogofilter-arguments): Ditto.
2766
2767         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2768         Follow the options change of latest bogofilter.
2769
2770         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2771         (elmo-spam-bogofilter-good-switch): Ditto.
2772         (elmo-spam-bogofilter-arguments-alist): New user option.
2773         (elmo-spam-bogofilter-debug): Ditto.
2774         (elmo-spam-bogofilter-call): Renamed from
2775         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2776         is non-nil, insert output in buffer for debug.
2777         (elmo-spam-bogofilter-arguments): New macro.
2778         (elmo-spam-buffer-spam-p): Use it.
2779         (elsp-bogofilter-register-buffer): Ditto.
2780
2781 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2782
2783         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2784         regexp.
2785
2786 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2787
2788         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2789         value as "ruby".
2790         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2791         (elmo-spam-bsfilter-program): Set default value as full path for
2792         `bsfilter'.
2793         (elmo-spam-bsfilter-debug): New user option.
2794         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2795         non-nil, insert output in buffer for debug. Fix treating of
2796         argument.
2797
2798 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2799
2800         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2801         `elmo-maildir-flag-specs' element instead of one.
2802         (elmo-map-folder-unset-flag): Ditto.
2803         (Reported by Ken Makimura <macky@astem.or.jp>)
2804
2805         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2806         (elmo-folder-unset-flag-plugged): Ditto.
2807
2808 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2809
2810         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2811         to `reads' slot only if `in-msgdb' is nil.
2812
2813 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2814
2815         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2816         and complement argument list.
2817
2818 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2819
2820         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2821         instead of elmo-folder-list-flagged.
2822
2823 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2824
2825         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2826
2827         * elsp-bsfilter.el: New file.
2828
2829         * elmo-pipe.el (elmo-folder-list-unreads,
2830         elmo-folder-list-answereds,
2831         elmo-folder-list-importants,
2832         elmo-folder-flag-as-important,
2833         elmo-folder-unflag-important,
2834         elmo-folder-flag-as-read,
2835         elmo-folder-unflag-read,
2836         elmo-folder-flag-as-answered,
2837         elmo-folder-unflag-answered): Remove.
2838         (elmo-folder-set-flag): Define.
2839         (elmo-folder-unset-flag): Ditto.
2840
2841         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2842         (elmo-folder-set-flag): Define.
2843         (elmo-folder-unset-flag): Ditto.
2844         (elmo-folder-list-unreads): Remove.
2845         (elmo-folder-list-flagged): Define.
2846
2847         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2848         (elmo-folder-list-unreads,
2849         elmo-folder-list-importants,
2850         elmo-folder-list-answereds,
2851         elmo-folder-list-unreads-plugged,
2852         elmo-folder-list-importants-plugged,
2853         elmo-folder-list-answereds-plugged): Remove.
2854         (elmo-folder-list-flagged-plugged): New method.
2855         (elmo-folder-unflag-important,
2856         elmo-folder-flag-as-important,
2857         elmo-folder-unflag-read,
2858         elmo-folder-flag-as-read,
2859         elmo-folder-unflag-answered,
2860         elmo-folder-flag-as-answered,
2861         elmo-folder-flag-as-read-unplugged,
2862         elmo-folder-unflag-read-unplugged,
2863         elmo-folder-flag-as-important-unplugged,
2864         elmo-folder-unflag-important-unplugged,
2865         elmo-folder-flag-as-answered-unplugged,
2866         elmo-folder-unflag-answered-unplugged): Remove.
2867         (elmo-folder-set-flag): Define.
2868         (elmo-folder-unset-flag): Ditto.
2869         (elmo-folder-set-flag-unplugged): Ditto.
2870         (elmo-folder-unset-flag-unplugged): Ditto.
2871
2872         * elmo-multi.el (elmo-folder-list-unreads,
2873         elmo-folder-list-answereds,
2874         elmo-folder-list-importants,
2875         elmo-folder-flag-as-important,
2876         elmo-folder-unflag-important,
2877         elmo-folder-flag-as-read,
2878         elmo-folder-unflag-read,
2879         elmo-folder-flag-as-answered,
2880         elmo-folder-unflag-answered): Remove.
2881         (elmo-folder-set-flag): Define.
2882         (elmo-folder-unset-flag): Ditto.
2883
2884         * elmo-map.el (elmo-map-folder-unflag-important,
2885         elmo-map-folder-flag-as-important,
2886         elmo-map-folder-unflag-read,
2887         elmo-map-folder-flag-as-read,
2888         elmo-map-folder-unflag-answered,
2889         elmo-map-folder-flag-as-answered): Remove.
2890         (elmo-map-folder-set-flag): New method.
2891         (elmo-map-folder-unset-flag): Ditto.
2892         (elmo-map-folder-list-unreads,
2893         elmo-map-folder-list-importants,
2894         elmo-map-folder-list-answereds): Remove.
2895         (elmo-folder-list-flagged-internal): Define.
2896         (elmo-map-folder-list-flagged): New method.
2897
2898         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2899         (elmo-map-folder-list-unreads,
2900         elmo-map-folder-list-importants,
2901         elmo-map-folder-list-flagged): Remove.
2902         (elmo-map-folder-list-flagged): Define.
2903         (elmo-map-folder-flag-as-important,
2904         elmo-map-folder-unflag-important,
2905         elmo-map-folder-flag-as-read,
2906         elmo-map-folder-unflag-read,
2907         elmo-map-folder-flag-as-answered,
2908         elmo-map-folder-unflag-answered): Remove.
2909         (elmo-maildir-set-mark-messages): New internal function.
2910         (elmo-map-folder-set-flag): Define.
2911         (elmo-map-folder-unset-flag): Ditto.
2912
2913         * elmo.el (toplevel): Added autoload setting for
2914         `elmo-folder-list-global-flag-messages'.
2915         (elmo-folder-list-unreads,
2916         elmo-folder-list-importants,
2917         elmo-folder-list-answereds): Remove.
2918         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2919         Return a list whitch merged with messages have global flag.
2920         (elmo-folder-list-flagged-internal): New method.
2921         (elmo-folder-unflag-important,
2922         elmo-folder-flag-as-important,
2923         elmo-folder-unflag-read,
2924         elmo-folder-flag-as-read,
2925         elmo-folder-unflag-answered,
2926         elmo-folder-flag-as-answered): Remove.
2927         (elmo-folder-set-flag): New method.
2928         (elmo-folder-unset-flag): Ditto.
2929         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2930         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2931
2932         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2933         (elmo-folder-list-unreads-plugged,
2934         elmo-folder-list-importants-plugged,
2935         elmo-folder-list-answereds-plugged,
2936         elmo-folder-list-flagged-unplugged,
2937         elmo-folder-unflag-important-plugged,
2938         elmo-folder-flag-as-important-plugged,
2939         elmo-folder-unflag-read-plugged,
2940         elmo-folder-flag-as-read-plugged,
2941         elmo-folder-unflag-answered-plugged,
2942         elmo-folder-flag-as-answered-plugged): Remove.
2943         (elmo-folder-set-flag-plugged,
2944         elmo-folder-unset-flag-plugged): Define.
2945
2946         * elmo-flag.el (elmo-folder-initialize): Register to
2947         `elmo-global-flag-list' if flag is not global.
2948         (elmo-folder-append-messages): Set flag to source messages.
2949
2950         * elmo-filter.el (elmo-filter-folder-list-unreads,
2951         elmo-folder-list-unreads,
2952         elmo-filter-folder-list-importants,
2953         elmo-folder-list-importants,
2954         elmo-folder-flag-as-read,
2955         elmo-folder-unflag-read,
2956         elmo-folder-flag-as-important,
2957         elmo-folder-unflag-important,
2958         elmo-folder-flag-as-answered,
2959         elmo-folder-unflag-answered): Remove.
2960         (elmo-folder-set-flag): Define.
2961         (elmo-folder-unset-flag): Ditto.
2962
2963         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2964         elmo-folder-unflag-read-dop,
2965         elmo-folder-flag-as-important-dop,
2966         elmo-folder-unflag-important-dop,
2967         elmo-folder-flag-as-answered-dop,
2968         elmo-folder-unflag-answered-dop): Remove.
2969         (elmo-folder-set-flag-dop,
2970         elmo-folder-unset-flag-dop,
2971         elmo-folder-set-important-delayed,
2972         elmo-folder-unset-important-delayed,
2973         elmo-folder-set-read-delayed,
2974         elmo-folder-unset-read-delayed,
2975         elmo-folder-set-answered-delayed,
2976         elmo-folder-unset-answered-delayed): New function.
2977         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2978         (elmo-dop-queue-method-name-alist): Ditto.
2979
2980         * elmo-version.el (elmo-version): Up to 2.11.23.
2981
2982 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2983
2984         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2985
2986         * elsp-sa.el: New file.
2987
2988 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2989
2990         * modb-standard.el (modb-standard-message-entity): New function.
2991         (elmo-msgdb-message-entity): Use it.
2992
2993 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2994
2995         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2996         behavior when one-level is nil.
2997
2998         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2999
3000         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3001
3002 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3003
3004         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3005         get max number.
3006         (elmo-generic-folder-diff): Ditto.
3007
3008         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3009         (elmo-folder-update-number): Ditto.
3010
3011         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3012         (elmo-folder-next-message-number-dop): Ditto.
3013
3014 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3015
3016         * elmo-filter.el (elmo-folder-msgdb-create): Use
3017         `elmo-message-entity' and `elmo-message-flags' instead of
3018         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3019
3020 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3021
3022         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3023         `if-exists'.
3024
3025 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3026
3027         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3028
3029         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3030
3031         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3032
3033 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3034
3035         * elmo-version.el (elmo-version): Up to 2.11.22.
3036
3037 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3038
3039         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3040
3041 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3042
3043         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3044         if the message dose not exist.
3045
3046 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3047
3048         * elmo-version.el (elmo-version): Up to 2.11.21.
3049
3050 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3051
3052         * modb-standard.el (toplevel): Don't require mime.
3053
3054 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3055
3056         * elsp-bogofilter.el (toplevel): Don't require path-util.
3057         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3058         (elmo-spam-bogofilter-header): Abolish.
3059         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3060         (elmo-spam-bogofilter-args): New user option.
3061         (elsp-bogofilter-call-bogofilter): New internal function.
3062         (elmo-spam-buffer-spam-p): Use it.
3063         (elsp-bogofilter-register-buffer): Renamed from
3064         `elmo-spam-bogofilter-register-buffer';
3065         Use `elsp-bogofilter-call-bogofilter'.
3066         (elmo-spam-register-spam-buffer): Follow the change above.
3067         (elmo-spam-register-good-buffer): Ditto.
3068
3069 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3070
3071         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3072         message-id is nil do nothing.
3073
3074 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3075
3076         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3077         Revival.
3078         (elmo-imap4-session): Removed use-flag slot.
3079         (elmo-imap4-session-select-mailbox): Undo last change.
3080         (elmo-folder-use-flag-p): Use
3081         elmo-imap4-disuse-server-flag-mailbox-regexp.
3082
3083 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3084
3085         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3086         (elmo-imap4-session-select-mailbox): Set it up.
3087         (elmo-folder-use-flag-p): Return value of use-flag slot.
3088
3089 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3090
3091         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3092         message-id is nil.
3093         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3094
3095         * modb-entity.el (elmo-message-entity-handler): Likewise.
3096
3097 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3098
3099         * elmo.el (toplevel): Remove setting of autoloding for
3100         elmo-global-flag-initialize.
3101         (elmo-init): Don't call elmo-global-flag-initialize.
3102         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3103
3104         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3105         (elmo-global-mark-migrate): Don't call it.
3106         (elmo-global-mark-upgrade): Ditto.
3107
3108 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3109
3110         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3111         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3112
3113         * elmo-vars.el (elmo-init-hook): New user option.
3114
3115         * elmo.el (elmo-init): Run the elmo-init-hook.
3116
3117         * elmo-flag.el (elmo-global-mark-migrate): New function.
3118
3119 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3120
3121         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3122         Undo last change (move to elmo-msgdb-unset-flag).
3123         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3124         flag is unset.
3125
3126 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3127
3128         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3129         read flag is set.
3130         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3131         (elmo-msgdb-unset-flag): Ditto.
3132
3133 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3134
3135         * elmo-split.el (elmo-split): Return split message count.
3136
3137 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3138
3139         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3140         is nil.
3141
3142 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3143
3144         * elmo.el (elmo-folder-unflag-important): Call
3145         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3146         a symbol `always'.
3147
3148         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3149         before unset flag.
3150         (elmo-global-flag-detach): Delete the message from flag folder, if
3151         `delete-if-none' is a symbol `always'.
3152
3153 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3154
3155         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3156         `elmo-spam-spamfilter-decode-buffer'.
3157         (elsp-spamfilter-register-buffer-internal): New internal function.
3158         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3159         (elmo-spam-register-spam-buffer): Ditto.
3160         (elmo-spam-register-good-buffer): Ditto.
3161
3162         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3163         change.
3164         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3165         (elmo-spam-register-spam-buffer): Follow the API change.
3166         (elmo-spam-register-good-buffer): Ditto.
3167
3168         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3169         (elmo-split-spam-p): Added argument plist; Call
3170         `elmo-spam-buffer-spam-p' with new argument register.
3171
3172         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3173         `register'.
3174         (elmo-spam-message-spam-p): Ditto.
3175         (elmo-spam-register-spam-buffer): Added optional argument
3176         `restore'.
3177         (elmo-spam-register-good-buffer): Ditto.
3178         (elmo-spam-register-spam-messages): Ditto.
3179         (elmo-spam-register-good-messages): Ditto.
3180
3181 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3182
3183         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3184         register into good corpus.
3185         (elmo-spam-register-good-buffer): Fixed to register into bad
3186         corpus.
3187
3188 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3189
3190         * elmo-version.el (elmo-version): Up to 2.11.20.
3191
3192         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3193         change.
3194
3195         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3196         flag without depending on \Recent flag.
3197
3198 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3199
3200         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3201         (elmo-spam-modified-p): Defined.
3202         (elmo-spam-save-status): Set `modified' slot to nil.
3203         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3204         (elmo-spam-register-good-buffer): Ditto.
3205
3206         * elmo-spam.el (elmo-spam-modified-p): New API.
3207
3208 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3209
3210         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3211         duplicate definition.
3212
3213         * elmo-util.el (elmo-unfold-field-body): New function.
3214         (elmo-msgdb-get-message-id-from-buffer): Use it.
3215
3216         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3217         Fixed the last change; Use elmo-unfold-field-body.
3218
3219 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3220
3221         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3222         Unfold date value.
3223
3224 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3225
3226         * elmo-spam.el (elmo-spam-save-status): New API.
3227
3228         * elsp-spamfilter.el: New file.
3229
3230 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3231
3232         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3233
3234 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3235
3236         * elmo-split.el (elmo-split-spam-p): New function.
3237
3238         * elmo-spam.el: New file.
3239
3240         * elsp-bogofilter.el: Ditto.
3241
3242 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3243
3244         * elmo.el (elmo-folder-next-message-number): New API.
3245         (elmo-folder-next-message-number): Define.
3246         (elmo-message-field): Don't check folder length.
3247
3248         * elmo-net.el (elmo-folder-next-message-number): Define.
3249         (elmo-folder-next-message-number-unplugged): Define.
3250
3251         * elmo-map.el (elmo-folder-next-message-number): Define.
3252         (elmo-folder-delete-messages): Clear hash value.
3253
3254         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3255
3256         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3257         (elmo-folder-delete-messages-dop-delayed): Always return t.
3258
3259         * elmo-version.el (elmo-version): Up to 2.11.19.
3260
3261 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3262
3263         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3264         change.
3265
3266         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3267         identical cons cell into the mark-alist and the hash table.
3268
3269 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3270
3271         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3272         elmo-folder-list-messages with argument `visible-only' as t.
3273
3274         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3275         (elmo-folder-msgdb-create): Check the target folder.
3276
3277 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3278
3279         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3280         `permanentflag' instead of `flags'.
3281         (elmo-folder-open): Ditto.
3282         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3283         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3284         (elmo-folder-use-flag-p): Always return t.
3285         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3286         `permanentflags' does not exist.
3287         (elmo-folder-open): Ditto.
3288
3289 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3290
3291         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3292         is nil.
3293         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3294
3295         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3296         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3297         response.
3298         (elmo-folder-open): Ditto.
3299         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3300         slot of the session includes the flag.
3301         (elmo-imap4-session-flag-available-p): New function.
3302         (elmo-imap4-folder-list-flagged): Ditto.
3303         (elmo-folder-list-unreads-plugged): Use it.
3304         (elmo-folder-list-importants-plugged): Ditto.
3305         (elmo-folder-list-answereds-plugged): Ditto.
3306         (elmo-imap4-search-internal-primitive): Ditto.
3307         (elmo-imap4-folder-list-any-plugged,
3308         elmo-imap4-folder-list-digest-plugged): Abolish.
3309
3310         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3311         if numbers is nil.
3312
3313 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3314
3315         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3316
3317 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3318
3319         * elmo-util.el (elmo-get-hash-val): Simplify.
3320         (elmo-set-hash-val): Rewrite.
3321
3322 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3323
3324         * elmo.el (elmo-folder-list-messages): Append killed messages into
3325         result if `visible-only' is nil and `in-msgdb' is non-nil.
3326
3327         * elmo-util.el (elmo-uniq-list): Added optional argument
3328         `delete-function'.
3329
3330         * modb.el (elmo-msgdb-flag-count): New API.
3331
3332         * modb-standard.el (modb-standard): Added slot flag-count.
3333         (modb-standard-countup-flags): New function.
3334         (modb-standard-load-flag): Call it.
3335         (elmo-msgdb-append): Ditto.
3336         (elmo-msgdb-clear): Clear slot flag-count.
3337         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3338         (elmo-msgdb-unset-flag): Treat `all' flag and call
3339         modb-standard-countup-flags.
3340         (elmo-msgdb-flag-count): Define.
3341         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3342         (elmo-msgdb-delete-messages): Ditto.
3343
3344         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3345         (elmo-msgdb-flag-count): Define.
3346
3347         * elmo.el (elmo-folder-list-messages): Undo last change.
3348         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3349         (elmo-folder-kill-messages): Unset all flags to numbers.
3350
3351         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3352         elmo-folder-kill-messages.
3353
3354         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3355         (elmo-nntp-folder-delete-messages): Abolish.
3356
3357         * elmo-version.el (elmo-version): Up to 2.11.18.
3358
3359 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3360
3361         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3362         (elmo-folder-kill-messages-range): New function.
3363         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3364         instead of elmo-folder-kill-messages-before.
3365
3366 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3367
3368         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3369         elmo-imap4-current-msgdb to decide entity handler.
3370
3371 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3372
3373         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3374
3375         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3376         inline function.
3377         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3378         (elmo-msgdb-overview-entity-set-number,
3379         elmo-msgdb-overview-entity-get-references,
3380         elmo-msgdb-overview-entity-set-references,
3381         elmo-msgdb-overview-entity-get-from-no-decode,
3382         elmo-msgdb-overview-entity-get-from,
3383         elmo-msgdb-overview-entity-set-from,
3384         elmo-msgdb-overview-entity-get-subject,
3385         elmo-msgdb-overview-entity-get-subject-no-decode,
3386         elmo-msgdb-overview-entity-set-subject,
3387         elmo-msgdb-overview-entity-get-date,
3388         elmo-msgdb-overview-entity-set-date,
3389         elmo-msgdb-overview-entity-get-to,
3390         elmo-msgdb-overview-entity-get-cc,
3391         elmo-msgdb-overview-entity-get-size,
3392         elmo-msgdb-overview-entity-set-size,
3393         elmo-msgdb-overview-entity-get-extra,
3394         elmo-msgdb-overview-entity-set-extra,
3395         elmo-msgdb-overview-entity-get-extra-field,
3396         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3397         (elmo-msgdb-make-index): Use
3398         `elmo-msgdb-overview-entity-get-number-internal'.
3399         (elmo-msgdb-clear-index): Ditto.
3400         (elmo-msgdb-append-entity): Ditto;
3401         Use `elmo-msgdb-overview-entity-get-id-internal'.
3402
3403         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3404         elmo-msgdb-overview-entity-set-number,
3405         elmo-msgdb-overview-entity-get-references,
3406         elmo-msgdb-overview-entity-set-references,
3407         elmo-msgdb-overview-entity-get-from-no-decode,
3408         elmo-msgdb-overview-entity-get-from,
3409         elmo-msgdb-overview-entity-set-from,
3410         elmo-msgdb-overview-entity-get-subject,
3411         elmo-msgdb-overview-entity-get-subject-no-decode,
3412         elmo-msgdb-overview-entity-set-subject,
3413         elmo-msgdb-overview-entity-get-date,
3414         elmo-msgdb-overview-entity-set-date,
3415         elmo-msgdb-overview-entity-get-to,
3416         elmo-msgdb-overview-entity-get-cc,
3417         elmo-msgdb-overview-entity-get-size,
3418         elmo-msgdb-overview-entity-set-size,
3419         elmo-msgdb-overview-entity-get-extra,
3420         elmo-msgdb-overview-entity-set-extra,
3421         elmo-msgdb-overview-entity-get-extra-field,
3422         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3423         and rewrote for backward compatibility.
3424
3425 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3426
3427         * elmo.el (elmo-message-entity-number,
3428         elmo-message-entity-set-number,
3429         elmo-message-entity-field,
3430         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3431
3432         * elmo-msgdb.el (elmo-message-entity-number,
3433         elmo-message-entity-set-number,
3434         elmo-message-entity-field,
3435         elmo-message-entity-set-field): Moved from elmo.el.
3436
3437 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3438
3439         * elmo.el (toplevel): Changed definition orders.
3440
3441 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3442
3443         * modb.el (elmo-msgdb-search): New API .
3444         (elmo-msgdb-match-condition): Ditto.
3445
3446         * modb-standard.el (elmo-msgdb-search): Define.
3447
3448         * modb-legacy.el (elmo-msgdb-search): Ditto.
3449
3450         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3451         from elmo-msgdb-match-condition-internal.
3452
3453         * elmo.el (elmo-folder-search-fast): Abolish.
3454         (elmo-folder-search): Use elmo-msgdb-search and
3455         elmo-with-progress-display.
3456
3457         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3458         as msgdb API.
3459
3460         * elmo.el (elmo-folder): Remove slot message-modified and
3461         flag-modified.
3462         (elmo-folder-set-message-modified): Abolish.
3463         (elmo-generic-folder-commit): Follow the change above.
3464         (elmo-folder-synchronize): Ditto.
3465
3466         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3467
3468         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3469
3470         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3471
3472 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3473
3474         * modb-standard.el (modb-standard-make-message-entity,
3475         elmo-msgdb-make-message-entity,
3476         elmo-msgdb-create-message-entity-from-buffer,
3477         elmo-msgdb-message-entity-number,
3478         elmo-msgdb-message-entity-set-number,
3479         elmo-msgdb-message-entity-field,
3480         elmo-msgdb-message-entity-set-field,
3481         elmo-msgdb-copy-message-entity,
3482         elmo-msgdb-match-condition-internal): Remove.
3483
3484         * modb-entity.el: New file (again).
3485
3486         * modb.el (toplevel): Require modb-entity.
3487         (elmo-msgdb-message-entity-handler): New method.
3488
3489         * modb-standard.el (modb-standard-entity-id): Use
3490         elmo-message-entity-handler.
3491         (modb-standard-load-entity): Ditto.
3492         (elmo-msgdb-append-entity): Ditto.
3493         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3494
3495         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3496         elmo-msgdb-decoded-cache-hashtb,
3497         (modb-legacy-make-message-entity,
3498         elmo-msgdb-make-message-entity,
3499         elmo-msgdb-create-message-entity-from-buffer,
3500         elmo-msgdb-message-entity-number,
3501         elmo-msgdb-message-entity-set-number,
3502         elmo-msgdb-message-entity-field,
3503         elmo-msgdb-message-entity-set-field,
3504         elmo-msgdb-copy-message-entity,
3505         elmo-msgdb-match-condition-internal,
3506         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3507
3508         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3509         (elmo-message-entity-set-number): Ditto.
3510         (elmo-message-entity-field): Ditto.
3511         (elmo-message-entity-set-field): Ditto.
3512
3513         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3514
3515         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3516
3517         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3518
3519         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3520         (elmo-nntp-msgdb-create-message): Ditto.
3521
3522         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3523         (elmo-folder-msgdb-create): Add unread flag.
3524
3525         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3526
3527         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3528
3529         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3530
3531         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3532
3533         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3534         elmo-msgdb-messge-entity-handler.
3535         * elmo-version.el (elmo-version): Up to 2.11.17.
3536
3537 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3538
3539         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3540         change.
3541
3542 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3543
3544         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3545
3546         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3547         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3548         (elmo-msgdb-flag-table): Ditto.
3549         (elmo-msgdb-sort-by-date): Ditto.
3550
3551         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3552
3553         * modb-standard.el (toplevel): Require mime.
3554         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3555         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3556         elmo-msgdb-message-entity-number.
3557         (elmo-msgdb-append-entity): Ditto.
3558         (elmo-msgdb-create-message-entity-from-file): Remove.
3559         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3560         corresponds to the entity.
3561         (elmo-msgdb-message-entity-number): Do nothing currently.
3562         (elmo-msgdb-message-entity-field): Ditto.
3563         (elmo-msgdb-message-entity-set-field): Ditto.
3564         (elmo-msgdb-copy-message-entity): Ditto.
3565         (elmo-msgdb-match-condition-internal): Ditto.
3566
3567         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3568         elmo-util.el.
3569         (elmo-msgdb-create-message-entity-from-file): Remove.
3570
3571         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3572         modb-legacy.el.
3573         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3574
3575         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3576
3577 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3578
3579         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3580         (elmo-msgdb-message-entity-field): Ditto.
3581         (elmo-msgdb-message-entity-number): Ditto.
3582
3583 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3584
3585         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3586         Fixed how to set extra field into entity.
3587         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3588         symbol.
3589
3590         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3591         Fixed how to set extra field into entity.
3592         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3593         symbol.
3594
3595 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3596
3597         * modb.el (elmo-message-entity-db): New function.
3598         (elmo-msgdb-make-message-entity): New API.
3599         (elmo-msgdb-message-entity-number): Ditto.
3600         (elmo-msgdb-message-entity-set-number): Ditto.
3601         (elmo-msgdb-message-entity-field): Ditto.
3602         (elmo-msgdb-message-entity-set-field): Ditto.
3603         (elmo-msgdb-copy-message-entity): Ditto.
3604         (elmo-msgdb-create-message-entity-from-file): Ditto.
3605         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3606         (elmo-msgdb-match-condition-internal): Ditto.
3607
3608         * modb-standard.el (modb-legacy): Require modb-legacy.
3609         (modb-standard-make-message-entity): New inline function.
3610         (elmo-msgdb-make-message-entity): Define.
3611         (elmo-msgdb-create-message-entity-from-file): Ditto.
3612         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3613         (elmo-msgdb-message-entity-field): Ditto.
3614         (elmo-msgdb-message-entity-set-field): Ditto.
3615         (elmo-msgdb-copy-message-entity): Ditto.
3616         (elmo-msgdb-match-condition-internal): Ditto.
3617
3618         * modb-legacy.el: Don't require modb-entity.
3619         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3620         (elmo-msgdb-match-condition-primitive): Ditto.
3621         (elmo-msgdb-get-decoded-cache): Ditto.
3622         (elmo-msgdb-overview-entity-get-id): Ditto.
3623         (elmo-msgdb-overview-entity-get-number): Ditto.
3624         (elmo-msgdb-overview-entity-set-number): Ditto.
3625         (elmo-msgdb-overview-entity-get-references): Ditto.
3626         (elmo-msgdb-overview-entity-set-references): Ditto.
3627         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3628         (elmo-msgdb-overview-entity-get-from): Ditto.
3629         (elmo-msgdb-overview-entity-set-from): Ditto.
3630         (elmo-msgdb-overview-entity-get-subject): Ditto.
3631         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3632         (elmo-msgdb-overview-entity-set-subject): Ditto.
3633         (elmo-msgdb-overview-entity-get-date): Ditto.
3634         (elmo-msgdb-overview-entity-set-date): Ditto.
3635         (elmo-msgdb-overview-entity-get-to): Ditto.
3636         (elmo-msgdb-overview-entity-get-cc): Ditto.
3637         (elmo-msgdb-overview-entity-get-size): Ditto.
3638         (elmo-msgdb-overview-entity-set-size): Ditto.
3639         (elmo-msgdb-overview-entity-get-extra): Ditto.
3640         (elmo-msgdb-overview-entity-set-extra): Ditto.
3641         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3642         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3643         (elmo-msgdb-number-load): Ditto.
3644         (elmo-msgdb-overview-load): Ditto.
3645         (elmo-msgdb-mark-load): Ditto.
3646         (elmo-msgdb-number-save): Ditto.
3647         (elmo-msgdb-mark-save): Ditto.
3648         (elmo-msgdb-overview-save): Ditto.
3649         (modb-legacy-make-message-entity): New inline function.
3650         (elmo-msgdb-insert-file-header): Ditto.
3651         (elmo-msgdb-make-message-entity): Define.
3652         (elmo-msgdb-create-message-entity-from-file): Ditto.
3653         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3654         (elmo-msgdb-message-entity-number): Ditto.
3655         (elmo-msgdb-message-entity-set-number): Ditto.
3656         (elmo-msgdb-message-entity-field): Ditto.
3657         (elmo-msgdb-message-entity-set-field): Ditto.
3658         (elmo-msgdb-copy-message-entity): Ditto.
3659         (elmo-msgdb-match-condition-internal): Ditto.
3660
3661         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3662         (elmo-message-copy-entity): Rewrite.
3663         (elmo-message-entity-number): Ditto.
3664         (elmo-message-entity-set-number): Ditto.
3665         (elmo-message-entity-field): Use elmo-message-entity-db.
3666         (elmo-message-entity-set-field): Ditto.
3667         (elmo-message-field): Rewrite.
3668
3669         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3670         elmo-msgdb.el
3671         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3672
3673         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3674         elmo-message-entity-field.
3675         (elmo-shimbun-folder-shimbun-header): Ditto.
3676         (elmo-shimbun-entity-to-header): Ditto.
3677         (elmo-folder-msgdb-create): Ditto.
3678         (elmo-shimbun-msgdb-create-entity): Ditto;
3679         Use elmo-msgdb-create-message-entity-from-buffer.
3680         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3681         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3682
3683         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3684         elmo-msgdb-create-message-entity-from-file and 
3685         elmo-message-entity-field.
3686
3687         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3688         elmo-message-entity-number.
3689         (elmo-pop3-msgdb-create-message): Use
3690         elmo-msgdb-create-message-entity-from-buffer,
3691         elmo-message-entity-set-field, elmo-message-entity-number and
3692         elmo-message-entity-set-number.
3693
3694         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3695         the API change in elmo-msgdb-make-message-entity.
3696         (elmo-nntp-msgdb-create-message): Use
3697         elmo-msgdb-create-message-entity-from-buffer.
3698
3699         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3700         elmo-message-entity-field and
3701         elmo-msgdb-create-message-entity-from-file.
3702
3703         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3704         (elmo-msgdb-get-field): Abolish.
3705         (elmo-msgdb-get-number): Rewrite.
3706         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3707         (elmo-msgdb-flag-table): Ditto.
3708         (elmo-msgdb-get-last-message-id,
3709         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3710         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3711         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3712         (elmo-msgdb-create-overview-from-buffer,
3713         elmo-msgdb-overview-get-parent-entity): Abolish.
3714
3715         * elmo-mime.el (elmo-mime-display-as-is): Use
3716         elmo-message-entity-field.
3717
3718         * elmo-map.el (elmo-folder-pack-numbers): Use
3719         elmo-message-entity-set-number.
3720
3721         * elmo-maildir.el (elmo-folder-msgdb-create): 
3722         elmo-msgdb-create-message-entity-from-file instead of
3723         elmo-msgdb-create-overview-entity-from-file.
3724
3725         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3726         msgdb.
3727         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3728         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3729
3730         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3731         elmo-messge-entity-field and elmo-message-entity-number.
3732         (elmo-imap4-fetch-callback-1): Call
3733         elmo-msgdb-create-message-entity-from-buffer instead of
3734         elmo-msgdb-create-overview-from-buffer. 
3735         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3736         (elmo-find-fetch-strategy): Likewise.
3737
3738         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3739         elmo-localdir-msgdb-create-entity with argument msgdb.
3740
3741         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3742         and elmo-message-entity-set-number.
3743
3744         * elmo-cache.el (elmo-folder-msgdb-create): Use
3745         elmo-message-entity-field.
3746         (elmo-folder-msgdb-create): Call
3747         elmo-msgdb-create-message-entity-from-file instead of
3748         elmo-msgdb-create-overview-entity-from-file.
3749
3750         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3751         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3752         instead of elmo-msgdb-create-overview-from-buffer.
3753         (elmo-archive-msgdb-create-entity): Ditto.
3754         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3755         elmo-message-entity-field.
3756         (elmo-archive-parse-mmdf): Ditto.
3757
3758         * modb-entity.el: Removed.
3759
3760         * elmo-version.el (elmo-version): Up to 2.11.16.
3761
3762 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3763
3764         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3765         `is-local'.
3766         (elmo-folder-flag-as-answered): Ditto.
3767
3768 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3769
3770         * modb-standard.el: New file.
3771
3772         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3773         elmo-msgdb-convert-type is `sync'.
3774
3775         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3776         (elmo-msgdb-convert-type): New user option.
3777
3778         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3779         (elmo-load-msgdb): Auto detect saved type.
3780
3781         * elmo-version.el (elmo-version): Up to 2.11.15.
3782
3783 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3784
3785         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3786
3787         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3788         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3789         with argument `delete-if-none' when dst-folder is 'null.
3790
3791         * elmo-flag.el (elmo-folder-append-messages): Defined.
3792         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3793
3794 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3795
3796         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3797
3798 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3799
3800         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3801         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3802         (elmo-folder-commit): Ditto.
3803
3804 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3805
3806         * elmo-flag.el: New file.
3807
3808         * elmo-mark.el: Removed.
3809
3810         * modb-legacy.el (modb-legacy-new-mark,
3811         modb-legacy-unread-uncached-mark,
3812         modb-legacy-unread-cached-mark,
3813         modb-legacy-read-uncached-mark,
3814         modb-legacy-answered-cached-mark,
3815         modb-legacy-answered-uncached-mark,
3816         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3817         All other related portions are changed.
3818
3819         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3820         (elmo-folder-list-messages-with-global-mark): Abolish.
3821         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3822         (elmo-folder-flag-as-important): Ditto.
3823         (elmo-folder-unflag-read): Ditto.
3824         (elmo-folder-flag-as-read): Ditto.
3825         (elmo-folder-unflag-answered): Ditto.
3826         (elmo-folder-flag-as-answered): Ditto.
3827         (elmo-message-encache): Return the cache path.
3828         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3829         (elmo-message-set-flag): Transitional implementation.
3830         (elmo-message-unset-flag): Ditto.
3831         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3832         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3833         (elmo-init): Call elmo-global-flag-initialize.
3834         (toplevel): Added autoload settings for elmo-flag.
3835
3836         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3837
3838         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3839         (elmo-file-cache-delete): Don't treat global-mark.
3840
3841         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3842
3843         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3844
3845         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3846         `elmo-global-flags-set'.
3847
3848         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3849         `flag'.
3850         (elmo-folder-unflag-read): Ditto.
3851         (elmo-folder-unflag-important): Ditto.
3852         (elmo-folder-flag-as-important): Ditto.
3853         (elmo-folder-unflag-answered): Ditto.
3854         (elmo-folder-flag-as-answered): Ditto.
3855
3856         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3857         `elmo-global-flags-set'.
3858         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3859
3860         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3861
3862         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3863         `flag'.
3864         (elmo-folder-flag-as-important): Ditto.
3865         (elmo-folder-unflag-important): Ditto.
3866         (elmo-folder-flag-as-important): Ditto.
3867         (elmo-folder-unflag-read): Ditto.
3868         (elmo-folder-flag-as-read): Ditto.
3869         (elmo-folder-unflag-answered): Ditto.
3870         (elmo-folder-flag-as-answered): Ditto.
3871
3872         * elmo-multi.el (elmo-folder-list-importants): Don't call
3873         elmo-folder-list-messages-with-global-mark.
3874         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3875         (elmo-folder-unflag-important): Ditto.
3876         (elmo-folder-flag-as-read): Ditto.
3877         (elmo-folder-unflag-read): Ditto.
3878         (elmo-folder-flag-as-answered): Ditto.
3879         (elmo-folder-unflag-answered): Ditto.
3880
3881         * elmo-msgdb.el (elmo-msgdb-new-mark,
3882         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3883         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3884         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3885         (Moved to modb-legacy.el).
3886         (elmo-flag-table-get): Treat important flag too.
3887
3888         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3889         `mark' to `flag'.
3890         (elmo-map-folder-flag-as-important): Ditto.
3891         (elmo-map-folder-unflag-read): Ditto.
3892         (elmo-map-folder-flag-as-read): Ditto.
3893         (elmo-map-folder-unflag-answered): Ditto.
3894         (elmo-map-folder-flag-as-answered): Ditto.
3895         (elmo-folder-unflag-important): Ditto.
3896         (elmo-folder-flag-as-important): Ditto.
3897         (elmo-folder-unflag-read): Ditto.
3898         (elmo-folder-flag-as-read): Ditto.
3899         (elmo-folder-unflag-answered): Ditto.
3900         (elmo-folder-flag-as-answered): Ditto.
3901
3902         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3903         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3904         `flag'.
3905         (elmo-map-folder-unflag-important): Ditto.
3906         (elmo-map-folder-flag-as-read): Ditto.
3907         (elmo-map-folder-unflag-read): Ditto.
3908         (elmo-map-folder-flag-as-answered): Ditto.
3909         (elmo-map-folder-unflag-answered): Ditto.
3910
3911         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3912         `elmo-global-flags-set'.
3913         (elmo-global-flags-set): Added autoload setting.
3914
3915         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3916         `flag'.
3917
3918         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3919         `elmo-msgdb-global-mark-set'.
3920         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3921         Call `elmo-global-flags-set'.
3922         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3923         `flag'.
3924         (elmo-folder-flag-as-important-plugged): Ditto.
3925         (elmo-folder-unflag-read-plugged): Ditto.
3926         (elmo-folder-flag-as-read-plugged): Ditto.
3927         (elmo-folder-unflag-answered-plugged): Ditto.
3928         (elmo-folder-flag-as-answered-plugged): Ditto.
3929         (elmo-global-flags-set): Added autoload setting.
3930
3931         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3932         `flag'.
3933         (elmo-folder-unflag-read): Ditto.
3934         (elmo-folder-flag-as-important): Ditto.
3935         (elmo-folder-unflag-important): Ditto.
3936         (elmo-folder-flag-as-answered): Ditto.
3937         (elmo-folder-unflag-answered): Ditto.
3938
3939         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3940         change of `mark'->`flag'.
3941         (elmo-dop-queue-method-name-alist): Ditto.
3942         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3943         (elmo-folder-unflag-read-dop): Ditto.
3944         (elmo-folder-flag-as-important-dop): Ditto.
3945         (elmo-folder-unflag-important-dop): Ditto.
3946         (elmo-folder-flag-as-answered-dop): Ditto.
3947         (elmo-folder-unflag-answered-dop): Ditto.
3948
3949         * elmo-cache.el (elmo-folder-msgdb-create): Call
3950         `elmo-global-flags-set'.
3951
3952         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3953         Call `elmo-global-flags-set'.
3954         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3955         elmo-archive-parse-mmdf with argument `folder'.
3956         (elmo-archive-parse-mmdf): Added argument `folder';
3957         Call `elmo-global-flags-set'.
3958
3959         * elmo-version.el (elmo-version): Up to 2.11.14.
3960
3961 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3962
3963         * modb.el (elmo-msgdb-length): Define.
3964
3965         * elmo.el (elmo-make-folder): Fixed.
3966         (elmo-generic-folder-append-messages): Follow the API change.
3967
3968         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3969         API change.
3970
3971 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3972
3973         * modb.el: New file.
3974
3975         * modb-entity.el: Ditto.
3976
3977         * modb-legacy.el: Ditto.
3978
3979         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3980         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3981         of `elmo-msgdb-overview-get-entity'.
3982         (elmo-msgdb-get-field): Ditto.
3983         (elmo-msgdb-merge): Moved to `elmo.el'.
3984         (elmo-msgdb-length): Removed; redefine as modb method.
3985         (elmo-msgdb-change-mark): Abolish.
3986         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3987         (elmo-msgdb-match-condition): Don't use mark.
3988         (elmo-msgdb-overview-get-entity): Abolish.
3989         Split modb part into `modb*.el'.
3990
3991         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3992
3993         * elmo-shimbun.el (shimbun-mua-search-id): Use
3994         `elmo-msgdb-message-entity' instead of
3995         `elmo-msgdb-overview-get-entity'.
3996         (elmo-shimbun-folder-shimbun-header): Ditto.
3997         (elmo-shimbun-get-headers): Ditto.
3998         (elmo-shimbun-update-overview): Ditto.
3999
4000         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4001
4002         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4003
4004         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4005         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4006
4007         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4008         `elmo-msgdb-mark-to-flags'.
4009
4010         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4011         `elmo-msgdb-set-path'.
4012
4013         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4014  
4015         * elmo-version.el (elmo-version): Up to 2.11.13.
4016
4017         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4018
4019         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4020         of mark.
4021
4022 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4023
4024         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4025         mismatch.
4026
4027 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4028
4029         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4030         instead of `elmo-msgdb-get-cached'.
4031         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4032
4033         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4034         (elmo-msgdb-set-cached): Ditto.
4035         (elmo-msgdb-set-flag): Rewrite.
4036         (elmo-msgdb-unset-flag): Ditto.
4037
4038         * elmo-msgdb.el: Rewrite with luna.
4039
4040         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4041         (elmo-folder-msgdb): Follow the change above.
4042         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4043         (elmo-folder-unmark-important): Follow the API change.
4044         (elmo-folder-mark-as-important): Ditto.
4045         (elmo-folder-unmark-read): Ditto.
4046         (elmo-folder-mark-as-read): Ditto.
4047         (elmo-folder-unmark-answered): Ditto.
4048         (elmo-folder-mark-as-answered): Ditto.
4049         (elmo-folder-clear): Likewise.
4050
4051         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4052         instead of `elmo-msgdb-load' (renamed).
4053
4054         * elmo-version.el (elmo-version): Up to 2.11.12.
4055
4056 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4057
4058         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4059         change.
4060         (elmo-message-mark): Abolish.
4061         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4062         instead of `elmo-msgdb-change-mark'.
4063
4064         * elmo-pipe.el (elmo-message-mark): Abolish.
4065
4066         * elmo-multi.el (elmo-message-mark): Ditto.
4067
4068         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4069         (elmo-msgdb-unread-uncached-mark): Ditto.
4070         (elmo-msgdb-unread-cached-mark): Ditto.
4071         (elmo-msgdb-read-uncached-mark): Ditto.
4072         (elmo-msgdb-answered-cached-mark): Ditto.
4073         (elmo-msgdb-answered-uncached-mark): Ditto.
4074         (elmo-msgdb-important-mark): Ditto.
4075         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4076         `use-cache'.
4077         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4078         `flags'.
4079         (elmo-flag-table-load): Changed flag to list of flag.
4080         (elmo-flag-table-set): If flags is nil, set read flag.
4081         (elmo-flag-table-get): Return derived flags from global mark,
4082         cache status and saved flags.
4083         (elmo-msgdb-flag-table): Follow the change above.
4084         (elmo-msgdb-out-of-date-messages): New function.
4085
4086         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4087
4088         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4089
4090         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4091
4092         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4093         (elmo-nntp-msgdb-create-message): Ditto.
4094
4095         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4096
4097         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4098         independent.
4099         (elmo-folder-msgdb-create): Follow the API change.
4100
4101         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4102         (elmo-folder-append-messages): Ditto.
4103
4104         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4105         (elmo-folder-append-buffer): Ditto.
4106
4107         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4108
4109         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4110
4111         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4112         (elmo-archive-parse-mmdf): Ditto.
4113
4114         * elmo-version.el (elmo-version): Up to 2.11.11.
4115
4116 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4117
4118         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4119         `elmo-msgdb-mark'.
4120
4121         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4122
4123         * elmo-pipe.el (elmo-message-flags): Defined.
4124
4125         * elmo-multi.el (elmo-message-flags): Ditto.
4126
4127 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4128
4129         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4130         `elmo-msgdb-delete-msgs'.
4131
4132         * elmo.el (elmo-folder-count-flags): Don't use
4133         `elmo-msgdb-get-mark-alist'.
4134         (elmo-folder-detach-messages): Follow the API change.
4135
4136         * elmo.el (elmo-folder-list-messages): Append killed messages into
4137         result if `visible-only' is nil.
4138
4139         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4140         canceled messages.
4141         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4142         (elmo-folder-update-number): Likewise.
4143
4144         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4145         (elmo-pop3-sort-msgdb-by-original-number): Use
4146         `elmo-msgdb-sort-entities'.
4147
4148         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4149         (elmo-msgdb-sort-by-date): Use it.
4150         (elmo-msgdb-overview-sort-by-date): Abolish.
4151
4152         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4153
4154         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4155         (elmo-msgdb-flags): New function.
4156         (elmo-msgdb-merge): Use elmo-msgdb-append.
4157
4158         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4159         change.
4160
4161         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4162
4163         * elmo-dop.el (elmo-folder-status-dop): Use
4164         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4165
4166 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4167
4168         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4169
4170         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4171
4172         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4173
4174         * elmo-util.el (elmo-with-progress-display): New macro.
4175
4176         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4177
4178 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4179
4180         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4181         `elmo-folder-list-message-entities' instead of
4182         `elmo-msgdb-get-overview'.
4183         (elmo-map-folder-list-message-locations): Ditto.
4184
4185         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4186         methods instead of treat directly).
4187         (elmo-msgdb-clear): Ditto.
4188         (elmo-msgdb-delete-msgs): Ditto.
4189         (elmo-msgdb-sort-by-date): Ditto.
4190
4191         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4192         local variables.
4193         (elmo-nntp-folder-msgdb-create): Follow the API change.
4194
4195         * elmo-version.el (elmo-version): Up to 2.11.10.
4196
4197 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4198
4199         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4200         (elmo-msgdb-flags-to-mark): Ditto.
4201         (elmo-msgdb-append-entity): Ditto.
4202
4203         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4204         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4205         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4206         (elmo-archive-parse-mmdf): Ditto.
4207
4208         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4209
4210         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4211
4212         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4213
4214         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4215
4216         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4217
4218         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4219
4220         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4221
4222         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4223
4224         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4225         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4226         to empty msgdb.
4227
4228         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4229         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4230         instead of directly construction.
4231         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4232         instead of construct msgdb.
4233
4234         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4235         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4236         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4237         instead of construct msgdb.
4238
4239 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4240
4241         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4242         when field is from or subject.
4243
4244 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4245
4246         * elmo-multi.el (elmo-message-entity-parent): Define.
4247         (elmo-folder-search): Rewrite.
4248
4249 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4250
4251         * elmo-multi.el (elmo-message-cached-p): Define.
4252
4253         * elmo.el (elmo-message-cached-p): New method.
4254         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4255         (elmo-message-flags): New method.
4256         (elmo-message-flagged-p): New function.
4257
4258         * elmo-version.el (elmo-version): Up to 2.11.9.
4259
4260 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4261
4262         * elmo-version.el (elmo-version): Up to 2.11.8.
4263
4264         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4265
4266         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4267
4268 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4269
4270         * elmo.el (elmo-folder-detach-messages): Undo last change.
4271
4272 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4273
4274         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4275
4276         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4277         only when src folder type is pop3.
4278
4279 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4280
4281         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4282         elmo-msgdb-overview-entity-get-number instead of
4283         elmo-message-entity-number.
4284
4285 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4286
4287         * elmo-version.el (elmo-version): Up to 2.11.7.
4288
4289 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4290
4291         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4292         function.
4293
4294         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4295         (elmo-msgdb-merge): New function.
4296         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4297         (elmo-msgdb-make-index): Rewrite.
4298
4299         * elmo-version.el (elmo-version): Up to 2.11.6.
4300
4301         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4302         use it as a the path for loading message entities.
4303
4304         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4305
4306 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4307
4308         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4309         message-modified slot of itself if it does not require target msgdb.
4310
4311         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4312         if folder length is zero.
4313         (elmo-mime-display-as-is): Ditto.
4314
4315         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4316
4317         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4318
4319 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4320
4321         * elmo.el (elmo-folder-set-message-modified): New method.
4322         (elmo-generic-folder-commit): Use it.
4323         (elmo-folder-synchronize): Ditto.
4324
4325         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4326         (elmo-folder-commit): Remove duplicate definition.
4327
4328 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4329
4330         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4331
4332 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4333
4334         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4335         (elmo-strict-folder-diff): Ditto.
4336         (elmo-folder-set-info-max-by-numdb): Simplify.
4337
4338         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4339         elmo-msgdb-list-messages.
4340
4341         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4342         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4343
4344 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4345
4346         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4347         visible-only is non-nil.
4348         (elmo-folder-confirm-appends): Changed message.
4349         (elmo-folder-synchronize): Added argument disable-killed.
4350
4351         * elmo-multi.el (elmo-folder-synchronize): Added argument
4352         disable-killed.
4353
4354         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4355
4356         * elmo-version.el (elmo-version): Up to 2.11.5.
4357
4358         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4359         elmo-list-filter.
4360
4361         * elmo-util.el (elmo-list-filter): Simplify.
4362
4363         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4364         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4365         (elmo-generic-folder-diff): Abolish argument.
4366         (elmo-msgdb-load): Don't use number-alist.
4367
4368         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4369
4370         * elmo-pipe.el (elmo-folder-diff): Ditto.
4371
4372         * elmo-nmz.el (elmo-folder-diff): Ditto.
4373
4374         * elmo-net.el (elmo-folder-diff): Ditto.
4375
4376         * elmo-maildir.el (elmo-folder-diff): Ditto.
4377
4378         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4379
4380         * elmo-multi.el (elmo-folder-diff): Ditto
4381         (elmo-multi-folder-diff): Rewrite.
4382
4383 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4384
4385         * elmo-pipe.el (elmo-folder-msgdb): Define.
4386
4387 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4388
4389         * elmo.el (elmo-message-set-cached): Define as a method.
4390
4391         * elmo-pipe.el (elmo-message-set-cached): Define.
4392         (elmo-find-fetch-strategy): Ditto.
4393
4394         * elmo-multi.el (elmo-message-set-cached): Define.
4395         (elmo-find-fetch-strategy): Rewrite.
4396
4397         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4398
4399         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4400
4401 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4402
4403         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4404         instead of number-alist.
4405
4406         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4407         mark nor message-id when msgdb of source folder is not loaded.
4408
4409         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4410
4411         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4412
4413 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4414
4415         * elmo.el (elmo-folder-length): Don't require msgdb.
4416
4417 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4418
4419         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4420         (elmo-message-field): Ditto.
4421
4422         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4423         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4424         slot.
4425         (elmo-map-folder-list-answereds): Define.
4426         (elmo-maildir-list-location): Treat 'R' info.
4427         (elmo-folder-msgdb-create): Treat flag-table.
4428         (elmo-folder-append-messages): Save flag-table.
4429
4430 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4431
4432         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4433         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4434
4435 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4436
4437         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4438
4439         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4440         'read when mark is null.
4441
4442 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4443
4444         * elmo-version.el (elmo-version): Up to 2.11.4.
4445
4446 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4447
4448         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4449         (elmo-folder-mark-as-answered): Ditto.
4450
4451 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4452
4453         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4454         (elmo-pop3-get-session): Make msgdb directory after session.
4455         (elmo-folder-exists-p): Check exactly at the first time even when the
4456         elmo-pop3-exists-exactly is nil.
4457
4458         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4459         (elmo-folder-list-messages): Define instead of
4460         elmo-folder-list-messages-internal.
4461         (elmo-folder-check): Check destination folder.
4462         (elmo-folder-synchronize): Drain the pipe.
4463
4464         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4465         when msgdb is not loaded.
4466
4467         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4468
4469         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4470         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4471         messages.
4472
4473         * elmo.el (elmo-folder-kill-messages-before): New function.
4474         (elmo-folder-kill-messages): Ditto.
4475         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4476
4477         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4478         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4479         killed not by synchronize (e.g. scoring).
4480
4481 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4482
4483         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4484         treated.
4485         (elmo-folder-search): Follow the change above.
4486
4487         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4488         into the candidates of search field.
4489
4490 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4491
4492         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4493         (elmo-msgdb-unset-flag): Ditto.
4494
4495         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4496
4497 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4498
4499         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4500         (elmo-folder-commit): Define.
4501         (elmo-folder-synchronize): Ditto.
4502         (elmo-folder-list-flagged): Ditto.
4503         (elmo-folder-commit): Ditto.
4504         (elmo-folder-length): Ditto.
4505         (elmo-folder-count-flags): Ditto.
4506         (elmo-message-mark): Ditto.
4507         (elmo-message-field): Ditto.
4508         (elmo-message-entity): Ditto.
4509         (elmo-message-folder): Ditto.
4510
4511 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4512
4513         * elmo.el (elmo-message-field): Define as a method.
4514
4515         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4516         (elmo-message-field): Define.
4517
4518         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4519         (elmo-folder-list-importants): Ditto.
4520         (elmo-folder-list-answereds): Ditto.
4521
4522         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4523         qualifier.
4524         (elmo-folder-mark-as-read): Ditto.
4525         (elmo-folder-unmark-read): Ditto.
4526         (elmo-folder-mark-as-answered): Ditto.
4527         (elmo-folder-unmark-answered): Ditto.
4528         (elmo-folder-list-flagged): Define.
4529         (elmo-folder-commit): Ditto.
4530         (elmo-folder-length): Ditto.
4531         (elmo-folder-count-flags): Ditto.
4532
4533 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4534
4535         * elmo.el (elmo-folder-detach-messages): New method.
4536         (elmo-folder-move-messages): Use it.
4537         (elmo-folder-synchronize): Ditto.
4538
4539         * elmo-multi.el (elmo-folder-detach-messages): Define.
4540
4541         * elmo.el (elmo-message-copy-entity): New function.
4542         (elmo-message-entity-set-number): Ditto.
4543         (elmo-message-mark): Define as method.
4544
4545         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4546         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4547         (elmo-message-entity): Fixed last change.
4548         (elmo-message-mark): Define.
4549         (elmo-folder-msgdb-create): Abolish.
4550         (elmo-multi-folder-append-msgdb): Ditto.
4551         (elmo-multi-folder-diff): Fixed.
4552         (elmo-multi-split-number-alist): Removed.
4553         (elmo-multi-split-mark-alist): Removed.
4554         (elmo-folder-list-messages): Define.
4555         (elmo-folder-list-messages-internal): Removed.
4556
4557         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4558         local file messages.
4559         (elmo-folder-msgdb-create): Fixed read mark.
4560
4561 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4562
4563         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4564         if mark is nil.
4565
4566 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4567
4568         * elmo.el (elmo-folder-list-message-entities): Define as inline
4569         function.
4570         (elmo-folder-messages): Abolish.
4571
4572         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4573         folder.
4574         (elmo-folder-synchronize): Define.
4575         (elmo-message-entity): Define.
4576
4577 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4578
4579         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4580         elmo-imap4-session-select-mailbox.
4581
4582         * elmo.el (elmo-folder-move-messages): Don't display any message.
4583
4584         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4585         parsing.
4586         (elmo-imap4-session-check): Don't wait CHECK response.
4587         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4588
4589 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4590
4591         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4592
4593 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4594
4595         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4596         API.
4597         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4598
4599
4600         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4601         (elmo-folder-list-message-entities): Added argument in-msgdb and
4602         numbers.
4603         (elmo-folder-synchronize): Define as a method.
4604
4605         * elmo-nntp.el (elmo-folder-initialize): Don't use
4606         elmo-nntp-default-user if zero-length username is specified
4607         explicitly.
4608
4609 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4610
4611         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4612         server name in case with username.
4613         (XXX: this is ad-hoc fix against username includes "@", it
4614         should be solved fundamentally)
4615
4616 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4617
4618         * elmo-nntp.el (elmo-nntp-debug): New function.
4619         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4620         (elmo-network-authenticate-session): Hide auth-info from the log.
4621
4622         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4623         user name if it is equal to elmo-nntp-default-user.
4624
4625 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4626
4627         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4628         instead of shimbun-server-internal;
4629         Use shimbun-current-group instead of shimbun-current-group-internal.
4630         (elmo-folder-plugged-p): Use shimbun-server instead of
4631         shimbun-server-internal.
4632         (elmo-folder-set-plugged): Ditto.
4633         (elmo-net-port-info): Ditto.
4634         (elmo-folder-check): Ditto.
4635         (elmo-folder-expand-msgdb-path): Ditto.
4636         (elmo-folder-list-subfolders): Ditto.
4637
4638 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4639
4640         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4641         Convert field-name to lower case.
4642         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4643
4644 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4645
4646         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4647         `message' and `error' take format string.
4648
4649 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4650
4651         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4652
4653 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4654
4655         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4656         recursive call (can't byte compile on emacs 20.7).
4657
4658 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4659
4660         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4661         (elmo-folder-list-message-entities): New API.
4662         (elmo-message-entity): Ditto.
4663         (elmo-message-entity-parent): Ditto.
4664         (elmo-folder-do-each-message-entity): Ditto.
4665         (elmo-message-entity-number): Ditto.
4666         (elmo-message-entity-field): Ditto.
4667         (elmo-message-entity-set-field): Ditto.
4668         (elmo-folder-count-flags): Ditto.
4669         (elmo-folder-length): Ditto.
4670
4671         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4672         not.
4673
4674         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4675         (elmo-msgdb-count-marks): Abolish.
4676         (elmo-msgdb-make-entity): Ditto.
4677         (elmo-msgdb-do-each-entity): Ditto.
4678         (elmo-msgdb-message-entity): New inline function.
4679         (elmo-msgdb-message-entity-field): Ditto.
4680         (elmo-msgdb-message-entity-set-field): Ditto.
4681         (elmo-msgdb-make-message-entity): New function.
4682
4683 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4684
4685         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4686         to flag. (All other related portions are changed.)
4687         (elmo-folder-msgdb-create): Likewise.
4688         (elmo-generic-folder-append-messages): Use flag-table instead of
4689         seen-list.
4690         (elmo-folder-move-messages): Removed redundant process.
4691         (elmo-folder-synchronize): Likewise.
4692
4693         * elmo-msgdb.el (elmo-flag-table-get): New function.
4694         (elmo-flag-table-save): Fixed.
4695         (elmo-msgdb-length): New inline function.
4696         (elmo-msgdb-flag-table): New function.
4697         (elmo-msgdb-mark): Add optional argument new.
4698         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4699         (elmo-msgdb-seen-list): Ditto.
4700         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4701
4702
4703 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4704
4705         * elmo.el (elmo-message-set-mark): Abolish.
4706         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4707         (All related portions are changed.)
4708
4709         * elmo-msgdb.el (toplevel): Added comment.
4710         (elmo-load-msgdb): Added 4th element `path'.
4711         (elmo-msgdb-append): Follow the change above.
4712         (elmo-msgdb-clear): Ditto.
4713         (elmo-msgdb-delete-msgs): Ditto.
4714         (elmo-msgdb-get-path): New inline function.
4715         (elmo-msgdb-set-path): Ditto.
4716         (elmo-flag-table-filename): New variable.
4717         (elmo-flag-table-load): New function.
4718         (elmo-flag-table-set): Ditto.
4719         (elmo-flag-table-save): Ditto.
4720         (elmo-msgdb-get-field-value): Abolish.
4721         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4722
4723 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4724
4725         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4726         the folder has been deleted successfully.
4727         * elmo-imap4.el (elmo-folder-delete): Ditto.
4728         * elmo-archive.el (elmo-folder-delete): Ditto.
4729         * elmo-localdir.el (elmo-folder-delete): Ditto.
4730         * elmo-maildir.el (elmo-folder-delete): Ditto.
4731
4732 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4733
4734         * elmo-util.el (elmo-string-member-ignore-case): New function.
4735         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4736         (elmo-imap4-fetch-callback-1-subr): Likewise.
4737
4738 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4739
4740         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4741         the case of the name attribute "\Noselect".
4742
4743 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4744
4745         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4746
4747         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4748         flist, is not always a member of onum-alist.
4749
4750 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4751
4752         * elmo-version.el (elmo-version): Up to 2.11.3.
4753
4754 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4755
4756         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4757         copied from localdir's one.
4758
4759         * elmo-pipe.el (elmo-folder-rename): New method, rename
4760         destination folder with leaving source folder as it is.
4761
4762 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4763
4764         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4765         replace-regexp.
4766
4767 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4768
4769         * elmo-version.el (elmo-version): Up to 2.11.2.
4770
4771 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4772
4773         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4774         shimbun-open in case of "@".
4775         (elmo-folder-open-internal): Cope with shimbun = nil case.
4776         (elmo-folder-plugged-p): Ditto.
4777         (elmo-folder-list-subfolders): Make list for "@/" group.
4778
4779 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4780
4781         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4782         mailbox (e.g. for %~/something).
4783
4784 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4785
4786         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4787         Replace nested conditional with guard clauses.
4788
4789 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4790
4791         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4792         error [wl:11327].
4793
4794         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4795         print-depth.
4796
4797 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4798
4799         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4800         Replace nested conditional with guard clauses.
4801
4802 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4803
4804         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4805         (elmo-passwd-alist-save): Ditto.
4806         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4807
4808 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4809
4810         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4811         dir-name only if it is absolute path.
4812         (TODO: distinguish +/something and +something)
4813
4814 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4815
4816         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4817         path for "+~/something".
4818
4819 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4820
4821         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4822         as non-directory, cause error before rename-file.
4823         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4824         apropriately, mimic localdir's one.
4825         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4826
4827 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4828
4829         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4830
4831 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4832
4833         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4834
4835         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4836         
4837         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4838         is included in the global-mark or not.
4839
4840 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4841
4842         * utf7.el (toplevel): Avoid error when the function
4843         find-coding-system does not exist.
4844
4845 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4846
4847         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4848         cache even if the folder is plugged.
4849         (elmo-nntp-search-primitive): Do nothing when body search is
4850         invoked (although it is not used by the change above).
4851         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4852
4853 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4854
4855         * elmo-version.el (elmo-version): Up to 2.11.1.
4856
4857 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4858
4859         * elmo-archive.el: Specify charset.
4860
4861 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4862
4863         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4864         process buffer lives or not.
4865
4866         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4867         while flushing queues (It causes infinite loop).
4868
4869 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4870
4871         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4872
4873 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4874
4875         * utf7.el (toplevel): Check the ucs features dynamically.
4876         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4877
4878         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4879         folder is creatabe or not if it already exists.
4880
4881 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4882
4883         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4884
4885         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4886
4887         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4888         (elmo-imap4-read-response): Take care of garbage response.
4889
4890 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4891
4892         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4893         just return nil instead of error.
4894
4895 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4896
4897         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4898         search-key is "body".
4899
4900 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4901
4902         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4903         of elmo-string-matched-assoc to use match-data.
4904         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4905
4906 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4907
4908         * elmo-split.el (elmo-split->): New function.
4909         (elmo-split-<): Ditto.
4910
4911 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4912
4913         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4914         workaround for invalid message-id.
4915
4916 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4917
4918         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4919         return normal pop3 session or pop3 biff session.
4920
4921 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4922
4923         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4924         info part to the cur files when the new files already have it.
4925         (Adviced by Jared Rhine <jared@wordzoo.com>)
4926
4927 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4928
4929         * elmo-split.el (elmo-split-default-action): New variable.
4930         (elmo-split-subr): Use it if all other conditions are passed.
4931         Extend `fname' and rename it as `action'. (implemented
4932         Teranishi-san's idea in [wl:10800])
4933
4934 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4935
4936         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4937         * elmo-util.el: Ditto.
4938
4939 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4940
4941         * elmo.el (elmo-message-accessible-p): Renamed from
4942         elmo-message-cached-p and rewritten.
4943
4944 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4945
4946         * elmo.el (elmo-folder-list-flagged): New generic function.
4947         (elmo-folder-list-importants): New implementation.
4948         (elmo-folder-list-answereds): Ditto.
4949         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4950         Added 'digest'.
4951         (elmo-message-cached-p): New function.
4952         (elmo-message-set-flag): Ditto (no content).
4953         (elmo-message-unset-flag): Ditto.
4954         (elmo-folder-list-messages-mark-match): Abolish.
4955
4956         * elmo-util.el (elmo-regexp-opt): New function.
4957
4958         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4959         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4960         Added 'digest'.
4961         (elmo-msgdb-list-flagged): New function.
4962
4963         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4964         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4965         Added 'digest'.
4966
4967         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4968
4969 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4970
4971         * elmo-version.el (elmo-version): Up to 2.11.0.
4972
4973 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4974
4975         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4976         `elmo-file-cache-exists-p'; use proper mark that depends on
4977         `use-cache'.
4978         (elmo-msgdb-unset-flag): Ditto.
4979         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4980
4981         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4982         with 4th argument `use-cache'.
4983
4984 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4985
4986         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4987         (elmo-folder-mark-as-important): Ditto.
4988         (elmo-folder-unmark-read): Ditto.
4989         (elmo-folder-mark-as-read): Ditto.
4990         (elmo-folder-unmark-answered): Ditto.
4991         (elmo-folder-mark-as-answered): Ditto.
4992
4993         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4994         message status.
4995         (elmo-msgdb-mark): Likewise.
4996         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4997         (elmo-msgdb-unset-flag): Likewise.
4998
4999         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5000
5001 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5002
5003         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5004         `last:' filter.
5005
5006 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5007
5008         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5009         set spool-length to 0.
5010
5011 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5012
5013         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5014         (elmo-dop-queue-flush): Fixed last change.
5015
5016 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5017
5018         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5019         if require-msgdb slot is nil.
5020         (elmo-folder-list-importants): Likewise.
5021
5022 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5023
5024         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5025         mark is changed.
5026
5027         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5028         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5029         is changed.
5030
5031 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5032
5033         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5034
5035 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5036
5037         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5038
5039         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5040
5041 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5042
5043         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5044         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5045
5046 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5047
5048         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5049         the problem reported by Sean Rima [wl-en:180].
5050
5051 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5052
5053         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5054
5055         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5056
5057         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5058
5059         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5060
5061         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5062
5063         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5064
5065         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5066
5067 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5068
5069         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5070         status number.
5071
5072 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5073
5074         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5075         (elmo-folder-mark-as-read): Follow the API change.
5076         (elmo-message-set-cached): New function.
5077
5078         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5079
5080         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5081
5082         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5083         (elmo-folder-mark-as-important): Ditto.
5084         (elmo-folder-unmark-read): Ditto.
5085         (elmo-folder-mark-as-read): Ditto.
5086         (elmo-folder-unmark-answered): Ditto.
5087         (elmo-folder-mark-as-answered): Ditto.
5088
5089         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5090         (elmo-folder-unmark-important): Ditto.
5091         (elmo-folder-mark-as-read): Ditto.
5092         (elmo-folder-unmark-read): Ditto.
5093         (elmo-folder-mark-as-answered): Ditto.
5094         (elmo-folder-unmark-answered): Ditto.
5095
5096         * elmo-mark.el (toplevel): Removed some mark method definitions.
5097
5098         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5099         (elmo-map-folder-mark-as-answered): Ditto.
5100         (elmo-folder-unmark-important): Add :before qualifier.
5101         (elmo-folder-mark-as-important): Ditto.
5102         (elmo-folder-unmark-read): Ditto.
5103         (elmo-folder-mark-as-read): Ditto.
5104         (elmo-folder-unmark-answered): Define.
5105         (elmo-folder-mark-as-answered): Ditto.
5106
5107         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5108         (elmo-map-folder-unmark-answered): Ditto.
5109
5110         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5111
5112         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5113         (elmo-folder-mark-as-important): Ditto.
5114         (elmo-folder-unmark-read): Ditto.
5115         (elmo-folder-mark-as-read): Ditto.
5116         (elmo-folder-unmark-answered): Ditto.
5117         (elmo-folder-mark-as-answered): Ditto.
5118
5119         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5120         `mark'; evaluate mark condition.
5121         (elmo-msgdb-match-condition-internal): New function.
5122         (elmo-msgdb-match-condition): Call it; changed argument.
5123
5124         * elmo.el (elmo-folder-search): Follow the API change on
5125         `elmo-msgdb-match-condition'.
5126
5127 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5128
5129         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5130         original mark is non-nil.
5131
5132 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5133
5134         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5135         (elmo-map-folder-list-answereds): New method.
5136         (elmo-folder-list-unreads): Add :around qualifier.
5137         (elmo-folder-list-importants): Ditto.
5138         (elmo-folder-list-answereds): Ditto.
5139
5140 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5141
5142         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5143
5144         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5145         method if msgdb is not required.
5146         (elmo-filter-folder-list-importants): Don't treat global-mark.
5147
5148         * elmo.el (elmo-folder-list-importants): Ditto.
5149
5150         * elmo-net.el (elmo-folder-list-importants): Ditto.
5151
5152         * elmo-map.el (elmo-folder-list-importants): Ditto.
5153
5154         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5155
5156         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5157         (elmo-imap4-folder-list-any-plugged): New function.
5158         (elmo-imap4-search-internal-primitive): Use it.
5159
5160         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5161         only when require-msgdb slot is non-nil.
5162         (elmo-folder-close): Clear target folder's msgdb.
5163
5164 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5165
5166         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5167         (elmo-pop3-msgdb-create-by-header): Ditto.
5168         (elmo-pop3-msgdb-create-message): Ditto.
5169
5170         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5171
5172         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5173
5174         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5175
5176         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5177         (elmo-folder-msgdb-create): Ditto.
5178         (elmo-nntp-folder-msgdb-create): Ditto.
5179         (elmo-nntp-msgdb-create-by-header): Ditto.
5180         (elmo-nntp-msgdb-create-message): Ditto.
5181         (elmo-folder-list-unreads): Define.
5182
5183         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5184         (elmo-folder-append-messages): Ditto.
5185         (elmo-folder-list-unreads): Define.
5186         (elmo-folder-list-importants): Ditto.
5187         (elmo-folder-list-answereds): Ditto.
5188
5189         * elmo-net.el (elmo-folder-list-unreads): Define.
5190         (elmo-folder-list-importants): Ditto.
5191         (elmo-folder-list-answereds): Ditto.
5192         (elmo-folder-list-answereds-plugged): Ditto.
5193         (elmo-folder-msgdb-create): Follow the API change.
5194         (elmo-folder-msgdb-create-unplugged): Ditto.
5195         (elmo-folder-unmark-answered): Define.
5196         (elmo-folder-mark-as-answered-unplugged): Ditto.
5197         (elmo-folder-unmark-answered-unplugged): Ditto.
5198
5199         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5200         (elmo-msgdb-unread-uncached-mark): Ditto.
5201         (elmo-msgdb-unread-cached-mark): Ditto.
5202         (elmo-msgdb-read-uncached-mark): Ditto.
5203         (elmo-msgdb-answered-cached-mark): Ditto.
5204         (elmo-msgdb-answered-uncached-mark): Ditto.
5205         (elmo-msgdb-important-mark): Ditto.
5206         (elmo-msgdb-set-mark): Rewrite.
5207         (elmo-msgdb-count-marks): Rewrite.
5208         (elmo-msgdb-mark-alist-set): Abolish.
5209         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5210         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5211
5212         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5213         (elmo-folder-close): Define.
5214         (elmo-folder-msgdb-create): Follow the API change.
5215         (elmo-folder-list-unreads): Rewrite.
5216         (elmo-folder-mark-as-important): Ditto.
5217         (elmo-folder-unmark-important): Ditto.
5218         (elmo-folder-mark-as-read): Ditto.
5219         (elmo-folder-unmark-read): Ditto.
5220         (elmo-folder-mark-as-answered): Define.
5221         (elmo-folder-unmark-answered): Ditto.
5222
5223         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5224         (elmo-folder-append-messages): Ditto.
5225
5226         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5227
5228         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5229         (elmo-folder-list-importants): Ditto.
5230
5231         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5232         (elmo-folder-append-messages): Ditto.
5233
5234         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5235         change.
5236         (elmo-folder-msgdb-create-plugged): Ditto.
5237         (elmo-folder-append-messages): Ditto.
5238         (elmo-folder-list-answereds-plugged): Define.
5239         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5240         (elmo-folder-unmark-answered-plugged): Define.
5241         (elmo-folder-mark-as-answered-plugged): Ditto.
5242         (elmo-folder-search-requires-msgdb-p): Ditto.
5243
5244         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5245         (elmo-folder-initialize): Set it.
5246         (elmo-folder-msgdb): Define.
5247         (elmo-folder-check): Call elmo-folder-synchronize.
5248         (elmo-folder-close): Define.
5249         (elmo-folder-commit): Ditto.
5250         (elmo-folder-msgdb-create): Rewrite.
5251         (elmo-folder-list-unreads): Ditto.
5252         (elmo-folder-list-importants): Ditto.
5253         (elmo-folder-mark-as-read): Ditto.
5254         (elmo-folder-unmark-read): Ditto.
5255         (elmo-folder-mark-as-important): Ditto.
5256         (elmo-folder-unmark-important): Ditto.
5257         (elmo-folder-mark-as-answered): Define.
5258         (elmo-folder-unmark-answered): Ditto.
5259
5260         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5261         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5262         (elmo-dop-queue-method-name-alist): Likewise.
5263         (elmo-folder-mark-as-answered-dop): New inline function.
5264         (elmo-folder-unmark-answered-dop): Ditto.
5265         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5266
5267         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5268         (elmo-folder-msgdb-create): Ditto.
5269         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5270         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5271         (elmo-archive-parse-mmdf): Ditto.
5272
5273         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5274         (elmo-folder-list-unreads-internal): Ditto.
5275
5276         * elmo.el (elmo-folder-msgdb): Define as generic function.
5277         (elmo-folder-list-messages): Added argument `in-msgdb'.
5278         (elmo-folder-list-unreads): Define as generic function.
5279         (elmo-folder-list-importants): Ditto.
5280         (elmo-folder-list-answereds): Ditto.
5281         (elmo-folder-list-messages-with-global-mark): New function.
5282         (elmo-folder-msgdb-create): Removed mark arguments.
5283         (elmo-folder-unmark-answered): New generic function.
5284         (elmo-folder-mark-as-answered): Ditto.
5285         (elmo-folder-append-messages): Removed argunment `unread-marks'
5286         (elmo-folder-list-unreads-internal): Abolish.
5287         (elmo-folder-list-importants-internal): Ditto.
5288         (elmo-folder-search-requires-msgdb-p): New generic function.
5289         (elmo-folder-search-requires-msgdb-p-internal): New function.
5290         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5291         elmo-msgdb-load.
5292         (elmo-folder-search-fast): Added key 'mark'.
5293         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5294         instead of unread-marks argument.
5295         (elmo-folder-move-messages): Removed argunment `unread-marks'
5296         (elmo-folder-unmark-important): Define.
5297         (elmo-folder-mark-as-important): Ditto.
5298         (elmo-folder-unmark-read): Ditto.
5299         (elmo-folder-mark-as-read): Ditto.
5300         (elmo-folder-unmark-answered): Ditto.
5301         (elmo-folder-mark-as-answered): Ditto.
5302         (elmo-folder-replace-marks): Abolish.
5303         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5304         duplicates.
5305         (elmo-folder-synchronize): Removed mark arguments;
5306         return crosspost only number.
5307
5308 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5309
5310         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5311         Remove redundunt connectivity check.
5312
5313 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5314
5315         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5316         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5317
5318 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5319
5320         * pldap.el (ldap-decode-string): Return string as-is if
5321         `ldap-coding-system' is nil.
5322         (ldap-encode-string): Ditto.
5323         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5324         (ldap-default-host): Fixed docstring.
5325
5326 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5327
5328         * elmo-util.el (elmo-warning): Define as a macro which uses
5329         `display-warning' if it is defined as a function.
5330
5331         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5332         (elmo-split-equal): Use it.
5333         (elmo-split-match): Ditto.
5334         (elmo-split-message-entity): New buffer-local variable.
5335         (elmo-split-subr): Set it.
5336
5337         * elmo-version.el (elmo-version): Up to 2.9.15.
5338
5339 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5340
5341         * elmo-imap4.el (elmo-network-initialize-session):
5342         Check capability after starttls.
5343
5344 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5345
5346         * elmo-util.el (elmo-list-delete): Added optional argument
5347         DELETE-FUNCTION.
5348
5349         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5350
5351         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5352
5353         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5354
5355         * elmo-imap4.el (elmo-folder-initialize): Don't use
5356         elmo-imap4-default-mailbox.
5357
5358 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5359
5360         * elmo-split.el (toplevel): Use `product-provide'.
5361         (elmo-split): Checkdoc.
5362
5363 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5364
5365         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5366         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5367         the function `elmo-imap4-debug-1'.
5368
5369 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5370
5371         * elmo-split.el (elmo-split): Moved to run hooks and to show
5372         message from elmo-split-subr.
5373         (elmo-split-subr): Follow the change above.
5374
5375         * elmo-split.el (elmo-split-subr): New function (renamed from
5376         elmo-split-subr).
5377         (elmo-split): Changed to call elmo-split-subr by element of
5378         elmo-split-folder.
5379         (elmo-split-folder): Changed customization type to choice.
5380
5381 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5382
5383         * elmo-split.el (elmo-split-and): Fixed condition.
5384
5385 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5386
5387         * elmo-split.el: New file.
5388         (elmo-split): Fixed logic.
5389         Display "Test:" instead of "Folder:" when reharsal.
5390
5391         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5392         explicitly.
5393
5394         * elmo-version.el (elmo-version): Up to 2.9.14.
5395
5396         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5397         wl-expand-newtext).
5398
5399 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5400
5401         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5402         message with no message-id field.
5403
5404 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5405
5406         * elmo-version.el (elmo-version): Up to 2.9.13.
5407
5408         * elmo-dop.el (elmo-folder-status-dop): Fix.
5409
5410 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5411
5412         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5413
5414         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5415         changing default value of default-mime-charset.
5416         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5417
5418         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5419
5420         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5421         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5422         instead of elmo-dop-queue-method-name-alist to check merging queue.
5423         (elmo-folder-delete-messages-dop): Delete from queue if negative
5424         message number.
5425         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5426         file is already removed.
5427
5428 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5429
5430         * elmo-vars.el: Bind colon keywords for old Emacsen.
5431
5432 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5433
5434         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5435         against non-exsisting charset.
5436
5437 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5438
5439         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5440         Use eword-decode-and-unfold-unstructured-field-body.
5441
5442         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5443         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5444         exists to decode raw subject string.
5445         (toplevel): Require 'mime.
5446
5447         * elmo-version.el (elmo-version): Up to 2.9.12.
5448
5449 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5450
5451         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5452         (elmo-msgdb-set-mark): Ditto.
5453
5454         * elmo-version.el (elmo-version): Up to 2.9.11.
5455
5456 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5457
5458         * elmo-util.el (elmo-delete-match-files): New function.
5459
5460         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5461         instead of elmo-delete-directory.
5462
5463         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5464         elmo-hash-minimun-size as 63.
5465
5466         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5467         elmo-diff-unread is nil.
5468
5469         * elmo-imap4.el (elmo-folder-open): Fix.
5470
5471         * elmo.el (elmo-message-mark): Rewrite.
5472         (elmo-message-field): Ditto.
5473         (elmo-message-set-mark): Ditto.
5474         (elmo-folder-replace-marks): New function.
5475         (elmo-generic-folder-append-msgdb): Removed third argument for
5476         elmo-msgdb-append.
5477         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5478         (elmo-msgdb-load): New implementation.
5479
5480         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5481
5482         * elmo-util.el (elmo-list-insert): New implementation.
5483
5484         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5485         argument for elmo-msgdb-append.
5486         
5487
5488         * elmo-msgdb.el (elmo-load-msgdb): New function.
5489         (elmo-make-msgdb): Ditto.
5490         (elmo-msgdb-get-index): New inline function.
5491         (elmo-msgdb-set-index): Ditto.
5492         (elmo-msgdb-get-entity-hashtb): Ditto.
5493         (elmo-msgdb-get-mark-hashtb): Ditto.
5494         (elmo-msgdb-get-mark): Ditto.
5495         (elmo-msgdb-set-mark): Ditto.
5496         (elmo-msgdb-count-marks): Ditto.
5497         (elmo-msgdb-get-number): Ditto.
5498         (elmo-msgdb-get-field): Ditto.
5499         (elmo-msgdb-seen-list): Ditto.
5500         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5501         (elmo-msgdb-delete-msgs): Follow the changes above.
5502         (elmo-msgdb-overview-get-entity): Ditto.
5503         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5504         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5505         and rewritten.
5506         (elmo-msgdb-make-index): Likewise.
5507         (elmo-msgdb-append): Removed third argument.
5508         (elmo-msgdb-clear): Clear index as nil.
5509         (elmo-folder-set-info-hashtb): Removed.
5510         (elmo-folder-set-info-max-by-numdb): Ditto.
5511         (elmo-folder-info-make-hashtb): Ditto.
5512
5513         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5514
5515         * elmo-map.el (elmo-folder-pack-number): Ditto.
5516
5517 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5518
5519         * elmo-version.el (elmo-version): Up to 2.9.10.
5520
5521         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5522
5523         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5524
5525 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5526
5527         * elmo-utils.el (elmo-make-directory): Add option.
5528         Default file mode is 700.
5529
5530 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5531
5532         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5533
5534 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5535
5536         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5537         mime-charset.
5538
5539         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5540         and "smaller".
5541
5542 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5543
5544         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5545         (elmo-shimbun-folder-entity-hash): New function.
5546         (elmo-shimbun-folder-shimbun-header): Ditto.
5547         (elmo-shimbun-entity-to-header): Ditto.
5548         (elmo-shimbun-msgdb-to-headers): Removed.
5549         (elmo-shimbun-folder-setup): Ditto.
5550         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5551         for hash key.
5552         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5553         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5554         Removed useless local bind.
5555         (elmo-folder-open-internal): Don't call
5556         `elmo-shimbun-folder-setup'.
5557         (elmo-folder-close-internal): Clear entity-hash slot.
5558         (elmo-folder-clear): Ditto.
5559         (elmo-shimbun-msgdb-create-entity): Use
5560         `elmo-shimbun-folder-shimbun-header'.
5561         (elmo-map-message-fetch): Ditto.
5562         (elmo-shimbun-update-overview): Use overview entity instead of
5563         shimbun header to lookup id by references.
5564         (elmo-map-folder-list-message-locations): Use not only headers but
5565         also overviews to list locations.
5566
5567 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5568
5569         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5570         msgdb path.
5571
5572         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5573
5574 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5575
5576         * elmo-util.el (elmo-read-search-condition-internal): Give default
5577         value for date.
5578
5579 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5580
5581         * elmo-util.el (elmo-condition-parse-search-value): Accept
5582         YYYY-MM-DD format to search.
5583         * elmo-date.el (elmo-date-get-datevec): Likewise.
5584
5585 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5586
5587         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5588         debugging code.
5589
5590 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5591
5592         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5593         from t.
5594
5595         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5596
5597         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5598         case from `elmo-folder-exists-p'.
5599         (elmo-folder-exists-p): Removed.
5600         (elmo-folder-creatable-p) Ditto.
5601
5602         * elmo-net.el (elmo-folder-create): Defined.
5603         (elmo-folder-create-unplugged): New function.
5604         (elmo-folder-exists-p): Changed default value to nil from t.
5605
5606         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5607         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5608
5609         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5610         `elmo-create-folder-dop' and append queue
5611         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5612         (elmo-folder-create-dop-delayed): New function.
5613
5614         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5615
5616         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5617
5618         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5619         (elmo-folder-writable-p) : Ditto.
5620
5621         * elmo-version.el (elmo-version): Up to 2.9.9.
5622
5623 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5624
5625         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5626         `elmo-message-use-cache-p' returns nil.
5627         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5628         (ignore cache file and refer the substance in local folders)
5629
5630 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5631
5632         * elmo-version.el (elmo-version): Up to 2.9.8.
5633
5634 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5635
5636         * elmo-version.el (elmo-version): Up to 2.9.7.
5637
5638         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5639
5640 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5641
5642         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5643
5644 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5645
5646         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5647         from --early.
5648         (elmo-map-folder-list-message-locations): Reverse location list.
5649
5650 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5651
5652         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5653
5654 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5655
5656         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5657         as a key.
5658         (elmo-nntp-folder-list-subfolders): Follow the change above.
5659
5660 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5661
5662         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5663         name if authentication type is specified.
5664
5665 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5666
5667         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5668         variable.
5669         (elmo-default-nntp-stream-type): Ditto.
5670         (elmo-default-pop3-stream-type): Ditto.
5671
5672 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5673
5674         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5675
5676 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5677
5678         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5679         elmo-vars.el.
5680         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5681
5682         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5683         (elmo-maildir-folder-path): Ditto.
5684         (elmo-maildir-list): Ditto (abolished).
5685
5686 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5687
5688         * elmo-version.el (elmo-version): Up to 2.9.6.
5689
5690 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5691
5692         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5693         (elmo-maildir-folder-path): Ditto.
5694         (elmo-msgdb-directory): Ditto.
5695         (elmo-passwd-life-time): Ditto.
5696         (elmo-msgdb-extra-fields): Ditto.
5697         (elmo-enable-disconnected-operation): Ditto.
5698
5699 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5700
5701         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5702         other choices.
5703         (elmo-pop3-default-authenticate-type): Ditto.
5704
5705 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5706
5707         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5708         choices for custom.
5709         (elmo-pop3-default-authenticate-type): Ditto.
5710
5711 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5712
5713         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5714         mailbox to new-folder.
5715
5716 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5717
5718         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5719         less than new, set new as unread.
5720
5721         * elmo-util.el (elmo-string): Don't put text-property if nil.
5722
5723 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5724
5725         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5726         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5727
5728 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5729
5730         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5731         is nil on `completing-read'.
5732
5733 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5734
5735         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5736         for namespace part.
5737         (elmo-imap4-parse-namespace-subr): Ditto.
5738         (elmo-folder-list-subfolders): Append a delimiter when the specified
5739         folder path is a root with namespace and does not end with delimiter.
5740
5741 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5742
5743         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5744         was used.
5745
5746 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5747
5748         * elmo-util.el (elmo-save-buffer): The first argument of message
5749         is a format control string.
5750
5751 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5752
5753         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5754         `elmo-folder-diff').
5755         (elmo-diff-unread): Likewise.
5756
5757 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5758
5759         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5760         is t on `completing-read'.
5761
5762 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5763
5764         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5765         method of target folder with self mark-alist if MARK-ALIST is nil.
5766
5767 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5768
5769         * elmo-version.el (elmo-version): Up to 2.9.5.
5770
5771 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5772
5773         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5774         (elmo-dop-merge-funcs): Remove.
5775
5776 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5777
5778         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5779         Return t if PATH is directory, too.
5780         Use `dolist' instead of while loop.
5781
5782 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5783
5784         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5785         is deleted.
5786
5787 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5788
5789         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5790         return value to t.
5791         (elmo-folder-list-messages-unplugged): Return t if
5792         elmo-enable-disconnected-operation is nil.
5793
5794         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5795         `elmo-folder-list-messages-internal'.
5796
5797 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5798
5799         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5800         Change to looking-at `[23][0-9]+'.
5801         (elmo-network-initialize-session): Use 'error-msg'
5802         * elmo-net.el (elmo-network-open-session): Set unplugged
5803         if elmo-network-initialize-session returns 'elmo-open-err.
5804
5805 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5806
5807         * elmo-version.el (elmo-version): Up to 2.9.4.
5808
5809 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5810
5811         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5812         `elmo-folder-list-messages-internal'.
5813
5814 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5815
5816         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5817         (elmo-message-match-condition): New method.
5818         (elmo-folder-search-fast): New inline function.
5819         (elmo-msgdb-search): Removed.
5820
5821         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5822         target folder if it is unplugged.
5823         (elmo-folder-list-messages-internal): Return t if target folder is
5824         unplugged and itself is persistent; In this case, use list be
5825         searched already.
5826
5827         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5828         (elmo-msgdb-search-internal-primitive): Ditto.
5829         (elmo-msgdb-match-condition): New function.
5830         (elmo-msgdb-match-condition-primitive): Ditto.
5831
5832         * elmo-util.el (elmo-filter-condition-p): New macro.
5833
5834         * elmo-cache.el (elmo-folder-search): Removed.
5835
5836         * elmo-localdir.el (elmo-folder-search): Ditto.
5837
5838         * elmo-maildir.el (elmo-folder-search): Ditto.
5839
5840         * elmo-mark.el (elmo-folder-search): Ditto.
5841
5842         * elmo-nmz.el (elmo-folder-search): Ditto.
5843
5844         * elmo-sendlog.el (elmo-folder-search): Ditto.
5845
5846         * elmo-shimbun.el (elmo-folder-search): Ditto.
5847
5848         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5849         if folder is unplugged.
5850
5851         * elmo-nntp.el (elmo-folder-search): Likewise.
5852         (elmo-nntp-search-internal): New function.
5853
5854         * elmo-version.el (elmo-version): Up to 2.9.3.
5855
5856 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5857
5858         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5859
5860 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5861
5862         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5863
5864 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5865
5866         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5867
5868 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5869
5870         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5871         (elmo-map-folder-list-message-locations): Do drive letter conversion
5872         on Windows environment.
5873         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5874         (elmo-map-message-fetch): Ditto.
5875
5876 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5877
5878         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5879         (elmo-network-initialize-session): Ditto.
5880
5881 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5882
5883         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5884
5885         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5886
5887         * elmo-util.el (elmo-progress-clear): Ditto.
5888
5889         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5890         `DD-Mon-YYYY' type date.
5891
5892 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5893
5894         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5895         `elmo-date-make-sortable-string' instead of
5896         `timezone-make-date-sortable'.
5897
5898         * elmo-date.el (elmo-date-make-sortable-string): Use
5899         `timezone-make-time-string'.
5900
5901 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5902
5903         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5904
5905         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5906         `since'; Fix timezone.
5907
5908         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5909
5910         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5911
5912 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5913
5914         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5915
5916 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5917
5918         * elmo.el (elmo-generic-folder-append-messages): Make
5919         fetch-strategy with `use-cache' as 'maybe. Check return value of
5920         `elmo-message-fetch'.
5921         (elmo-message-fetch): Return return value of
5922         `elmo-message-fetch-with-cache-process'.
5923         (elmo-message-fetch-with-cache-process): Return non-nil if
5924         fetching was succeed. Load cache when fetching was failed and
5925         fetch-strategy-use-cache is 'maybe.
5926
5927         * elmo-util.el (elmo-file-cache-load): New function.
5928
5929         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5930         defun.
5931
5932         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5933         non-nil if fetching was succeed.
5934
5935         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5936
5937         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5938
5939         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5940         (elmo-message-fetch-with-cache-process): Likwise.
5941
5942         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5943
5944         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5945
5946         * elmo-version.el (elmo-version): Up to 2.9.2.
5947
5948 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5949
5950         * elmo.el (elmo-folder-delete): Delete msgdb path.
5951
5952         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5953
5954         * elmo-maildir.el (elmo-folder-delete): Ditto.
5955
5956         * elmo-localdir.el (elmo-folder-delete): Ditto.
5957
5958         * elmo-imap4.el (elmo-folder-delete): Ditto.
5959
5960 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5961
5962         * elmo.el (luna-define-class): Added `biff' slot.
5963
5964         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5965         (elmo-pop3-debug-inhibit-logging): Abolished.
5966         (elmo-network-close-session): Eliminated needless let.
5967         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5968         (elmo-pop3-send-command): Added `no-log' argument.
5969         (elmo-pop3-process-filter): Use `with-current-buffer'.
5970         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5971         if login failure.
5972         (elmo-pop3-auth-apop): Likewise.
5973         (elmo-network-authenticate-session): Likewise.
5974
5975         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5976         if biff folder.
5977
5978         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5979         string to determine protocol.
5980         (elmo-network-session-name-prefix): Abolished.
5981         (elmo-network-session-cache-key): Follow the change above.
5982         (elmo-network-open-session): Ditto.
5983
5984         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5985         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5986
5987         * elmo-version.el (elmo-version): Up to 2.9.1.
5988
5989         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5990         unmatch condition checking.
5991
5992         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5993         condition.
5994
5995 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5996
5997         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5998
5999 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6000
6001         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6002         test for while loop to execute at least one SEARCH command.
6003
6004 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6005
6006         * elmo-version.el (elmo-version): Up to 2.9.0.
6007
6008 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6009
6010         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6011         (elmo-archive-folder-path): Define.
6012         (elmo-folder-initialize): Setup `dir-name' slot.
6013         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6014         Use `dir-name' as prefix of each subfolders.
6015         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6016
6017 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6018
6019         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6020         (elmo-pipe-folder-list-target-messages): New internal function.
6021         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6022         `killed-list'.
6023         (elmo-pipe-folder-copied-list-load): New function.
6024         (elmo-pipe-folder-copied-list-save): Ditto.
6025         (elmo-folder-open-internal): Follow the change above.
6026         (elmo-folder-status): Fixed for copy.
6027
6028 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6029
6030         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6031
6032 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6033
6034         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6035         elmo-copy-file instead of elmo-add-name-to-file.
6036
6037         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6038
6039         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6040         "file://..." index.
6041
6042         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6043         of accept-process-output as 1.
6044         (elmo-pop3-read-contents): Ditto.
6045         (elmo-pop3-read-body): Ditto.
6046
6047 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6048
6049         * elmo-version.el (product-version-as-string): Remove define.
6050
6051 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6052
6053         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6054         (elmo-imap4-copy-messages): Chop number set using
6055         `elmo-imap4-number-set-chop-length'.
6056         (elmo-imap4-set-flag): Ditto.
6057         (elmo-imap4-search-internal-primitive): Ditto.
6058
6059 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6060
6061         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6062         `elmo-folder-make-temp-dir'
6063
6064         * elmo-vars.el (elmo-cache-directory): New variable.
6065         (elmo-cache-dir): Abolished.
6066         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6067
6068         * elmo-version.el (elmo-version): Up to 2.7.7.
6069
6070 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6071
6072         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6073         defcustom; Set default value as t.
6074
6075 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6076
6077         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6078         (ldap-search-program-arguments): Changed default value.
6079         (ldap-search-basic): Accept exit status 4.
6080         (ldap/field-body): Parse options.
6081         (ldap/collect-field): Ditto.
6082         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6083
6084         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6085         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6086         (elmo-imap4-accept-ok): Ditto.
6087         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6088         'notify-bye, only BYE error is reported.
6089         (elmo-folder-exists-p-plugged): Set no-error argument of
6090         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6091
6092         * elmo.el (elmo-imap4-bye-error): Changed message.
6093
6094         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6095         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6096         queues (It causes infinite loop).
6097
6098 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6099
6100         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6101         (RECENT UNSEEN MESSAGES) extension.
6102
6103 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6104
6105         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6106         Check number of overview fields.
6107
6108 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6109
6110         * elmo.el (elmo-folder-confirm-appends): Changed message.
6111         (elmo-folder-confirm-appends): Ditto.
6112
6113         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6114         `with-temp-buffer'.
6115         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6116
6117 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6118
6119         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6120         of elmo-folder-update-threshold is nil, which can be set by
6121         wl-summary-update-confirm-threshold.
6122
6123 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6124
6125         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6126         (elmo-nmz-index-alias-alist): Ditto.
6127         (elmo-map-folder-list-message-locations): Follow the change above.
6128
6129 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6130
6131         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6132
6133         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6134
6135         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6136
6137         * elmo-util.el (elmo-read): Ditto.
6138         (elmo-display-error): Ditto.
6139
6140         * elmo-vars.el (elmo-date-match): Ditto.
6141
6142         * pldap.el (ldap-coding-system): Ditto.
6143
6144         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6145         `elmo-inhibit-number-mapping' as nil.
6146
6147 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6148
6149         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6150         space delimiter for list response.
6151
6152 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6153
6154         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6155
6156 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6157
6158         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6159         (elmo-map-message-fetch): Fix.
6160         * elmo-map.el (elmo-folder-status): Fix for killed.
6161
6162 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6163
6164         * elmo-sendlog.el: New file.
6165         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6166
6167 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6168
6169         * acap.el (acap-logging-out): New buffer local variable.
6170         (acap-close): Set it.
6171         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6172         an error.
6173
6174 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6175
6176         * acap.el (acap-response-bye-p): New function.
6177         (acap-response-bye-message): Ditto.
6178         (acap-wait-for-response): If bye response is received, cause an error.
6179         (acap-parse-response): Make bye response when 'Bye' is received.
6180
6181 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6182
6183         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6184
6185 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6186
6187         * elmo-util.el (elmo-copy-file): Added argument
6188         `ok-if-already-exists'.
6189         (elmo-copy-file): Fixed typo.
6190
6191 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6192
6193         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6194
6195 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6196
6197         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6198
6199 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6200
6201         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6202         to killed-list.
6203
6204 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6205
6206         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6207         (elmo-folder-initialize): Fix for `copy'.
6208         (elmo-pipe-drain): Ditto.
6209         (elmo-folder-open-internal): Ditto.
6210         (elmo-folder-newsgroups): Fix.
6211
6212 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6213
6214         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6215         for each message.
6216
6217         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6218         recent value is returned from imap folder.
6219
6220         * elmo.el (elmo-folder-newsgroups): New generic function.
6221
6222         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6223         (elmo-folder-initialize): Set it.
6224         (elmo-folder-expand-msgdb-path): Use it.
6225         (elmo-folder-newsgroups): Define.
6226
6227         * elmo-filter.el (elmo-folder-newsgroups): Define.
6228
6229         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6230
6231         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6232
6233         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6234
6235 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6236
6237         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6238         user option.
6239         (elmo-shimbun-header-extra-field): New inline function.
6240         (elmo-shimbun-header-set-extra-field): Ditto.
6241         (elmo-shimbun-folder-header-hash-setup): Ditto.
6242         (elmo-shimbun-update-overview): Ditto.
6243         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6244         (elmo-shimbun-folder-setup): Use
6245         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6246         (elmo-shimbun-get-headers): Ditto.
6247         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6248         Insert `X-Shimbun-Id:' header if extra field is set.
6249         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6250         field's value instead of `shimbun-header-id'.
6251
6252         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6253         inline function.
6254         (elmo-msgdb-overview-entity-set-date): Ditto.
6255         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6256
6257 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6258
6259         * mmimap.el (mmimap-entity-section): Changed body node number from
6260         "0" to "1".
6261
6262 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6263
6264         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6265         `elmo-folder-delete-messages'.
6266
6267         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6268         (elmo-folder-initialize): Changed to expand alias into index path.
6269
6270         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6271         `elmo-mime-insert-header-from-buffer' with 6th arg
6272         `sorted-fields'.
6273
6274 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6275
6276         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6277
6278         * elmo.el (elmo-diff-new): New inline function.
6279         (elmo-diff-unread): Ditto.
6280         (elmo-diff-all): Ditto.
6281
6282         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6283         value from responseb.
6284         (elmo-imap4-folder-diff-plugged): Ditto.
6285         (elmo-imap4-server-diff-async): Added recent argument.
6286         (elmo-server-diff-async): Ditto.
6287         (elmo-imap4-folder-diff-plugged): Ditto.
6288
6289         * elmo-version.el (elmo-version): Up to 2.7.6.
6290
6291 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6292
6293         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6294         in quoted-stirng.
6295
6296 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6297
6298         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6299
6300         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6301
6302         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6303
6304         * elmo-multi.el (elmo-folder-initialize): Ditto.
6305
6306         * elmo-util.el (elmo-parse-token): New function.
6307         (elmo-parse-prefixed-element): Ditto.
6308
6309 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6310
6311         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6312         delete process.
6313         (elmo-imap4-accept-ok): Ditto.
6314
6315 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6316
6317         * mmimap.el (mime-imap-entity-header-string): Don't check first
6318         element of node-id is `0' (Follow last change).
6319
6320 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6321
6322         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6323         assigned irregular node-id to nested multipart section.
6324         (initialize-instance): Followed above change.
6325
6326 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6327
6328         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6329         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6330         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6331         `elmo-shimbun-get-headers');
6332         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6333         visible article on summary exists in headers).
6334         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6335
6336 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6337
6338         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6339         definition.
6340
6341 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6342
6343         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6344
6345 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6346
6347         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6348         header separator into loop condition.
6349
6350 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6351
6352         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6353         Return duplicate folder if it has subfolder.
6354
6355 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6356
6357         * elmo.el (elmo-make-folder): Add folder name error check.
6358
6359         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6360         (elmo-nntp-encode-group-string): New inline function.
6361         (elmo-nntp-decode-group-string): Ditto.
6362         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6363         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6364         Use `not' instead of `null';
6365         Use elmo-nntp-decode-group-string.
6366
6367         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6368
6369         * elmo-version.el (elmo-version): Up to 2.7.5.
6370
6371 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6372
6373         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6374         Hide progress gauge if `elmo-folder-move-messages' exits
6375         nonlocally.
6376
6377 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6378
6379         * elmo-imap4.el (elmo-folder-initialize): Use
6380         `elmo-imap4-encode-folder-string' for folder name.
6381
6382 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6383
6384         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6385         `done'.
6386
6387 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6388
6389         * elmo-util.el (elmo-progress-counter-alist): New internal
6390         variable.
6391         (elmo-progress-counter-value): New macro.
6392         (elmo-progress-counter-all-value): Ditto.
6393         (elmo-progress-counter-format): Ditto.
6394         (elmo-progress-counter-set-value): Ditto.
6395         (elmo-progress-set): New function.
6396         (elmo-progress-clear): Ditto.
6397         (elmo-progress-notify): Ditto.
6398
6399         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6400         counter.
6401
6402         * elmo.el (elmo-generic-folder-append-messages): Call
6403         `elmo-progress-notify'.
6404         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6405
6406         * elmo-archive.el (elmo-folder-append-messages): Call
6407         `elmo-progress-notify'.
6408
6409         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6410
6411         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6412
6413         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6414
6415 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6416
6417         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6418         'Create'.
6419         (elmo-message-encache-dop): Added argument `read'.
6420
6421         * elmo-shimbun.el (elmo-message-encache): Ditto.
6422
6423         * elmo-net.el (elmo-message-encache): Ditto.
6424
6425         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6426         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6427         elmo-imap4-seen-messages.
6428         (elmo-folder-msgdb-create-plugged): Initialize
6429         elmo-imap4-seen-messages;
6430         Set seen mark on elmo-imap4-seen-messages.
6431
6432         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6433
6434         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6435         elmo-folder-append-buffer.
6436         (elmo-folder-encache): Added optional argument `read'.
6437         (elmo-message-encache): Ditto.
6438
6439         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6440
6441         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6442
6443         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6444         if append buffer content succeds.
6445
6446 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6447
6448         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6449         elmo-display-progress.
6450
6451         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6452         Set 4th argument of mime-display-message.
6453         (elmo-mime-display-as-is): Ditto.
6454
6455 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6456
6457         * elmo-nmz.el (toplevel): Require 'mime-edit.
6458         (elmo-nmz-content-type-alist): Abolished.
6459         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6460         content is not a message.
6461         (elmo-map-message-fetch): Changed behavior exept for message content;
6462         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6463         content-type, Add From: and Subject: field.
6464
6465 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6466
6467         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6468         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6469         not a message.
6470
6471 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6472
6473         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6474         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6475
6476         * elmo-archive.el (elmo-folder-writable-p): Defined.
6477
6478         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6479
6480         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6481
6482         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6483
6484         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6485
6486         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6487
6488         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6489
6490         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6491
6492         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6493
6494 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6495
6496         * elmo-util.el (elmo-address-quote-specials): New function;
6497         Renamed from `wl-address-quote-specials'.
6498
6499 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6500
6501         * elmo-version.el (elmo-version): Up to 2.7.4.
6502
6503 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6504
6505         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6506
6507 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6508
6509         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6510         both compile-time and run-time to avoid byte-compile warning.
6511
6512 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6513
6514         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6515
6516 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6517
6518         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6519         option.
6520         (elmo-mime-display-as-is-internal): Use it.
6521
6522         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6523         if `read-passwd' is not defined.
6524
6525 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6526
6527         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6528         by original number.
6529         (elmo-folder-status): Call `elmo-folder-open-internal';
6530         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6531         (elmo-folder-close-internal): Set location-alist as nil.
6532         (elmo-folder-clear): Define.
6533         (elmo-folder-check): Don't set location-alist as nil.
6534
6535         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6536
6537 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6538
6539         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6540         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6541
6542         * mmimap.el (mime-imap-entity::requested): New slot.
6543         (mime-imap-location-fetch-entity-p): New generic function.
6544         (mime-decode-parameters): Define using `defun-maybe'.
6545         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6546         content-type structure.
6547         (mime-entity-body): Return empty body if
6548         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6549
6550         * elmo.el (elmo-message-displaying): New variable.
6551
6552         * elmo-mime.el (elmo-mime-message-display): Bind
6553         elmo-message-displaying as t.
6554
6555         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6556
6557 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6558
6559         * acap.el (acap-open): erase buffer before starting network process.
6560         (acap-store): Rewrite.
6561
6562 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6563
6564         * elmo-imap4.el (elmo-imap4-default-mailbox,
6565         elmo-imap4-default-server
6566         elmo-imap4-default-authenticate-type,
6567         elmo-imap4-default-user,
6568         elmo-imap4-default-port,
6569         elmo-imap4-default-stream-type,
6570         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6571
6572         * elmo-pop3.el (elmo-pop3-default-user,
6573         elmo-pop3-default-server,
6574         elmo-pop3-default-authenticate-type,
6575         elmo-pop3-default-port,
6576         elmo-pop3-default-stream-type,
6577         elmo-pop3-stream-type-alist): Ditto.
6578
6579         * elmo-nntp.el (elmo-nntp-default-server,
6580         elmo-nntp-default-user,
6581         elmo-nntp-default-port,
6582         elmo-nntp-default-stream-type,
6583         elmo-nntp-stream-type-alist): Ditto.
6584
6585         * elmo-vars.el: Follow changes above.
6586         (elmo-setting): New custom group; added 'elmo-setting group to
6587         above variables.
6588
6589         * elmo-version.el (elmo-version): Up to 2.7.3.
6590
6591         * acap.el (acap-parse-response): Don't delete process when BYE
6592         response (It causes hang-up on slow network environment).
6593         (toplevel): Added comment.
6594
6595 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6596
6597         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6598
6599         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6600         parsing NIL.
6601         (acap-parse-return-metadata): Ditto.
6602
6603         * slp.el: New file.
6604         (toplevel): Fixed typo.
6605
6606         * acap.el: New file.
6607         (acap-network-stream-open): Show "Connecting..." message.
6608         (acap-parse-response): Fixed problem for BYE untagged response.
6609         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6610         (toplevel): Added tiny comments.
6611
6612 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6613
6614         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6615         space delimiter for uidl response.
6616
6617 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6618
6619         * elmo-vars.el (elmo-use-semi): Eliminated.
6620
6621         * elmo-util.el (elmo-string-assoc-all): New function.
6622
6623 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6624
6625         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6626         property 'mime-preview-situation for `mime-preview-quit'.
6627
6628 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6629
6630         * elmo.el (elmo-message-fetch-with-cache-process): Call
6631         elmo-message-fetch-internal instead of causing an error when fetch
6632         strategy is 'entire but only 'section cache is available.
6633
6634 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6635
6636         * elmo-version.el (elmo-version): Up to 2.7.2.
6637
6638         * elmo.el (elmo-generic-folder-append-messages): Make
6639         fetch-strategy with `use-cache'.
6640
6641         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6642         (elmo-dop-queue-method-name): New macro.
6643
6644 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6645
6646         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6647         unbalanced parenthesis.
6648
6649 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6650
6651         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6652
6653 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6654
6655         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6656         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6657
6658 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6659
6660         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6661         local variables.
6662
6663 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6664
6665         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6666         (elmo-message-use-cache-p): Define.
6667         (elmo-folder-msgdb-create): Treat cache.
6668
6669 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6670
6671         * elmo-nntp.el (elmo-network-initialize-session): Call
6672         `elmo-nntp-send-mode-reader'.
6673         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6674
6675 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6676
6677         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6678         alist.
6679         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6680         assoc.
6681
6682         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6683         for `elmo-plugged-p'.
6684         (elmo-open-network-stream): Fixed stream-type argument.
6685
6686 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6687
6688         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6689         unknown archive type is specified.
6690
6691 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6692
6693         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6694
6695         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6696         while loading msgdb.
6697
6698         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6699         (elmo-folder-open-internal): Rewrite.
6700
6701 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6702
6703         * elmo-mime.el (elmo-mime-display-as-is-internal):
6704         Adjust buffer-multibyte status.
6705
6706 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6707
6708         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6709         of elmo-condition-find-key.
6710
6711         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6712         (elmo-condition-in-msgdb-p): Ditto.
6713         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6714         argument.
6715
6716 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6717
6718         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6719
6720 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6721
6722         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6723         label for elmo-display-progress.
6724
6725 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6726
6727         * elmo.el (elmo-folder-clear): New method.
6728         (elmo-folder-clear): Define.
6729         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6730
6731         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6732         (elmo-folder-clear): Define.
6733
6734         * elmo-map.el (elmo-folder-clear): Define.
6735
6736         * elmo-version.el (elmo-version): Up to 2.7.1.
6737
6738 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6739
6740         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6741         updates.
6742
6743 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6744
6745         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6746         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6747
6748 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6749
6750         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6751
6752         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6753         and re-written.
6754
6755         * elmo-imap4.el (elmo-folder-initialize): Use
6756         elmo-get-network-stream-type.
6757
6758         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6759
6760         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6761
6762 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6763
6764         * elmo.el (elmo-message-encache): Set unread argument for
6765         elmo-message-fetch.
6766
6767         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6768
6769         * elmo.el (elmo-net-port-info): New method.
6770
6771         * elmo-shimbun.el (elmo-net-port-info): Define.
6772         (elmo-message-encache): Ditto.
6773
6774         * elmo-net.el (elmo-net-port-info): Define as method.
6775
6776         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6777         unplugged status when elmo-enable-disconnected-operation is t.
6778
6779         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6780         of spool folder before checking new number.
6781
6782 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6783
6784         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6785         (elmo-network-setup-session): Ditto.
6786         (elmo-message-fetch-plugged): Ditto.
6787         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6788         (elmo-network-initialize-session): Ditto.
6789         (elmo-pop3-read-response): Abolish 3rd argument.
6790         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6791         (elmo-pop3-read-contents): Ditto.
6792         (elmo-pop3-read-body): Ditto.
6793         (elmo-folder-status): Call elmo-folder-close.
6794         (elmo-pop3-lock): Abolish.
6795         (elmo-pop3-unlock): Ditto.
6796         (elmo-pop3-locked-p): Ditto.
6797         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6798
6799 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6800
6801         * elmo-version.el (elmo-version): Up to 2.7.0.
6802
6803         * elmo-pop3.el (elmo-pop3-debug): New variable.
6804         (elmo-pop3-debug-inhibit-logging): Ditto.
6805         (elmo-pop3-debug): New function.
6806         (elmo-pop3-send-command): Call elmo-pop3-debug.
6807         (elmo-pop3-read-response): Added keep-lock optional argument;
6808         Don't unlock if keep-lock is non-nil.
6809         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6810         (elmo-network-authenticate-session): Bind
6811         elmo-pop3-debug-inhibit-logging as t.
6812         (elmo-network-setup-session): Call elmo-pop3-read-response with
6813         keep-lock argument.
6814         (elmo-pop3-read-msg): Ditto.
6815         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6816         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6817         (elmo-network-initialize-session): Call elmo-pop3-lock.
6818         (elmo-folder-close-internal): Don't clear location-alist slot.
6819         (elmo-folder-check): Clear location-alist slot.
6820
6821 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6822
6823         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6824         (elmo-pop3-send-command): Call elmo-pop3-lock.
6825         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6826         (elmo-pop3-read-contents): Ditto.
6827         (elmo-pop3-lock): New function.
6828         (elmo-pop3-unlock): Ditto.
6829         (elmo-pop3-locked-p): Ditto.
6830         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6831         returns t.
6832
6833 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6834
6835         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6836
6837         * elmo-util.el (elmo-file-field-primitive-condition-match):
6838         New inline function (Don't fetch file content if "first" or "last").
6839         (elmo-file-field-condition-match): Use
6840         elmo-file-field-primitive-condition-match.
6841
6842         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6843         "first".
6844
6845         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6846         (elmo-message-fetch-plugged): Fixed.
6847
6848         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6849
6850 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6851
6852         * elmo.el (elmo-folder-move-messages): Bind
6853         elmo-inhibit-display-retrieval-progress as t while moving messages.
6854
6855         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6856         New variable.
6857         (elmo-inhibit-display-retrieval-progress): Ditto.
6858
6859         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6860         for retrieval progress;
6861         Don't display progress when total buffer size is smaller than
6862         elmo-display-retrieval-progress-threshold.
6863         (elmo-message-fetch-plugged): Don't display progress when
6864         elmo-inhibit-display-retrieval-progress is non-nil.
6865
6866         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6867         for retrieval progress;
6868         Don't display progress when literal size is smaller than
6869         elmo-display-retrieval-progress-threshold.
6870         (elmo-imap4-message-fetch): Don't display progress when
6871         elmo-inhibit-display-retrieval-progress is non-nil.
6872
6873 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6874
6875         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6876         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6877         (elmo-imap4-message-fetch): Likewise.
6878
6879         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6880         (elmo-shimbun-index-range-alist): Ditto.
6881         (elmo-shimbun-use-entire-index): Abolish.
6882         (shimbun-mua-use-entire-index): Ditto.
6883         (elmo-shimbun-folder): Added new slot `range'.
6884         (elmo-folder-initialize): Setup slot `range'.
6885
6886 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6887
6888         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6889         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6890         (elmo-shimbun-get-headers): Use return value of
6891         `shimbun-article-expiration-days'.
6892         (elmo-folder-close-internal): Clean up last-check slot.
6893
6894         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6895         (elmo-pop3-total-size): New variable.
6896         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6897
6898         * elmo.el (elmo-folder-reserve-status-p): New method.
6899
6900         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6901         (elmo-shimbun-use-entire-index): New user option.
6902         (shimbun-elmo-mua): New class.
6903         (shimbun-mua-search-id): Define.
6904         (shimbun-mua-use-entire-index): Ditto.
6905         (elmo-shimbun-folder:last-check): New slot.
6906         (elmo-shimbun-headers-cache-header-list): Abolish.
6907         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6908         (elmo-shimbun-headers-cache-header-hash): Ditto.
6909         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6910         (elmo-shimbun-headers-cache-last-check): Ditto.
6911         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6912         (elmo-shimbun-headers-check-p): Rewrite.
6913         (elmo-shimbun-msgdb-to-headers): New function.
6914         (elmo-shimbun-get-headers): Rewrite.
6915         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6916         (elmo-folder-open-internal): Get headers only if
6917         `elmo-shimbun-headers-check-p' is non-nil.
6918         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6919         is non-nil.
6920         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6921         (elmo-quit): Removed.
6922
6923         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6924         function.
6925         (elmo-msgdb-overview-entity-set-extra): Ditto.
6926         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6927
6928         * elmo-map.el (elmo-folder-status): Don't call
6929         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6930         is non-nil.
6931
6932 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6933
6934         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6935         of `elmo-msgdb-search-internal-primitive' when condition's car is
6936         `and' or `or'.
6937
6938 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6939
6940         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6941
6942 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6943
6944         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6945         call `elmo-pipe-drain'.
6946
6947 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6948
6949         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6950         typo. (elmo-cache-folder -> elmo-mark-folder)
6951
6952 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6953
6954         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6955         `elmo-message-fetch'.
6956
6957 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6958
6959         * elmo-net.el (elmo-message-encache): Fixed typo.
6960         (elmo-message-fetch-unplugged): Changed call
6961         `elmo-message-fetch-internal' without argument `outbuf'.
6962
6963 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6964
6965         * elmo.el (elmo-message-encache): Define as generic function.
6966         (elmo-message-fetch-field): New generic function.
6967         (elmo-message-fetch-with-cache-process): Cause an error when
6968         fetch strategy is 'entire but only 'section cache is available.
6969         (toplevel): Fixed nmz folder definition.
6970
6971         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6972         (elmo-msgdb-resume-list-filename): Ditto.
6973         (elmo-queue-filename): Ditto.
6974         (elmo-enable-disconnected-operation): Changed default value to t.
6975
6976         * elmo-util.el (elmo-cache-path-section-p): New function.
6977         (elmo-file-cache-get): Use it.
6978         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6979         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6980         (elmo-dop-queue-save): Ditto.
6981
6982         * elmo-net.el (elmo-folder-status-unplugged): Call
6983         elmo-folder-status-dop.
6984         (elmo-folder-list-messages-unplugged): Implemented.
6985         (elmo-folder-delete-messages-unplugged): Define.
6986         (elmo-folder-msgdb-create): Define.
6987         (elmo-folder-msgdb-create-unplugged): Define.
6988         (elmo-folder-mark-as-read-unplugged): Ditto.
6989         (elmo-folder-unmark-read-unplugged): Ditto.
6990         (elmo-folder-mark-as-important-unplugged): Ditto.
6991         (elmo-folder-unmark-important-unplugged): Ditto.
6992         (elmo-message-encache): Ditto.
6993
6994         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6995         (elmo-dop-queue-save): Ditto.
6996
6997         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6998         `elmo-folder-msgdb-create'.
6999         (elmo-folder-append-buffer): Implemented unplugged operation.
7000         (elmo-folder-append-messages): Call parent method in unplugged status.
7001         (elmo-message-fetch-unplugged): Removed definition.
7002         (elmo-message-fetch-field): Implemented.
7003
7004         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7005         (elmo-dop-folder): Removed variable definition.
7006         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7007         (elmo-dop-queue-flush): Implemented.
7008         (elmo-dop-queue-merge): Removed definition (TODO).
7009         (elmo-dop-spool-folder): New function.
7010         (elmo-dop-spool-folder-append-buffer): Ditto.
7011         (elmo-dop-spool-folder-list-messages): Ditto.
7012         (elmo-dop-list-deleting-messages): Ditto.
7013         (elmo-folder-append-buffer-dop): Ditto.
7014         (elmo-folder-delete-messages-dop): Ditto.
7015         (elmo-message-encache-dop): New inline function.
7016         (elmo-create-folder-dop): Ditto.
7017         (elmo-folder-mark-as-read-dop): Ditto.
7018         (elmo-folder-unmark-read-dop): Ditto.
7019         (elmo-folder-mark-as-important-dop): Ditto.
7020         (elmo-folder-unmark-important-dop): Ditto.
7021         (elmo-folder-status-dop): Fixed.
7022         (elmo-folder-append-buffer-dop-delayed): New function.
7023         (elmo-folder-delete-messages-dop-delayed): Ditto.
7024         (elmo-dop-msgdb): Ditto.
7025
7026 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7027
7028         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7029
7030 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7031
7032         * elmo.el (elmo-folder-move-messages): Fixed problem when
7033         `dst-folder' is 'null.
7034
7035 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7036
7037         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7038         instead of current mark.
7039
7040         * elmo-multi.el (elmo-folder-list-importants-internal): No
7041         operation if importants is not list.
7042
7043         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7044         Return t if importants is not list.
7045
7046         * elmo-map.el (elmo-map-folder-list-importants): Define.
7047         (elmo-folder-list-importants-internal): Check return value of
7048         `elmo-map-folder-list-importants-internal'.
7049
7050         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7051
7052         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7053
7054         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7055
7056         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7057
7058 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7059
7060         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7061         (Patch is provided by <kita@coe.nttdata.co.jp>).
7062
7063 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7064
7065         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7066         mark folder.
7067
7068 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7069
7070         * elmo.el (elmo-message-fetch): Define.
7071         (elmo-message-fetch-with-cache-process): New generic method.
7072         (elmo-message-fetch-internal): New generic method.
7073         (elmo-folder-synchronize):
7074
7075         * elmo-archive.el (elmo-message-fetch-internal): Define.
7076         (elmo-message-fetch): Eliminated.
7077
7078         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7079         (elmo-message-fetch): Eliminated.
7080
7081         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7082         argument OUTBUF.
7083         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7084
7085         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7086         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7087
7088         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7089         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7090
7091         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7092
7093         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7094
7095         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7096
7097         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7098         (elmo-message-fetch-unplugged): New generic method.
7099         (elmo-message-fetch-internal): Remove cache process (Renamed from
7100         `elmo-message-fetch').
7101
7102         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7103         (elmo-message-fetch): Eliminated.
7104         (elmo-message-fetch-unplugged): Ditto.
7105
7106         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7107
7108 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7109
7110         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7111         of `to-be-deleted' from number-alist to number-list.
7112
7113 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7114
7115         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7116         (elmo-folder-mark-as-important): Ditto.
7117
7118 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7119
7120         * elmo.el (elmo-folder): Added process-duplicates slot.
7121
7122         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7123         (elmo-folder-unmark-read): Ditto.
7124         (elmo-folder-unmark-important): Ditto.
7125         (elmo-folder-mark-as-important): Ditto.
7126
7127         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7128         duplicated message processing.
7129
7130         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7131
7132 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7133
7134         * elmo-util.el (elmo-list-subdirectories-1): New function.
7135         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7136         (elmo-mapcar-list-of-list): New function.
7137
7138         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7139         `elmo-mapcar-list-of-list' instead of `mapcar'.
7140
7141         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7142
7143         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7144         `elmo-have-link-count'. Return the fully qualified folder name.
7145
7146 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7147
7148         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7149         (elmo-shimbun-headers-cache): New internal variable.
7150         (elmo-shimbun-headers-cache-header-list): New inline function.
7151         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7152         (elmo-shimbun-headers-cache-header-hash): Ditto.
7153         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7154         (elmo-shimbun-headers-cache-last-check): Ditto.
7155         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7156         (elmo-shimbun-lapse-seconds): Ditto.
7157         (elmo-shimbun-headers-cache-check-p): Ditto.
7158         (elmo-shimbun-get-headers): New function.
7159         (elmo-folder-open-internal): Call it.
7160         (elmo-quit): Define (Clear headers-cache).
7161
7162 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7163
7164         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7165
7166         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7167         (elmo-msgdb-flist-save): Ditto.
7168
7169         * elmo-shimbun.el (elmo-folder-list-subfolders):
7170         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7171         (elmo-folder-exists-p): Ditto.
7172
7173         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7174         argument for `shimbun-header-insert'.
7175
7176 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7177
7178         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7179         at first time.
7180
7181         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7182         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7183
7184 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7185
7186         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7187         (elmo-folder-plugged-p): Define.
7188         (elmo-folder-set-plugged): Ditto.
7189         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7190         (elmo-folder-list-messages-internal): Return t if unplugged.
7191         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7192
7193         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7194         when elmo-folder-list-messages-internal method of children returns t.
7195
7196         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7197         pair is nil.
7198         (elmo-folder-open-internal): Don't update if unplugged status.
7199
7200 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7201
7202         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7203         new message.
7204
7205 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7206
7207         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7208
7209         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7210         saving.
7211
7212 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7213
7214         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7215
7216         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7217         (elmo-folder-open-internal): Set up headers slot.
7218         (elmo-folder-check): Call elmo-folder-close-internal and
7219         elmo-folder-open-internal.
7220         (elmo-folder-close-internal): Clean up headers slot.
7221
7222 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7223
7224         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7225         exactly folder list.
7226         (elmo-folder-append-messages): Fixed append archive with prefix.
7227
7228         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7229         make temp files with start-number.
7230
7231         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7232
7233 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7234
7235         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7236         argument `visible-only'.
7237         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7238         instead of `if'.
7239
7240         * elmo-pop3.el (elmo-folder-open-internal): Check
7241         `elmo-inhibit-number-mapping' is non-nil.
7242
7243         * elmo-pipe.el (elmo-folder-status): Fixed.
7244
7245 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7246
7247         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7248
7249         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7250         (elmo-folder-open-internal): Setup `header-hash' slot.
7251         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7252         information.
7253         (elmo-map-message-fetch): Ditto.
7254
7255 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7256
7257         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7258         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7259         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7260         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7261
7262         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7263
7264 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7265
7266         * sb-airs.el: Added footer.
7267
7268         * shimbun.el (shimbun-article): Define as luna-method.
7269
7270         * sb-tcup.el: New file.
7271
7272         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7273         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7274
7275 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7276
7277         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7278         (shimbun-get-headers): Ditto.
7279
7280         * elmo.el: Moved obsolete variable definitions from
7281         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7282
7283         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7284         groups.
7285
7286         * shimbun.el: New file.
7287
7288         * elmo-shimbun.el: New file.
7289
7290         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7291         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7292         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7293         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7294
7295 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7296
7297         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7298         hierarchy is t.
7299
7300 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7301
7302         * elmo.el (elmo-folder-msgdb): Define as macro.
7303         (elmo-folder-open): Added argument `load-msgdb'.
7304         (elmo-generic-folder-open): Ditto.
7305         (elmo-folder-encache): New function.
7306
7307         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7308
7309         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7310
7311         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7312         Eliminated argument FOLDER and added argument MSGDB.
7313         (elmo-dop-queue-load): Moved from elmo-dop.el.
7314         (elmo-dop-queue-save): Ditto.
7315
7316         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7317
7318         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7319
7320         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7321         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7322         (elmo-filter-folder-list-importants-internal): Ditto.
7323
7324         * elmo-map.el (elmo-folder-pack-number): Ditto.
7325
7326         * elmo-mime.el (elmo-mime-message-display): Ditto.
7327
7328         * elmo.el (elmo-generic-folder-commit): Ditto.
7329         (elmo-folder-list-unreads): Ditto.
7330         (elmo-folder-list-importants): Ditto.
7331         (elmo-generic-folder-commit): Ditto.
7332         (elmo-message-set-mark): Ditto.
7333         (elmo-generic-folder-append-msgdb): Ditto.
7334         (elmo-folder-synchronize): Ditto.
7335         (elmo-folder-messages): Ditto.
7336         (elmo-init): Call elmo-dop-queue-load.
7337         (elmo-folder-list-messages): Ditto.
7338
7339         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7340         (elmo-nntp-folder-process-crosspost): Ditto.
7341         (elmo-folder-list-unreads-internal): Ditto.
7342
7343         * elmo-dop.el: Removed old functions.
7344
7345 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7346
7347         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7348         `folder' to `msgdb'.
7349
7350 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7351
7352         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7353         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7354
7355         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7356         case-fold-search.
7357
7358 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7359
7360         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7361         defined.
7362
7363         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7364         (mmimap-parse-parameters-from-list): Define as alias for
7365         `mime-decode-parameter-plist' if it is defined as function.
7366         (mmimap-make-mime-entity): Added argument `number'.
7367         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7368         as 0.
7369         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7370
7371         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7372
7373         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7374
7375         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7376
7377 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7378
7379         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7380
7381         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7382         when elmo-imap4-default-authenticate-type is nil.
7383         (elmo-folder-list-subfolders): Ditto
7384         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7385         (elmo-imap4-fetch-callback-1-subr): Renamed from
7386         `elmo-imap4-fetch-callback-1' and define as inline function.
7387         (elmo-imap4-fetch-callback-1):
7388         Renamed from `elmo-imap4-fetch-callback'.
7389         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7390
7391         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7392         msgdb path (To keep compatibility with main trunk).
7393
7394         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7395
7396         * elmo-util.el (elmo-make-file-cache): Moved position of
7397         some macros.
7398
7399         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7400         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7401         instead of `elmo-pop3-inhibit-uidl'.
7402         (elmo-folder-exists-p): Ditto.
7403         (elmo-pop3-folder-list-messages): Ditto.
7404
7405         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7406         instead of `elmo-pop3-inhibit-uidl'.
7407         (elmo-folder-status): Ditto.
7408
7409         * elmo-dop.el (elmo-dop-folder): New variable.
7410         (elmo-dop-lock-message): Eliminated.
7411         (elmo-dop-unlock-message): Ditto.
7412         (elmo-dop-lock-list-load): Ditto.
7413         (elmo-dop-lock-list-save): Ditto.
7414         (elmo-dop-delete-folder): Ditto.
7415         (elmo-dop-rename-folder): Ditto.
7416
7417         * elmo.el: Removed incomplete commentary.
7418
7419 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7420
7421         * elmo.el (toplevel): Require 'elmo-version first;
7422         for little `recursive-load-depth' settings.
7423         Fix "ends here" comment.
7424
7425 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7426
7427         * elmo-util.el (toplevel): Require 'poem;
7428         Some functions are moved from elmo-cache.el.
7429
7430         * elmo-net.el (toplevel): Require 'elmo-cache.
7431
7432         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7433
7434         * elmo.el (toplevel): Ditto.
7435
7436         * elmo-cache.el: Rewrite with luna;
7437         Some functions are moved to elmo-util.el.
7438
7439         * elmo-internal.el (elmo-internal-folder-list): New variable.
7440         (elmo-internal-folder-initialize): Rewrite.
7441         (elmo-folder-list-subfolders): Ditto.
7442
7443         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7444         (elmo-cache-collect-sub-directories): Ditto.
7445
7446 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7447
7448         * elmo-version.el (elmo-version): Up to 2.5.8.
7449
7450         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7451
7452         * elmo-util.el (elmo-list-insert): New function.
7453
7454 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7455
7456         * elmo.el (elmo-init): New function.
7457         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7458
7459         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7460         (Renamed from `elmo-localdir-header-chop-length').
7461
7462         * elmo-pop3.el (elmo-pop3-use-cache,
7463         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7464
7465         * elmo-nntp.el (elmo-message-fetch): Define.
7466         (elmo-message-fetch-unplugged): Ditto.
7467         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7468         (elmo-nntp-use-cache): Ditto.
7469         (elmo-nntp-max-number-precedes-list-active): Ditto.
7470
7471         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7472
7473         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7474         `elmo-msgdb-insert-file-header'.
7475         Use `elmo-msgdb-file-header-chop-length'.
7476
7477         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7478         `elmo-vars.el'.
7479
7480         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7481         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7482         `elmo-msgdb-insert-file-header'.
7483
7484         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7485         Use new variable;
7486         Define obsolete variables with `elmo-define-obsolete-variable',
7487
7488         * elmo-util.el (elmo-warning-buffer-name): New constant.
7489         (elmo-warning): New function.
7490         (elmo-obsolete-variable-alist): New variable.
7491         (elmo-obsolete-variable-show-warnings): New variable.
7492         (elmo-define-obsolete-variable): New function.
7493         (elmo-resque-obsolete-variable): Ditto.
7494         (elmo-resque-obsolete-variables): Ditto.
7495
7496 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7497
7498         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7499         Eliminated.
7500
7501         * elmo-pop3.el, elmo-nntp.el: Use custom.
7502
7503 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7504
7505         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7506         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7507
7508 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7509
7510         * Luna-fy Kenichi OKADA's following changes.
7511         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7512         `nohide'.
7513         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7514
7515 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7516
7517         * elmo-util.el (elmo-display-progress): Prefer
7518         `progress-feedback-with-label' to `lprogress-display'.
7519
7520 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7521
7522         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7523
7524 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7525
7526         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7527         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7528         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7529         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7530         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7531         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7532         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7533         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7534         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7535         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7536         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7537         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7538         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7539
7540 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7541
7542         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7543         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7544
7545 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7546
7547         * elmo.el (elmo-folder-process-crosspost): New generic method.
7548         (elmo-folder-writable-p): Ditto.
7549         (elmo-folder-message-appendable-p): Eliminated.
7550         (elmo-generic-folder-append-msgdb): Rewrite.
7551         (elmo-newsgroups-hashtb): New internal variable.
7552         (elmo-crosspost-message-set): Eliminated.
7553         (elmo-crosspost-message-delete): Ditto.
7554         (elmo-setup-subscribed-newsgroups): New function.
7555         (elmo-crosspost-message-alist-modified): New internal variable.
7556         (elmo-crosspost-message-alist-load): New function (Renamed from
7557         `wl-crosspost-alist-load').
7558         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7559         `wl-crosspost-alist-save').
7560
7561         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7562
7563         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7564         `unreads'.
7565         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7566         elmo-newsgroups-hashtb).
7567         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7568         `elmo-nntp-folder-update-crosspost-message-alist'.
7569         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7570         `elmo-nntp-groups-hashtb'.
7571         (elmo-nntp-make-groups-hashtb): Eliminated.
7572         (elmo-nntp-parse-newsgroups): New function (Renamed from
7573         `wl-parse-newsgroups').
7574         (elmo-folder-creatable-p, elmo-folder-writable-p,
7575         elmo-folder-close-internal, elmo-folder-mark-as-read,
7576         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7577         Define.
7578         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7579
7580         * elmo-net.el (elmo-message-fetch): Check buffer size.
7581
7582         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7583
7584         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7585
7586         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7587         before `close' command.
7588
7589         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7590         `mark-alist' (All other related portions are changed).
7591
7592 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7593
7594         * elmo-util.el (elmo-create-hash-size): Eliminated.
7595         (elmo-make-hash) Make a hash with `one less than a power of two'
7596         length.
7597
7598         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7599         (elmo-hash-maximum-size): Changed value.
7600
7601 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7602
7603         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7604         (elmo-mime-message-display-as-is): Ditto.
7605
7606 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7607
7608         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7609         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7610
7611 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7612
7613         * elmo-mark.el: New file.
7614
7615         * elmo-internal.el: Rewrite (Almost empty).
7616
7617 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7618
7619         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7620         (mime-imap-entity-header-string): Ditto.
7621         (mmimap-entity-section): Rewrite.
7622
7623 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7624
7625         * elmo-nmz.el: New file.
7626
7627         * elmo-pipe.el: Rewrite with luna.
7628
7629 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7630
7631         * elmo-archive.el: Rewrite with luna.
7632
7633         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7634         (elmo-folder-list-importants-internal): Ditto.
7635
7636 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7637
7638         * elmo-archive.el (elmo-archive-version): Abolish.
7639         (toplevel) Removed `boso' comment.
7640
7641 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7642
7643         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7644         elmo-msgdb-add-msgs-to-seen-list-subr;
7645         Changed argument seen-marks to unread-marks.
7646
7647         * elmo-nntp.el: Rewrite with luna.
7648
7649 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7650
7651         * elmo-filter.el: Rewrite with luna.
7652
7653 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7654
7655         * elmo-pop3.el: Rewrite with luna.
7656
7657 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7658
7659         * elmo-multi.el: Rewrite with luna.
7660
7661         * elmo-vars.el (elmo-use-killed-list): Abolish.
7662         All other related portions are changed.
7663         (elmo-filename-replace-string-alist): Renamed from
7664         elmo-msgid-replace-string-alist.
7665
7666 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7667
7668         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7669
7670         * elmo-map.el: New file.
7671         * elmo-maildir.el: Rewrite with luna.
7672
7673 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7674
7675         * elmo.el: Changed meaning of `elmo-folder-commit'.
7676         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7677
7678 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7679
7680         * elmo.el (elmo-folder-append-buffer): New function.
7681         (Renamed from `elmo-append-msg')
7682
7683 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7684
7685         * elmo-mime.el: New file.
7686
7687 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7688
7689         * elmo-cache.el: Rewrite.
7690
7691 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7692
7693         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7694
7695 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7696
7697         * elmo-vars.el (elmo): New group.
7698         (elmo-strict-diff-folder-regexp): New variable.
7699
7700         * elmo-util.el (elmo-call-func): Abolish.
7701         (elmo-folder-get-type): Ditto.
7702         (elmo-*-get-spec): Ditto.
7703         (elmo-*-spec-*): Ditto.
7704         (elmo-imap4-identical-name-space-p): Ditto.
7705         (elmo-folder-identical-system-p): Ditto.
7706         (elmo-folder-direct-copy-alist): Ditto.
7707         (elmo-folder-direct-copy-p): Ditto.
7708
7709         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7710         (elmo-folder-initialize): Define.
7711         (elmo-folder-get-primitive-list): Ditto.
7712
7713         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7714         (elmo-folder-initialize): Define.
7715         Renamed `elmo-network-session-host-internal' to
7716         `elmo-network-session-server-internal'.
7717
7718         * elmo-multi.el (elmo-multi-folder): New luna class.
7719         (elmo-folder-initialize): Define.
7720         (elmo-folder-get-primitive-list): Ditto.
7721         (elmo-folder-contains-type): Ditto.
7722         (elmo-message-use-cache-p): Ditto.
7723
7724         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7725         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7726
7727         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7728         (elmo-folder-initialize): Define.
7729
7730         * elmo-filter.el (elmo-filter-folder): New luna class.
7731         (elmo-folder-initialize): Define.
7732         (elmo-folder-get-primitive-list): Ditto.
7733         (elmo-folder-contains-type): Ditto.
7734
7735 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7736
7737         * elmo-imap4.el: Rewrite with luna.
7738
7739         * mmimap.el: New file.
7740
7741         * mmelmo.el, mmelmo-imap4.el: Removed.
7742
7743         * elmo-net.el: Ditto.
7744
7745         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7746         (elmo-folder-initialize): Define.
7747
7748         * elmo-archive.el (elmo-archive-folder): New luna class.
7749         (elmo-folder-initialize): Define.
7750
7751         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7752         `elmo-folder-msgdb-path'.
7753         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7754         `elmo-make-folder'.
7755
7756 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7757
7758         * elmo.el: New file.
7759
7760         * elmo2.el: Renamed to elmo.el.
7761
7762 \f
7763 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7764
7765         * elmo-cache.el (elmo-cache-expire-by-size): Count
7766         a disk usage for a cache file entry in KB even when
7767         its kind is a directory.
7768
7769 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7770
7771         * elmo-version.el (elmo-version): Up to 2.5.7.
7772
7773 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7774
7775         * elmo-version.el (elmo-version): Up to 2.5.6.
7776
7777 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7778
7779         * elmo-version.el (elmo-version): Up to 2.5.5.
7780
7781 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7782
7783         * elmo-imap4.el (elmo-network-authenticate-session):
7784         Fixed a logic for response checking.
7785
7786 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7787
7788         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7789         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7790         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7791         `sasl-mechanisms'.
7792
7793         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7794         for `starttls-open-stream' and `starttls-negotiate'.
7795
7796         * elmo-nntp.el: Remove autoload settings for
7797         `starttls-open-stream' and `starttls-negotiate'.
7798
7799         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7800         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7801         `luna-define-class' with `eval-and-compile'.
7802
7803 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7804
7805         * elmo-util.el (elmo-read-search-condition-internal):
7806         Require an element of table for searching field.
7807
7808 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7809
7810         * elmo-version.el (elmo-version): Up to 2.5.4.
7811
7812 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7813
7814         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7815
7816 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7817
7818         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7819
7820 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7821
7822         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7823         before greeting.
7824
7825 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7826
7827         * elmo-imap4.el (elmo-imap4-delete-folder):
7828         Send "close" before "delete" (Use commented out line).
7829         (elmo-imap4-rename-folder): Ditto.
7830
7831         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7832         folder string itself.
7833         (elmo-dop-list-deleted): New function.
7834         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7835         killed.
7836
7837         * elmo-util.el (elmo-string-rassoc-all): New function.
7838
7839 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7840
7841         * elmo-version.el (elmo-version): Up to 2.5.3.
7842
7843         * elmo-net.el (elmo-network-get-session): Changed logic for
7844         checking process status.
7845
7846         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7847         process is nil;
7848         Changed logic for checking process status.
7849
7850 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7851
7852         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7853         before greeting.
7854         (elmo-network-setup-session): Set UIDL hash size according to
7855         the length of list response.
7856         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7857         according to the length of list response;
7858         Return the length of list response.
7859         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7860
7861 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7862
7863         * elmo-imap4.el (toplevel): Require 'ssl.
7864         Add autoload 'starttls.
7865         * elmo-pop3.el (toplevel): Ditto.
7866         * elmo-nntp.el (toplevel): Ditto.
7867
7868 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7869
7870         * elmo-imap4.el (toplevel): defun at compile time.
7871         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7872         sasl-next-step, sasl-step-data, sasl-step-set-data.
7873         * elmo-pop3.el (toplevel): Ditto.
7874
7875 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7876
7877         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7878
7879 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7880
7881         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7882         if error.
7883         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7884         and `elmo-pop-auth-apop'.
7885
7886 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7887
7888         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7889
7890 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7891
7892         * elmo-pop3.el (elmo-network-authenticate-session): Split
7893         encoded response value.
7894
7895 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7896
7897         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7898         `elmo-pop3-force-login'.
7899         Redefine `sasl-mechanisms'.
7900         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7901
7902 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7903
7904         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7905         Delete `elmo-imap4-authenticator-alist'.
7906         (elmo-imap4-auth-cram-md5): Delete.
7907         (elmo-imap4-auth-digest-md5): Delete.
7908
7909 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7910
7911         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7912         (elmo-pop3-auth-scram-md5): Ditto.
7913         (elmo-pop3-auth-cram-md5): Ditto.
7914
7915 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7916
7917         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7918         Delete `elmo-pop3-authenticator-alist'.
7919
7920 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7921
7922         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7923         new SASL API.
7924         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7925
7926 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7927
7928         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7929
7930 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7931
7932         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7933         Fixed problem when `elmo-pop3-use-uidl' is nil.
7934         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7935
7936 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7937
7938         * elmo-version.el (elmo-version): Up to 2.5.2.
7939
7940 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7941
7942         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7943         New function.
7944         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7945         (elmo-pop3-msgdb-create-as-numlist): Use it.
7946
7947         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7948         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7949
7950         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7951         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7952
7953 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7954
7955         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7956         when elmo-mark-as-read is called with second argument nil.
7957
7958 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7959
7960         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7961         Moved to elmo-util.el.
7962
7963         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7964         Moved from elmo-pipe.el
7965
7966         * elmo-archive.el (elmo-archive-call-process): Enclose with
7967         static-if.
7968
7969         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7970         "RFC822" (because RFC822.PEEK is obsolete).
7971         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7972
7973 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7974
7975         * elmo-archive.el (elmo-archive-call-process): Don't check for
7976         the exit status when Nemacs is running.
7977
7978 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7979
7980         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7981         'plain.
7982
7983         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7984         (elmo-pop3-get-spec): Set default of auth to 'user.
7985
7986         * elmo-imap4.el (elmo-imap4-session-check):
7987         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7988         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7989         (elmo-imap4-auth-login): New function; Revival.
7990         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7991         `elmo-imap4-auth-login'.
7992
7993 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7994
7995         * elmo2.el (toplevel): Move `product-provide' declare.
7996         * mmelmo.el (toplevel): Ditto.
7997
7998 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7999
8000         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8001
8002 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8003
8004         * elmo-util.el (elmo-folder-get-store-type): New function.
8005         (elmo-folder-direct-copy-p): Use it.
8006
8007 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8008
8009         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8010         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8011         and result of `elmo-imap4-use-flag-p'.
8012         (elmo-imap4-fetch-callback-1): Set mark according to
8013         the result of `elmo-imap4-use-flag-p'.
8014
8015 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8016
8017         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8018         (elmo-generic-list-folder-unread): Ditto.
8019         (elmo-folder-get-info): Ditto.
8020         (elmo-folder-set-info-max-by-numdb): Ditto.
8021         (elmo-folder-get-info-max): Ditto.
8022         (elmo-folder-get-info-length): Ditto.
8023         (elmo-folder-get-info-unread): Ditto.
8024         (elmo-folder-info-make-hashtb): Ditto.
8025
8026         * elmo2.el: Removed above functions.
8027
8028 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8029
8030         * elmo-imap4.el (toplevel): Require 'ssl.
8031         Add autoload 'starttls.
8032         * elmo-pop3.el (toplevel): Ditto.
8033         * elmo-nntp.el (toplevel): Ditto.
8034
8035 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8036
8037         * elmo-imap4.el (toplevel): defun at compile time.
8038         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8039         sasl-next-step, sasl-step-data, sasl-step-set-data.
8040         * elmo-pop3.el (toplevel): Ditto.
8041
8042 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8043
8044         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8045
8046 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8047
8048         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8049         if error.
8050         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8051         and `elmo-pop-auth-apop'.
8052
8053 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8054
8055         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8056
8057 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8058
8059         * elmo-pop3.el (elmo-network-authenticate-session): Split
8060         encoded response value.
8061
8062 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8063
8064         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8065         `elmo-pop3-force-login'.
8066         Redefine `sasl-mechanisms'.
8067         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8068
8069 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8070
8071         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8072         Delete `elmo-imap4-authenticator-alist'.
8073         (elmo-imap4-auth-cram-md5): Delete.
8074         (elmo-imap4-auth-digest-md5): Delete.
8075
8076 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8077
8078         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8079         (elmo-pop3-auth-scram-md5): Ditto.
8080         (elmo-pop3-auth-cram-md5): Ditto.
8081
8082 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8083
8084         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8085         Delete `elmo-pop3-authenticator-alist'.
8086
8087 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8088
8089         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8090         new SASL API.
8091         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8092
8093 \f
8094 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8095
8096         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8097
8098 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8099
8100         * elmo-nntp.el (elmo-nntp-get-folders-info):
8101         Fixed problem when '\' character is contained in user-id.
8102         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8103
8104 \f
8105 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8106
8107         * elmo-imap4.el (elmo-imap4-delete-folder):
8108         Send "close" before "delete" (Use commented out line).
8109         (elmo-imap4-rename-folder): Ditto.
8110
8111         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8112         folder string itself.
8113         (elmo-dop-list-deleted): New function.
8114         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8115         killed.
8116
8117         * elmo-util.el (elmo-string-rassoc-all): New function.
8118
8119         * elmo-version.el (elmo-version): Up to 2.5.1.
8120
8121 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8122
8123         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8124
8125         * elmo-internal.el (elmo-internal-search): Fix last change.
8126
8127 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8128
8129         * elmo-internal.el (elmo-internal-search): Rewrite.
8130         (Fixed problem which is pointed out by Akihiro MOTOKI
8131         <motoki@da.jp.nec.com>)
8132
8133         * elmo-version.el (elmo-version): Up to 2.5.0.
8134
8135 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8136
8137         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8138
8139 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8140
8141         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8142         non-nil, make hierarchy.
8143
8144 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8145
8146         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8147         `elmo-pop3-use-uidl' must be bound to nil.
8148         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8149
8150 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8151
8152         * elmo-util.el (elmo-copy-file): Don't cause an error after
8153         `add-name-to-file' failed.
8154
8155         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8156         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8157
8158 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8159
8160         * elmo-version.el (elmo-version): Up to 2.3.93.
8161
8162 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8163
8164         * elmo-util.el (elmo-flatten): New function.
8165
8166 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8167
8168         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8169         sync Author header.
8170         * elmo-cache.el (toplevel): Ditto.
8171         * elmo-database.el (toplevel): Ditto.
8172         * elmo-date.el (toplevel): Ditto.
8173         * elmo-dop.el (toplevel): Ditto.
8174         * elmo-filter.el (toplevel): Ditto.
8175         * elmo-imap4.el (toplevel): Ditto.
8176         * elmo-internal.el (toplevel): Ditto.
8177         * elmo-localdir.el (toplevel): Ditto.
8178         * elmo-localnews.el (toplevel): Ditto.
8179         * elmo-maildir.el (toplevel): Ditto.
8180         * elmo-msgdb.el (toplevel): Ditto.
8181         * elmo-multi.el (toplevel): Ditto.
8182         * elmo-net.el (toplevel): Ditto.
8183         * elmo-nntp.el (toplevel): Ditto.
8184         * elmo-pipe.el (toplevel): Ditto.
8185         * elmo-pop3.el (toplevel): Ditto.
8186         * elmo-util.el (toplevel): Ditto.
8187         * elmo-vars.el (toplevel): Ditto.
8188         * elmo2.el (toplevel): Ditto.
8189         * mmelmo-imap4.el (toplevel): Ditto.
8190         * mmelmo.el (toplevel): Ditto.
8191
8192         * elmo-version.el (elmo-version): Move to top.
8193
8194         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8195         * elmo-imap4.el (toplevel): Ditto.
8196         * elmo-localdir.el (toplevel): Ditto.
8197         * elmo-msgdb.el (toplevel): Ditto.
8198         * elmo-nntp.el (toplevel): Ditto.
8199         * elmo-pop3.el (toplevel): Ditto.
8200         * elmo-version.el (toplevel): Ditto.
8201
8202         * elmo-localnews.el (toplevel): Added Keyword header.
8203
8204 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8205
8206         * elmo-version.el (product-version-as-string): Defined using
8207         `defun-maybe'.
8208         (toplevel): Use it.
8209
8210         * elmo-localdir.el (toplevel): Updated copyright notice.
8211         * elmo-version.el (toplevel): Ditto.
8212         * elmo-msgdb.el (toplevel): Ditto.
8213         * elmo-imap4.el (toplevel): Ditto.
8214         * elmo-nntp.el (toplevel): Ditto.
8215         * elmo-pop3.el (toplevel): Ditto.
8216
8217 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8218
8219         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8220         messages.
8221
8222         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8223         parameter value (It sometimes contains raw kanji).
8224
8225 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8226
8227         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8228         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8229
8230 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8231
8232         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8233
8234 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8235
8236         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8237         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8238
8239 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8240
8241         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8242         value if selecting folder succceeded.
8243         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8244
8245 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8246
8247         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8248         representation.
8249
8250         * elmo-util.el (elmo-string-matched-member): New function.
8251
8252 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8253
8254         * elmo-util.el (elmo-unintern): New macro.
8255         (elmo-number-set-member): Fixed docstring.
8256
8257         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8258         tag token.
8259
8260 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8261
8262         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8263         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8264
8265 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8266
8267         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8268         `no-error'.
8269         Added docstring.
8270         Return non-nil if selecting folder succeeded.
8271         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8272
8273 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8274
8275         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8276         `file-name-completion' returns t.
8277         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8278         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8279         directory if it does not exist.
8280         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8281         for iteration.
8282
8283 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8284
8285         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8286         enclosure (It's harmful in unplugged status).
8287
8288         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8289
8290         * mmelmo-1.el: Removed.
8291
8292         * mmelmo-2.el: Ditto.
8293
8294         * mmelmo-imap4-1.el: Ditto.
8295
8296         * mmelmo-imap4-2.el: Ditto.
8297
8298         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8299
8300         * mmelmo.el: Merged mmelmo-2.el.
8301
8302         * elmo-version.el (elmo-version): Up to 2.3.92.
8303
8304 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8305
8306         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8307         elmo-update-number): Remove last period in "...done." message.
8308         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8309         Ditto.
8310         * elmo-cache.el (elmo-cache-expire-by-size,
8311         elmo-cache-get-sorted-cache-file-list,
8312         elmo-cache-msgdb-create-as-numlist): Ditto.
8313         * elmo-dop.el (elmo-dop-save-pending-messages,
8314         (elmo-dop-flush-pending-append-operations): Ditto.
8315         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8316         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8317         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8318         (elmo-localdir-pack-number): Ditto.
8319         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8320         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8321         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8322         mime-write-entity-content): Ditto.
8323         * pldap.el (ldap-search-basic): Ditto.
8324
8325 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8326
8327         * elmo-version.el (elmo-version): Up to 2.3.91.
8328
8329         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8330         Only when filter is 'last'.
8331
8332         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8333         (elmo-condition-parse-search-value): Use it.
8334         (elmo-read-search-condition-internal): Quote value only when
8335         it is not an atom.
8336
8337 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8338
8339         * elmo2.el (elmo-generic-folder-diff): Fix.
8340
8341 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8342
8343         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8344         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8345         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8346         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8347         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8348         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8349
8350 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8351
8352         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8353         extra-fields.
8354
8355 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8356
8357         * elmo-version.el (elmo-version): Up to 2.3.90.
8358
8359         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8360         (elmo-imap4-list-folder-important): Ditto.
8361
8362 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8363
8364         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8365
8366 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8367
8368         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8369
8370 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8371
8372         * elmo-nntp.el (elmo-network-initialize-session):
8373         Add starttls negotiation.
8374
8375 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8376
8377         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8378         response.
8379         (elmo-network-setup-session): Define.
8380         Call `elmo-nntp-send-mode-reader' when session opened.
8381
8382 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8383
8384         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8385
8386 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8387
8388         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8389         an invalid SPACE character ahead of `SEARCH' command.  Move
8390         a valid SPACE character following `SEARCH' from conditional
8391         `format' arguments to control-strings.
8392
8393 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8394
8395         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8396         was succeeded.
8397
8398         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8399
8400 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8401
8402         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8403         `w32-get-true-file-link-count' as t.
8404
8405         * elmo-imap4.el (elmo-imap4-read): Abolished.
8406         (Renamed to `elmo-read' and moved to elmo-util.el)
8407         All other related portions are changed.
8408
8409         * elmo-util.el (elmo-read): New function.
8410         (elmo-condition-parse-search-value): Use it.
8411
8412 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8413
8414         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8415
8416         * elmo-nntp.el (elmo-nntp-session): Define.
8417         (elmo-nntp-setting): Abolished.
8418         All other related portions are changed.
8419         (elmo-nntp-get-server-command): Changed argument.
8420         (elmo-nntp-set-server-command): Ditto.
8421         (elmo-nntp-xover-p): Ditto.
8422         (elmo-nntp-set-xover): Ditto.
8423         (elmo-nntp-listgroup-p): Ditto.
8424         (elmo-nntp-set-listgroup): Ditto.
8425         (elmo-nntp-list-active-p): Ditto.
8426         (elmo-nntp-set-list-active): Ditto.
8427         (elmo-nntp-xhdr-p): Ditto.
8428         (elmo-nntp-set-xhdr): Ditto.
8429         (elmo-nntp-flush-connection): Abolished.
8430         (elmo-nntp-get-connection): Abolished.
8431         (elmo-nntp-get-session): New function.
8432         (elmo-network-initialize-session): Defined.
8433         (elmo-network-authenticate-session): Ditto.
8434         (elmo-nntp-send-mode-reader): Changed argument.
8435         (elmo-nntp-send-command): Changed argument.
8436         All other related portions are changed.
8437         (elmo-nntp-read-response): Ditto.
8438         (elmo-nntp-read-raw-response): Ditto.
8439         (elmo-nntp-read-contents): Ditto.
8440         (elmo-nntp-read-body): Ditto.
8441         (elmo-nntp-goto-folder): Abolished.
8442         (elmo-nntp-select-group): New function.
8443         All other related portions are changed.
8444         (This function substitutes `elmo-nntp-goto-folder')
8445         (elmo-nntp-msgdb-create-by-header): Rewrite.
8446         (elmo-nntp-get-overview): Eliminated.
8447         (elmo-nntp-get-message): Ditto.
8448         (elmo-nntp-open-connection) Abolished.
8449         (elmo-nntp-read-msg): Rewrite.
8450         (elmo-nntp-post): Ditto.
8451         (elmo-nntp-send-data): Abolished.
8452         (elmo-nntp-send-buffer): New function.
8453         (elmo-nntp-send-data-line): Define as inline function.
8454         (elmo-nntp-get-folders-info-prepare): Use session as key.
8455         (elmo-nntp-groups-read-response): Changed argument.
8456         (elmo-nntp-retrieve-headers): Ditto.
8457         (elmo-nntp-msgdb-create-message): Ditto.
8458
8459         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8460         when searching by 'since' or 'before'.
8461
8462 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8463
8464         * elmo-version.el (toplevel): Use product-version-as-string for set
8465         verstion-string, if defined.
8466
8467 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8468
8469         * elmo-util.el: Doc fixes.
8470
8471 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8472
8473         * elmo-archive.el (toplevel): Use product-provide.
8474         * elmo-cache.el (toplevel): Ditto.
8475         * elmo-database.el (toplevel): Ditto.
8476         * elmo-date.el (toplevel): Ditto.
8477         * elmo-dop.el (toplevel): Ditto.
8478         * elmo-filter.el (toplevel): Ditto.
8479         * elmo-imap4.el (toplevel): Ditto.
8480         * elmo-internal.el (toplevel): Ditto.
8481         * elmo-localdir.el (toplevel): Ditto.
8482         * elmo-localnews.el (toplevel): Ditto.
8483         * elmo-maildir.el (toplevel): Ditto.
8484         * elmo-msgdb.el (toplevel): Ditto.
8485         * elmo-multi.el (toplevel): Ditto.
8486         * elmo-net.el (toplevel): Ditto.
8487         * elmo-nntp.el (toplevel): Ditto.
8488         * elmo-pipe.el (toplevel): Ditto.
8489         * elmo-pop3.el (toplevel): Ditto.
8490         * elmo-util.el (toplevel): Ditto.
8491         * elmo-vars.el (toplevel): Ditto.
8492         * elmo2.el (toplevel): Ditto.
8493         * mmelmo-1.el (toplevel): Ditto.
8494         * mmelmo-2.el (toplevel): Ditto.
8495         * mmelmo-imap4-1.el (toplevel): Ditto.
8496         * mmelmo-imap4-2.el (toplevel): Ditto.
8497         * mmelmo-imap4.el (toplevel): Ditto.
8498         * mmelmo.el (toplevel): Ditto.
8499
8500 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8501
8502         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8503         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8504
8505 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8506
8507         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8508         before splitting.
8509         (elmo-multi-split-number-alist): Ditto.
8510
8511 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8512
8513         * elmo-version.el: New file.  Use product.el.
8514         * elmo2.el: Add (require 'elmo-version).
8515         * elmo-vars.el (elmo-appname, elmo-version): Move to
8516         elmo-version.el
8517
8518 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8519
8520         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8521         `elmo-msgdb-expand-path'.
8522         (elmo-msgdb-load): Ditto.
8523         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8524         (elmo-generic-list-folder-unread): Rewrite.
8525         (elmo-generic-list-folder-important): Changed argument.
8526         (elmo-list-folder-unread): Ditto.
8527         (elmo-list-folder-important): Ditto.
8528         (elmo-folder-diff): Rewrite.
8529         (elmo-generic-folder-diff): New function.
8530         (elmo-multi-get-number-alist-list): Abolished
8531         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8532         (elmo-multi-folder-diff): Moved to elmo-multi.el
8533         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8534
8535         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8536         `elmo-msgdb-expand-path'.
8537         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8538         (elmo-pop3-read-msg): Ditto.
8539         (elmo-pop3-delete-msgs): Ditto.
8540         (elmo-pop3-folder-diff): New alias.
8541
8542         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8543         `elmo-msgdb-expand-path'.
8544         (elmo-pipe-list-folder-unread): Changed arguments.
8545         (elmo-pipe-list-folder-important): Ditto.
8546         (elmo-pipe-folder-diff): New alias.
8547
8548         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8549         `elmo-msgdb-expand-path'.
8550         (elmo-nntp-max-of-folder): Ditto.
8551         (elmo-nntp-msgdb-create): Ditto.
8552         (elmo-nntp-delete-msgs): Ditto.
8553         (elmo-nntp-folder-diff): New alias.
8554
8555         * elmo-multi.el (elmo-multi-folder-diff): New function.
8556         (elmo-multi-split-mark-alist): Ditto.
8557         (elmo-multi-split-number-alist): Ditto.
8558         (elmo-multi-mark-alist-list): Abolished (Renamed to
8559         elmo-multi-split-mark-alist).
8560         (elmo-multi-list-folder-unread): Rewrite.
8561         (elmo-multi-list-folder-important): Ditto.
8562         (elmo-multi-list-folder): Set `spec' as 1st argument for
8563         `elmo-msgdb-expand-path'.
8564         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8565         instead of `elmo-multi-get-number-alist-list'.
8566
8567         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8568         If 1st argument is not string, treat as spec.
8569         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8570         `elmo-msgdb-expand-path'.
8571         (elmo-msgdb-flist-load): Ditto.
8572         (elmo-msgdb-flist-save): Ditto.
8573         (elmo-msgdb-delete-path): Ditto.
8574         (elmo-msgdb-rename-path): Ditto.
8575
8576         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8577         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8578         (elmo-maildir-delete-mark-msgs): Ditto.
8579         (elmo-maildir-msgdb-create): Ditto.
8580         (elmo-maildir-read-msg): Ditto.
8581         (elmo-maildir-delete-msgs): Ditto.
8582         (elmo-maildir-list-folder-subr): Ditto.
8583         (elmo-maildir-search): Ditto.
8584         (elmo-maildir-get-msg-filename): Ditto.
8585         (elmo-maildir-pack-number): Ditto.
8586         (elmo-maildir-folder-diff): New alias.
8587
8588         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8589
8590         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8591         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8592         (elmo-localdir-folder-diff): New alias.
8593
8594         * elmo-internal.el (elmo-internal-list-folder-subr):
8595         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8596         (elmo-internal-list-folder-by-location): Ditto.
8597         (elmo-internal-msgdb-create): Ditto.
8598         (elmo-internal-delete-msgs): Ditto.
8599         (elmo-internal-read-msg): Ditto.
8600         (elmo-internal-folder-diff): New alias.
8601
8602         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8603         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8604         `elmo-msgdb-expand-path'.
8605         (elmo-imap4-list-folder-unread): Changed arguments.
8606         (elmo-imap4-list-folder-important): Ditto.
8607
8608         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8609         (elmo-filter-list-folder-important): Ditto.
8610         (elmo-filter-folder-diff): New function.
8611
8612         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8613
8614         * elmo-cache.el (elmo-cache-list-folder):
8615         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8616         (elmo-cache-copy-msgs): Ditto.
8617         (elmo-cache-folder-diff): New alias.
8618
8619         * elmo-archive.el (elmo-archive-list-folder-subr):
8620         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8621         (elmo-archive-get-archive-name): Ditto.
8622         (elmo-archive-create-file): Ditto.
8623         (elmo-archive-append-msg): Ditto.
8624         (elmo-archive-copy-msgs): Ditto.
8625         (elmo-archive-copy-msgs-froms): Ditto.
8626         (elmo-archive-get-msg-filename): Ditto.
8627         (elmo-archive-folder-diff): New alias.
8628
8629 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8630
8631         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8632         (elmo-pop3-stream-type-alist): New variable.
8633         (elmo-nntp-stream-type-alist): New variable.
8634
8635         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8636         (elmo-kill-buffer): Ditto.
8637         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8638         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8639         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8640         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8641         (elmo-imap4-get-spec): Take into account
8642         `elmo-imap4-stream-type-alist'.
8643
8644 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8645
8646         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8647         (elmo-nntp-list-folders-get-cache): Ditto.
8648
8649 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8650
8651         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8652         character before 'uid'.
8653
8654 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8655
8656         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8657
8658         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8659
8660         * elmo-util.el (elmo-number-set-member): New function.
8661         (elmo-number-set-append-list): Ditto.
8662         (elmo-number-set-append): Ditto.
8663
8664         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8665         Use `elmo-number-set-member'.
8666         (elmo-living-messages): Ditto.
8667         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8668         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8669
8670         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8671         (elmo-imap4-add-to-cont-list): Abolished.
8672         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8673         instead of elmo-imap4-add-to-cont-list.
8674
8675         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8676         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8677
8678         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8679
8680 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8681
8682         * elmo-util.el (elmo-condition-parse-search-value):
8683         Fixed date parsing.
8684
8685 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8686
8687         * elmo-util.el (elmo-condition-find-key-internal): New function.
8688         (elmo-condition-find-key): Ditto.
8689
8690         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8691         (elmo-msgdb-search-internal): Ditto.
8692         (elmo-msgdb-search): Ditto.
8693
8694 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8695
8696         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8697         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8698
8699         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8700         (elmo-nntp-search-primitive): Fixed problem when condition is
8701         'unmatch'.
8702
8703         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8704
8705         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8706         (elmo-nntp-xhdr-p): New macro.
8707         (elmo-nntp-set-xhdr): Ditto.
8708         (elmo-nntp-parse-xhdr-response): New function.
8709         (elmo-nntp-retrieve-field): Ditto.
8710         (elmo-nntp-search-primitive): Ditto.
8711         (elmo-nntp-search): Implemented.
8712
8713         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8714
8715         * elmo-archive.el (elmo-archive-search): Set all number list to
8716         `elmo-archive-field-condition-match'
8717
8718         * elmo-localdir.el (elmo-localdir-search): Likewise.
8719
8720         * elmo-maildir.el (elmo-maildir-search): Likewise.
8721
8722 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8723
8724         * elmo-msgdb.el (elmo-living-messages): New function.
8725         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8726         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8727         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8728         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8729         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8730         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8731         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8732         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8733         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8734         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8735         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8736
8737 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8738
8739         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8740
8741         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8742
8743         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8744
8745         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8746         arguments for `SEARCH' command.
8747         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8748         All other related portions are changed.
8749
8750         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8751
8752         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8753         (elmo-list-folder-unread): Rewrite.
8754         (elmo-list-folder-important): Ditto.
8755
8756         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8757         (elmo-condition-parse-error): New inline function.
8758         (elmo-read-search-condition): New function.
8759         (elmo-read-search-condition-internal): Ditto.
8760         (elmo-parse-search-condition): Rewrite.
8761         (elmo-condition-parse): New function.
8762         (elmo-condition-parse-or-expr): Ditto.
8763         (elmo-condition-parse-and-expr): Ditto.
8764         (elmo-condition-parse-primitive): Ditto.
8765         (elmo-condition-parse-search-value): Ditto.
8766         (elmo-buffer-field-primitive-condition-match): Ditto.
8767         (elmo-buffer-field-condition-match): Rewrite.
8768         (elmo-file-field-condition-match): Ditto.
8769
8770         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8771         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8772
8773         * elmo-internal.el (elmo-internal-search): Set `number' and
8774         `number-list' argument of `elmo-file-field-condition-match'.
8775
8776         * elmo-maildir.el (elmo-maildir-search): Ditto.
8777
8778         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8779         `msgdb' as argument instead of `mark-alist'.
8780         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8781         `overview'.
8782
8783         * elmo-multi.el: Likewise.
8784
8785         * elmo-pipe.el: Likewise.
8786
8787         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8788         (elmo-imap4-search-internal): Rewrite.
8789         (elmo-imap4-search): Ditto.
8790
8791         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8792         (elmo-filter-list-folder-unread): Ditto.
8793         (elmo-filter-list-folder-important): Ditto.
8794         (elmo-filter-search): Rewrite.
8795
8796         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8797         `number-list' argument of `elmo-file-field-condition-match'.
8798         (elmo-cache-search): Ditto.
8799
8800         * elmo-localdir.el: Likewise.
8801
8802         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8803         number-list and pass it to `elmo-buffer-field-condition-match'.
8804         (elmo-archive-field-condition-match): Pass `number-list' to
8805         `elmo-archive-field-condition-match'
8806
8807 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8808
8809         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8810         `listgroup'.
8811
8812         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8813         (elmo-folder-diff-async-callback-data): Ditto.
8814         (elmo-folder-diff-async): New function.
8815
8816         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8817         (elmo-network-session-cache-key): Use it as a prefix of the session
8818         name.
8819         (elmo-network-open-session): Ditto.
8820
8821         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8822         (elmo-imap4-status-callback-data): Ditto.
8823         (elmo-imap4-server-diff-async-callback): New variable.
8824         (elmo-imap4-server-diff-async-callback-data): Ditto.
8825         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8826         `elmo-imap4-status-callback-data'.
8827         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8828         `elmo-imap4-status-callback-data' as nil.
8829         (elmo-imap4-server-diff): Ditto.
8830         (elmo-imap4-server-diff-async-callback-1): New function.
8831         (elmo-imap4-server-diff-async): Ditto.
8832         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8833
8834 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8835
8836         * elmo-util.el (elmo-list-delete): Doc fix.
8837         (elmo-delete-lists): Abolish.
8838         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8839         instead of `elmo-delete-lists'.
8840
8841 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8842
8843         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8844         before `sort'.
8845
8846 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8847
8848         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8849         `elmo-imap4-literal-subr'.
8850         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8851         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8852
8853 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8854
8855         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8856         (elmo-archive-list-folder): Fix.
8857         (elmo-archive-max-of-folder): Fix.
8858
8859 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8860
8861         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8862          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8863         (elmo-localdir-append-msg): Ditto.
8864         (elmo-localdir-list-folder): Fix for `nonsort'.
8865         (elmo-localdir-list-folder-subr): Fix for `killed'.
8866         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8867         (elmo-maildir-list-folder-subr): Ditto.
8868         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8869         (elmo-archive-list-folder-subr): Ditto.
8870         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8871         (elmo-internal-list-folder-subr): Ditto.
8872
8873 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8874
8875         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8876
8877 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8878
8879         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8880
8881 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8882
8883         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8884         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8885
8886         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8887         before greeting.
8888         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8889         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8890
8891 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8892
8893         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8894
8895         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8896         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8897         before STORE command.
8898
8899 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8900
8901         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8902
8903         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8904         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8905         of `response'.
8906         (elmo-imap4-list-folders): Removed unused local variable.
8907         (elmo-network-initialize-session): Ditto.
8908         (elmo-imap4-delete-msg-by-id): Ditto.
8909         (elmo-imap4-parse-fetch): Ditto.
8910         (elmo-imap4-copy-msgs): Ditto.
8911         Use `dst-spec' instead of `dst-folder'.
8912         (elmo-network-authenticate-session): Check authenticate type `plain'.
8913
8914 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8915
8916         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8917         garbage checking.
8918         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8919         `elmo-imap4-response-value'.
8920         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8921
8922 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8923
8924         * elmo-imap4.el (elmo-imap4-send-command):
8925         Cause elmo-imap4-bye-error when current response is BYE.
8926         (elmo-imap4-arrival-filter): Changed greeting response value.
8927
8928         * elmo2.el (elmo-imap4-bye-error): Define.
8929
8930         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8931         (elmo-imap4-server-diff): Ditto.
8932         (elmo-imap4-response-bye-p): New macro.
8933         (elmo-imap4-response-error-text): Get text from BYE response.
8934         (elmo-imap4-read-response): Return if BYE response.
8935         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8936         (elmo-imap4-folder-exists-p): Ditto.
8937         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8938         (elmo-imap4-parse-bye): New function.
8939         (elmo-imap4-parse-response): Remove needless let.
8940         Call `elmo-imap4-parse-bye'.
8941
8942 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8943
8944         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8945         the mailbox does not exist.
8946         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8947
8948 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8949
8950         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8951
8952 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8953
8954         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8955
8956         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8957         (elmo-network-initialize-session-buffer): Defined.
8958
8959         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8960         Abolished.
8961         (mmelmo-imap4-get-mime-entity): Rewrite.
8962
8963         * elmo2.el (elmo-error): Capitalize error message.
8964
8965         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8966         (elmo-network-session-buffer): New macro.
8967         (elmo-network-open-session): Use it.
8968
8969         * elmo-imap4.el: Rewrite.
8970
8971 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8972
8973         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8974
8975 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8976
8977         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8978         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8979         (elmo-imap4-create-msgdb-from-overview-string): Use
8980         `elmo-msgdb-create-overview-from-buffer'.
8981
8982 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8983
8984         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8985         (elmo-imap4-default-hierarchy-delimiter): New variable.
8986         (elmo-imap4-list-folders): Use it.
8987
8988 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8989
8990         * elmo-net.el (elmo-network-open-session): Add user and
8991         stream-type for process-buffer name.
8992
8993         * elmo-pop3.el (elmo-network-initialize-session): Call
8994         buffer-disable-undo.
8995
8996         * elmo-imap4.el (elmo-network-initialize-session):
8997         Set current-buffer as an argument for `buffer-disable-undo'.
8998
8999         * elmo-pop3.el (elmo-network-close-session): Don't use
9000         `process-live-p'.
9001
9002         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9003         Set default as 'user.
9004
9005         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9006
9007         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9008         and `elmo-imap4-flush-connection'.
9009
9010         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9011         (elmo-pop3-get-spec): Assume auth as symbol.
9012         (elmo-open-network-stream): Moved to `elmo-net'.
9013
9014         * elmo-pop3.el (toplevel): Require 'elmo-net.
9015         Define `sasl-cram-md5' to silence byte compilier.
9016         (elmo-pop3-connection-cache) Abolished.
9017         (elmo-pop3-authenticator-alist) New variable.
9018         (elmo-pop3-session): Define.
9019         (elmo-pop3-connection-get-process): Abolished.
9020         (elmo-pop3-connection-get-buffer): Ditto.
9021         (elmo-pop3-close-connection): Ditto.
9022         (elmo-pop3-flush-connection): Ditto.
9023         (elmo-pop3-get-connection): Ditto.
9024         (elmo-pop3-get-session): New function.
9025         (Replacement for `elmo-pop3-get-connection').
9026         All other related modules are changed.
9027         (elmo-network-close-session): Define.
9028         (elmo-pop3-send-command): Abolished argument `buffer'.
9029         All other related modules are changed.
9030         (elmo-pop3-read-response): Likewise.
9031         (elmo-pop3-open-connection): Abolished.
9032         (elmo-pop3-auth-user): New function.
9033         (elmo-pop3-auth-apop): Ditto.
9034         (elmo-pop3-auth-cram-md5): Ditto.
9035         (elmo-pop3-auth-scram-md5): Ditto.
9036         (elmo-pop3-auth-digest-md5): Ditto.
9037         (elmo-network-initialize-session): Define.
9038         (elmo-network-authenticate-session): Ditto.
9039         (elmo-network-setup-session): Ditto.
9040
9041         * elmo-imap4.el (toplevel): Require 'elmo-net.
9042         (elmo-imap4-session): Define.
9043         (elmo-imap4-connection-cache): Abolished.
9044         (elmo-imap4-password-key): Ditto.
9045         (elmo-imap4-flush-connection): Ditto.
9046         (elmo-imap4-get-connection): Ditto.
9047         All other related modules are changed.
9048         (elmo-imap4-get-session): New function
9049         (Replacement for `elmo-imap4-get-connection').
9050         (elmo-imap4-read-response): Abolished argument `buffer'.
9051         All other related modules are changed.
9052         (elmo-imap4-send-command): Likewise.
9053         (elmo-imap4-select-folder): Abolished.
9054         All other related modules are changed.
9055         (elmo-imap4-select-mailbox): New function.
9056         (Replacement for `elmo-imap4-select-folder').
9057         (elmo-imap4-auth-login): Simplify.
9058         (Assume current buffer as process buffer)
9059         (elmo-imap4-auth-cram-md5): Ditto.
9060         (elmo-imap4-auth-digest-md5): Ditto.
9061         (elmo-imap4-login): Ditto.
9062         (elmo-imap4-open-connection): Abolished.
9063         (elmo-imap4-open-connection-1): Abolished.
9064         (elmo-network-initialize-sessoin): Define.
9065         (elmo-network-authenticate-session): Ditto.
9066         (elmo-network-setup-session): Ditto.
9067
9068         * elmo-net.el: New module.
9069
9070 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9071
9072         * elmo-util.el (elmo-define-error): New function.
9073
9074         * elmo2.el (elmo-error): Define.
9075         (elmo-open-error): Define.
9076         (elmo-authenticate-error): Define.
9077
9078         * elmo-imap4.el (elmo-imap4-error): Abolish.
9079         (elmo-imap4-error-type): Abolish.
9080         (elmo-imap4-error-process): Abolish.
9081         (elmo-imap4-error-message): Abolish
9082         (elmo-imap4-list-folders): Don't quote lambda.
9083         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9084         (elmo-imap4-parse-namespace): Ditto.
9085         (elmo-imap4-open-connection): Rewrite.
9086         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9087         (elmo-imap4-get-connection): Abolish local variable `result'.
9088
9089 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9090
9091         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9092         wrong-type-argument error when auth is nil.
9093
9094 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9095
9096         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9097         (elmo-default-nntp-stream-type): Ditto.
9098         (elmo-default-pop3-stream-type): Ditto.
9099         (elmo-network-stream-type-alist): Ditto.
9100         (elmo-default-imap4-ssl): Abolished.
9101         (elmo-default-nntp-ssl): Ditto.
9102         (elmo-default-pop3-ssl): Ditto.
9103
9104         * elmo-util.el: (toplevel): Removed needless requires.
9105         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9106         (elmo-open-network-stream): Open network stream according to
9107         the value of `elmo-network-stream-type-alist'.
9108         (elmo-get-network-stream-type): New function.
9109         (elmo-network-stream-type-spec-string): New macro.
9110         (elmo-network-stream-type-symbol): Ditto.
9111         (elmo-network-stream-type-function): Ditto.
9112
9113         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9114         network-stream-type. All other related portions are changed.
9115         (elmo-pop3-open-connection): Ditto.
9116
9117         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9118         network-stream-type. All other related portions are changed.
9119
9120         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9121         network-stream-type.All other related portions are changed.
9122         (elmo-imap4-error): New macro.
9123         (elmo-imap4-error-type): Ditto.
9124         (elmo-imap4-error-process): Ditto.
9125         (elmo-imap4-error-message): Ditto.
9126         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9127         (elmo-imap4-auth-cram-md5): Ditto.
9128         (elmo-imap4-auth-digest-md5): Ditto.
9129         (elmo-imap4-login): Ditto.
9130         (elmo-imap4-open-connection): Remove password entry if authentication
9131         was in vain.
9132         (elmo-imap4-user-at-host): Abolished.
9133         (elmo-imap4-password-key): New buffer local variable.
9134         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9135         using protocol, port, auth and stream-type.
9136
9137         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9138
9139 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9140
9141         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9142
9143         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9144
9145         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9146         (elmo-imap4-authenticator-alist): New variable.
9147         (elmo-imap4-open-connection-1): Rename from
9148         elmo-imap4-open-connection.
9149         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9150         only wraps elmo-imap4-open-connection-1.
9151         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9152         user-at-host.
9153         (elmo-imap4-auth-login): New function.
9154         (elmo-imap4-auth-cram-md5): New function.
9155         (elmo-imap4-auth-digest-md5): New function.
9156         (elmo-imap4-login): New function.
9157
9158 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9159
9160         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9161         function `error'.
9162
9163 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9164
9165         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9166
9167 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9168
9169         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9170
9171 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9172
9173         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9174         for server responses, quote `*' regardless of where it appears.
9175
9176 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9177
9178         * elmo-maildir.el (elmo-maildir-commit): New alias.
9179
9180 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9181
9182         * elmo-util.el (elmo-display-progress):
9183                 Use `progress-feedback-with-label'.
9184
9185 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9186
9187         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9188         (elmo-imap4-non-atom-char-regex): Ditto.
9189         (elmo-imap4-non-text-char-regex): Ditto.
9190         (elmo-imap4-literal-threshold): Ditto.
9191         (elmo-imap4-atom-p): New function.
9192         (elmo-imap4-quotable-p): Ditto.
9193         (elmo-imap4-nil): Ditto.
9194         (elmo-imap4-atom): Ditto.
9195         (elmo-imap4-quoted): Ditto.
9196         (elmo-imap4-literal-subr): Ditto.
9197         (elmo-imap4-literal): Ditto.
9198         (elmo-imap4-buffer-literal): Ditto.
9199         (elmo-imap4-string-subr): Ditto.
9200         (elmo-imap4-string): Ditto.
9201         (elmo-imap4-buffer-string): Ditto.
9202         (elmo-imap4-astring-subr): Ditto.
9203         (elmo-imap4-astring): Ditto.
9204         (elmo-imap4-buffer-astring): Ditto.
9205         (elmo-imap4-nstring): Ditto.
9206         (elmo-imap4-buffer-nstring): Ditto.
9207         (elmo-imap4-mailbox): New alias.
9208         (elmo-imap4-field-body): Ditto.
9209         (elmo-imap4-userid): Ditto.
9210         (elmo-imap4-password): Ditto.
9211         (elmo-imap4-format-quoted): New function.
9212         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9213         arguments and handle "atom", "quoted" and "literal" string here.
9214         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9215         `elmo-imap4-send-command'.
9216         (elmo-imap4-folder-exists-p): Likewise.
9217         (elmo-imap4-create-folder): Likewise.
9218         (elmo-imap4-delete-folder): Likewise.
9219         (elmo-imap4-rename-folder): Likewise.
9220         (elmo-imap4-max-of-folder): Likewise.
9221         (elmo-imap4-check-validity): Likewise.
9222         (elmo-imap4-sync-validity): Likewise.
9223         (elmo-imap4-server-diff): Likewise.
9224         (elmo-imap4-select-folder): Likewise.
9225         (elmo-imap4-copy-msgs): Likewise.
9226         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9227         (elmo-imap4-mark-set-on-msgs): Likewise.
9228         (elmo-imap4-read-part): Likewise.
9229         (elmo-imap4-read-msg): Likewise.
9230         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9231         `elmo-imap4-password' for `elmo-imap4-send-command'.
9232         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9233         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9234         `elmo-imap4-buffer-literal'.
9235         (elmo-imap4-append-msg): Likewise.
9236
9237         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9238         `delete' for removing dead connection from the connection cache.
9239         Move deletion of the process buffer after that.
9240         (elmo-imap4-list): Change `defsubst' to `defun'.
9241         (elmo-imap4-commit): Make error message verbose.
9242         (elmo-imap4-search): Ditto.
9243         (elmo-imap4-list): Ditto.
9244         (elmo-imap4-select-folder): Ditto.
9245         (elmo-imap4-copy-msgs): Ditto.
9246         (elmo-imap4-delete-msg-by-id): Ditto.
9247         (elmo-imap4-append-msg-by-id): Ditto.
9248         (elmo-imap4-append-msg): Ditto.
9249
9250 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9251
9252         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9253         when dired is used on XEmacs.
9254
9255 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9256
9257         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9258         instead of `append'.
9259         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9260         `elmo-plugged-p' directly.
9261         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9262         of `elmo-plugged-p' directly.
9263
9264         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9265         Eliminate unused variable.  Use `memq' for checking a process status.
9266         Use `cons' instead of `append' for updating the connection cache.
9267         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9268         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9269
9270 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9271
9272         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9273         `elmo-imap4-read-point' exactly.
9274
9275         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9276         the local variable `folder' to `mailbox'.
9277         Rename the argument `fld' to `folder'.
9278
9279 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9280
9281         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9282         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9283
9284 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9285
9286         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9287         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9288         (elmo-pop3-uidl-number-hash): Ditto.
9289         (elmo-pop3-size-hash): Ditto.
9290         (elmo-pop3-uidl-done): Ditto.
9291         (elmo-pop3-list-done): Ditto.
9292         (elmo-pop3-connection-get-process): New defmacro.
9293         (elmo-pop3-connection-get-buffer): Ditto.
9294         (elmo-pop3-close-connection): Delete buffer and process.
9295         (elmo-pop3-flush-connection): Don't delete buffer and process.
9296         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9297         Setup UIDL and size hash.
9298         (elmo-pop3-send-command-no-erase): Deleted
9299         (elmo-pop3-send-command): Added optional argument `no-erase'.
9300         (elmo-pop3-parse-uidl-response): New function.
9301         (elmo-pop3-parse-list-response): Set size hash.
9302         (elmo-pop3-list-location): New function.
9303         (elmo-pop3-list-by-uidl-subr): Ditto.
9304         (elmo-pop3-list-by-list): Ditto.
9305         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9306         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9307         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9308         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9309         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9310         Use uidl.
9311         (elmo-pop3-uidl-to-number): New function.
9312         (elmo-pop3-number-to-uidl): Ditto.
9313         (elmo-pop3-number-to-size): Ditto.
9314         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9315         Set number by use of uidl.
9316         (elmo-pop3-msgdb-create-message): Likewise.
9317         Set size, loc-alist in msgdb.
9318         (elmo-pop3-read-msg): Set number by use of uidl.
9319         Added optional argument `msgdb'.
9320         (elmo-pop3-delete-msg): Ditto.
9321         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9322         (elmo-pop3-commit): Close connection.
9323
9324         * elmo-pipe.el (elmo-pipe-max-of-folder):
9325         Bind `elmo-pop3-use-uidl' as nil.
9326         (elmo-pipe-drain): Ditto.
9327         Call `elmo-commit'.
9328
9329         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9330         (elmo-msgdb-overview-entity-set-size): New defsubst.
9331
9332 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9333
9334         * elmo-vars.el (elmo-use-killed-list): New variable
9335         (Renamed from `elmo-nntp-use-killed-list').
9336         (elmo-nntp-use-killed-list): Eliminated.
9337
9338         * elmo-msgdb.el (elmo-msgdb-expand-path):
9339         Changed expanding msgdb path for elmo-multi.
9340
9341         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9342         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9343         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9344         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9345         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9346         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9347         (toplevel): Deleted time-stamp line.
9348
9349         * elmo2.el (elmo-clear-killed ): Defined as function
9350         (Abolished defining as a backend function).
9351         All other related modules are changed.
9352
9353 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9354
9355         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9356
9357 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9358
9359         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9360
9361 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9362
9363         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9364
9365 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9366
9367         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9368         asynchronous folder check.
9369
9370         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9371
9372         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9373         `elmo-nntp-use-killed-list'.
9374         (elmo-nntp-list-folder): Use killed list.
9375         (elmo-nntp-max-of-folder): Ditto.
9376         (elmo-nntp-msgdb-create): Set killed list.
9377
9378         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9379
9380         * elmo2.el (elmo-clear-killed): New backend function.
9381         All other related modules are changed.
9382
9383 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9384
9385         * elmo-util.el (elmo-imap4-spec-folder): Use
9386         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9387         All callers changed.
9388
9389 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9390
9391         * mmelmo-2.el (initialize-instance):
9392         Use `mime-buffer-entity-buffer-internal' instead of
9393         `mime-entity-buffer'.
9394
9395         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9396         (mime-entity-body): Implemented.
9397         (mime-goto-header-start-point): Deleted.
9398         (mime-goto-body-end-point): Ditto.
9399         (mime-entity-point-min): Ditto.
9400         (mime-entity-point-max): Ditto.
9401         (mime-entity-children): Ditto.
9402         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9403         instead of `mime-entity-buffer'.
9404         (mime-entity-header-buffer): Ditto.
9405         (mime-entity-body-buffer): Ditto.
9406         (mime-write-entity-content): Ditto.
9407
9408         * pldap.el (ldap-static-if): New macro.
9409         (toplevel): Use it instead of `static-if'.
9410
9411 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9412
9413         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9414         included in `attrs' argument.
9415
9416 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9417
9418         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9419
9420         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9421         (ldap-ldif-safe-init-char-regexp): Ditto.
9422         (ldap-ldif-safe-string-regexp): Ditto.
9423         (ldap/ldif-safe-string-p): New macro.
9424         (ldap/ldif-insert-field): Ditto.
9425         (ldap-modify): Use it.
9426         (ldap-add): Ditto.
9427         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9428         (ldap-decode-attribute): Decode only when `attr' is consp.
9429         (ldap-delete): Bind `ret'.
9430         (toplevel): Require 'cl at compile time.
9431         Removed (require 'poe) and (require 'std11).
9432         (pldap-version): Eliminated.
9433         (ldap-search-basic): Removed auth and dn binding.
9434         (ldap-ldif-field-name-regexp): New constant.
9435         (ldap-ldif-field-head-regexp): Ditto.
9436         (ldap-ldif-next-field-head-regexp): Ditto.
9437         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9438         (ldap/field-end): New function.
9439         (ldap/field-body): Use it.
9440         (ldap/collect-field): Ditto.
9441         (ldap-search-basic): Use `ldap/field-body'.
9442
9443 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9444
9445         * pldap.el (ldap-default-attribute-encoder): New user option.
9446         (ldap/field-body): Decode base64 string.
9447         (ldap/collect-field): Ditto.
9448         (ldap-encode-attribute): New function.
9449         (ldap-add-entries): Use it.
9450         (ldap-modify-entries): Ditto.
9451         (ldap-search-entries): Enclosed decoding function with
9452         `with-temp-buffer' and set as unibyte.
9453         (ldap-search-basic): Set process buffer as unibyte.
9454
9455         * elmo-util.el (elmo-folder-identical-system-p):
9456         Eliminated name space checking.
9457
9458         * pldap.el: New module.
9459         toplevel: Changed condition to detect built-in ldap feature.
9460         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9461         (ldap-add): Added error handling.
9462         (ldap-modify): Ditto.
9463         (ldap-delete): Ditto.
9464
9465 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9466
9467         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9468         Initialize local variables with `let'.  Inline a temporary
9469         variable for the progress percentage.  Sort `setq' to reduce
9470         function call in the while-loop.
9471
9472         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9473         into the conditional branch.
9474
9475 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9476
9477         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9478         Move a conditional out of the while-loop.
9479
9480 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9481
9482         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9483         elmo-msgdb-overview-get-entity-by-number.
9484         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9485         throw.
9486
9487 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9488
9489         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9490         the local variable for a packed number self descriptively.
9491
9492 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9493
9494         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9495         * elmo-localdir.el (elmo-localdir-pack-number): Use
9496         `elmo-msgdb-overview-get-entity' instead of
9497         `elmo-msgdb-overview-get-entity-by-number'.
9498         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9499         (elmo-msgdb-search-overview-entity): Removed.
9500         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9501         by message-id or number.
9502         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9503         instead of `elmo-msgdb-overview-get-entity-by-number'.
9504
9505 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9506
9507         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9508         non-nil, use hash table for overview.
9509         (elmo-hash-maximum-size): New variable.
9510         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9511         (elmo-msgdb-make-overview-hashtb): New function.
9512         (elmo-msgdb-clear-overview-hashtb): New function.
9513         (elmo-clear-hash-val): New macro.
9514         All other related modules are changed.
9515
9516 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9517
9518         * elmo2.el (elmo-move-msgs): If there's other message with
9519         same message-id, don't use cache.
9520
9521 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9522
9523         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9524         number is already packed.
9525
9526 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9527
9528         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9529
9530 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9531
9532         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9533         All other related modules are changed.
9534
9535 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9536
9537         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9538         of refiling failure on Maildir.
9539
9540 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9541
9542         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9543         decoded mime-charset with cache.
9544         (elmo-msgdb-overview-entity-get-from): Ditto.
9545         (elmo-msgdb-overview-entity-get-subject): Ditto.
9546         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9547
9548 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9549
9550         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9551         (elmo-remove-passwd): Fill password with 0 before erase.
9552         * elmo-vars.el (elmo-passwd-life-time): New variable.
9553
9554 \f
9555 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9556
9557         * elmo-cache.el (elmo-buffer-cache-add):
9558         Set message cache buffer as unibyte.
9559
9560 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9561
9562         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9563         become nil.
9564
9565 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9566
9567         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9568         when display is finished.
9569         (elmo-nntp-msgdb-create): Ditto.
9570         (elmo-nntp-groups-read-response): Ditto.
9571         (elmo-nntp-retrieve-headers): Ditto.
9572         (elmo-nntp-msgdb-create-message): Ditto.
9573         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9574         (elmo-pop3-msgdb-create-message): Ditto.
9575
9576 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9577
9578         * elmo-maildir.el (elmo-maildir-msgdb-create):
9579         Use `elmo-msgdb-sort-by-date'.
9580
9581 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9582
9583         * elmo2.el (elmo-read-msg-no-cache):
9584         Eliminated arguments after `outbuf'.
9585         Don't use cache even if it exists.
9586         (elmo-read-msg): Don't pass arguments after `outbuf' to
9587         `elmo-read-msg-no-cache'.
9588
9589 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9590
9591         * elmo-archive.el (elmo-archive-list-folders):
9592         Use `file-name-directory' if base folder does not exist.
9593
9594 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9595
9596         * elmo-archive.el (elmo-archive-list-folders): Don't use
9597         `file-name-directory'.
9598
9599 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9600
9601         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9602         If `force' is non-nil, try flushing all operation queues.
9603
9604 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9605
9606         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9607         as-binary-process.
9608
9609 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9610
9611         * elmo-util.el (elmo-display-progress): Fixed.
9612
9613 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9614
9615         * elmo-util.el (elmo-display-progress): New function.
9616         All other related modules are changed.