15e36c7b08a1f03732e5953fbe8ea60cfa459b16
[elisp/wanderlust.git] / elmo / ChangeLog
1 2011-06-03  David Maus  <dmaus@ictsoc.de>
2
3         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't mark
4         unread messages with important or answered flag read.
5
6 2011-05-29  David Maus  <dmaus@ictsoc.de>
7
8         * elmo-imap4.el (elmo-network-authenticate-session): Always ask
9         for capabilities after login.
10         (elmo-imap4-parse-response): Remove superfluous third argument to
11         split-string.
12
13 2011-01-12  David Maus  <dmaus@ictsoc.de>
14
15         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Remove accidental
16         rebinding of new message db symbol.
17
18 2010-11-02  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>
19
20         * elmo-pop3.el (elmo-folder-open-internal): Don't load location
21         map if it is already loaded.
22
23 2010-10-31  David Maus  <dmaus@ictsoc.de>
24
25         * elmo-map.el (elmo-folder-open-internal): Don't load location map
26         if it is already loaded.
27
28         * elmo.el (elmo-folder-open-internal-p)
29         (elmo-folder-move-messages): Method removed.
30         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
31         * elmo-map.el (elmo-folder-open-internal-p): Dto.
32         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
33         * elmo-pipe.el (elmo-folder-open-internal-p): Dto.
34         * elmo-pop3.el (elmo-folder-open-internal-p): Dto.
35         * elmo-shimbun.el (elmo-folder-open-internal-p): Dto.
36
37 2010-10-24  David Maus  <dmaus@ictsoc.de>
38
39         * elmo-pop3.el (elmo-folder-open-internal-p): Define method for
40         this class.
41         * elmo-shimbun.el (elmo-folder-open-internal-p): Dto.
42         * elmo-multi.el (elmo-folder-open-internal-p): Fix invalid let
43         statement.
44
45 2010-10-14  David Maus  <dmaus@ictsoc.de>
46
47         * elmo-multi.el (elmo-folder-open-internal-p): Evaluate symbol to
48         return state of child folders.
49
50 2010-10-13  David Maus  <dmaus@ictsoc.de>
51
52         * elmo-multi.el (elmo-folder-open-internal-p): Start with t and
53         set to nil if one of the child folders is not open.
54         (elmo-folder-open-internal): Open child folders only if they are
55         not opened yet.
56
57 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
58
59         * elmo-imap4.el: Remove trailing whitespace.
60
61         * elmo-localdir.el (elmo-folder-pack-numbers): Fix
62         `elmo-bind-directory' indent.
63
64         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
65         cosmetic fix).
66
67 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
68
69         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
70         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
71         (elmo-string-to-list, elmo-list-to-string): Ditto.
72
73 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
74
75         * elmo-archive.el (elmo-archive-field-condition-match)
76         (elmo-archive-suffix-alist)
77         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
78         (elmo-archive-folder-message-make-temp-files)
79         (elmo-archive-append-files)
80         (elmo-archive-field-condition-match): Fix indent.
81
82         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
83         Avoid `args-out-of-range 0, 1' error.
84
85 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
86
87         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
88         (delete-backward-char X) that deletes region in Emacs 24.
89         See delete-active-region described in NEWS.
90         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
91         * elmo-util.el (elmo-get-file-string): Ditto.
92         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
93
94 2010-08-09  David Maus  <dmaus@ictsoc.de>
95
96         * elmo.el (elmo-folder-open-internal-p): New luna method.
97         (elmo-folder-move-messages): Open source folder only if necessary.
98         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
99         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
100         * elmo-map.el (elmo-folder-open-internal-p): Dto.
101         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
102
103 2010-08-01  David Maus  <dmaus@ictsoc.de>
104
105         * elmo.el (elmo-folder-move-messages): Open source folder before
106         moving messages.
107
108 2010-04-15  David Maus  <dmaus@ictsoc.de>
109
110         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
111         imap user name.
112
113 2010-04-14  David Maus  <dmaus@ictsoc.de>
114
115         * elmo-imap4.el (elmo-imap4-disabled-extension): New
116         variable. List of server extensions that are disabled on the
117         client side.
118         (elmo-imap4-session-capable-p): Honour list of disabled
119         extensions.
120
121 2010-03-17  David Maus  <dmaus@ictsoc.de>
122
123         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
124         (elmo-imap4-search-internal-primitive): Pass filter type to imap
125         search when performing search for flagged messages.
126
127 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
128
129         * modb-standard.el (modb-standard-save-entity): Use
130         `modb-standard-cleanup-stale-entities' to clean up stale entity
131         files in modb cache.
132         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
133         capabilities after login.
134
135 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
136
137         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
138         indent (only cosmetic fix).
139
140 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
141
142         * elmo-version.el (elmo-version): Up to 2.15.9.
143
144         * elmo-imap4.el (elmo-imap4-elist): New function
145         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
146         ESEARCH feature (RFC4731).
147         * elmo-imap4.el (toplevel): Require time-stamp
148         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
149         elmo-imap4-read-response elmo-imap4-read-untagged
150         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
151         logging format.
152         * elmo-imap4.el (elmo-folder-list-messages-plugged,
153         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
154         for full uid range on folder entering, retrieve updates only for
155         newly appeared messages.
156         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
157         elmo-imap4-read-response, elmo-imap4-read-untagged,
158         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
159         to format-time-string.
160         * elmo-vars.el (toplevel): New custom
161         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
162         flag for some buggy servers.
163         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
164
165 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
166
167         * acap.el (acap-parse-response): Fix comment-out style. Use three
168         semicolons, that should start at the left margin.
169         See. also (Info-goto-node "(elisp)Comment Tips").
170         * elmo.el (toplevel, elmo-message-match-condition)
171         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
172         Ditto.
173         * elmo-archive.el (elmo-archive-suffix-alist)
174         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
175         (elmo-archive-method-list)
176         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
177         Ditto.
178         * elmo-imap4.el (toplevel)
179         (elmo-imap4-send-command, elmo-imap4-check-validity)
180         (elmo-imap4-fetch-callback-1-subr)
181         (elmo-network-initialize-session, elmo-server-diff-async)
182         (elmo-imap4-folder-diff-plugged): Ditto
183         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
184         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
185         * elmo-net.el (elmo-network-close-session): Ditto.
186         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
187         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
188         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
189         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
190         (elmo-number-set-delete)
191         (elmo-cache-get-oldest-cache-file-entity): Ditto.
192
193 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
194
195         * elmo-version.el (elmo-version): Up to 2.15.8.
196
197         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
198         `with-current-buffer' instead of `save-excursion' (for suppress
199         compile warnings).
200
201         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
202         instead of `int-to-string'.
203         * elmo-archive.el (elmo-archive-message-fetch-internal)
204         (elmo-archive-folder-message-make-temp-files)
205         (elmo-archive-folder-append-buffer)
206         (elmo-folder-delete-messages-internal)
207         (elmo-archive-msgdb-create-entity)
208         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
209         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
210         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
211         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
212         * elmo-imap4.el (elmo-imap4-make-number-set-list)
213         (elmo-folder-list-subfolders): Ditto.
214         * elmo-localdir.el (elmo-message-file-name)
215         (elmo-folder-message-make-temp-files)
216         (elmo-localdir-msgdb-create-entity)
217         (elmo-folder-append-messages-*-localdir)
218         (elmo-folder-pack-numbers): Ditto.
219         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
220         * elmo-map.el (elmo-location-map-key): Ditto.
221         * elmo-nntp.el (elmo-nntp-folder-postfix)
222         (elmo-nntp-folder-list-subfolders)
223         (elmo-nntp-folder-msgdb-create): Ditto.
224
225         * elmo.el (elmo-crosspost-message-alist-save): Don't use
226         `function' for `lambda'.
227         * elmo-archive.el (elmo-archive-folder-list-subfolders)
228         (elmo-folder-append-messages-*-archive)
229         (elmo-folder-delete-messages-internal): Ditto.
230         * elmo-date.el (elmo-replace-in-string): Ditto.
231         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
232         (elmo-folder-list-flagged): Ditto.
233         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
234         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
235         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
236
237 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
238
239         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
240         `elmo-dop-spool-folder' was used before it was defined"; Use
241         `defun' instead.
242
243         * pldap.el (ldap/ldif-safe-string-p): macro to function.
244         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
245
246         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
247         `mapcar'; Suppress compile warning.
248         * elmo-imap4.el (elmo-network-initialize-session-buffer)
249         (elmo-imap4-search-internal-primitive): Ditto.
250         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
251         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
252
253         * elmo-imap4.el (elmo-imap4-parse-address-list)
254         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
255         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
256         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
257         `(string-to-char " ")' instead of `? ', `?\ '.
258
259 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
260
261         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
262         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
263         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
264         `function' for lambda.
265
266         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
267         `string-to-number' instead of `string-to-int'.
268
269         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
270         instead of `save-excursion' (for suppress compile warnings).
271         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
272         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
273         (elmo-nntp-post): Ditto.
274
275 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
276
277         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
278         Mule-UCS (to-utf-16).
279         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
280         Emacs 23.
281
282 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
283
284         * utf7.el (utf7-find-coding-system-without-bom): New Function.
285         (utf7-utf-16-coding-system): use no-BOM coding system.
286         (utf7-get-u16char-converter): remove workaround for BOM.
287
288 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
289
290         * elmo-util.el (elmo-union): New function, make a union of two lists.
291
292         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
293         mime-view when displaying malformed base64 attach.
294
295         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
296         (removed duplicated code)
297
298         * modb-standard.el (modb-standard-cleanup-stale-entities): New
299         function, Remove stale entities from elmo's cache.
300
301 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
302
303         * elmo-version.el (elmo-version): Up to 2.15.7.
304
305 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
306
307         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
308         default value to `--auto-update'.
309
310 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
311
312         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
313         Add `elmo-pop3-read-point' barrier.
314
315 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
316
317         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
318         goto the previous end-point insead of the head-point, and use
319         `search-forward' instead of `re-search-forward'.
320
321 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
322
323         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
324
325 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
326
327         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
328         case-insensitive fashion.
329
330 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
331
332         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
333
334 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
335
336         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
337         `eval-and-compile' for suppress compile warnings.
338
339         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
340         instead of `defun-maybe'
341
342         * elmo-util.el: Add (eval-when-compile (require 'static)).
343
344 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
345
346         * mmimap.el: Remove (require 'static).
347         * acap.el: Ditto.
348
349         * elmo-flag.el: Move ';;; Code:' comment.
350         * elmo-imap4.el: Ditto.
351         * elmo-net.el: Ditto.
352
353         * elmo-version.el (product-provide): Fix comment.
354
355 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
356
357         * slp.el: Add (eval-when-compile (require 'cl)).
358         * elmo-date.el: Ditto.
359         * elmo-pop3.el: Ditto.
360         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
361
362 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
363
364         * modb.el (elmo-msgdb-match-condition-primitive): Use
365         `string-to-number' instead of `string-to-int'.
366
367         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
368         (elmo-msgdb-message-match-condition)
369         (elmo-msgdb-create-message-entity-from-buffer): Use
370         `string-to-number' instead of `string-to-int'.
371
372         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
373         instead of `string-to-int'.
374
375         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
376         instead of `string-to-int'.
377
378         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
379         `string-to-number' instead of `string-to-int'.
380
381         * elmo-nntp.el (elmo-nntp-make-msglist)
382         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
383         (elmo-nntp-create-msgdb-from-overview-string)
384         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
385         (elmo-nntp-search-primitive): Use `string-to-number' instead of
386         `string-to-int'.
387
388         * elmo-net.el (elmo-net-folder-set-parameters): Use
389         `string-to-number' instead of `string-to-int'.
390
391         * elmo-localdir.el (elmo-localdir-list-subr): Use
392         `string-to-number' instead of `string-to-int'.
393
394         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
395         `string-to-number' instead of `string-to-int'.
396
397         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
398         instead of `string-to-int'.
399
400         * elmo-archive.el (elmo-archive-list-folder-subr): Use
401         `string-to-number' instead of `string-to-int'.
402
403 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
404
405         * elmo-util.el (elmo-get-passwd): Fix typo.
406
407         * elmo-nntp.el (elmo-nntp-get-server-command)
408         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
409         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
410         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
411         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
412
413         * elmo-imap4.el (elmo-imap4-debug)
414         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
415         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
416         (elmo-imap4-response-value, elmo-imap4-response-error-text)
417         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
418         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
419         (elmo-imap4-identical-system-p): New backquote style.
420
421 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
422
423         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
424         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
425         (elmo-dop-queue-arguments): Ditto.
426
427         * elmo-date.el (elmo-match-substring): New backquote style.
428         (elmo-match-string, elmo-match-buffer): Ditto.
429         (elmo-date-make-sortable-string): Ditto.
430
431         * elmo-archive.el (elmo-archive-get-method):New backquote style.
432         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
433
434         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
435         style.
436
437         * elmo-net.el (elmo-network-stream-type-spec-string): New
438         backquote style.
439         (elmo-network-stream-type-symbol): Ditto.
440         (elmo-network-stream-type-feature): Ditto.
441         (elmo-network-stream-type-function): Ditto.
442         (elmo-network-session-buffer): Ditto.
443
444         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
445         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
446         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
447         (elmo-bind-directory, elmo-set-work-buf): Ditto.
448
449         * elmo.el (elmo-folder-send): New backquote style.
450
451 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
452
453         * pldap.el (ldap-static-if): New backquote style.
454         (ldap/ldif-safe-string-p): Ditto.
455         (ldap/ldif-insert-field): Ditto.
456
457         * elmo-version.el (elmo-version): Up to 2.15.6.
458
459 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
460
461         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
462         messages with \Deleted flag.
463         (elmo-folder-delete-messages-plugged): Ask before sending expunge
464         command if there are messages with \Deleted flag.
465
466 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
467
468         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
469         http://seclists.org/bugtraq/2007/Apr/0018.html
470         (Suggested by Tatsuya Kinoshita)
471
472 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
473
474         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
475         with \Noselect attribute.
476
477 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
478
479         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
480         hierarchical folder structure with UW-imapd.
481
482 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
483
484         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
485         when the LOGINDISABLED capability is advertised.
486
487 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
488
489         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
490
491 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
492
493         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
494         `entity'.
495         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
496         if the message entity is exists.
497
498 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
499
500         * elmo-util.el (elmo-msgdb-insert-file-header): Call
501         `elmo-delete-cr-buffer'.
502
503         * elmo-localdir.el (elmo-message-fetch-internal): Use
504         `insert-file-contents-as-raw-text' instead of
505         `insert-file-contents-as-binary'.
506
507         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
508
509 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
510
511         * elmo-imap4.el (elmo-network-initialize-session): Check to
512         retrieve a whole greeting message.
513
514 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
515
516         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
517
518 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
519
520         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
521         (elmo-progress-notify): Use it instead of `plist-get'.
522
523 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
524
525         * elmo.el (elmo-generic-folder-append-messages): Remove unused
526         variable `table'.
527
528 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
529
530         * elmo-pipe.el (elmo-folder-set-plugged): Define.
531
532 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
533
534         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
535         (elmo-spam-list-spam-messages): Check it option.
536
537 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
538
539         * elmo-util.el (elmo-with-progress-display): Return the value
540         of the last form in `body'.
541
542 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
543
544         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
545         `elmo-progress-counter' as t when a query callback returns nil.
546         (elmo-progress-clear): New function.
547         (elmo-progress-done): Split into `elmo-progress-clear'.
548         (elmo-progress-notify): Update a total slot when it is nil.
549         (elmo-with-progress-display): Call `elmo-progress-clear' in
550         unwind-protect and move calling `elmo-progress-done' to outside.
551
552         * elmo-imap4.el (elmo-imap4-find-next-line): Call
553         `elmo-progress-notify' with :total parameter instead of
554         `elmo-progress-counter-set-total'.
555
556 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
557
558         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
559         Make it interactive.
560         (elmo-progress-start): Avoid updating `elmo-progress-counter'
561         when a query callback returns nil.  Return a progress counter
562         instead of t whenever a start callback was called.
563
564 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
565
566         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
567         (elmo-imap4-send-command): Use it.
568         (elmo-network-initialize-session): Ditto.
569         (elmo-network-setup-session): Ditto.
570         (elmo-folder-msgdb-create-plugged): Ditto.
571
572 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
573
574         * elmo-util.el (elmo-progress-done): Fix a miss refer to
575         `elmo-progress-counter'.
576
577 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
578
579         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
580         (elsp-bsfilter-list-spam-filter): New function.
581         (elsp-bsfilter-start-list-spam): Ditto.
582         (elsp-bsfilter-read-list-spam): Ditto.
583         (elmo-spam-list-spam-messages): Use async process to display
584         progress message by each message.
585
586 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
587
588         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
589         of flushing previously inserted message contents.
590
591         * elmo-imap4.el (elmo-folder-search): Fix return value.
592
593 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
594
595         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
596         of reporter is enable or not.
597
598 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
599
600         * elmo-util.el (elmo-list-bigger-diff): Abolish.
601         (elmo-display-progress): Ditto.
602         (elmo-progress-counter-alist): Ditto.
603         (elmo-progress-set): Ditto.
604         (elmo-progress-clear): Ditto.
605         (elmo-progress-counter-all-value): Rename to
606         `elmo-progress-counter-total'.
607         (elmo-progress-counter-format): Rename to
608         `elmo-progress-counter-action'.
609         (elmo-progress-counter): New internal variable.
610         (elmo-progress-callback-function): Ditto.
611         (elmo-progress-counter-label): New function.
612         (elmo-progress-counter-set-total): Ditto.
613         (elmo-progress-counter-set-action): Ditto.
614         (elmo-progress-call-callback): Ditto.
615         (elmo-progress-start): Ditto.
616         (elmo-progress-done): Ditto.
617         (elmo-progress-notify): Rewrite.
618         (elmo-with-progress-display): Remove first argument
619         `condition'. Add optional argument `var' in `spec'.
620
621         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
622         (elmo-display-retrieval-progress-threshold): Ditto.
623         (elmo-inhibit-display-retrieval-progress): Ditto.
624
625         * Replace all pair of `elmo-progress-set' and
626         `elmo-progress-clear' into `elmo-with-progress-display'.
627
628         * Replace to call `elmo-display-progress' into pair of
629         `elmo-progress-notify' and `elmo-with-progress-display'.
630
631         * elmo-version.el (elmo-version): Up to 2.15.5.
632
633 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
634
635         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
636         `cond'.
637
638 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
639
640         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
641         cleanup-forms [wl:14027].
642
643 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
644
645         * elmo-flag.el (elmo-global-flag-set-internal): Use
646         `elmo-copy-file' by priority when the message is a file.
647
648 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
649
650         * elmo.el: Fix typo: disptch -> dispatch.
651
652 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
653
654         * elmo.el (elmo-file-tag): New class.
655         (elmo-append-messages-disptch-table): New constant.
656         (elmo-folder-type-p): New function.
657         (elmo-folder-append-messages): Redefine as function.
658
659         * elmo-null.el (elmo-folder-append-messages): Renamed from
660         `elmo-folder-append-messages'.
661
662         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
663         (elmo-folder-append-messages-*-maildir): Renamed from
664         `elmo-folder-append-messages'.
665
666         * elmo-localdir.el (elmo-localdir-folder): Inherit
667         `elmo-file-tag'.
668         (elmo-folder-append-messages-*-localdir): Renamed from
669         `elmo-folder-append-messages'.
670
671         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
672         from `elmo-folder-append-messages'.
673
674         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
675         `elmo-folder-append-messages'.
676
677         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
678         function.
679         (elmo-folder-append-messages-*-filter): Ditto.
680
681         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
682
683         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
684         (elmo-folder-append-messages-*-pipe): Renamed from
685         `elmo-folder-append-messages'.
686
687         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
688
689         * elmo-file.el (elmo-file-folder): Ditto.
690
691         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
692
693         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
694         from `elmo-folder-append-messages'
695
696 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
697
698         * elmo-map.el (elmo-location-map-setup): Change an argument
699         `locations' to optional.
700         (elmo-location-map-clear): Abolish.
701         (elmo-folder-clear): Follow the API change.
702
703         * elmo-pop3.el (elmo-folder-clear): Ditto.
704
705         * elmo-pop3.el (toplevel): Require elmo-map.
706         (elmo-pop3-folder): Inherit elmo-location-map and abolish
707         location-alist slot (All other related portions are changed).
708         (elmo-pop3-folder-use-uidl): New function.
709         (elmo-folder-msgdb-create): Don't sort message entities.
710         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
711         (elmo-pop3-number-to-size): Convert return value to number.
712         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
713         working buffer.
714
715         * elmo-map.el: Use `location-map' as a variable name for instance
716         instead of `mapper'.
717         (elmo-location-map-setup): Return location alist.
718         (elmo-location-map-update): Ditto.
719
720 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
721
722         * elmo-map.el (elmo-location-map): New class; split location and
723         number mapping from elmo-map-folder (All other related portions
724         are changed).
725
726         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
727         change.
728
729         * elmo-version.el (elmo-version): Up to 2.15.4.
730
731 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
732
733         * elmo-vars.el (elmo-use-hardlink): New user option.
734
735         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
736         `elmo-use-hardlink'.
737
738         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
739         killed-list.
740         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
741         instead of `*-internal'. Use `elmo-with-progress-display'.
742
743 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
744
745         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
746         `elmo-spam-process-messages-as-mbox'.
747
748         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
749
750 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
751
752         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
753         argument BUFFER of `call-process'.
754
755 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
756
757         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
758         args.
759         (elsp-bsfilter-list-spam-files): Ditto.
760
761 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
762
763         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
764         (elmo-spam-bsfilter-max-messages-per-process): New use option.
765         (elmo-spam-bsfilter-debug): Fix a group.
766         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
767         `--homedir'.
768         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
769         (elsp-bsfilter-list-spam-files): New function.
770         (elmo-spam-list-spam-messages): Define.
771         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
772         (elmo-spam-bsfilter-register-messages): New function.
773         (elmo-spam-register-spam-messages): Define.
774         (elmo-spam-register-good-messages): Ditto.
775
776         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
777
778         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
779         `nconc' and `consp'.
780
781 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
782
783         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
784         hash table to test whether a location is exists.
785
786 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
787
788         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
789         even if some error occurred.
790
791         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
792         meaningless unwind-protect.
793
794         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
795         start-number correctly.
796         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
797         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
798
799 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
800
801         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
802         (elmo-folder-initialize): Use it.
803         (elmo-global-flag-replace-referrer): New function.
804
805         * elmo.el (toplevel): Added autoload setting for
806         `elmo-global-flag-replace-referrer'.
807         (elmo-folder-rename): Rewrite the last change use
808         `elmo-global-flag-replace-referrer'.
809
810         * elmo-pipe.el (elmo-folder-rename): Call
811         `elmo-global-flag-replace-referrer'.
812
813 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
814
815         * elmo.el (elmo-folder-rename): Set meta data for global flags
816         follow the rename.
817
818 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
819
820         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
821         as 'not-loaded.
822         (elmo-folder-close): Ditto.
823         (elmo-filter-folder-number-list-loaded-p): New function.
824         (elmo-filter-folder-number-list): Check whether loaded or not.
825         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
826         of `elmo-filter-folder-number-list-internal'.
827         (elmo-folder-delete-messages): Ditto.
828         (elmo-folder-length): Check whether number-list is loaded or not.
829
830 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
831
832         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
833         field `real field' into each element of list.
834         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
835         (elmo-msgdb-message-entity-field): Ditto.
836         (modb-entity-ml-info-real-fields): New function.
837
838         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
839
840         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
841         `elmo-msgdb-extra-fields'.
842
843 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
844
845         * elmo-util.el (elmo-passwd-alist-load): Move point to min
846         position before read.
847
848 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
849
850         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
851         (elmo-global-flags-initialize): Ditto.
852
853 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
854
855         * elmo-archive.el (toplevel): Don't require emu, std11
856         and elmo-localdir.
857
858         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
859         definition.
860
861 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
862
863         * elmo.el (elmo-folder-confirm-appends): Display folder name.
864
865 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
866
867         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
868         literals.
869
870 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
871
872         * elmo-maildir.el (elmo-maildir-list-location): Reduce
873         `elmo-get-last-modification-time' call.
874
875 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
876
877         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
878         expression.
879         (elmo-maildir-set-mark): Ditto.
880         (elmo-maildir-delete-mark): Ditto.
881
882 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
883
884         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
885         optional argument `separators'.
886
887 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
888
889         * elmo.el (cache-changed): Abolish.
890         (status-changed): New signal.
891         (elmo-message-killed-p): New generic function and define for
892         elmo-folder.
893         (elmo-folder-recover-messages): Ditto.
894         (elmo-message-set-cached): Emit signal `status-changed' instead of
895         `cache-changed'.
896         (elmo-message-status): New macro.
897         (elmo-message-status-folder): Ditto.
898         (elmo-message-status-number): Ditto.
899         (elmo-message-status-set-flags): Ditto.
900         (elmo-message-status-set-killed): Ditto.
901         (elmo-message-status-flags): New function.
902         (elmo-message-status-cached-p): Ditto.
903         (elmo-message-status-killed-p): Ditto.
904
905         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
906         `status-changed' instead of `cache-changed'.
907         (elmo-folder-recover-messages): Define.
908         (elmo-message-killed-p): Ditto.
909
910         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
911         `status-changed' instead of `cache-changed'.
912
913         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
914         (elmo-message-killed-p): Define.
915         (elmo-folder-recover-messages): Ditto.
916
917         * elmo-version.el (elmo-version): Up to 2.15.3.
918
919 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
920
921         * elmo-signal.el (elmo-signal-bindings): Use cons to append
922         element into list.
923         (elmo-define-signal-handler): Add docstring.
924         (elmo-define-signal-filter): Ditto.
925
926         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
927
928 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
929
930         * elmo-util.el (elmo-flatten): Don't use recursive call.
931
932         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
933         assignment.
934         (elmo-folder-message-make-temp-files): Use `number-to-string'
935         instead of `int-to-string'.
936
937 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
938
939         * elmo-search.el (elmo-folder-delete-messages): Define.
940
941 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
942
943         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
944         customization type.
945         (elmo-mailing-list-count-spec-list): Ditto.
946
947         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
948         for `list-id'.
949
950 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
951
952         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
953         handling.
954
955 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
956
957         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
958         (elmo-mailing-list-count-spec-list): Ditto.
959
960         * elmo-util.el (elmo-map-until-success): New function.
961         (elmo-string-match-substring): Ditto.
962         (elmo-find-list-match-value): Ditto.
963
964         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
965         Removed.
966         (modb-entity-extract-ml-info-from-subject): Ditto.
967         (modb-entity-extract-ml-info-from-return-path): Ditto.
968         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
969         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
970         (modb-entity-extract-ml-info-from-mailman): Ditto.
971         (modb-entity-extract-mailing-list-info-functions): Ditto.
972         (modb-entity-extract-mailing-list-info): Rewrite with
973         `elmo-find-list-match-value'.
974
975 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
976
977         * elmo-net.el (elmo-network-session-retry-count): New user option.
978         (elmo-network-session-buffer-name): New internal function.
979         (elmo-network-session-buffer-create): Ditto.
980         (elmo-network-open-session): Retry open network session
981         `elmo-network-session-retry-count' times.
982
983 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
984
985         * elmo-util.el (elmo-list-filter): Rewritten.
986
987 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
988
989         * elmo-util.el (elmo-string-member): Allow symbol element in list.
990
991 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
992
993         * elmo-search.el (elmo-make-search-engine): Use prefix
994         `elmo-search-' for require symbol instead of `else-'.
995         (elmo-search-engine-extprog): New class.
996         (elmo-search-engine-do-search): Remove nil from argument
997         list. Added argument pattern to evaluate element as function.
998         (elmo-search-engine-local-file): Derived from
999         `elmo-search-engine-extprog'.
1000         (elmo-search-engine-create-message-entity): Check existance of file.
1001         (elmo-search-engine-fetch-message): Ditto.
1002         (elmo-search-namazu-index): Follow the API change.
1003         (elmo-search-grep-target): Ditto.
1004
1005 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1006
1007         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
1008         characters of working buffer.
1009
1010         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1011         Does not bind `default-mime-charset'.
1012         (elmo-msgdb-create-message-entity-from-buffer): Removed
1013         unnecessary local bind.
1014
1015         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
1016         function.
1017         (modb-entity-extract-mailing-list-info-functions): Added it.
1018
1019 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1020
1021         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
1022         when number and message-id are non-nil.
1023
1024         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
1025
1026         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
1027         conditional steatment.
1028         (elmo-pop3-auth-apop): Likewise.
1029         (elmo-network-authenticate-session): Likewise.
1030
1031 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1032
1033         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
1034         symbol `fill-column'.
1035         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
1036         decode field value.
1037
1038         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
1039         (elmo-decoded-field-body): Ditto.
1040
1041 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1042
1043         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
1044         `tokens' to `params'.
1045
1046 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1047
1048         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
1049         working buffer.
1050
1051 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1052
1053         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
1054         decide index.
1055
1056 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1057
1058         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1059         Set default value as nil.
1060         (toplevel): Register search engines by
1061         `elmo-search-register-engine' if there are not defined.
1062
1063         * elmo.el (autoload): Added autoload setting for
1064         `elmo-search-register-engine'.
1065
1066 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1067
1068         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1069         folder instead of nmz folder.
1070         (elmo-nmz-default-index-path): Added obsolete variable setting.
1071         (elmo-nmz-index-alias-alist): Ditto.
1072         (elmo-nmz-use-drive-letter): Ditto.
1073
1074         * elmo-search.el (elmo-search-register-engine): New function.
1075
1076         * elmo-nmz.el: Removed.
1077
1078         * elmo-version.el (elmo-version): Up to 2.15.2.
1079
1080 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1081
1082         * elmo-search.el: New file.
1083
1084 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1085
1086         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1087         condition `larger' and `smaller'.
1088
1089 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1090
1091         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1092         `"' (double quote) into "_Q_".
1093
1094 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1095
1096         * elmo-net.el (elmo-net-quote-chars): Abolish.
1097         (elmo-net-format-quoted): Ditto.
1098
1099 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1100
1101         * elmo.el (elmo-get-folder-function): New variable.
1102         (elmo-get-folder): New function.
1103         (elmo-folder-rename): Call `elmo-make-folder' with specified
1104         mime-charset.
1105
1106         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1107         `elmo-make-folder'.
1108         (elmo-split-subr): Ditto.
1109
1110         * elmo-multi.el (elmo-folder-initialize): Ditto.
1111
1112         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1113
1114         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1115         (elmo-flag-get-folder): Ditto.
1116
1117         * elmo-filter.el (elmo-folder-initialize): Ditto.
1118
1119         * elmo-access.el (elmo-folder-initialize): Ditto.
1120         (elmo-access-folder-update-children): Ditto.
1121
1122         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1123         (elmo-dop-queue-flush): Ditto.
1124         (elmo-folder-append-buffer-dop-delayed): Ditto.
1125         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1126         mime-charset.
1127
1128         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1129         instead of `elmo-make-folder'.
1130         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1131         destination folder instead of send `elmo-folder-rename-internal'.
1132
1133         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1134         slot of subfolder instead of create it.
1135
1136 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1137
1138         * elmo-util.el (elmo-collect-separators): New function.
1139         (elmo-collect-separators-internal): Ditto.
1140         (elmo-collect-trail-separators): Ditto.
1141         (elmo-parse-separated-tokens): Ditto.
1142         (elmo-parse-separated-tokens-internal): Ditto.
1143         (elmo-quote-syntactical-element): Ditto.
1144
1145         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1146         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1147
1148         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1149         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1150         (elmo-nntp-folder-list-subfolders): Quote a user name.
1151
1152         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1153         (elmo-net-parse-network): Abolish.
1154         (elmo-net-folder-set-parameters): New function.
1155         (elmo-folder-initialize): Follow the above change.
1156
1157         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1158         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1159         (elmo-folder-list-subfolders): Use
1160         `elmo-quote-syntactical-element' instead of
1161         `elmo-net-format-quoted' to quote mailbox and user name.
1162
1163 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1164
1165         * elmo-util.el (elmo-token-valid-p): New function.
1166         (elmo-parse-token): Add optional argument `requirement'.
1167         (elmo-parse-prefixed-element): Likewise.
1168
1169         * elmo-net.el (elmo-net-quote-chars): Renamed from
1170         `elmo-net-quote-chars-regexp'.
1171         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1172
1173         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1174         by info document. Check token `uidl' is started an alphabet.
1175
1176         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1177         by info document. Check token `user' is started an alphabet.
1178
1179         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1180         (elmo-folder-list-subfolders): Quote user.
1181
1182 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1183
1184         * elmo-util.el (elmo-quoted-specials-list): New constant.
1185         (elmo-quoted-token): New function.
1186
1187         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1188         (elmo-net-format-quoted): New function.
1189         (elmo-net-parse-network): Ditto.
1190         (elmo-folder-initialize): Use it.
1191
1192         * elmo-nntp.el (elmo-folder-initialize): Use
1193         `elmo-net-parse-network' to parse network specification instead of
1194         `elmo-folder-initialize#elmo-net'.
1195
1196         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1197
1198         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1199         (elmo-folder-list-subfolders): Quote folder name by
1200         `elmo-net-format-quoted'.
1201
1202 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1203
1204         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1205         (elmo-folder-search): Use it.
1206
1207 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * modb-standard.el (modb-standard-loaded-message-id): Use
1210         `elmo-msgdb-message-entity-field'.
1211
1212 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1213
1214         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1215         without filename.
1216
1217 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1218
1219         * elmo-util.el (elmo-set-auto-coding): New function.
1220         (elmo-object-load): Use it.
1221
1222 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1223
1224         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1225         (elmo-time<): Define as alias of `elmo-time-less-p'.
1226         (elmo-time-to-datevec): New function.
1227
1228         * elmo-date.el (elmo-time-to-days): New function.
1229
1230 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1231
1232         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1233         is not cons cell.
1234
1235 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1236
1237         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1238         parenthesis.
1239
1240         * elmo-util.el (elmo-map-recursive): New function.
1241
1242         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1243         (modb-entity-encode-string-recursive): Ditto.
1244
1245 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1246
1247         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1248         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1249         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1250         compare sequence number when last modified time is nil.
1251
1252 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1253
1254         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1255
1256         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1257
1258 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1259
1260         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1261         modification time of the file.
1262
1263 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1264
1265         * elmo-util.el (elmo-condition-optimize): Discriminated against
1266         preserved fields, extra fields and the other weight.
1267
1268 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1269
1270         * modb-entity.el (initialize-instance): Define.
1271         (modb-entity-handler-mime-charset): New internal function.
1272         (modb-standard-entity-set-field): Use it.
1273         (elmo-msgdb-message-entity-field): Ditto.
1274         (elmo-msgdb-message-entity-field): Ditto.
1275
1276         * modb.el (elmo-msgdb-match-condition): Rewrite with
1277         `elmo-condition-match'.
1278         (elmo-msgdb-match-condition-primitive): New function.
1279
1280         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1281         arguments `flags' and `numbers'.
1282         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1283         `elmo-msgdb-message-match-condition').
1284         (modb-buffer-entity-handler): New class.
1285
1286         * elmo.el (elmo-folder-search): Optimize condition to use
1287         `elmo-condition-optimize'.
1288         (elmo-message-buffer-match-condition): New function.
1289         (elmo-message-match-condition): Use
1290         `elmo-message-buffer-match-condition' instead of
1291         `elmo-buffer-field-condition-match'.
1292
1293         * elmo-util.el (elmo-condition-match): New function.
1294         (elmo-condition-optimize): Ditto.
1295         (elmo-buffer-field-primitive-condition-match): Abolish.
1296         (elmo-buffer-field-condition-match): Ditto.
1297
1298         * elmo-archive.el (elmo-archive-field-condition-match): Use
1299         `elmo-message-buffer-match-condition' instead of
1300         `elmo-buffer-field-condition-match'.
1301
1302 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1303
1304         * elmo-flag.el (elmo-global-flags-initialize): Check the
1305         existence of the flag directory.
1306
1307 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1308
1309         * elmo-access.el (elmo-folder-initialize): Call
1310         `elmo-multi-connect-signals'.
1311
1312         * elmo-pipe.el (elmo-folder-close): Define.
1313
1314         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1315         children folders.
1316
1317         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1318         with target folder.
1319
1320         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1321         `number'.
1322
1323         * elmo-multi.el (elmo-message-entity): Don't use return value of
1324         `elmo-message-entity-set-number'.
1325
1326 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1327
1328         * modb.el (modb-generic): Added slot `mime-charset'.
1329
1330         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1331         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1332         and `modb-entity-handler-dump-parameters'.
1333         (modb-standard-default-entity-handler): Abolish.
1334         (elmo-msgdb-message-entity-handler): Save created handler by
1335         instance slot.
1336
1337         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1338         (modb-entity-handler-list-parameters): New method.
1339         (modb-entity-handler-equal-p): New function.
1340         (modb-entity-handler-dump-parameters): Ditto.
1341         (modb-entity-parse-address-string): Encode return value.
1342         (modb-entity-make-address-string): Decode argument value.
1343         (modb-entity-decode-string-recursive): New function.
1344         (modb-entity-encode-string-recursive): Ditto.
1345         (modb-standard-entity-normalizer): Set to encode field value.
1346         (modb-standard-entity-specializer): Follow the above change.
1347         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1348         mime-charset of handler.
1349         (elmo-msgdb-message-entity-field): Ditto.
1350         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1351         structure.
1352         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1353
1354         * elmo.el (elmo-folder): Added slot `mime-charset'.
1355         (elmo-make-folder): Added argument `mime-charset'.
1356         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1357         `mime-charest'.
1358
1359         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1360         (elmo-make-msgdb): Likewise.
1361
1362         * elmo-internal.el (elmo-internal-folder-initialize): Call
1363         `luna-make-entity' with :mime-charset parameter.
1364
1365 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1366
1367         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1368         encoded words in `from' and `subject' field.
1369
1370 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1371
1372         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1373         (elmo-msgdb-match-condition): Get handler from entity instead of
1374         msgdb.
1375
1376         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1377         (modb-standard-load-entity): Treat new file format.
1378         (modb-standard-save-entity-1): Save as new file format.
1379         (modb-standard-save-entity): Split messages into section here.
1380         (elmo-msgdb-message-field): Follow the API change.
1381         (modb-standard-default-entity-handler): New internal variable.
1382         (elmo-msgdb-message-entity-handler): Define.
1383
1384         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1385         to `elmo-vars.el'.
1386         (modb-entity-field-extractor-alist): New user option.
1387         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1388         added argument `type'.
1389         (elmo-msgdb-copy-message-entity): Add optional argument
1390         `make-handler'.
1391         (modb-set-field-converter): New function.
1392         (modb-convert-field-value): Ditto.
1393         (modb-entity-string-decoder): Ditto.
1394         (modb-entity-string-encoder): Ditto.
1395         (modb-entity-parse-date-string): Ditto.
1396         (modb-entity-make-date-string): Ditto.
1397         (modb-entity-mime-decoder): Ditto.
1398         (modb-entity-mime-encoder): Ditto.
1399         (modb-entity-address-list-decoder): Ditto.
1400         (modb-entity-address-list-encoder): Ditto.
1401         (modb-entity-parse-address-string): Ditto.
1402         (modb-entity-make-address-string): Ditto.
1403         (modb-entity-create-field-indices): Ditto.
1404         (modb-legacy-entity-field-slots): New constant.
1405         (modb-legacy-entity-field-indices): Ditto.
1406         (modb-legacy-entity-normalizer): New variable.
1407         (modb-legacy-entity-specializer): Ditto.
1408         (modb-legacy-entity-field-index): New macro.
1409         (modb-legacy-entity-set-field): New function.
1410         (modb-legacy-make-message-entity): Rewrite.
1411         (elmo-msgdb-create-message-entity-from-buffer): Use
1412         `elmo-msgdb-get-references-from-buffer'. Use
1413         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1414         Use `modb-legacy-entity-set-field' instead of
1415         `elmo-msgdb-message-entity-set-field'.
1416         (elmo-msgdb-message-entity-field): Rewrite.
1417         (elmo-msgdb-message-entity-set-field): Ditto.
1418         (elmo-msgdb-copy-message-entity): Make new entity by
1419         `make-handler' if it specified.
1420         (elmo-msgdb-message-match-condition): Define a method of
1421         `modb-entity-handler' and follow the API change.
1422         (modb-standard-entity-handler): New class.
1423         (modb-entity-extract-ml-info-from-x-sequence): New function.
1424         (modb-entity-extract-ml-info-from-subject): Ditto.
1425         (modb-entity-extract-ml-info-from-return-path): Ditto.
1426         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1427         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1428         (modb-entity-extract-mailing-list-info): Ditto.
1429         (modb-entity-extract-mailing-list-info-functions): New variable.
1430
1431         * elmo.el (elmo-message-field): Add optional argument `type'.
1432
1433         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1434         from `modb-entity.el'.
1435
1436         * elmo-util.el (elmo-object-load): Decode by coding-system from
1437         `set-auto-coding-function'.
1438         (elmo-object-save): Use `detect-mime-charset-region' and add
1439         coding cookie if encode.
1440         (elmo-msgdb-get-references-from-buffer): New function.
1441         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1442
1443         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1444
1445         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1446         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1447         instead of `shimbun-make-header' and follow the API change.
1448         (elmo-shimbun-update-overview): Follow the API change.
1449         (elmo-map-folder-list-message-locations): Ditto.
1450
1451         * elmo-pipe.el (elmo-message-field): Ditto.
1452
1453         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1454         Ditto.
1455
1456         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1457
1458         * elmo-multi.el (elmo-message-field): Ditto.
1459
1460         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1461         (elmo-msgdb-sort-by-date): Ditto.
1462         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1463         `elmo-message-entity-field'.
1464         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1465         change.
1466         (elmo-msgdb-overview-entity-get-from): Ditto.
1467         (elmo-msgdb-overview-entity-get-subject): Ditto.
1468         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1469         (elmo-msgdb-overview-entity-get-date): Ditto.
1470         (elmo-msgdb-overview-entity-get-to): Ditto.
1471         (elmo-msgdb-overview-entity-get-cc): Ditto.
1472
1473         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1474         (elmo-mime-collect-message/partial-pieces): Ditto.
1475
1476         * elmo-filter.el (elmo-message-field): Ditto.
1477
1478         * elmo-date.el (elmo-datevec-to-time): New function.
1479         (elmo-time-parse-date-string): Ditto.
1480         (elmo-time-make-date-string): Ditto.
1481         (elmo-time<): Ditto.
1482
1483         * elmo-version.el (elmo-version): Up to 2.15.1.
1484
1485 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1486
1487         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1488         member of elmo-local-flags.
1489
1490 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1491
1492         * elmo-version.el (elmo-version): Up to 2.15.0.
1493
1494 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1495
1496         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1497         `ignore-msgdb' is non-nil.
1498
1499 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1500
1501         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1502         (elmo-condition-in-msgdb-p): Ditto.
1503         (elmo-file-field-primitive-condition-match): Ditto.
1504         (elmo-file-field-condition-match): Ditto.
1505
1506         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1507
1508 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1509
1510         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1511         subdirectories here.
1512         (elmo-global-flags-initialize): New function.
1513
1514         * elmo.el (toplevel): Added autoload setting for
1515         `elmo-global-flags-initialize'.
1516
1517 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1518
1519         * elmo.el (message-number-changed): Define new signal.
1520         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1521         message-number-changed signal.
1522         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1523         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1524         Respect `elmo-pack-number-check-strict'.
1525
1526 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1527
1528         * elmo-signal.el (elmo-connect-signal): Document.
1529         (elmo-emit-signal): Ditto.
1530         (elmo-emit-signal): It should pass source argument to filter and
1531         handler, not slot-source.
1532
1533 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1534
1535         * modb.el (elmo-msgdb-update-entity): New API and define generic
1536         implement.
1537
1538         * modb-standard.el (elmo-msgdb-update-entity): Define.
1539
1540         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1541         API and define generic implement.
1542
1543         * elmo.el (update-overview): New singnal.
1544
1545         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1546         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1547         (elmo-message-entity-parent): Define.
1548
1549         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1550         `update-overview'.
1551
1552         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1553
1554         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1555
1556 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1557
1558         * elmo.el (elmo-folder-synchronize): Sort the return value of
1559         `elmo-list-diff'.
1560
1561         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1562         list.
1563
1564 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1565
1566         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1567         `default-enable-multibyte-characters'.
1568         (elmo-object-load): Use `with-temp-buffer' instead of
1569         `elmo-set-work-buf'.
1570         (elmo-object-save): Ditto.
1571         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1572         `elmo-set-work-buf'.
1573         (elmo-decoded-field-body): Ditto.
1574
1575         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1576
1577         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1578         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1579
1580         * elmo-version.el (elmo-version): Up to 2.13.3.
1581
1582 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1583
1584         * elmo-util.el (elmo-list-diff): Fix the last change.
1585         Reverse order of result lists.
1586
1587 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1588
1589         * modb-standard.el (elmo-msgdb-set-flag): Use
1590         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1591         (elmo-msgdb-unset-flag): Ditto.
1592
1593         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1594         `elmo-list-diff'.
1595
1596         * elmo-util.el (elmo-list-diff): Rewrite.
1597         (elmo-list-diff-nonsortable): New function.
1598
1599 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1600
1601         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1602         `elmo-multibypte-buffer-name'.  All referers are updated.
1603
1604 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1605
1606         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1607         (elmo-mime-entity-fragment-p): New function.
1608         (mime-elmo-buffer-entity): Added slot `reassembled'.
1609         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1610         (elmo-message-mime-entity-internal): New function (renamed from
1611         `elmo-message-mime-entity').
1612         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1613         (elmo-mime-make-reassembled-mime-entity): New function.
1614         (elmo-message-reassembled-mime-entity): Ditto.
1615         (elmo-mime-collect-message/partial-pieces): Ditto.
1616
1617 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1618
1619         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1620
1621         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1622         (elmo-with-enable-multibyte): New macro.
1623
1624         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1625
1626 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1627
1628         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1629         argument `number'.
1630         (elmo-filter-connect-signals): Follow the above change.
1631
1632 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1633
1634         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1635
1636         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1637         that only the first flag is used.
1638
1639 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1640
1641         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1642         if available.
1643
1644 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1645
1646         * elmo-signal.el: New file.
1647
1648         * elmo.el (toplevel): Require elmo-signal.
1649         (flag-changing, flag-changed, cache-changed): New signal.
1650         (elmo-folder): Remove slog `handlers'.
1651         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1652         `elmo-folder-notify-event'.
1653         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1654         (elmo-folder-unset-flag): Ditto.
1655         (elmo-event-handler): Abolish.
1656         (elmo-event-handler-flag-changed): Ditto.
1657         (elmo-event-handler-cache-changed): Ditto.
1658         (elmo-folder-add-handler): Ditto.
1659         (elmo-folder-remove-handler): Ditto.
1660         (elmo-folder-notify-event): Ditto.
1661
1662         * elmo-pipe.el (toplevel): Require elmo-signal.
1663         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1664         (elmo-pipe-connect-signals): New function.
1665         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1666         (elmo-folder-set-flag): Ditto.
1667         (elmo-folder-unset-flag): Ditto.
1668         (elmo-message-set-cached): Ditto.
1669
1670         * elmo-multi.el (toplevel): Require elmo-signal.
1671         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1672         (elmo-multi-connect-signals): New function.
1673         (elmo-multi-map-numbers): Ditto.
1674         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1675         (elmo-message-fetch): Ditto.
1676         (elmo-folder-set-flag): Ditto.
1677         (elmo-folder-unset-flag): Ditto.
1678
1679         * elmo-filter.el (toplevel): Require elmo-signal.
1680         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1681         (elmo-filter-connect-signals): New function.
1682         (elmo-filter-add-flag-count): Ditto.
1683         (elmo-message-fetch): Does not call
1684         `elmo-filter-folder-countup-message-flags' and
1685         `elmo-folder-notify-event'.
1686         (elmo-message-set-cached): Ditto.
1687         (elmo-folder-set-flag): Ditto.
1688         (elmo-folder-unset-flag): Ditto.
1689
1690         * elmo-version.el (elmo-version): Up to 2.13.2.
1691
1692 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1693
1694         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1695         `flags'.
1696
1697 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1698
1699         * elmo-filter.el (elmo-message-set-cached): Call
1700         `elmo-folder-notify-event' with event `cache-changed'.
1701
1702         * elmo-multi.el (elmo-message-set-cached): Ditto.
1703
1704         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1705
1706 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1707
1708         * elmo.el (elmo-folder-encache): Abolish.
1709
1710 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1711
1712         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1713         (elmo-folder-next-message-number-dop): Return appropriate negative
1714         integer.
1715
1716 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1717
1718         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1719         clearing pending operations.
1720         (elmo-folder-next-message-number-dop): Return appropriate negative
1721         integer.
1722
1723 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1724
1725         * elmo.el (toplevel): Added autoload setting for `md5'.
1726         (elmo-msgdb-path-encode-threshold): New user option.
1727         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1728         longer than `elmo-msgdb-path-encode-threshold'.
1729
1730         * elmo-flag.el (elmo-global-mark-migrate): Use
1731         `elmo-folder-expand-msgdb-path' instead of
1732         `elmo-folder-msgdb-path'.
1733
1734 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1735
1736         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1737         element of the difference is nil.
1738
1739 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1740
1741         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1742         to the check logic of file systems which are weak in colon character.
1743
1744 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1745
1746         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1747
1748 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1749
1750         * elmo-maildir.el (elmo-maildir-move-file): New function.
1751         (elmo-folder-append-buffer): Use it.
1752         (elmo-folder-append-messages): Ditto.
1753         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1754
1755         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1756         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1757
1758         * elmo-maildir.el (elmo-maildir-separator): New user option.
1759         (elmo-maildir-adjust-separator): New macro.
1760         (elmo-maildir-list-location): Use it.
1761         (elmo-maildir-update-current): Ditto.
1762         (elmo-maildir-set-mark): Ditto.
1763         (elmo-maildir-delete-mark): Ditto.
1764         (These changes are based on Hiroya Murata's patch [wl: 13437])
1765
1766 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1767
1768         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1769
1770 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1771
1772         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1773         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1774         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1775
1776 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1777
1778         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1779         Use `with-temp-buffer'.
1780
1781 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1782
1783         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1784
1785         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1786         `wl-read-search-condition').
1787         (elmo-read-search-condition-internal): Likewise.
1788
1789         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1790         (elmo-flag-valid-p): New function.
1791         (elmo-folder-initialize): Check flag name is valid.
1792
1793 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1794
1795         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1796         delimiter to obtain root mailbox itself.
1797
1798 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1799
1800         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1801         type mismatch.
1802
1803 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1804
1805         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1806         as t.
1807
1808 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1809
1810         * elmo-shimbun.el (toplevel): Require cl at compile.
1811
1812         * elmo-nntp.el (toplevel): Ditto.
1813
1814         * elmo-nmz.el (toplevel): Ditto.
1815
1816         * elmo-multi.el (toplevel): Ditto.
1817
1818         * elmo-file.el (toplevel): Ditto.
1819
1820         * elmo-dop.el (toplevel): Ditto.
1821
1822         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1823
1824 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1825
1826         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1827         as nil.
1828
1829         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1830         size of elmo-message-fetch-internal is 0 byte.
1831
1832 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1833
1834         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1835
1836 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1837
1838         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1839         always plugged.
1840
1841 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1842
1843         * elmo-maildir.el (elmo-map-message-fetch): Call
1844         `elmo-map-folder-set-flag'.
1845
1846         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1847         (elmo-message-fetch): Merge from
1848         `elmo-message-fetch-with-cache-process'.
1849
1850         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1851         (elmo-message-fetch): Define.
1852
1853         * elmo-nntp.el (elmo-message-fetch): Renamed from
1854         `elmo-message-fetch-with-cache-process'.
1855
1856         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1857         (elmo-message-fetch): Define.
1858
1859         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1860         search-key.
1861
1862         * elmo-shimbun.el (shimbun-mua-search-id): Use
1863         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1864         (elmo-shimbun-folder-shimbun-header): Ditto.
1865         (elmo-shimbun-get-headers): Ditto.
1866         (elmo-shimbun-update-overview): Ditto.
1867
1868         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1869
1870         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1871         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1872
1873 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1874
1875         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1876         message is cached.
1877         (elmo-message-fetch-string): Fixed argument.
1878
1879 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1880
1881         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1882         exchange order of arguments `section' and `unread'.
1883         (elmo-message-encache): Follow the API change.
1884         (elmo-message-match-condition): Ditto.
1885         (elmo-generic-folder-append-messages): Ditto.
1886         (elmo-message-fetch-string): New function.
1887
1888         * elmo-split.el (elmo-split-subr): Ditto.
1889
1890         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1891
1892         * elmo-pipe.el (elmo-message-fetch): Ditto.
1893
1894         * elmo-multi.el (elmo-message-fetch): Ditto.
1895
1896         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1897
1898         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1899
1900         * elmo-filter.el (elmo-message-fetch): Ditto.
1901
1902         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1903
1904         * elmo-imap4.el (mime-imap-location-section-body): Use
1905         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1906         follow the API change.
1907
1908 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1909
1910         * elmo-access.el: New file.
1911
1912         * elmo-null.el: Ditto.
1913
1914         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1915
1916 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1917
1918         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1919         (elmo-network-session): New attribute `last-accessed'.
1920         (elmo-network-get-session): Discard network cache if elapsed time
1921         since last-accessed is larger than elmo-network-session-idle-timeout.
1922
1923 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1924
1925         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1926         and added `number', `require-entireness'.
1927         (elmo-find-fetch-strategy): Rewrite.
1928         (elmo-message-fetch): Unset `unread' flag when argument unread is
1929         non-nil.
1930
1931         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1932
1933         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1934         (elmo-message-fetch): Notify event `flag-changed'.
1935
1936         * elmo-pipe.el: Likewise.
1937
1938         * elmo-mime.el (elmo-mime-entity): New class.
1939         (elmo-mime-entity-display-p): New generic function.
1940         (elmo-mime-entity-display): Ditto.
1941         (elmo-mime-entity-display-as-is): Ditto.
1942         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1943         elmo-mime-entity.
1944         (elmo-make-mime-message-location): Removed.
1945         (elmo-mime-message-display): Ditto.
1946         (elmo-mime-display-as-is): Ditto.
1947         (elmo-message-mime-entity): New function.
1948
1949         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1950
1951         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1952         change.
1953         (elmo-message-fetch): Re-count flagged message number and notify
1954         event `flag-changed'.
1955
1956         * elmo-version.el (elmo-version): Up to 2.13.1.
1957
1958 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1959
1960         * elmo-filter.el (elmo-message-field): Define.
1961         (elmo-message-set-field): Ditto.
1962
1963 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1964
1965         * elmo.el (elmo-message-set-cached): Call
1966         `elmo-folder-notify-event' with cache-changed.
1967         (elmo-event-handler-cache-changed): New generic function.
1968
1969 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1970
1971         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1972         instead of elmo-add-name-to-file.
1973         (elmo-folder-append-messages): Ditto.
1974
1975 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1976
1977         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1978
1979 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1980
1981         * elmo-version.el (elmo-version): Up to 2.13.0.
1982
1983         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1984         `auto'.
1985
1986         * modb-standard.el (modb-standard-economize-entity-size): Changed
1987         default value to `t'.
1988
1989         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1990         `standard'.
1991
1992         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1993         after parsing greeting string.
1994
1995 2004-11-23  Daishi Kato <daishi@axlight.com>
1996
1997         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1998         New user option.
1999         (elmo-spam-spamoracle-call): Use it.
2000
2001 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
2002
2003         * elmo.el (elmo-message-accessible-p): Message in dop spool
2004         is accessible.
2005
2006 2004-11-23  Daishi Kato <daishi@axlight.com>
2007
2008         * elsp-spamoracle.el: New file.
2009
2010 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2011
2012         * elmo.el (elmo-message-flags-for-append): New function.
2013         (elmo-generic-folder-append-messages): Use it.
2014
2015         * elmo-split.el (elmo-split-subr): Ditto.
2016
2017         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
2018         `flags' and use elmo-folder-append-buffer instead of
2019         write-region-as-binary.
2020         (elmo-dop-filter-pending-messages): New function.
2021         (elmo-folder-append-buffer-dop): Call
2022         elmo-dop-spool-folder-append-buffer with `flag'.
2023         (elmo-folder-set-flag-dop): Filter messages by
2024         elmo-dop-filter-pending-messages.
2025         (elmo-folder-unset-flag-dop): Ditto.
2026         (elmo-folder-append-buffer-dop-delayed): Use
2027         elmo-message-flags-for-append to get flags of the message and
2028         simplify.
2029
2030 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2031
2032         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
2033
2034 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2035
2036         * elmo.el (elmo-folder): Added handlers slot.
2037         (elmo-event-handler): New class.
2038         (elmo-event-handler-flag-changed): New API.
2039         (elmo-folder-add-handler): New function.
2040         (elmo-folder-remove-handler): Ditto.
2041         (elmo-folder-notify-event): Ditto.
2042         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
2043         `flag-changed'.
2044         (elmo-folder-unset-flag): Ditto.
2045
2046         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
2047         (elmo-folder-unset-flag): Ditto.
2048
2049         * elmo-multi.el (elmo-folder-set-flag): Ditto.
2050         (elmo-folder-unset-flag): Ditto.
2051
2052         * elmo-filter.el (elmo-folder-set-flag): Ditto.
2053         (elmo-folder-unset-flag): Ditto.
2054
2055         * elmo-version.el (elmo-version): Up to 2.11.33.
2056
2057 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2058
2059         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2060
2061 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2062
2063         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2064
2065         * elmo-flag.el (elmo-folder-unset-flag): Define.
2066         (elmo-global-flag-detach): Do process when the flag is not target
2067         flag.
2068
2069 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2070
2071         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2072         variable.
2073         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2074
2075 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2076
2077         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2078         function.
2079         (elmo-folder-delete-messages): Detach messages before delete
2080         messages from target folder.
2081         (elmo-folder-detach-messages): Set updated number-list to slot.
2082
2083 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2084
2085         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2086
2087 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2088
2089         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2090
2091 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2092
2093         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2094         internal use only).
2095         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2096         not modified.
2097         (elmo-folder-delete-messages): Define.
2098         (elmo-folder-move-messages): Don't call
2099         `elmo-folder-detach-messages'.
2100         (elmo-folder-synchronize): Rewrite.
2101         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2102
2103         * elmo-util.el (elmo-last): New function.
2104         (elmo-set-list): Ditto.
2105         (elmo-number-set-delete-list): Ditto.
2106         (elmo-number-set-delete): Ditto.
2107
2108         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2109
2110         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2111         `elmo-folder-delete-messages' and don't delete location map.
2112         (elmo-folder-detach-messages): Define.
2113
2114         * elmo-imap4.el (elmo-folder-delete): Use
2115         `elmo-folder-delete-messages-internal' instead of
2116         `elmo-folder-delete-messages'.
2117
2118         * elmo-filter.el (elmo-folder-delete-messages): Call
2119         `elmo-folder-detach-messages'.
2120         (elmo-folder-detach-messages): Don't call
2121         `elmo-folder-detach-messages' for target folder.
2122
2123         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2124         message deletion is succeeded.
2125
2126         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2127
2128         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2129         from `elmo-folder-delete-messages'.
2130
2131         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2132
2133         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2134
2135         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2136
2137         * elmo-version.el (elmo-version): Up to 2.11.32.
2138
2139 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2140
2141         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2142         (elmo-global-flag-list): Added obsolete variable setting.
2143
2144         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2145
2146         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2147         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2148         `elmo-mime-display-header-analysis' is nil.
2149
2150         * elmo-flag.el (elmo-global-flags): Renamed from
2151         `elmo-global-flag-list' (All other related portions are changed).
2152         (elmo-local-flags): New variable.
2153         (elmo-local-flag-p): New function.
2154         (elmo-global-flag-set-internal): Cause an error when flag is not
2155         global.
2156
2157 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2158
2159         * elmo-util.el (elmo-concat-path): Treat empty path.
2160
2161 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2162
2163         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2164         field-or-fields).
2165         (elmo-split-address-match): Ditto.
2166         (elmo-split-equal): Ditto.
2167         (elmo-split-match): Ditto.
2168
2169 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2170
2171         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2172         (elmo-generic-folder-append-messages): If src message exists but
2173         has no flag, pass (read) for the FLAG argument of
2174         `elmo-folder-append-buffer'. Otherwise, pass nil.
2175
2176         * elmo-split.el (elmo-split-subr): Likewise.
2177
2178         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2179
2180         * elmo-multi.el (elmo-message-flags): Ditto.
2181
2182         * elmo-filter.el (elmo-message-flags): Ditto.
2183
2184         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2185         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2186         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2187
2188 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2189
2190         * elmo-split.el (elmo-split-rule): Update comment.
2191         (elmo-split-address-equal): Allow 2nd argument to be a list.
2192         (elmo-split-address-match): Ditto.
2193         (elmo-split-equal): Ditto.
2194         (elmo-split-match): Ditto.
2195
2196 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2197
2198         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2199         (elmo-folder-append-msgdb): Don't treat `read'.
2200         (elmo-message-flags): Don't return `read'.
2201
2202         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2203         (elmo-folder-unset-read-delayed): Ditto.
2204
2205         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2206
2207 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2208
2209         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2210         deletion.
2211
2212 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2213
2214         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2215         header.
2216
2217 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2218
2219         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2220         here.
2221         (elmo-msgdb-save): Bind inhibit-quit.
2222         (modb-standard-message-entity): Ditto.
2223
2224 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2225
2226         * elmo-database.el: No need to require elmo-msgdb.
2227
2228 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2229
2230         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2231         instead of `elmo-list-subdirectories'.
2232
2233 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2234
2235         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2236         group entry.
2237         (elmo-folder-exists-p): "[" is empty.
2238         (elmo-folder-list-subfolders): Define.
2239         (elmo-folder-have-subfolder-p): Ditto.
2240
2241 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2242
2243         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2244
2245 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2246
2247         * elmo-filter.el (elmo-folder-local-p): Define.
2248
2249 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2250
2251         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2252         when entity is garbaged.
2253         (modb-standard-save-entity-1): Don't modify the original entity.
2254
2255 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2256
2257         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2258
2259 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2260
2261         * elmo.el (elmo-strict-folder-diff): Use
2262         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2263
2264 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2265
2266         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2267         (elmo-msgdb-message-number): Ditto.
2268         (elmo-msgdb-message-field): Ditto.
2269
2270         * modb-standard.el (modb-standard-economize-entity-size): New user
2271         option.
2272         (modb-standard-loaded-message-id): New inline function.
2273         (modb-standard-load-entity): Use it.
2274         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2275         throw message-id string away.
2276         (elmo-msgdb-flag-available-p): Define.
2277         (elmo-msgdb-message-number): Ditto.
2278         (elmo-msgdb-message-field): Ditto.
2279
2280         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2281         (suppoted -> supported).
2282         (modb-legacy-supported-flag-p): Ditto.
2283         (elmo-msgdb-set-flag): Ditto.
2284         (elmo-msgdb-unset-flag): Ditto.
2285         (elmo-msgdb-flag-available-p): Define.
2286
2287         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2288         is `t', treat it as legacy entity.
2289
2290         * elmo.el (elmo-message-flag-available-p): New generic function.
2291         (elmo-message-number): Ditto.
2292         (elmo-message-field): Use `elmo-msgdb-message-field'.
2293
2294         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2295
2296         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2297         (elmo-message-number): Ditto.
2298
2299         * elmo-multi.el (elmo-message-number): Define.
2300         (elmo-message-flag-available-p): Ditto.
2301
2302         * elmo-filter.el (elmo-message-flag-available-p): Define.
2303         (elmo-message-number): Ditto.
2304
2305         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2306         (elmo-folder-initialize): Load `max-number'.
2307         (elmo-folder-commit): Save it.
2308         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2309         (elmo-global-flag-set-internal): Set up max-number slot.
2310
2311 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2312
2313         * elmo-version.el (elmo-version): Up to 2.11.31.
2314
2315 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2316
2317         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2318         unibyte string of the current buffer for the argument of `md5'
2319         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2320
2321 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2322
2323         * modb-legacy.el (modb-legacy-flag-list): New constant.
2324         (modb-legacy-suppoted-flag-p): New internal function.
2325         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2326         (elmo-msgdb-unset-flag): Ditto.
2327
2328 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2329
2330         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2331
2332         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2333         from msgdb.
2334
2335 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2336
2337         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2338         (follow the API change).
2339
2340         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2341
2342 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2343
2344         * modb-standard.el (modb-standard-digest-flags): Abolish.
2345         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2346
2347         * elmo-vars.el (elmo-digest-flags): New variable.
2348         (elmo-preserved-flags): Moved from elmo-flag.el.
2349
2350         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2351         (elmo-imap4-flag-to-imap-criteria): Ditto.
2352         (elmo-imap4-folder-list-flagged): Use it.
2353
2354         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2355
2356         * elmo.el (elmo-folder-count-flags): Changed return value.
2357
2358         * elmo-flag.el (elmo-preserved-flags): New variable.
2359         (elmo-get-global-flags): Use it.
2360
2361         * modb-standard.el (modb-standard-digest-flags): New variable.
2362         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2363         Changed behavior of `any'.
2364
2365         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2366         which are defined the Internet draft
2367         (draft-melnikov-imap-keywords-03.txt).
2368         (elmo-imap4-flags-to-imap): New function.
2369         (elmo-folder-append-buffer): Use it.
2370
2371         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2372         in the docstring.
2373
2374         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2375         avoid the bug of Emacs 21.3.
2376
2377 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2378
2379         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2380         function find-coding-system does not exist.
2381
2382 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2383
2384         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2385         parsing.
2386
2387 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2388
2389         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2390         response codes.
2391
2392 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2393
2394         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2395         (elmo-network-close-session): Follow the changes in
2396         `elmo-pop3-read-response'.
2397         (elmo-pop3-auth-user): Ditto.
2398         (elmo-pop3-auth-apop): Ditto.
2399         (elmo-network-initialize-session): Ditto.
2400         (elmo-network-authenticate-session): Ditto.
2401         (elmo-network-setup-session): Ditto.
2402         (elmo-folder-status): Ditto.
2403         (elmo-message-fetch-plugged): Ditto.
2404         (elmo-pop3-delete-msg): Ditto.
2405
2406 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2407
2408         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2409         on failure.
2410
2411 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2412
2413         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2414         style.
2415         (elmo-bind-directory): Ditto.
2416
2417 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2418
2419         * elmo.el (elmo-folder-append-messages): Note on return value.
2420         * elmo-archive.el (elmo-folder-append-messages): Don't return
2421         message numbers which could not be appended.
2422
2423 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2424
2425         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2426
2427 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2428
2429         * elmo-version.el (elmo-version): Up to 2.11.30.
2430
2431 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2432
2433         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2434         `mask'.
2435
2436         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2437
2438         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2439         (elmo-multi-split-numbers): Add elmo-folder object into each
2440         element of return value at first.
2441         (elmo-folder-delete-messages): Follow the above change.
2442         (elmo-folder-detach-messages): Ditto.
2443
2444         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2445         number which is synchronized in target folder.
2446
2447 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2448
2449         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2450         Change default value to symbol `all'.
2451         (elmo-map-message-fetch): Change condition to update overview
2452         follow the above.
2453
2454 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2455
2456         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2457         behavior to update overview.
2458         (elmo-shimbun-update-overview-folder-list): Note it.
2459
2460 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2461
2462         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2463         recursive call.
2464
2465 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2466
2467         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2468         buffer-disable-undo, it is unnecessary.
2469         (elmo-spam-register-good-messages): Ditto.
2470
2471         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2472         Ditto.
2473
2474         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2475
2476 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2477
2478         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2479         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2480         elmo-set-buffer-multibyte.
2481         (elmo-object-load): Ditto.
2482         (elmo-save-buffer): Ditto.
2483         (elmo-delete-char): Ditto.
2484         (elmo-file-field-primitive-condition-match): Ditto.
2485         (elmo-mime-string): Ditto.
2486
2487         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2488         (elmo-archive-field-condition-match): Ditto.
2489
2490         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2491
2492         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2493
2494         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2495         (elmo-nntp-msgdb-create-message): Ditto.
2496
2497         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2498
2499         * elmo.el (elmo-message-match-condition): Ditto.
2500         (elmo-message-match-condition): Ditto.
2501
2502         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2503         Ditto.
2504
2505         * elmo-version.el (elmo-version): Up to 2.11.29.
2506
2507         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2508         (elsp-header): New backend.
2509
2510         * elmo-util.el (elmo-decoded-field-body): New function.
2511
2512 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2513
2514         * elmo-version.el (elmo-version): Up to 2.11.28.
2515
2516 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2517
2518         * elmo-filter.el: Rewrite.
2519
2520         * elmo-version.el (elmo-version): Up to 2.11.27.
2521
2522 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2523
2524         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2525         msgdb path for the localdir folder with absolute path.
2526
2527         * utf7.el: Synch up with latest gnus/utf7.el;
2528         Modified for latest Emacs.
2529
2530 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2531
2532         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2533         shimbun backend couldn't open.
2534
2535 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2536
2537         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2538         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2539         when a destination folder is a filter folder.
2540
2541 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2542
2543         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2544         (elmo-generic-folder-append-messages): Call elmo-message-flags
2545         with argument `msgid'.
2546
2547         * elmo-split.el (elmo-split-subr): Ditto.
2548
2549         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2550
2551         * elmo-multi.el (elmo-message-flags): Ditto.
2552
2553 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2554
2555         * elmo.el (elmo-folder): Add new slot `flag-table'.
2556         (elmo-folder-flag-table): New API.
2557         (elmo-folder-close-flag-table): Ditto.
2558         (elmo-folder-preserve-flags): New function.
2559         (elmo-generic-folder-append-messages): Use
2560         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2561         Flag of a non-registered message, it sets to nil.
2562         Does not set flag to flag-table.
2563
2564         * elmo-maildir.el (elmo-folder-append-buffer): Use
2565         `elmo-folder-preserve-flags'.
2566         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2567         `elmo-folder-close-flag-table'.
2568
2569         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2570         (elmo-archive-folder-append-buffer): Use
2571         `elmo-folder-preserve-flags'.
2572
2573         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2574
2575         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2576
2577         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2578         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2579         `elmo-folder-close-flag-table'.
2580
2581         * elmo-version.el (elmo-version): Up to 2.11.26.
2582
2583 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2584
2585         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2586
2587         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2588         md5's 4th and 5th argument (non-existent in flim one).
2589
2590 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2591
2592         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2593         message, It sets to nil.
2594
2595 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2596
2597         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2598         list is non-nil.
2599
2600 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2601
2602         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2603
2604         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2605
2606         * elmo-util.el (elmo-uniq-sorted-list): New function.
2607         (elmo-make-number-list): Ditto.
2608         (elmo-number-set-to-number-list): Use elmo-make-number-list
2609         and don't use nreverse.
2610
2611 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2612
2613         * elmo-version.el (elmo-version): Up to 2.11.25.
2614
2615 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2616
2617         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2618         field not exists in message, Use md5 message digest of header.
2619
2620 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2621
2622         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2623         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2624         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2625         * elmo-split.el (elmo-split-subr): Check return value of
2626         elmo-folder-append-buffer.
2627
2628         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2629         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2630
2631         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2632         message-id.
2633
2634 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2635
2636         * elmo-split.el (elmo-split-subr): Append message with flag.
2637
2638         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2639         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2640         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2641
2642 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2643
2644         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2645         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2646         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2647
2648 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2649
2650         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2651         with a function call of `process-buffer'.  All callers are updated.
2652         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2653         Remove redundant `set-buffer' in a while loop.
2654
2655 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2656
2657         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2658         calls.
2659
2660 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2661
2662         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2663         elsp-spamfilter-register-buffer-internal with current buffer.
2664         (elmo-spam-register-spam-buffer): Ditto.
2665         (elmo-spam-register-good-buffer): Ditto.
2666
2667 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2668
2669         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2670         if it is not contained in the response(A workaround for courier-imap).
2671
2672 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2673
2674         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2675         parenthesis.
2676
2677 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2678
2679         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2680         range.
2681
2682 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2683
2684         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2685         of nconc.
2686
2687         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2688         argument handler.
2689         (elmo-msgdb-message-match-condition): Follow the change above.
2690
2691 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2692
2693         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2694         folder name.
2695
2696 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2697
2698         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2699
2700 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2701
2702         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2703
2704 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2705
2706         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2707         not found.
2708
2709 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2710
2711         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2712         value.
2713         (elmo-file-command-argument): Undo last change for cygwin.
2714         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2715         Don't return nil.
2716         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2717
2718 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2719
2720         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2721         value returned from elmo-file-find is nil.
2722
2723 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2724
2725         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2726         to elmo-vars.el.
2727
2728         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2729         instead of insert-file-contents-as-binary.
2730         (elmo-message-set-field): New generic function.
2731
2732         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2733         behavior change on `split-string'.
2734
2735         * elmo-file.el (elmo-file-find): New function.
2736         (elmo-file-command): New user option.
2737         (elmo-file-command-argument): Ditto.
2738         (elmo-file-fetch-max-size): Ditto.
2739         (elmo-file-detect-format): New function.
2740         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2741         Use elmo-file-detect-format.
2742         (elmo-map-folder-list-message-locations): Don't treat directories.
2743
2744 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2745
2746         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2747         (elmo-passwd-alist-clear): Shred password before clear.
2748         (elmo-remove-passwd): Remove all mached pair.
2749
2750 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2751
2752         * elmo.el (elmo-folder-synchronize): Fix description of the return
2753         value.
2754
2755 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2756
2757         * elmo.el (elmo-message-fetch-bodystructure): New method.
2758         (elmo-message-fetch-bodystructure): Define default.
2759
2760         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2761         elmo-message-fetch-bodystructure.
2762         (elmo-message-fetch-bodystructure): Define.
2763
2764         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2765
2766 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2767
2768         * elmo-filter.el (elmo-message-folder): Define.
2769
2770 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2771
2772         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2773         elmo-delete-cr-buffer.
2774
2775         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2776
2777         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2778
2779         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2780
2781         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2782         type seems to be a text.
2783
2784 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2785
2786         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2787         (elmo-spam-register-good-buffer): Ditto.
2788         (elmo-spam-spamassassin-register-messages): Ditto.
2789
2790         * elmo-util.el (elmo-string-member-ignore-case): Define with
2791         static-cond.
2792
2793 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2794
2795         * elmo.el (elmo-folder-type): Undo last change.
2796
2797         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2798
2799         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2800         warnings.
2801
2802         * elmo-file.el: New file.
2803
2804         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2805
2806         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2807         variable.
2808         (elmo-spam-spamassassin-register-messages): New inline function.
2809         (elmo-spam-register-spam-messages): Define.
2810         (elmo-spam-register-good-messages): Ditto.
2811
2812         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2813         Fixed typo.
2814
2815         * elmo.el (toplevel): Added autoload setting for
2816         `elmo-get-global-flags'.
2817         (elmo-message-has-global-flag-p): New function.
2818         (elmo-message-set-global-flags): Ditto.
2819         (elmo-folder-type): Improvement for name: format.
2820
2821         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2822         availability of keyword flags.
2823         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2824         (elmo-folder-list-flagged-plugged): Renamed from
2825         elmo-folder-list-flagged-unplugged.
2826         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2827         accept any flag as keyword flag.
2828         (elmo-folder-set-flag-plugged): Accept keyword flags.
2829         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2830
2831         * elmo-flag.el (elmo-get-global-flags): New function.
2832
2833         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2834         folders.
2835
2836         * elmo-version.el (elmo-version): Up to 2.11.24.
2837
2838 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2839
2840         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2841         elmo-multiple-field-body instead of std11-field-body to check all
2842         headers.
2843
2844 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2845
2846         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2847         or "size".
2848
2849 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2850
2851         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2852         unintern is unbound.
2853
2854 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2855
2856         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2857         Protect from infinite loop.
2858
2859 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2860
2861         * elsp-bogofilter.el
2862         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2863         (elmo-spam-bogofilter-register-messages): New internal function.
2864         (elmo-spam-register-spam-messages): Define.
2865         (elmo-spam-register-good-messages): Ditto.
2866
2867 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2868
2869         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2870         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2871         (elmo-spam-bogofilter-call): Fixed the last change.
2872         (elmo-spam-bogofilter-arguments): Ditto.
2873
2874         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2875         Follow the options change of latest bogofilter.
2876
2877         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2878         (elmo-spam-bogofilter-good-switch): Ditto.
2879         (elmo-spam-bogofilter-arguments-alist): New user option.
2880         (elmo-spam-bogofilter-debug): Ditto.
2881         (elmo-spam-bogofilter-call): Renamed from
2882         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2883         is non-nil, insert output in buffer for debug.
2884         (elmo-spam-bogofilter-arguments): New macro.
2885         (elmo-spam-buffer-spam-p): Use it.
2886         (elsp-bogofilter-register-buffer): Ditto.
2887
2888 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2889
2890         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2891         regexp.
2892
2893 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2894
2895         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2896         value as "ruby".
2897         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2898         (elmo-spam-bsfilter-program): Set default value as full path for
2899         `bsfilter'.
2900         (elmo-spam-bsfilter-debug): New user option.
2901         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2902         non-nil, insert output in buffer for debug. Fix treating of
2903         argument.
2904
2905 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2906
2907         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2908         `elmo-maildir-flag-specs' element instead of one.
2909         (elmo-map-folder-unset-flag): Ditto.
2910         (Reported by Ken Makimura <macky@astem.or.jp>)
2911
2912         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2913         (elmo-folder-unset-flag-plugged): Ditto.
2914
2915 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2916
2917         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2918         to `reads' slot only if `in-msgdb' is nil.
2919
2920 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2921
2922         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2923         and complement argument list.
2924
2925 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2926
2927         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2928         instead of elmo-folder-list-flagged.
2929
2930 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2931
2932         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2933
2934         * elsp-bsfilter.el: New file.
2935
2936         * elmo-pipe.el (elmo-folder-list-unreads,
2937         elmo-folder-list-answereds,
2938         elmo-folder-list-importants,
2939         elmo-folder-flag-as-important,
2940         elmo-folder-unflag-important,
2941         elmo-folder-flag-as-read,
2942         elmo-folder-unflag-read,
2943         elmo-folder-flag-as-answered,
2944         elmo-folder-unflag-answered): Remove.
2945         (elmo-folder-set-flag): Define.
2946         (elmo-folder-unset-flag): Ditto.
2947
2948         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2949         (elmo-folder-set-flag): Define.
2950         (elmo-folder-unset-flag): Ditto.
2951         (elmo-folder-list-unreads): Remove.
2952         (elmo-folder-list-flagged): Define.
2953
2954         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2955         (elmo-folder-list-unreads,
2956         elmo-folder-list-importants,
2957         elmo-folder-list-answereds,
2958         elmo-folder-list-unreads-plugged,
2959         elmo-folder-list-importants-plugged,
2960         elmo-folder-list-answereds-plugged): Remove.
2961         (elmo-folder-list-flagged-plugged): New method.
2962         (elmo-folder-unflag-important,
2963         elmo-folder-flag-as-important,
2964         elmo-folder-unflag-read,
2965         elmo-folder-flag-as-read,
2966         elmo-folder-unflag-answered,
2967         elmo-folder-flag-as-answered,
2968         elmo-folder-flag-as-read-unplugged,
2969         elmo-folder-unflag-read-unplugged,
2970         elmo-folder-flag-as-important-unplugged,
2971         elmo-folder-unflag-important-unplugged,
2972         elmo-folder-flag-as-answered-unplugged,
2973         elmo-folder-unflag-answered-unplugged): Remove.
2974         (elmo-folder-set-flag): Define.
2975         (elmo-folder-unset-flag): Ditto.
2976         (elmo-folder-set-flag-unplugged): Ditto.
2977         (elmo-folder-unset-flag-unplugged): Ditto.
2978
2979         * elmo-multi.el (elmo-folder-list-unreads,
2980         elmo-folder-list-answereds,
2981         elmo-folder-list-importants,
2982         elmo-folder-flag-as-important,
2983         elmo-folder-unflag-important,
2984         elmo-folder-flag-as-read,
2985         elmo-folder-unflag-read,
2986         elmo-folder-flag-as-answered,
2987         elmo-folder-unflag-answered): Remove.
2988         (elmo-folder-set-flag): Define.
2989         (elmo-folder-unset-flag): Ditto.
2990
2991         * elmo-map.el (elmo-map-folder-unflag-important,
2992         elmo-map-folder-flag-as-important,
2993         elmo-map-folder-unflag-read,
2994         elmo-map-folder-flag-as-read,
2995         elmo-map-folder-unflag-answered,
2996         elmo-map-folder-flag-as-answered): Remove.
2997         (elmo-map-folder-set-flag): New method.
2998         (elmo-map-folder-unset-flag): Ditto.
2999         (elmo-map-folder-list-unreads,
3000         elmo-map-folder-list-importants,
3001         elmo-map-folder-list-answereds): Remove.
3002         (elmo-folder-list-flagged-internal): Define.
3003         (elmo-map-folder-list-flagged): New method.
3004
3005         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
3006         (elmo-map-folder-list-unreads,
3007         elmo-map-folder-list-importants,
3008         elmo-map-folder-list-flagged): Remove.
3009         (elmo-map-folder-list-flagged): Define.
3010         (elmo-map-folder-flag-as-important,
3011         elmo-map-folder-unflag-important,
3012         elmo-map-folder-flag-as-read,
3013         elmo-map-folder-unflag-read,
3014         elmo-map-folder-flag-as-answered,
3015         elmo-map-folder-unflag-answered): Remove.
3016         (elmo-maildir-set-mark-messages): New internal function.
3017         (elmo-map-folder-set-flag): Define.
3018         (elmo-map-folder-unset-flag): Ditto.
3019
3020         * elmo.el (toplevel): Added autoload setting for
3021         `elmo-folder-list-global-flag-messages'.
3022         (elmo-folder-list-unreads,
3023         elmo-folder-list-importants,
3024         elmo-folder-list-answereds): Remove.
3025         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
3026         Return a list whitch merged with messages have global flag.
3027         (elmo-folder-list-flagged-internal): New method.
3028         (elmo-folder-unflag-important,
3029         elmo-folder-flag-as-important,
3030         elmo-folder-unflag-read,
3031         elmo-folder-flag-as-read,
3032         elmo-folder-unflag-answered,
3033         elmo-folder-flag-as-answered): Remove.
3034         (elmo-folder-set-flag): New method.
3035         (elmo-folder-unset-flag): Ditto.
3036         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
3037         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
3038
3039         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
3040         (elmo-folder-list-unreads-plugged,
3041         elmo-folder-list-importants-plugged,
3042         elmo-folder-list-answereds-plugged,
3043         elmo-folder-list-flagged-unplugged,
3044         elmo-folder-unflag-important-plugged,
3045         elmo-folder-flag-as-important-plugged,
3046         elmo-folder-unflag-read-plugged,
3047         elmo-folder-flag-as-read-plugged,
3048         elmo-folder-unflag-answered-plugged,
3049         elmo-folder-flag-as-answered-plugged): Remove.
3050         (elmo-folder-set-flag-plugged,
3051         elmo-folder-unset-flag-plugged): Define.
3052
3053         * elmo-flag.el (elmo-folder-initialize): Register to
3054         `elmo-global-flag-list' if flag is not global.
3055         (elmo-folder-append-messages): Set flag to source messages.
3056
3057         * elmo-filter.el (elmo-filter-folder-list-unreads,
3058         elmo-folder-list-unreads,
3059         elmo-filter-folder-list-importants,
3060         elmo-folder-list-importants,
3061         elmo-folder-flag-as-read,
3062         elmo-folder-unflag-read,
3063         elmo-folder-flag-as-important,
3064         elmo-folder-unflag-important,
3065         elmo-folder-flag-as-answered,
3066         elmo-folder-unflag-answered): Remove.
3067         (elmo-folder-set-flag): Define.
3068         (elmo-folder-unset-flag): Ditto.
3069
3070         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3071         elmo-folder-unflag-read-dop,
3072         elmo-folder-flag-as-important-dop,
3073         elmo-folder-unflag-important-dop,
3074         elmo-folder-flag-as-answered-dop,
3075         elmo-folder-unflag-answered-dop): Remove.
3076         (elmo-folder-set-flag-dop,
3077         elmo-folder-unset-flag-dop,
3078         elmo-folder-set-important-delayed,
3079         elmo-folder-unset-important-delayed,
3080         elmo-folder-set-read-delayed,
3081         elmo-folder-unset-read-delayed,
3082         elmo-folder-set-answered-delayed,
3083         elmo-folder-unset-answered-delayed): New function.
3084         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3085         (elmo-dop-queue-method-name-alist): Ditto.
3086
3087         * elmo-version.el (elmo-version): Up to 2.11.23.
3088
3089 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3090
3091         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3092
3093         * elsp-sa.el: New file.
3094
3095 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3096
3097         * modb-standard.el (modb-standard-message-entity): New function.
3098         (elmo-msgdb-message-entity): Use it.
3099
3100 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3101
3102         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3103         behavior when one-level is nil.
3104
3105         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3106
3107         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3108
3109 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3110
3111         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3112         get max number.
3113         (elmo-generic-folder-diff): Ditto.
3114
3115         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3116         (elmo-folder-update-number): Ditto.
3117
3118         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3119         (elmo-folder-next-message-number-dop): Ditto.
3120
3121 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3122
3123         * elmo-filter.el (elmo-folder-msgdb-create): Use
3124         `elmo-message-entity' and `elmo-message-flags' instead of
3125         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3126
3127 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3128
3129         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3130         `if-exists'.
3131
3132 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3133
3134         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3135
3136         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3137
3138         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3139
3140 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3141
3142         * elmo-version.el (elmo-version): Up to 2.11.22.
3143
3144 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3145
3146         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3147
3148 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3149
3150         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3151         if the message dose not exist.
3152
3153 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3154
3155         * elmo-version.el (elmo-version): Up to 2.11.21.
3156
3157 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3158
3159         * modb-standard.el (toplevel): Don't require mime.
3160
3161 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3162
3163         * elsp-bogofilter.el (toplevel): Don't require path-util.
3164         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3165         (elmo-spam-bogofilter-header): Abolish.
3166         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3167         (elmo-spam-bogofilter-args): New user option.
3168         (elsp-bogofilter-call-bogofilter): New internal function.
3169         (elmo-spam-buffer-spam-p): Use it.
3170         (elsp-bogofilter-register-buffer): Renamed from
3171         `elmo-spam-bogofilter-register-buffer';
3172         Use `elsp-bogofilter-call-bogofilter'.
3173         (elmo-spam-register-spam-buffer): Follow the change above.
3174         (elmo-spam-register-good-buffer): Ditto.
3175
3176 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3177
3178         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3179         message-id is nil do nothing.
3180
3181 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3182
3183         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3184         Revival.
3185         (elmo-imap4-session): Removed use-flag slot.
3186         (elmo-imap4-session-select-mailbox): Undo last change.
3187         (elmo-folder-use-flag-p): Use
3188         elmo-imap4-disuse-server-flag-mailbox-regexp.
3189
3190 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3191
3192         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3193         (elmo-imap4-session-select-mailbox): Set it up.
3194         (elmo-folder-use-flag-p): Return value of use-flag slot.
3195
3196 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3197
3198         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3199         message-id is nil.
3200         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3201
3202         * modb-entity.el (elmo-message-entity-handler): Likewise.
3203
3204 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3205
3206         * elmo.el (toplevel): Remove setting of autoloding for
3207         elmo-global-flag-initialize.
3208         (elmo-init): Don't call elmo-global-flag-initialize.
3209         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3210
3211         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3212         (elmo-global-mark-migrate): Don't call it.
3213         (elmo-global-mark-upgrade): Ditto.
3214
3215 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3216
3217         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3218         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3219
3220         * elmo-vars.el (elmo-init-hook): New user option.
3221
3222         * elmo.el (elmo-init): Run the elmo-init-hook.
3223
3224         * elmo-flag.el (elmo-global-mark-migrate): New function.
3225
3226 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3227
3228         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3229         Undo last change (move to elmo-msgdb-unset-flag).
3230         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3231         flag is unset.
3232
3233 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3234
3235         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3236         read flag is set.
3237         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3238         (elmo-msgdb-unset-flag): Ditto.
3239
3240 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3241
3242         * elmo-split.el (elmo-split): Return split message count.
3243
3244 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3245
3246         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3247         is nil.
3248
3249 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3250
3251         * elmo.el (elmo-folder-unflag-important): Call
3252         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3253         a symbol `always'.
3254
3255         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3256         before unset flag.
3257         (elmo-global-flag-detach): Delete the message from flag folder, if
3258         `delete-if-none' is a symbol `always'.
3259
3260 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3261
3262         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3263         `elmo-spam-spamfilter-decode-buffer'.
3264         (elsp-spamfilter-register-buffer-internal): New internal function.
3265         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3266         (elmo-spam-register-spam-buffer): Ditto.
3267         (elmo-spam-register-good-buffer): Ditto.
3268
3269         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3270         change.
3271         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3272         (elmo-spam-register-spam-buffer): Follow the API change.
3273         (elmo-spam-register-good-buffer): Ditto.
3274
3275         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3276         (elmo-split-spam-p): Added argument plist; Call
3277         `elmo-spam-buffer-spam-p' with new argument register.
3278
3279         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3280         `register'.
3281         (elmo-spam-message-spam-p): Ditto.
3282         (elmo-spam-register-spam-buffer): Added optional argument
3283         `restore'.
3284         (elmo-spam-register-good-buffer): Ditto.
3285         (elmo-spam-register-spam-messages): Ditto.
3286         (elmo-spam-register-good-messages): Ditto.
3287
3288 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3289
3290         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3291         register into good corpus.
3292         (elmo-spam-register-good-buffer): Fixed to register into bad
3293         corpus.
3294
3295 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3296
3297         * elmo-version.el (elmo-version): Up to 2.11.20.
3298
3299         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3300         change.
3301
3302         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3303         flag without depending on \Recent flag.
3304
3305 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3306
3307         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3308         (elmo-spam-modified-p): Defined.
3309         (elmo-spam-save-status): Set `modified' slot to nil.
3310         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3311         (elmo-spam-register-good-buffer): Ditto.
3312
3313         * elmo-spam.el (elmo-spam-modified-p): New API.
3314
3315 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3316
3317         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3318         duplicate definition.
3319
3320         * elmo-util.el (elmo-unfold-field-body): New function.
3321         (elmo-msgdb-get-message-id-from-buffer): Use it.
3322
3323         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3324         Fixed the last change; Use elmo-unfold-field-body.
3325
3326 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3327
3328         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3329         Unfold date value.
3330
3331 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3332
3333         * elmo-spam.el (elmo-spam-save-status): New API.
3334
3335         * elsp-spamfilter.el: New file.
3336
3337 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3338
3339         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3340
3341 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3342
3343         * elmo-split.el (elmo-split-spam-p): New function.
3344
3345         * elmo-spam.el: New file.
3346
3347         * elsp-bogofilter.el: Ditto.
3348
3349 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3350
3351         * elmo.el (elmo-folder-next-message-number): New API.
3352         (elmo-folder-next-message-number): Define.
3353         (elmo-message-field): Don't check folder length.
3354
3355         * elmo-net.el (elmo-folder-next-message-number): Define.
3356         (elmo-folder-next-message-number-unplugged): Define.
3357
3358         * elmo-map.el (elmo-folder-next-message-number): Define.
3359         (elmo-folder-delete-messages): Clear hash value.
3360
3361         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3362
3363         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3364         (elmo-folder-delete-messages-dop-delayed): Always return t.
3365
3366         * elmo-version.el (elmo-version): Up to 2.11.19.
3367
3368 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3369
3370         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3371         change.
3372
3373         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3374         identical cons cell into the mark-alist and the hash table.
3375
3376 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3377
3378         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3379         elmo-folder-list-messages with argument `visible-only' as t.
3380
3381         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3382         (elmo-folder-msgdb-create): Check the target folder.
3383
3384 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3385
3386         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3387         `permanentflag' instead of `flags'.
3388         (elmo-folder-open): Ditto.
3389         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3390         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3391         (elmo-folder-use-flag-p): Always return t.
3392         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3393         `permanentflags' does not exist.
3394         (elmo-folder-open): Ditto.
3395
3396 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3397
3398         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3399         is nil.
3400         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3401
3402         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3403         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3404         response.
3405         (elmo-folder-open): Ditto.
3406         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3407         slot of the session includes the flag.
3408         (elmo-imap4-session-flag-available-p): New function.
3409         (elmo-imap4-folder-list-flagged): Ditto.
3410         (elmo-folder-list-unreads-plugged): Use it.
3411         (elmo-folder-list-importants-plugged): Ditto.
3412         (elmo-folder-list-answereds-plugged): Ditto.
3413         (elmo-imap4-search-internal-primitive): Ditto.
3414         (elmo-imap4-folder-list-any-plugged,
3415         elmo-imap4-folder-list-digest-plugged): Abolish.
3416
3417         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3418         if numbers is nil.
3419
3420 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3421
3422         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3423
3424 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3425
3426         * elmo-util.el (elmo-get-hash-val): Simplify.
3427         (elmo-set-hash-val): Rewrite.
3428
3429 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3430
3431         * elmo.el (elmo-folder-list-messages): Append killed messages into
3432         result if `visible-only' is nil and `in-msgdb' is non-nil.
3433
3434         * elmo-util.el (elmo-uniq-list): Added optional argument
3435         `delete-function'.
3436
3437         * modb.el (elmo-msgdb-flag-count): New API.
3438
3439         * modb-standard.el (modb-standard): Added slot flag-count.
3440         (modb-standard-countup-flags): New function.
3441         (modb-standard-load-flag): Call it.
3442         (elmo-msgdb-append): Ditto.
3443         (elmo-msgdb-clear): Clear slot flag-count.
3444         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3445         (elmo-msgdb-unset-flag): Treat `all' flag and call
3446         modb-standard-countup-flags.
3447         (elmo-msgdb-flag-count): Define.
3448         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3449         (elmo-msgdb-delete-messages): Ditto.
3450
3451         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3452         (elmo-msgdb-flag-count): Define.
3453
3454         * elmo.el (elmo-folder-list-messages): Undo last change.
3455         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3456         (elmo-folder-kill-messages): Unset all flags to numbers.
3457
3458         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3459         elmo-folder-kill-messages.
3460
3461         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3462         (elmo-nntp-folder-delete-messages): Abolish.
3463
3464         * elmo-version.el (elmo-version): Up to 2.11.18.
3465
3466 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3467
3468         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3469         (elmo-folder-kill-messages-range): New function.
3470         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3471         instead of elmo-folder-kill-messages-before.
3472
3473 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3474
3475         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3476         elmo-imap4-current-msgdb to decide entity handler.
3477
3478 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3479
3480         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3481
3482         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3483         inline function.
3484         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3485         (elmo-msgdb-overview-entity-set-number,
3486         elmo-msgdb-overview-entity-get-references,
3487         elmo-msgdb-overview-entity-set-references,
3488         elmo-msgdb-overview-entity-get-from-no-decode,
3489         elmo-msgdb-overview-entity-get-from,
3490         elmo-msgdb-overview-entity-set-from,
3491         elmo-msgdb-overview-entity-get-subject,
3492         elmo-msgdb-overview-entity-get-subject-no-decode,
3493         elmo-msgdb-overview-entity-set-subject,
3494         elmo-msgdb-overview-entity-get-date,
3495         elmo-msgdb-overview-entity-set-date,
3496         elmo-msgdb-overview-entity-get-to,
3497         elmo-msgdb-overview-entity-get-cc,
3498         elmo-msgdb-overview-entity-get-size,
3499         elmo-msgdb-overview-entity-set-size,
3500         elmo-msgdb-overview-entity-get-extra,
3501         elmo-msgdb-overview-entity-set-extra,
3502         elmo-msgdb-overview-entity-get-extra-field,
3503         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3504         (elmo-msgdb-make-index): Use
3505         `elmo-msgdb-overview-entity-get-number-internal'.
3506         (elmo-msgdb-clear-index): Ditto.
3507         (elmo-msgdb-append-entity): Ditto;
3508         Use `elmo-msgdb-overview-entity-get-id-internal'.
3509
3510         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3511         elmo-msgdb-overview-entity-set-number,
3512         elmo-msgdb-overview-entity-get-references,
3513         elmo-msgdb-overview-entity-set-references,
3514         elmo-msgdb-overview-entity-get-from-no-decode,
3515         elmo-msgdb-overview-entity-get-from,
3516         elmo-msgdb-overview-entity-set-from,
3517         elmo-msgdb-overview-entity-get-subject,
3518         elmo-msgdb-overview-entity-get-subject-no-decode,
3519         elmo-msgdb-overview-entity-set-subject,
3520         elmo-msgdb-overview-entity-get-date,
3521         elmo-msgdb-overview-entity-set-date,
3522         elmo-msgdb-overview-entity-get-to,
3523         elmo-msgdb-overview-entity-get-cc,
3524         elmo-msgdb-overview-entity-get-size,
3525         elmo-msgdb-overview-entity-set-size,
3526         elmo-msgdb-overview-entity-get-extra,
3527         elmo-msgdb-overview-entity-set-extra,
3528         elmo-msgdb-overview-entity-get-extra-field,
3529         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3530         and rewrote for backward compatibility.
3531
3532 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3533
3534         * elmo.el (elmo-message-entity-number,
3535         elmo-message-entity-set-number,
3536         elmo-message-entity-field,
3537         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3538
3539         * elmo-msgdb.el (elmo-message-entity-number,
3540         elmo-message-entity-set-number,
3541         elmo-message-entity-field,
3542         elmo-message-entity-set-field): Moved from elmo.el.
3543
3544 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3545
3546         * elmo.el (toplevel): Changed definition orders.
3547
3548 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3549
3550         * modb.el (elmo-msgdb-search): New API .
3551         (elmo-msgdb-match-condition): Ditto.
3552
3553         * modb-standard.el (elmo-msgdb-search): Define.
3554
3555         * modb-legacy.el (elmo-msgdb-search): Ditto.
3556
3557         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3558         from elmo-msgdb-match-condition-internal.
3559
3560         * elmo.el (elmo-folder-search-fast): Abolish.
3561         (elmo-folder-search): Use elmo-msgdb-search and
3562         elmo-with-progress-display.
3563
3564         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3565         as msgdb API.
3566
3567         * elmo.el (elmo-folder): Remove slot message-modified and
3568         flag-modified.
3569         (elmo-folder-set-message-modified): Abolish.
3570         (elmo-generic-folder-commit): Follow the change above.
3571         (elmo-folder-synchronize): Ditto.
3572
3573         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3574
3575         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3576
3577         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3578
3579 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3580
3581         * modb-standard.el (modb-standard-make-message-entity,
3582         elmo-msgdb-make-message-entity,
3583         elmo-msgdb-create-message-entity-from-buffer,
3584         elmo-msgdb-message-entity-number,
3585         elmo-msgdb-message-entity-set-number,
3586         elmo-msgdb-message-entity-field,
3587         elmo-msgdb-message-entity-set-field,
3588         elmo-msgdb-copy-message-entity,
3589         elmo-msgdb-match-condition-internal): Remove.
3590
3591         * modb-entity.el: New file (again).
3592
3593         * modb.el (toplevel): Require modb-entity.
3594         (elmo-msgdb-message-entity-handler): New method.
3595
3596         * modb-standard.el (modb-standard-entity-id): Use
3597         elmo-message-entity-handler.
3598         (modb-standard-load-entity): Ditto.
3599         (elmo-msgdb-append-entity): Ditto.
3600         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3601
3602         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3603         elmo-msgdb-decoded-cache-hashtb,
3604         (modb-legacy-make-message-entity,
3605         elmo-msgdb-make-message-entity,
3606         elmo-msgdb-create-message-entity-from-buffer,
3607         elmo-msgdb-message-entity-number,
3608         elmo-msgdb-message-entity-set-number,
3609         elmo-msgdb-message-entity-field,
3610         elmo-msgdb-message-entity-set-field,
3611         elmo-msgdb-copy-message-entity,
3612         elmo-msgdb-match-condition-internal,
3613         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3614
3615         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3616         (elmo-message-entity-set-number): Ditto.
3617         (elmo-message-entity-field): Ditto.
3618         (elmo-message-entity-set-field): Ditto.
3619
3620         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3621
3622         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3623
3624         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3625
3626         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3627         (elmo-nntp-msgdb-create-message): Ditto.
3628
3629         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3630         (elmo-folder-msgdb-create): Add unread flag.
3631
3632         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3633
3634         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3635
3636         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3637
3638         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3639
3640         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3641         elmo-msgdb-messge-entity-handler.
3642         * elmo-version.el (elmo-version): Up to 2.11.17.
3643
3644 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3645
3646         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3647         change.
3648
3649 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3650
3651         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3652
3653         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3654         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3655         (elmo-msgdb-flag-table): Ditto.
3656         (elmo-msgdb-sort-by-date): Ditto.
3657
3658         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3659
3660         * modb-standard.el (toplevel): Require mime.
3661         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3662         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3663         elmo-msgdb-message-entity-number.
3664         (elmo-msgdb-append-entity): Ditto.
3665         (elmo-msgdb-create-message-entity-from-file): Remove.
3666         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3667         corresponds to the entity.
3668         (elmo-msgdb-message-entity-number): Do nothing currently.
3669         (elmo-msgdb-message-entity-field): Ditto.
3670         (elmo-msgdb-message-entity-set-field): Ditto.
3671         (elmo-msgdb-copy-message-entity): Ditto.
3672         (elmo-msgdb-match-condition-internal): Ditto.
3673
3674         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3675         elmo-util.el.
3676         (elmo-msgdb-create-message-entity-from-file): Remove.
3677
3678         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3679         modb-legacy.el.
3680         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3681
3682         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3683
3684 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3685
3686         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3687         (elmo-msgdb-message-entity-field): Ditto.
3688         (elmo-msgdb-message-entity-number): Ditto.
3689
3690 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3691
3692         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3693         Fixed how to set extra field into entity.
3694         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3695         symbol.
3696
3697         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3698         Fixed how to set extra field into entity.
3699         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3700         symbol.
3701
3702 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3703
3704         * modb.el (elmo-message-entity-db): New function.
3705         (elmo-msgdb-make-message-entity): New API.
3706         (elmo-msgdb-message-entity-number): Ditto.
3707         (elmo-msgdb-message-entity-set-number): Ditto.
3708         (elmo-msgdb-message-entity-field): Ditto.
3709         (elmo-msgdb-message-entity-set-field): Ditto.
3710         (elmo-msgdb-copy-message-entity): Ditto.
3711         (elmo-msgdb-create-message-entity-from-file): Ditto.
3712         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3713         (elmo-msgdb-match-condition-internal): Ditto.
3714
3715         * modb-standard.el (modb-legacy): Require modb-legacy.
3716         (modb-standard-make-message-entity): New inline function.
3717         (elmo-msgdb-make-message-entity): Define.
3718         (elmo-msgdb-create-message-entity-from-file): Ditto.
3719         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3720         (elmo-msgdb-message-entity-field): Ditto.
3721         (elmo-msgdb-message-entity-set-field): Ditto.
3722         (elmo-msgdb-copy-message-entity): Ditto.
3723         (elmo-msgdb-match-condition-internal): Ditto.
3724
3725         * modb-legacy.el: Don't require modb-entity.
3726         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3727         (elmo-msgdb-match-condition-primitive): Ditto.
3728         (elmo-msgdb-get-decoded-cache): Ditto.
3729         (elmo-msgdb-overview-entity-get-id): Ditto.
3730         (elmo-msgdb-overview-entity-get-number): Ditto.
3731         (elmo-msgdb-overview-entity-set-number): Ditto.
3732         (elmo-msgdb-overview-entity-get-references): Ditto.
3733         (elmo-msgdb-overview-entity-set-references): Ditto.
3734         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3735         (elmo-msgdb-overview-entity-get-from): Ditto.
3736         (elmo-msgdb-overview-entity-set-from): Ditto.
3737         (elmo-msgdb-overview-entity-get-subject): Ditto.
3738         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3739         (elmo-msgdb-overview-entity-set-subject): Ditto.
3740         (elmo-msgdb-overview-entity-get-date): Ditto.
3741         (elmo-msgdb-overview-entity-set-date): Ditto.
3742         (elmo-msgdb-overview-entity-get-to): Ditto.
3743         (elmo-msgdb-overview-entity-get-cc): Ditto.
3744         (elmo-msgdb-overview-entity-get-size): Ditto.
3745         (elmo-msgdb-overview-entity-set-size): Ditto.
3746         (elmo-msgdb-overview-entity-get-extra): Ditto.
3747         (elmo-msgdb-overview-entity-set-extra): Ditto.
3748         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3749         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3750         (elmo-msgdb-number-load): Ditto.
3751         (elmo-msgdb-overview-load): Ditto.
3752         (elmo-msgdb-mark-load): Ditto.
3753         (elmo-msgdb-number-save): Ditto.
3754         (elmo-msgdb-mark-save): Ditto.
3755         (elmo-msgdb-overview-save): Ditto.
3756         (modb-legacy-make-message-entity): New inline function.
3757         (elmo-msgdb-insert-file-header): Ditto.
3758         (elmo-msgdb-make-message-entity): Define.
3759         (elmo-msgdb-create-message-entity-from-file): Ditto.
3760         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3761         (elmo-msgdb-message-entity-number): Ditto.
3762         (elmo-msgdb-message-entity-set-number): Ditto.
3763         (elmo-msgdb-message-entity-field): Ditto.
3764         (elmo-msgdb-message-entity-set-field): Ditto.
3765         (elmo-msgdb-copy-message-entity): Ditto.
3766         (elmo-msgdb-match-condition-internal): Ditto.
3767
3768         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3769         (elmo-message-copy-entity): Rewrite.
3770         (elmo-message-entity-number): Ditto.
3771         (elmo-message-entity-set-number): Ditto.
3772         (elmo-message-entity-field): Use elmo-message-entity-db.
3773         (elmo-message-entity-set-field): Ditto.
3774         (elmo-message-field): Rewrite.
3775
3776         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3777         elmo-msgdb.el
3778         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3779
3780         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3781         elmo-message-entity-field.
3782         (elmo-shimbun-folder-shimbun-header): Ditto.
3783         (elmo-shimbun-entity-to-header): Ditto.
3784         (elmo-folder-msgdb-create): Ditto.
3785         (elmo-shimbun-msgdb-create-entity): Ditto;
3786         Use elmo-msgdb-create-message-entity-from-buffer.
3787         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3788         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3789
3790         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3791         elmo-msgdb-create-message-entity-from-file and
3792         elmo-message-entity-field.
3793
3794         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3795         elmo-message-entity-number.
3796         (elmo-pop3-msgdb-create-message): Use
3797         elmo-msgdb-create-message-entity-from-buffer,
3798         elmo-message-entity-set-field, elmo-message-entity-number and
3799         elmo-message-entity-set-number.
3800
3801         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3802         the API change in elmo-msgdb-make-message-entity.
3803         (elmo-nntp-msgdb-create-message): Use
3804         elmo-msgdb-create-message-entity-from-buffer.
3805
3806         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3807         elmo-message-entity-field and
3808         elmo-msgdb-create-message-entity-from-file.
3809
3810         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3811         (elmo-msgdb-get-field): Abolish.
3812         (elmo-msgdb-get-number): Rewrite.
3813         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3814         (elmo-msgdb-flag-table): Ditto.
3815         (elmo-msgdb-get-last-message-id,
3816         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3817         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3818         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3819         (elmo-msgdb-create-overview-from-buffer,
3820         elmo-msgdb-overview-get-parent-entity): Abolish.
3821
3822         * elmo-mime.el (elmo-mime-display-as-is): Use
3823         elmo-message-entity-field.
3824
3825         * elmo-map.el (elmo-folder-pack-numbers): Use
3826         elmo-message-entity-set-number.
3827
3828         * elmo-maildir.el (elmo-folder-msgdb-create):
3829         elmo-msgdb-create-message-entity-from-file instead of
3830         elmo-msgdb-create-overview-entity-from-file.
3831
3832         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3833         msgdb.
3834         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3835         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3836
3837         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3838         elmo-messge-entity-field and elmo-message-entity-number.
3839         (elmo-imap4-fetch-callback-1): Call
3840         elmo-msgdb-create-message-entity-from-buffer instead of
3841         elmo-msgdb-create-overview-from-buffer.
3842         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3843         (elmo-find-fetch-strategy): Likewise.
3844
3845         * elmo-flag.el (elmo-folder-msgdb-create): Call
3846         elmo-localdir-msgdb-create-entity with argument msgdb.
3847
3848         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3849         and elmo-message-entity-set-number.
3850
3851         * elmo-cache.el (elmo-folder-msgdb-create): Use
3852         elmo-message-entity-field.
3853         (elmo-folder-msgdb-create): Call
3854         elmo-msgdb-create-message-entity-from-file instead of
3855         elmo-msgdb-create-overview-entity-from-file.
3856
3857         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3858         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3859         instead of elmo-msgdb-create-overview-from-buffer.
3860         (elmo-archive-msgdb-create-entity): Ditto.
3861         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3862         elmo-message-entity-field.
3863         (elmo-archive-parse-mmdf): Ditto.
3864
3865         * modb-entity.el: Removed.
3866
3867         * elmo-version.el (elmo-version): Up to 2.11.16.
3868
3869 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3870
3871         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3872         `is-local'.
3873         (elmo-folder-flag-as-answered): Ditto.
3874
3875 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3876
3877         * modb-standard.el: New file.
3878
3879         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3880         elmo-msgdb-convert-type is `sync'.
3881
3882         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3883         (elmo-msgdb-convert-type): New user option.
3884
3885         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3886         (elmo-load-msgdb): Auto detect saved type.
3887
3888         * elmo-version.el (elmo-version): Up to 2.11.15.
3889
3890 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3891
3892         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3893
3894         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3895         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3896         with argument `delete-if-none' when dst-folder is 'null.
3897
3898         * elmo-flag.el (elmo-folder-append-messages): Defined.
3899         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3900
3901 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3902
3903         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3904
3905 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3906
3907         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3908         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3909         (elmo-folder-commit): Ditto.
3910
3911 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3912
3913         * elmo-flag.el: New file.
3914
3915         * elmo-mark.el: Removed.
3916
3917         * modb-legacy.el (modb-legacy-new-mark,
3918         modb-legacy-unread-uncached-mark,
3919         modb-legacy-unread-cached-mark,
3920         modb-legacy-read-uncached-mark,
3921         modb-legacy-answered-cached-mark,
3922         modb-legacy-answered-uncached-mark,
3923         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3924         All other related portions are changed.
3925
3926         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3927         (elmo-folder-list-messages-with-global-mark): Abolish.
3928         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3929         (elmo-folder-flag-as-important): Ditto.
3930         (elmo-folder-unflag-read): Ditto.
3931         (elmo-folder-flag-as-read): Ditto.
3932         (elmo-folder-unflag-answered): Ditto.
3933         (elmo-folder-flag-as-answered): Ditto.
3934         (elmo-message-encache): Return the cache path.
3935         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3936         (elmo-message-set-flag): Transitional implementation.
3937         (elmo-message-unset-flag): Ditto.
3938         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3939         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3940         (elmo-init): Call elmo-global-flag-initialize.
3941         (toplevel): Added autoload settings for elmo-flag.
3942
3943         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3944
3945         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3946         (elmo-file-cache-delete): Don't treat global-mark.
3947
3948         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3949
3950         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3951
3952         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3953         `elmo-global-flags-set'.
3954
3955         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3956         `flag'.
3957         (elmo-folder-unflag-read): Ditto.
3958         (elmo-folder-unflag-important): Ditto.
3959         (elmo-folder-flag-as-important): Ditto.
3960         (elmo-folder-unflag-answered): Ditto.
3961         (elmo-folder-flag-as-answered): Ditto.
3962
3963         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3964         `elmo-global-flags-set'.
3965         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3966
3967         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3968
3969         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3970         `flag'.
3971         (elmo-folder-flag-as-important): Ditto.
3972         (elmo-folder-unflag-important): Ditto.
3973         (elmo-folder-flag-as-important): Ditto.
3974         (elmo-folder-unflag-read): Ditto.
3975         (elmo-folder-flag-as-read): Ditto.
3976         (elmo-folder-unflag-answered): Ditto.
3977         (elmo-folder-flag-as-answered): Ditto.
3978
3979         * elmo-multi.el (elmo-folder-list-importants): Don't call
3980         elmo-folder-list-messages-with-global-mark.
3981         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3982         (elmo-folder-unflag-important): Ditto.
3983         (elmo-folder-flag-as-read): Ditto.
3984         (elmo-folder-unflag-read): Ditto.
3985         (elmo-folder-flag-as-answered): Ditto.
3986         (elmo-folder-unflag-answered): Ditto.
3987
3988         * elmo-msgdb.el (elmo-msgdb-new-mark,
3989         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3990         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3991         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3992         (Moved to modb-legacy.el).
3993         (elmo-flag-table-get): Treat important flag too.
3994
3995         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3996         `mark' to `flag'.
3997         (elmo-map-folder-flag-as-important): Ditto.
3998         (elmo-map-folder-unflag-read): Ditto.
3999         (elmo-map-folder-flag-as-read): Ditto.
4000         (elmo-map-folder-unflag-answered): Ditto.
4001         (elmo-map-folder-flag-as-answered): Ditto.
4002         (elmo-folder-unflag-important): Ditto.
4003         (elmo-folder-flag-as-important): Ditto.
4004         (elmo-folder-unflag-read): Ditto.
4005         (elmo-folder-flag-as-read): Ditto.
4006         (elmo-folder-unflag-answered): Ditto.
4007         (elmo-folder-flag-as-answered): Ditto.
4008
4009         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4010         (elmo-map-folder-flag-as-important): Renamed from `mark' to
4011         `flag'.
4012         (elmo-map-folder-unflag-important): Ditto.
4013         (elmo-map-folder-flag-as-read): Ditto.
4014         (elmo-map-folder-unflag-read): Ditto.
4015         (elmo-map-folder-flag-as-answered): Ditto.
4016         (elmo-map-folder-unflag-answered): Ditto.
4017
4018         * elmo-localdir.el (elmo-folder-msgdb-create): Call
4019         `elmo-global-flags-set'.
4020         (elmo-global-flags-set): Added autoload setting.
4021
4022         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
4023         `flag'.
4024
4025         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
4026         `elmo-msgdb-global-mark-set'.
4027         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
4028         Call `elmo-global-flags-set'.
4029         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
4030         `flag'.
4031         (elmo-folder-flag-as-important-plugged): Ditto.
4032         (elmo-folder-unflag-read-plugged): Ditto.
4033         (elmo-folder-flag-as-read-plugged): Ditto.
4034         (elmo-folder-unflag-answered-plugged): Ditto.
4035         (elmo-folder-flag-as-answered-plugged): Ditto.
4036         (elmo-global-flags-set): Added autoload setting.
4037
4038         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
4039         `flag'.
4040         (elmo-folder-unflag-read): Ditto.
4041         (elmo-folder-flag-as-important): Ditto.
4042         (elmo-folder-unflag-important): Ditto.
4043         (elmo-folder-flag-as-answered): Ditto.
4044         (elmo-folder-unflag-answered): Ditto.
4045
4046         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
4047         change of `mark'->`flag'.
4048         (elmo-dop-queue-method-name-alist): Ditto.
4049         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
4050         (elmo-folder-unflag-read-dop): Ditto.
4051         (elmo-folder-flag-as-important-dop): Ditto.
4052         (elmo-folder-unflag-important-dop): Ditto.
4053         (elmo-folder-flag-as-answered-dop): Ditto.
4054         (elmo-folder-unflag-answered-dop): Ditto.
4055
4056         * elmo-cache.el (elmo-folder-msgdb-create): Call
4057         `elmo-global-flags-set'.
4058
4059         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4060         Call `elmo-global-flags-set'.
4061         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4062         elmo-archive-parse-mmdf with argument `folder'.
4063         (elmo-archive-parse-mmdf): Added argument `folder';
4064         Call `elmo-global-flags-set'.
4065
4066         * elmo-version.el (elmo-version): Up to 2.11.14.
4067
4068 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4069
4070         * modb.el (elmo-msgdb-length): Define.
4071
4072         * elmo.el (elmo-make-folder): Fixed.
4073         (elmo-generic-folder-append-messages): Follow the API change.
4074
4075         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4076         API change.
4077
4078 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4079
4080         * modb.el: New file.
4081
4082         * modb-entity.el: Ditto.
4083
4084         * modb-legacy.el: Ditto.
4085
4086         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4087         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4088         of `elmo-msgdb-overview-get-entity'.
4089         (elmo-msgdb-get-field): Ditto.
4090         (elmo-msgdb-merge): Moved to `elmo.el'.
4091         (elmo-msgdb-length): Removed; redefine as modb method.
4092         (elmo-msgdb-change-mark): Abolish.
4093         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4094         (elmo-msgdb-match-condition): Don't use mark.
4095         (elmo-msgdb-overview-get-entity): Abolish.
4096         Split modb part into `modb*.el'.
4097
4098         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4099
4100         * elmo-shimbun.el (shimbun-mua-search-id): Use
4101         `elmo-msgdb-message-entity' instead of
4102         `elmo-msgdb-overview-get-entity'.
4103         (elmo-shimbun-folder-shimbun-header): Ditto.
4104         (elmo-shimbun-get-headers): Ditto.
4105         (elmo-shimbun-update-overview): Ditto.
4106
4107         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4108
4109         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4110
4111         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4112         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4113
4114         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4115         `elmo-msgdb-mark-to-flags'.
4116
4117         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4118         `elmo-msgdb-set-path'.
4119
4120         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4121
4122         * elmo-version.el (elmo-version): Up to 2.11.13.
4123
4124         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4125
4126         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4127         of mark.
4128
4129 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4130
4131         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4132         mismatch.
4133
4134 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4135
4136         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4137         instead of `elmo-msgdb-get-cached'.
4138         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4139
4140         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4141         (elmo-msgdb-set-cached): Ditto.
4142         (elmo-msgdb-set-flag): Rewrite.
4143         (elmo-msgdb-unset-flag): Ditto.
4144
4145         * elmo-msgdb.el: Rewrite with luna.
4146
4147         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4148         (elmo-folder-msgdb): Follow the change above.
4149         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4150         (elmo-folder-unmark-important): Follow the API change.
4151         (elmo-folder-mark-as-important): Ditto.
4152         (elmo-folder-unmark-read): Ditto.
4153         (elmo-folder-mark-as-read): Ditto.
4154         (elmo-folder-unmark-answered): Ditto.
4155         (elmo-folder-mark-as-answered): Ditto.
4156         (elmo-folder-clear): Likewise.
4157
4158         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4159         instead of `elmo-msgdb-load' (renamed).
4160
4161         * elmo-version.el (elmo-version): Up to 2.11.12.
4162
4163 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4164
4165         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4166         change.
4167         (elmo-message-mark): Abolish.
4168         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4169         instead of `elmo-msgdb-change-mark'.
4170
4171         * elmo-pipe.el (elmo-message-mark): Abolish.
4172
4173         * elmo-multi.el (elmo-message-mark): Ditto.
4174
4175         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4176         (elmo-msgdb-unread-uncached-mark): Ditto.
4177         (elmo-msgdb-unread-cached-mark): Ditto.
4178         (elmo-msgdb-read-uncached-mark): Ditto.
4179         (elmo-msgdb-answered-cached-mark): Ditto.
4180         (elmo-msgdb-answered-uncached-mark): Ditto.
4181         (elmo-msgdb-important-mark): Ditto.
4182         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4183         `use-cache'.
4184         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4185         `flags'.
4186         (elmo-flag-table-load): Changed flag to list of flag.
4187         (elmo-flag-table-set): If flags is nil, set read flag.
4188         (elmo-flag-table-get): Return derived flags from global mark,
4189         cache status and saved flags.
4190         (elmo-msgdb-flag-table): Follow the change above.
4191         (elmo-msgdb-out-of-date-messages): New function.
4192
4193         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4194
4195         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4196
4197         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4198
4199         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4200         (elmo-nntp-msgdb-create-message): Ditto.
4201
4202         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4203
4204         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4205         independent.
4206         (elmo-folder-msgdb-create): Follow the API change.
4207
4208         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4209         (elmo-folder-append-messages): Ditto.
4210
4211         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4212         (elmo-folder-append-buffer): Ditto.
4213
4214         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4215
4216         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4217
4218         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4219         (elmo-archive-parse-mmdf): Ditto.
4220
4221         * elmo-version.el (elmo-version): Up to 2.11.11.
4222
4223 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4224
4225         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4226         `elmo-msgdb-mark'.
4227
4228         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4229
4230         * elmo-pipe.el (elmo-message-flags): Defined.
4231
4232         * elmo-multi.el (elmo-message-flags): Ditto.
4233
4234 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4235
4236         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4237         `elmo-msgdb-delete-msgs'.
4238
4239         * elmo.el (elmo-folder-count-flags): Don't use
4240         `elmo-msgdb-get-mark-alist'.
4241         (elmo-folder-detach-messages): Follow the API change.
4242
4243         * elmo.el (elmo-folder-list-messages): Append killed messages into
4244         result if `visible-only' is nil.
4245
4246         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4247         canceled messages.
4248         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4249         (elmo-folder-update-number): Likewise.
4250
4251         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4252         (elmo-pop3-sort-msgdb-by-original-number): Use
4253         `elmo-msgdb-sort-entities'.
4254
4255         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4256         (elmo-msgdb-sort-by-date): Use it.
4257         (elmo-msgdb-overview-sort-by-date): Abolish.
4258
4259         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4260
4261         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4262         (elmo-msgdb-flags): New function.
4263         (elmo-msgdb-merge): Use elmo-msgdb-append.
4264
4265         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4266         change.
4267
4268         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4269
4270         * elmo-dop.el (elmo-folder-status-dop): Use
4271         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4272
4273 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4274
4275         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4276
4277         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4278
4279         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4280
4281         * elmo-util.el (elmo-with-progress-display): New macro.
4282
4283         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4284
4285 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4286
4287         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4288         `elmo-folder-list-message-entities' instead of
4289         `elmo-msgdb-get-overview'.
4290         (elmo-map-folder-list-message-locations): Ditto.
4291
4292         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4293         methods instead of treat directly).
4294         (elmo-msgdb-clear): Ditto.
4295         (elmo-msgdb-delete-msgs): Ditto.
4296         (elmo-msgdb-sort-by-date): Ditto.
4297
4298         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4299         local variables.
4300         (elmo-nntp-folder-msgdb-create): Follow the API change.
4301
4302         * elmo-version.el (elmo-version): Up to 2.11.10.
4303
4304 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4305
4306         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4307         (elmo-msgdb-flags-to-mark): Ditto.
4308         (elmo-msgdb-append-entity): Ditto.
4309
4310         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4311         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4312         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4313         (elmo-archive-parse-mmdf): Ditto.
4314
4315         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4316
4317         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4318
4319         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4320
4321         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4322
4323         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4324
4325         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4326
4327         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4328
4329         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4330
4331         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4332         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4333         to empty msgdb.
4334
4335         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4336         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4337         instead of directly construction.
4338         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4339         instead of construct msgdb.
4340
4341         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4342         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4343         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4344         instead of construct msgdb.
4345
4346 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4347
4348         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4349         when field is from or subject.
4350
4351 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4352
4353         * elmo-multi.el (elmo-message-entity-parent): Define.
4354         (elmo-folder-search): Rewrite.
4355
4356 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4357
4358         * elmo-multi.el (elmo-message-cached-p): Define.
4359
4360         * elmo.el (elmo-message-cached-p): New method.
4361         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4362         (elmo-message-flags): New method.
4363         (elmo-message-flagged-p): New function.
4364
4365         * elmo-version.el (elmo-version): Up to 2.11.9.
4366
4367 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4368
4369         * elmo-version.el (elmo-version): Up to 2.11.8.
4370
4371         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4372
4373         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4374
4375 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4376
4377         * elmo.el (elmo-folder-detach-messages): Undo last change.
4378
4379 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4380
4381         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4382
4383         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4384         only when src folder type is pop3.
4385
4386 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4387
4388         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4389         elmo-msgdb-overview-entity-get-number instead of
4390         elmo-message-entity-number.
4391
4392 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4393
4394         * elmo-version.el (elmo-version): Up to 2.11.7.
4395
4396 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4397
4398         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4399         function.
4400
4401         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4402         (elmo-msgdb-merge): New function.
4403         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4404         (elmo-msgdb-make-index): Rewrite.
4405
4406         * elmo-version.el (elmo-version): Up to 2.11.6.
4407
4408         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4409         use it as a the path for loading message entities.
4410
4411         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4412
4413 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4414
4415         * elmo-filter.el (elmo-folder-set-message-modified): Set
4416         message-modified slot of itself if it does not require target msgdb.
4417
4418         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4419         if folder length is zero.
4420         (elmo-mime-display-as-is): Ditto.
4421
4422         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4423
4424         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4425
4426 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4427
4428         * elmo.el (elmo-folder-set-message-modified): New method.
4429         (elmo-generic-folder-commit): Use it.
4430         (elmo-folder-synchronize): Ditto.
4431
4432         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4433         (elmo-folder-commit): Remove duplicate definition.
4434
4435 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4436
4437         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4438
4439 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4440
4441         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4442         (elmo-strict-folder-diff): Ditto.
4443         (elmo-folder-set-info-max-by-numdb): Simplify.
4444
4445         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4446         elmo-msgdb-list-messages.
4447
4448         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4449         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4450
4451 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4452
4453         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4454         visible-only is non-nil.
4455         (elmo-folder-confirm-appends): Changed message.
4456         (elmo-folder-synchronize): Added argument disable-killed.
4457
4458         * elmo-multi.el (elmo-folder-synchronize): Added argument
4459         disable-killed.
4460
4461         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4462
4463         * elmo-version.el (elmo-version): Up to 2.11.5.
4464
4465         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4466         elmo-list-filter.
4467
4468         * elmo-util.el (elmo-list-filter): Simplify.
4469
4470         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4471         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4472         (elmo-generic-folder-diff): Abolish argument.
4473         (elmo-msgdb-load): Don't use number-alist.
4474
4475         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4476
4477         * elmo-pipe.el (elmo-folder-diff): Ditto.
4478
4479         * elmo-nmz.el (elmo-folder-diff): Ditto.
4480
4481         * elmo-net.el (elmo-folder-diff): Ditto.
4482
4483         * elmo-maildir.el (elmo-folder-diff): Ditto.
4484
4485         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4486
4487         * elmo-multi.el (elmo-folder-diff): Ditto
4488         (elmo-multi-folder-diff): Rewrite.
4489
4490 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4491
4492         * elmo-pipe.el (elmo-folder-msgdb): Define.
4493
4494 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4495
4496         * elmo.el (elmo-message-set-cached): Define as a method.
4497
4498         * elmo-pipe.el (elmo-message-set-cached): Define.
4499         (elmo-find-fetch-strategy): Ditto.
4500
4501         * elmo-multi.el (elmo-message-set-cached): Define.
4502         (elmo-find-fetch-strategy): Rewrite.
4503
4504         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4505
4506         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4507
4508 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4509
4510         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4511         instead of number-alist.
4512
4513         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4514         mark nor message-id when msgdb of source folder is not loaded.
4515
4516         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4517
4518         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4519
4520 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4521
4522         * elmo.el (elmo-folder-length): Don't require msgdb.
4523
4524 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4525
4526         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4527         (elmo-message-field): Ditto.
4528
4529         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4530         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4531         slot.
4532         (elmo-map-folder-list-answereds): Define.
4533         (elmo-maildir-list-location): Treat 'R' info.
4534         (elmo-folder-msgdb-create): Treat flag-table.
4535         (elmo-folder-append-messages): Save flag-table.
4536
4537 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4538
4539         * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4540         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4541
4542 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4543
4544         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4545
4546         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4547         'read when mark is null.
4548
4549 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4550
4551         * elmo-version.el (elmo-version): Up to 2.11.4.
4552
4553 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4554
4555         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4556         (elmo-folder-mark-as-answered): Ditto.
4557
4558 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4559
4560         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4561         (elmo-pop3-get-session): Make msgdb directory after session.
4562         (elmo-folder-exists-p): Check exactly at the first time even when the
4563         elmo-pop3-exists-exactly is nil.
4564
4565         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4566         (elmo-folder-list-messages): Define instead of
4567         elmo-folder-list-messages-internal.
4568         (elmo-folder-check): Check destination folder.
4569         (elmo-folder-synchronize): Drain the pipe.
4570
4571         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4572         when msgdb is not loaded.
4573
4574         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4575
4576         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4577         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4578         messages.
4579
4580         * elmo.el (elmo-folder-kill-messages-before): New function.
4581         (elmo-folder-kill-messages): Ditto.
4582         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4583
4584         * elmo-imap4.el (elmo-folder-list-messages-plugged):
4585         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4586         killed not by synchronize (e.g. scoring).
4587
4588 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4589
4590         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4591         treated.
4592         (elmo-folder-search): Follow the change above.
4593
4594         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4595         into the candidates of search field.
4596
4597 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4598
4599         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4600         (elmo-msgdb-unset-flag): Ditto.
4601
4602         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4603
4604 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4605
4606         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4607         (elmo-folder-commit): Define.
4608         (elmo-folder-synchronize): Ditto.
4609         (elmo-folder-list-flagged): Ditto.
4610         (elmo-folder-commit): Ditto.
4611         (elmo-folder-length): Ditto.
4612         (elmo-folder-count-flags): Ditto.
4613         (elmo-message-mark): Ditto.
4614         (elmo-message-field): Ditto.
4615         (elmo-message-entity): Ditto.
4616         (elmo-message-folder): Ditto.
4617
4618 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4619
4620         * elmo.el (elmo-message-field): Define as a method.
4621
4622         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4623         (elmo-message-field): Define.
4624
4625         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4626         (elmo-folder-list-importants): Ditto.
4627         (elmo-folder-list-answereds): Ditto.
4628
4629         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4630         qualifier.
4631         (elmo-folder-mark-as-read): Ditto.
4632         (elmo-folder-unmark-read): Ditto.
4633         (elmo-folder-mark-as-answered): Ditto.
4634         (elmo-folder-unmark-answered): Ditto.
4635         (elmo-folder-list-flagged): Define.
4636         (elmo-folder-commit): Ditto.
4637         (elmo-folder-length): Ditto.
4638         (elmo-folder-count-flags): Ditto.
4639
4640 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4641
4642         * elmo.el (elmo-folder-detach-messages): New method.
4643         (elmo-folder-move-messages): Use it.
4644         (elmo-folder-synchronize): Ditto.
4645
4646         * elmo-multi.el (elmo-folder-detach-messages): Define.
4647
4648         * elmo.el (elmo-message-copy-entity): New function.
4649         (elmo-message-entity-set-number): Ditto.
4650         (elmo-message-mark): Define as method.
4651
4652         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4653         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4654         (elmo-message-entity): Fixed last change.
4655         (elmo-message-mark): Define.
4656         (elmo-folder-msgdb-create): Abolish.
4657         (elmo-multi-folder-append-msgdb): Ditto.
4658         (elmo-multi-folder-diff): Fixed.
4659         (elmo-multi-split-number-alist): Removed.
4660         (elmo-multi-split-mark-alist): Removed.
4661         (elmo-folder-list-messages): Define.
4662         (elmo-folder-list-messages-internal): Removed.
4663
4664         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4665         local file messages.
4666         (elmo-folder-msgdb-create): Fixed read mark.
4667
4668 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4669
4670         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4671         if mark is nil.
4672
4673 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4674
4675         * elmo.el (elmo-folder-list-message-entities): Define as inline
4676         function.
4677         (elmo-folder-messages): Abolish.
4678
4679         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4680         folder.
4681         (elmo-folder-synchronize): Define.
4682         (elmo-message-entity): Define.
4683
4684 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4685
4686         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4687         elmo-imap4-session-select-mailbox.
4688
4689         * elmo.el (elmo-folder-move-messages): Don't display any message.
4690
4691         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4692         parsing.
4693         (elmo-imap4-session-check): Don't wait CHECK response.
4694         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4695
4696 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4697
4698         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4699
4700 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4701
4702         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4703         API.
4704         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4705
4706
4707         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4708         (elmo-folder-list-message-entities): Added argument in-msgdb and
4709         numbers.
4710         (elmo-folder-synchronize): Define as a method.
4711
4712         * elmo-nntp.el (elmo-folder-initialize): Don't use
4713         elmo-nntp-default-user if zero-length username is specified
4714         explicitly.
4715
4716 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4717
4718         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4719         server name in case with username.
4720         (XXX: this is ad-hoc fix against username includes "@", it
4721         should be solved fundamentally)
4722
4723 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4724
4725         * elmo-nntp.el (elmo-nntp-debug): New function.
4726         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4727         (elmo-network-authenticate-session): Hide auth-info from the log.
4728
4729         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4730         user name if it is equal to elmo-nntp-default-user.
4731
4732 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4733
4734         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4735         instead of shimbun-server-internal;
4736         Use shimbun-current-group instead of shimbun-current-group-internal.
4737         (elmo-folder-plugged-p): Use shimbun-server instead of
4738         shimbun-server-internal.
4739         (elmo-folder-set-plugged): Ditto.
4740         (elmo-net-port-info): Ditto.
4741         (elmo-folder-check): Ditto.
4742         (elmo-folder-expand-msgdb-path): Ditto.
4743         (elmo-folder-list-subfolders): Ditto.
4744
4745 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4746
4747         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4748         Convert field-name to lower case.
4749         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4750
4751 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4752
4753         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4754         `message' and `error' take format string.
4755
4756 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4757
4758         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4759
4760 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4761
4762         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4763         recursive call (can't byte compile on emacs 20.7).
4764
4765 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4766
4767         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4768         (elmo-folder-list-message-entities): New API.
4769         (elmo-message-entity): Ditto.
4770         (elmo-message-entity-parent): Ditto.
4771         (elmo-folder-do-each-message-entity): Ditto.
4772         (elmo-message-entity-number): Ditto.
4773         (elmo-message-entity-field): Ditto.
4774         (elmo-message-entity-set-field): Ditto.
4775         (elmo-folder-count-flags): Ditto.
4776         (elmo-folder-length): Ditto.
4777
4778         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4779         not.
4780
4781         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4782         (elmo-msgdb-count-marks): Abolish.
4783         (elmo-msgdb-make-entity): Ditto.
4784         (elmo-msgdb-do-each-entity): Ditto.
4785         (elmo-msgdb-message-entity): New inline function.
4786         (elmo-msgdb-message-entity-field): Ditto.
4787         (elmo-msgdb-message-entity-set-field): Ditto.
4788         (elmo-msgdb-make-message-entity): New function.
4789
4790 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4791
4792         * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4793         to flag. (All other related portions are changed.)
4794         (elmo-folder-msgdb-create): Likewise.
4795         (elmo-generic-folder-append-messages): Use flag-table instead of
4796         seen-list.
4797         (elmo-folder-move-messages): Removed redundant process.
4798         (elmo-folder-synchronize): Likewise.
4799
4800         * elmo-msgdb.el (elmo-flag-table-get): New function.
4801         (elmo-flag-table-save): Fixed.
4802         (elmo-msgdb-length): New inline function.
4803         (elmo-msgdb-flag-table): New function.
4804         (elmo-msgdb-mark): Add optional argument new.
4805         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4806         (elmo-msgdb-seen-list): Ditto.
4807         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4808
4809
4810 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4811
4812         * elmo.el (elmo-message-set-mark): Abolish.
4813         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4814         (All related portions are changed.)
4815
4816         * elmo-msgdb.el (toplevel): Added comment.
4817         (elmo-load-msgdb): Added 4th element `path'.
4818         (elmo-msgdb-append): Follow the change above.
4819         (elmo-msgdb-clear): Ditto.
4820         (elmo-msgdb-delete-msgs): Ditto.
4821         (elmo-msgdb-get-path): New inline function.
4822         (elmo-msgdb-set-path): Ditto.
4823         (elmo-flag-table-filename): New variable.
4824         (elmo-flag-table-load): New function.
4825         (elmo-flag-table-set): Ditto.
4826         (elmo-flag-table-save): Ditto.
4827         (elmo-msgdb-get-field-value): Abolish.
4828         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4829
4830 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4831
4832         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4833         the folder has been deleted successfully.
4834         * elmo-imap4.el (elmo-folder-delete): Ditto.
4835         * elmo-archive.el (elmo-folder-delete): Ditto.
4836         * elmo-localdir.el (elmo-folder-delete): Ditto.
4837         * elmo-maildir.el (elmo-folder-delete): Ditto.
4838
4839 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4840
4841         * elmo-util.el (elmo-string-member-ignore-case): New function.
4842         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4843         (elmo-imap4-fetch-callback-1-subr): Likewise.
4844
4845 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4846
4847         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4848         the case of the name attribute "\Noselect".
4849
4850 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4851
4852         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4853
4854         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4855         flist, is not always a member of onum-alist.
4856
4857 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4858
4859         * elmo-version.el (elmo-version): Up to 2.11.3.
4860
4861 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4862
4863         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4864         copied from localdir's one.
4865
4866         * elmo-pipe.el (elmo-folder-rename): New method, rename
4867         destination folder with leaving source folder as it is.
4868
4869 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4870
4871         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4872         replace-regexp.
4873
4874 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4875
4876         * elmo-version.el (elmo-version): Up to 2.11.2.
4877
4878 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4879
4880         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4881         shimbun-open in case of "@".
4882         (elmo-folder-open-internal): Cope with shimbun = nil case.
4883         (elmo-folder-plugged-p): Ditto.
4884         (elmo-folder-list-subfolders): Make list for "@/" group.
4885
4886 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4887
4888         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4889         mailbox (e.g. for %~/something).
4890
4891 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4892
4893         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4894         Replace nested conditional with guard clauses.
4895
4896 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4897
4898         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4899         error [wl:11327].
4900
4901         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4902         print-depth.
4903
4904 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4905
4906         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4907         Replace nested conditional with guard clauses.
4908
4909 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4910
4911         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4912         (elmo-passwd-alist-save): Ditto.
4913         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4914
4915 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4916
4917         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4918         dir-name only if it is absolute path.
4919         (TODO: distinguish +/something and +something)
4920
4921 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4922
4923         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4924         path for "+~/something".
4925
4926 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4927
4928         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4929         as non-directory, cause error before rename-file.
4930         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4931         apropriately, mimic localdir's one.
4932         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4933
4934 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4935
4936         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4937
4938 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4939
4940         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4941
4942         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4943
4944         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4945         is included in the global-mark or not.
4946
4947 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4948
4949         * utf7.el (toplevel): Avoid error when the function
4950         find-coding-system does not exist.
4951
4952 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4953
4954         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4955         cache even if the folder is plugged.
4956         (elmo-nntp-search-primitive): Do nothing when body search is
4957         invoked (although it is not used by the change above).
4958         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4959
4960 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4961
4962         * elmo-version.el (elmo-version): Up to 2.11.1.
4963
4964 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4965
4966         * elmo-archive.el: Specify charset.
4967
4968 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4969
4970         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4971         process buffer lives or not.
4972
4973         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4974         while flushing queues (It causes infinite loop).
4975
4976 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4977
4978         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4979
4980 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4981
4982         * utf7.el (toplevel): Check the ucs features dynamically.
4983         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4984
4985         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4986         folder is creatabe or not if it already exists.
4987
4988 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4989
4990         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4991
4992         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4993
4994         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4995         (elmo-imap4-read-response): Take care of garbage response.
4996
4997 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4998
4999         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
5000         just return nil instead of error.
5001
5002 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5003
5004         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
5005         search-key is "body".
5006
5007 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5008
5009         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
5010         of elmo-string-matched-assoc to use match-data.
5011         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
5012
5013 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5014
5015         * elmo-split.el (elmo-split->): New function.
5016         (elmo-split-<): Ditto.
5017
5018 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
5019
5020         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
5021         workaround for invalid message-id.
5022
5023 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
5024
5025         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
5026         return normal pop3 session or pop3 biff session.
5027
5028 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5029
5030         * elmo-maildir.el (elmo-maildir-update-current): Don't append
5031         info part to the cur files when the new files already have it.
5032         (Adviced by Jared Rhine <jared@wordzoo.com>)
5033
5034 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5035
5036         * elmo-split.el (elmo-split-default-action): New variable.
5037         (elmo-split-subr): Use it if all other conditions are passed.
5038         Extend `fname' and rename it as `action'. (implemented
5039         Teranishi-san's idea in [wl:10800])
5040
5041 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5042
5043         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
5044         * elmo-util.el: Ditto.
5045
5046 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
5047
5048         * elmo.el (elmo-message-accessible-p): Renamed from
5049         elmo-message-cached-p and rewritten.
5050
5051 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
5052
5053         * elmo.el (elmo-folder-list-flagged): New generic function.
5054         (elmo-folder-list-importants): New implementation.
5055         (elmo-folder-list-answereds): Ditto.
5056         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
5057         Added 'digest'.
5058         (elmo-message-cached-p): New function.
5059         (elmo-message-set-flag): Ditto (no content).
5060         (elmo-message-unset-flag): Ditto.
5061         (elmo-folder-list-messages-mark-match): Abolish.
5062
5063         * elmo-util.el (elmo-regexp-opt): New function.
5064
5065         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5066         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5067         Added 'digest'.
5068         (elmo-msgdb-list-flagged): New function.
5069
5070         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5071         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5072         Added 'digest'.
5073
5074         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5075
5076 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5077
5078         * elmo-version.el (elmo-version): Up to 2.11.0.
5079
5080 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5081
5082         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5083         `elmo-file-cache-exists-p'; use proper mark that depends on
5084         `use-cache'.
5085         (elmo-msgdb-unset-flag): Ditto.
5086         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5087
5088         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5089         with 4th argument `use-cache'.
5090
5091 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5092
5093         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5094         (elmo-folder-mark-as-important): Ditto.
5095         (elmo-folder-unmark-read): Ditto.
5096         (elmo-folder-mark-as-read): Ditto.
5097         (elmo-folder-unmark-answered): Ditto.
5098         (elmo-folder-mark-as-answered): Ditto.
5099
5100         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5101         message status.
5102         (elmo-msgdb-mark): Likewise.
5103         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5104         (elmo-msgdb-unset-flag): Likewise.
5105
5106         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5107
5108 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5109
5110         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5111         `last:' filter.
5112
5113 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5114
5115         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5116         set spool-length to 0.
5117
5118 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5119
5120         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5121         (elmo-dop-queue-flush): Fixed last change.
5122
5123 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5124
5125         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5126         if require-msgdb slot is nil.
5127         (elmo-folder-list-importants): Likewise.
5128
5129 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5130
5131         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5132         mark is changed.
5133
5134         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5135         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5136         is changed.
5137
5138 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5139
5140         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5141
5142 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5143
5144         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5145
5146         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5147
5148 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5149
5150         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5151         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5152
5153 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5154
5155         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5156         the problem reported by Sean Rima [wl-en:180].
5157
5158 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5159
5160         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5161
5162         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5163
5164         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5165
5166         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5167
5168         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5169
5170         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5171
5172         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5173
5174 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5175
5176         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5177         status number.
5178
5179 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5180
5181         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5182         (elmo-folder-mark-as-read): Follow the API change.
5183         (elmo-message-set-cached): New function.
5184
5185         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5186
5187         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5188
5189         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5190         (elmo-folder-mark-as-important): Ditto.
5191         (elmo-folder-unmark-read): Ditto.
5192         (elmo-folder-mark-as-read): Ditto.
5193         (elmo-folder-unmark-answered): Ditto.
5194         (elmo-folder-mark-as-answered): Ditto.
5195
5196         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5197         (elmo-folder-unmark-important): Ditto.
5198         (elmo-folder-mark-as-read): Ditto.
5199         (elmo-folder-unmark-read): Ditto.
5200         (elmo-folder-mark-as-answered): Ditto.
5201         (elmo-folder-unmark-answered): Ditto.
5202
5203         * elmo-mark.el (toplevel): Removed some mark method definitions.
5204
5205         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5206         (elmo-map-folder-mark-as-answered): Ditto.
5207         (elmo-folder-unmark-important): Add :before qualifier.
5208         (elmo-folder-mark-as-important): Ditto.
5209         (elmo-folder-unmark-read): Ditto.
5210         (elmo-folder-mark-as-read): Ditto.
5211         (elmo-folder-unmark-answered): Define.
5212         (elmo-folder-mark-as-answered): Ditto.
5213
5214         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5215         (elmo-map-folder-unmark-answered): Ditto.
5216
5217         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5218
5219         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5220         (elmo-folder-mark-as-important): Ditto.
5221         (elmo-folder-unmark-read): Ditto.
5222         (elmo-folder-mark-as-read): Ditto.
5223         (elmo-folder-unmark-answered): Ditto.
5224         (elmo-folder-mark-as-answered): Ditto.
5225
5226         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5227         `mark'; evaluate mark condition.
5228         (elmo-msgdb-match-condition-internal): New function.
5229         (elmo-msgdb-match-condition): Call it; changed argument.
5230
5231         * elmo.el (elmo-folder-search): Follow the API change on
5232         `elmo-msgdb-match-condition'.
5233
5234 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5235
5236         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5237         original mark is non-nil.
5238
5239 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5240
5241         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5242         (elmo-map-folder-list-answereds): New method.
5243         (elmo-folder-list-unreads): Add :around qualifier.
5244         (elmo-folder-list-importants): Ditto.
5245         (elmo-folder-list-answereds): Ditto.
5246
5247 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5248
5249         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5250
5251         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5252         method if msgdb is not required.
5253         (elmo-filter-folder-list-importants): Don't treat global-mark.
5254
5255         * elmo.el (elmo-folder-list-importants): Ditto.
5256
5257         * elmo-net.el (elmo-folder-list-importants): Ditto.
5258
5259         * elmo-map.el (elmo-folder-list-importants): Ditto.
5260
5261         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5262
5263         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5264         (elmo-imap4-folder-list-any-plugged): New function.
5265         (elmo-imap4-search-internal-primitive): Use it.
5266
5267         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5268         only when require-msgdb slot is non-nil.
5269         (elmo-folder-close): Clear target folder's msgdb.
5270
5271 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5272
5273         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5274         (elmo-pop3-msgdb-create-by-header): Ditto.
5275         (elmo-pop3-msgdb-create-message): Ditto.
5276
5277         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5278
5279         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5280
5281         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5282
5283         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5284         (elmo-folder-msgdb-create): Ditto.
5285         (elmo-nntp-folder-msgdb-create): Ditto.
5286         (elmo-nntp-msgdb-create-by-header): Ditto.
5287         (elmo-nntp-msgdb-create-message): Ditto.
5288         (elmo-folder-list-unreads): Define.
5289
5290         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5291         (elmo-folder-append-messages): Ditto.
5292         (elmo-folder-list-unreads): Define.
5293         (elmo-folder-list-importants): Ditto.
5294         (elmo-folder-list-answereds): Ditto.
5295
5296         * elmo-net.el (elmo-folder-list-unreads): Define.
5297         (elmo-folder-list-importants): Ditto.
5298         (elmo-folder-list-answereds): Ditto.
5299         (elmo-folder-list-answereds-plugged): Ditto.
5300         (elmo-folder-msgdb-create): Follow the API change.
5301         (elmo-folder-msgdb-create-unplugged): Ditto.
5302         (elmo-folder-unmark-answered): Define.
5303         (elmo-folder-mark-as-answered-unplugged): Ditto.
5304         (elmo-folder-unmark-answered-unplugged): Ditto.
5305
5306         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5307         (elmo-msgdb-unread-uncached-mark): Ditto.
5308         (elmo-msgdb-unread-cached-mark): Ditto.
5309         (elmo-msgdb-read-uncached-mark): Ditto.
5310         (elmo-msgdb-answered-cached-mark): Ditto.
5311         (elmo-msgdb-answered-uncached-mark): Ditto.
5312         (elmo-msgdb-important-mark): Ditto.
5313         (elmo-msgdb-set-mark): Rewrite.
5314         (elmo-msgdb-count-marks): Rewrite.
5315         (elmo-msgdb-mark-alist-set): Abolish.
5316         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5317         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5318
5319         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5320         (elmo-folder-close): Define.
5321         (elmo-folder-msgdb-create): Follow the API change.
5322         (elmo-folder-list-unreads): Rewrite.
5323         (elmo-folder-mark-as-important): Ditto.
5324         (elmo-folder-unmark-important): Ditto.
5325         (elmo-folder-mark-as-read): Ditto.
5326         (elmo-folder-unmark-read): Ditto.
5327         (elmo-folder-mark-as-answered): Define.
5328         (elmo-folder-unmark-answered): Ditto.
5329
5330         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5331         (elmo-folder-append-messages): Ditto.
5332
5333         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5334
5335         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5336         (elmo-folder-list-importants): Ditto.
5337
5338         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5339         (elmo-folder-append-messages): Ditto.
5340
5341         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5342         change.
5343         (elmo-folder-msgdb-create-plugged): Ditto.
5344         (elmo-folder-append-messages): Ditto.
5345         (elmo-folder-list-answereds-plugged): Define.
5346         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5347         (elmo-folder-unmark-answered-plugged): Define.
5348         (elmo-folder-mark-as-answered-plugged): Ditto.
5349         (elmo-folder-search-requires-msgdb-p): Ditto.
5350
5351         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5352         (elmo-folder-initialize): Set it.
5353         (elmo-folder-msgdb): Define.
5354         (elmo-folder-check): Call elmo-folder-synchronize.
5355         (elmo-folder-close): Define.
5356         (elmo-folder-commit): Ditto.
5357         (elmo-folder-msgdb-create): Rewrite.
5358         (elmo-folder-list-unreads): Ditto.
5359         (elmo-folder-list-importants): Ditto.
5360         (elmo-folder-mark-as-read): Ditto.
5361         (elmo-folder-unmark-read): Ditto.
5362         (elmo-folder-mark-as-important): Ditto.
5363         (elmo-folder-unmark-important): Ditto.
5364         (elmo-folder-mark-as-answered): Define.
5365         (elmo-folder-unmark-answered): Ditto.
5366
5367         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5368         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5369         (elmo-dop-queue-method-name-alist): Likewise.
5370         (elmo-folder-mark-as-answered-dop): New inline function.
5371         (elmo-folder-unmark-answered-dop): Ditto.
5372         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5373
5374         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5375         (elmo-folder-msgdb-create): Ditto.
5376         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5377         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5378         (elmo-archive-parse-mmdf): Ditto.
5379
5380         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5381         (elmo-folder-list-unreads-internal): Ditto.
5382
5383         * elmo.el (elmo-folder-msgdb): Define as generic function.
5384         (elmo-folder-list-messages): Added argument `in-msgdb'.
5385         (elmo-folder-list-unreads): Define as generic function.
5386         (elmo-folder-list-importants): Ditto.
5387         (elmo-folder-list-answereds): Ditto.
5388         (elmo-folder-list-messages-with-global-mark): New function.
5389         (elmo-folder-msgdb-create): Removed mark arguments.
5390         (elmo-folder-unmark-answered): New generic function.
5391         (elmo-folder-mark-as-answered): Ditto.
5392         (elmo-folder-append-messages): Removed argunment `unread-marks'
5393         (elmo-folder-list-unreads-internal): Abolish.
5394         (elmo-folder-list-importants-internal): Ditto.
5395         (elmo-folder-search-requires-msgdb-p): New generic function.
5396         (elmo-folder-search-requires-msgdb-p-internal): New function.
5397         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5398         elmo-msgdb-load.
5399         (elmo-folder-search-fast): Added key 'mark'.
5400         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5401         instead of unread-marks argument.
5402         (elmo-folder-move-messages): Removed argunment `unread-marks'
5403         (elmo-folder-unmark-important): Define.
5404         (elmo-folder-mark-as-important): Ditto.
5405         (elmo-folder-unmark-read): Ditto.
5406         (elmo-folder-mark-as-read): Ditto.
5407         (elmo-folder-unmark-answered): Ditto.
5408         (elmo-folder-mark-as-answered): Ditto.
5409         (elmo-folder-replace-marks): Abolish.
5410         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5411         duplicates.
5412         (elmo-folder-synchronize): Removed mark arguments;
5413         return crosspost only number.
5414
5415 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5416
5417         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5418         Remove redundunt connectivity check.
5419
5420 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5421
5422         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5423         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5424
5425 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5426
5427         * pldap.el (ldap-decode-string): Return string as-is if
5428         `ldap-coding-system' is nil.
5429         (ldap-encode-string): Ditto.
5430         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5431         (ldap-default-host): Fixed docstring.
5432
5433 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5434
5435         * elmo-util.el (elmo-warning): Define as a macro which uses
5436         `display-warning' if it is defined as a function.
5437
5438         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5439         (elmo-split-equal): Use it.
5440         (elmo-split-match): Ditto.
5441         (elmo-split-message-entity): New buffer-local variable.
5442         (elmo-split-subr): Set it.
5443
5444         * elmo-version.el (elmo-version): Up to 2.9.15.
5445
5446 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5447
5448         * elmo-imap4.el (elmo-network-initialize-session):
5449         Check capability after starttls.
5450
5451 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5452
5453         * elmo-util.el (elmo-list-delete): Added optional argument
5454         DELETE-FUNCTION.
5455
5456         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5457
5458         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5459
5460         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5461
5462         * elmo-imap4.el (elmo-folder-initialize): Don't use
5463         elmo-imap4-default-mailbox.
5464
5465 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5466
5467         * elmo-split.el (toplevel): Use `product-provide'.
5468         (elmo-split): Checkdoc.
5469
5470 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5471
5472         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5473         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5474         the function `elmo-imap4-debug-1'.
5475
5476 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5477
5478         * elmo-split.el (elmo-split): Moved to run hooks and to show
5479         message from elmo-split-subr.
5480         (elmo-split-subr): Follow the change above.
5481
5482         * elmo-split.el (elmo-split-subr): New function (renamed from
5483         elmo-split-subr).
5484         (elmo-split): Changed to call elmo-split-subr by element of
5485         elmo-split-folder.
5486         (elmo-split-folder): Changed customization type to choice.
5487
5488 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5489
5490         * elmo-split.el (elmo-split-and): Fixed condition.
5491
5492 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5493
5494         * elmo-split.el: New file.
5495         (elmo-split): Fixed logic.
5496         Display "Test:" instead of "Folder:" when reharsal.
5497
5498         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5499         explicitly.
5500
5501         * elmo-version.el (elmo-version): Up to 2.9.14.
5502
5503         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5504         wl-expand-newtext).
5505
5506 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5507
5508         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5509         message with no message-id field.
5510
5511 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5512
5513         * elmo-version.el (elmo-version): Up to 2.9.13.
5514
5515         * elmo-dop.el (elmo-folder-status-dop): Fix.
5516
5517 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5518
5519         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5520
5521         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5522         changing default value of default-mime-charset.
5523         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5524
5525         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5526
5527         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5528         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5529         instead of elmo-dop-queue-method-name-alist to check merging queue.
5530         (elmo-folder-delete-messages-dop): Delete from queue if negative
5531         message number.
5532         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5533         file is already removed.
5534
5535 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5536
5537         * elmo-vars.el: Bind colon keywords for old Emacsen.
5538
5539 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5540
5541         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5542         against non-exsisting charset.
5543
5544 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5545
5546         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5547         Use eword-decode-and-unfold-unstructured-field-body.
5548
5549         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5550         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5551         exists to decode raw subject string.
5552         (toplevel): Require 'mime.
5553
5554         * elmo-version.el (elmo-version): Up to 2.9.12.
5555
5556 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5557
5558         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5559         (elmo-msgdb-set-mark): Ditto.
5560
5561         * elmo-version.el (elmo-version): Up to 2.9.11.
5562
5563 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5564
5565         * elmo-util.el (elmo-delete-match-files): New function.
5566
5567         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5568         instead of elmo-delete-directory.
5569
5570         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5571         elmo-hash-minimun-size as 63.
5572
5573         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5574         elmo-diff-unread is nil.
5575
5576         * elmo-imap4.el (elmo-folder-open): Fix.
5577
5578         * elmo.el (elmo-message-mark): Rewrite.
5579         (elmo-message-field): Ditto.
5580         (elmo-message-set-mark): Ditto.
5581         (elmo-folder-replace-marks): New function.
5582         (elmo-generic-folder-append-msgdb): Removed third argument for
5583         elmo-msgdb-append.
5584         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5585         (elmo-msgdb-load): New implementation.
5586
5587         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5588
5589         * elmo-util.el (elmo-list-insert): New implementation.
5590
5591         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5592         argument for elmo-msgdb-append.
5593
5594
5595         * elmo-msgdb.el (elmo-load-msgdb): New function.
5596         (elmo-make-msgdb): Ditto.
5597         (elmo-msgdb-get-index): New inline function.
5598         (elmo-msgdb-set-index): Ditto.
5599         (elmo-msgdb-get-entity-hashtb): Ditto.
5600         (elmo-msgdb-get-mark-hashtb): Ditto.
5601         (elmo-msgdb-get-mark): Ditto.
5602         (elmo-msgdb-set-mark): Ditto.
5603         (elmo-msgdb-count-marks): Ditto.
5604         (elmo-msgdb-get-number): Ditto.
5605         (elmo-msgdb-get-field): Ditto.
5606         (elmo-msgdb-seen-list): Ditto.
5607         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5608         (elmo-msgdb-delete-msgs): Follow the changes above.
5609         (elmo-msgdb-overview-get-entity): Ditto.
5610         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5611         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5612         and rewritten.
5613         (elmo-msgdb-make-index): Likewise.
5614         (elmo-msgdb-append): Removed third argument.
5615         (elmo-msgdb-clear): Clear index as nil.
5616         (elmo-folder-set-info-hashtb): Removed.
5617         (elmo-folder-set-info-max-by-numdb): Ditto.
5618         (elmo-folder-info-make-hashtb): Ditto.
5619
5620         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5621
5622         * elmo-map.el (elmo-folder-pack-number): Ditto.
5623
5624 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5625
5626         * elmo-version.el (elmo-version): Up to 2.9.10.
5627
5628         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5629
5630         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5631
5632 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5633
5634         * elmo-utils.el (elmo-make-directory): Add option.
5635         Default file mode is 700.
5636
5637 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5638
5639         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5640
5641 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5642
5643         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5644         mime-charset.
5645
5646         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5647         and "smaller".
5648
5649 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5650
5651         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5652         (elmo-shimbun-folder-entity-hash): New function.
5653         (elmo-shimbun-folder-shimbun-header): Ditto.
5654         (elmo-shimbun-entity-to-header): Ditto.
5655         (elmo-shimbun-msgdb-to-headers): Removed.
5656         (elmo-shimbun-folder-setup): Ditto.
5657         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5658         for hash key.
5659         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5660         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5661         Removed useless local bind.
5662         (elmo-folder-open-internal): Don't call
5663         `elmo-shimbun-folder-setup'.
5664         (elmo-folder-close-internal): Clear entity-hash slot.
5665         (elmo-folder-clear): Ditto.
5666         (elmo-shimbun-msgdb-create-entity): Use
5667         `elmo-shimbun-folder-shimbun-header'.
5668         (elmo-map-message-fetch): Ditto.
5669         (elmo-shimbun-update-overview): Use overview entity instead of
5670         shimbun header to lookup id by references.
5671         (elmo-map-folder-list-message-locations): Use not only headers but
5672         also overviews to list locations.
5673
5674 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5675
5676         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5677         msgdb path.
5678
5679         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5680
5681 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5682
5683         * elmo-util.el (elmo-read-search-condition-internal): Give default
5684         value for date.
5685
5686 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5687
5688         * elmo-util.el (elmo-condition-parse-search-value): Accept
5689         YYYY-MM-DD format to search.
5690         * elmo-date.el (elmo-date-get-datevec): Likewise.
5691
5692 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5693
5694         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5695         debugging code.
5696
5697 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5698
5699         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5700         from t.
5701
5702         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5703
5704         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5705         case from `elmo-folder-exists-p'.
5706         (elmo-folder-exists-p): Removed.
5707         (elmo-folder-creatable-p) Ditto.
5708
5709         * elmo-net.el (elmo-folder-create): Defined.
5710         (elmo-folder-create-unplugged): New function.
5711         (elmo-folder-exists-p): Changed default value to nil from t.
5712
5713         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5714         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5715
5716         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5717         `elmo-create-folder-dop' and append queue
5718         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5719         (elmo-folder-create-dop-delayed): New function.
5720
5721         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5722
5723         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5724
5725         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5726         (elmo-folder-writable-p) : Ditto.
5727
5728         * elmo-version.el (elmo-version): Up to 2.9.9.
5729
5730 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5731
5732         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5733         `elmo-message-use-cache-p' returns nil.
5734         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5735         (ignore cache file and refer the substance in local folders)
5736
5737 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5738
5739         * elmo-version.el (elmo-version): Up to 2.9.8.
5740
5741 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5742
5743         * elmo-version.el (elmo-version): Up to 2.9.7.
5744
5745         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5746
5747 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5748
5749         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5750
5751 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5752
5753         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5754         from --early.
5755         (elmo-map-folder-list-message-locations): Reverse location list.
5756
5757 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5758
5759         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5760
5761 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5762
5763         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5764         as a key.
5765         (elmo-nntp-folder-list-subfolders): Follow the change above.
5766
5767 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5768
5769         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5770         name if authentication type is specified.
5771
5772 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5773
5774         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5775         variable.
5776         (elmo-default-nntp-stream-type): Ditto.
5777         (elmo-default-pop3-stream-type): Ditto.
5778
5779 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5780
5781         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5782
5783 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5784
5785         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5786         elmo-vars.el.
5787         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5788
5789         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5790         (elmo-maildir-folder-path): Ditto.
5791         (elmo-maildir-list): Ditto (abolished).
5792
5793 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5794
5795         * elmo-version.el (elmo-version): Up to 2.9.6.
5796
5797 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5798
5799         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5800         (elmo-maildir-folder-path): Ditto.
5801         (elmo-msgdb-directory): Ditto.
5802         (elmo-passwd-life-time): Ditto.
5803         (elmo-msgdb-extra-fields): Ditto.
5804         (elmo-enable-disconnected-operation): Ditto.
5805
5806 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5807
5808         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5809         other choices.
5810         (elmo-pop3-default-authenticate-type): Ditto.
5811
5812 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5813
5814         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5815         choices for custom.
5816         (elmo-pop3-default-authenticate-type): Ditto.
5817
5818 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5819
5820         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5821         mailbox to new-folder.
5822
5823 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5824
5825         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5826         less than new, set new as unread.
5827
5828         * elmo-util.el (elmo-string): Don't put text-property if nil.
5829
5830 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5831
5832         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5833         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5834
5835 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5836
5837         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5838         is nil on `completing-read'.
5839
5840 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5841
5842         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5843         for namespace part.
5844         (elmo-imap4-parse-namespace-subr): Ditto.
5845         (elmo-folder-list-subfolders): Append a delimiter when the specified
5846         folder path is a root with namespace and does not end with delimiter.
5847
5848 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5849
5850         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5851         was used.
5852
5853 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5854
5855         * elmo-util.el (elmo-save-buffer): The first argument of message
5856         is a format control string.
5857
5858 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5859
5860         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5861         `elmo-folder-diff').
5862         (elmo-diff-unread): Likewise.
5863
5864 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5865
5866         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5867         is t on `completing-read'.
5868
5869 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5870
5871         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5872         method of target folder with self mark-alist if MARK-ALIST is nil.
5873
5874 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5875
5876         * elmo-version.el (elmo-version): Up to 2.9.5.
5877
5878 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5879
5880         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5881         (elmo-dop-merge-funcs): Remove.
5882
5883 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5884
5885         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5886         Return t if PATH is directory, too.
5887         Use `dolist' instead of while loop.
5888
5889 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5890
5891         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5892         is deleted.
5893
5894 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5895
5896         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5897         return value to t.
5898         (elmo-folder-list-messages-unplugged): Return t if
5899         elmo-enable-disconnected-operation is nil.
5900
5901         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5902         `elmo-folder-list-messages-internal'.
5903
5904 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5905
5906         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5907         Change to looking-at `[23][0-9]+'.
5908         (elmo-network-initialize-session): Use 'error-msg'
5909         * elmo-net.el (elmo-network-open-session): Set unplugged
5910         if elmo-network-initialize-session returns 'elmo-open-err.
5911
5912 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5913
5914         * elmo-version.el (elmo-version): Up to 2.9.4.
5915
5916 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5917
5918         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5919         `elmo-folder-list-messages-internal'.
5920
5921 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5922
5923         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5924         (elmo-message-match-condition): New method.
5925         (elmo-folder-search-fast): New inline function.
5926         (elmo-msgdb-search): Removed.
5927
5928         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5929         target folder if it is unplugged.
5930         (elmo-folder-list-messages-internal): Return t if target folder is
5931         unplugged and itself is persistent; In this case, use list be
5932         searched already.
5933
5934         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5935         (elmo-msgdb-search-internal-primitive): Ditto.
5936         (elmo-msgdb-match-condition): New function.
5937         (elmo-msgdb-match-condition-primitive): Ditto.
5938
5939         * elmo-util.el (elmo-filter-condition-p): New macro.
5940
5941         * elmo-cache.el (elmo-folder-search): Removed.
5942
5943         * elmo-localdir.el (elmo-folder-search): Ditto.
5944
5945         * elmo-maildir.el (elmo-folder-search): Ditto.
5946
5947         * elmo-mark.el (elmo-folder-search): Ditto.
5948
5949         * elmo-nmz.el (elmo-folder-search): Ditto.
5950
5951         * elmo-sendlog.el (elmo-folder-search): Ditto.
5952
5953         * elmo-shimbun.el (elmo-folder-search): Ditto.
5954
5955         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5956         if folder is unplugged.
5957
5958         * elmo-nntp.el (elmo-folder-search): Likewise.
5959         (elmo-nntp-search-internal): New function.
5960
5961         * elmo-version.el (elmo-version): Up to 2.9.3.
5962
5963 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5964
5965         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5966
5967 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5968
5969         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5970
5971 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5972
5973         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5974
5975 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5976
5977         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5978         (elmo-map-folder-list-message-locations): Do drive letter conversion
5979         on Windows environment.
5980         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5981         (elmo-map-message-fetch): Ditto.
5982
5983 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5984
5985         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5986         (elmo-network-initialize-session): Ditto.
5987
5988 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5989
5990         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5991
5992         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5993
5994         * elmo-util.el (elmo-progress-clear): Ditto.
5995
5996         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5997         `DD-Mon-YYYY' type date.
5998
5999 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6000
6001         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
6002         `elmo-date-make-sortable-string' instead of
6003         `timezone-make-date-sortable'.
6004
6005         * elmo-date.el (elmo-date-make-sortable-string): Use
6006         `timezone-make-time-string'.
6007
6008 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
6009
6010         * elmo.el (elmo-folder-synchronize): Delete important messages too.
6011
6012         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
6013         `since'; Fix timezone.
6014
6015         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
6016
6017         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
6018
6019 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6020
6021         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
6022
6023 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6024
6025         * elmo.el (elmo-generic-folder-append-messages): Make
6026         fetch-strategy with `use-cache' as 'maybe. Check return value of
6027         `elmo-message-fetch'.
6028         (elmo-message-fetch): Return return value of
6029         `elmo-message-fetch-with-cache-process'.
6030         (elmo-message-fetch-with-cache-process): Return non-nil if
6031         fetching was succeed. Load cache when fetching was failed and
6032         fetch-strategy-use-cache is 'maybe.
6033
6034         * elmo-util.el (elmo-file-cache-load): New function.
6035
6036         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
6037         defun.
6038
6039         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
6040         non-nil if fetching was succeed.
6041
6042         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
6043
6044         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
6045
6046         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
6047         (elmo-message-fetch-with-cache-process): Likwise.
6048
6049         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
6050
6051         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
6052
6053         * elmo-version.el (elmo-version): Up to 2.9.2.
6054
6055 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
6056
6057         * elmo.el (elmo-folder-delete): Delete msgdb path.
6058
6059         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6060
6061         * elmo-maildir.el (elmo-folder-delete): Ditto.
6062
6063         * elmo-localdir.el (elmo-folder-delete): Ditto.
6064
6065         * elmo-imap4.el (elmo-folder-delete): Ditto.
6066
6067 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6068
6069         * elmo.el (luna-define-class): Added `biff' slot.
6070
6071         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6072         (elmo-pop3-debug-inhibit-logging): Abolished.
6073         (elmo-network-close-session): Eliminated needless let.
6074         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6075         (elmo-pop3-send-command): Added `no-log' argument.
6076         (elmo-pop3-process-filter): Use `with-current-buffer'.
6077         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6078         if login failure.
6079         (elmo-pop3-auth-apop): Likewise.
6080         (elmo-network-authenticate-session): Likewise.
6081
6082         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6083         if biff folder.
6084
6085         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6086         string to determine protocol.
6087         (elmo-network-session-name-prefix): Abolished.
6088         (elmo-network-session-cache-key): Follow the change above.
6089         (elmo-network-open-session): Ditto.
6090
6091         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6092         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6093
6094         * elmo-version.el (elmo-version): Up to 2.9.1.
6095
6096         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6097         unmatch condition checking.
6098
6099         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6100         condition.
6101
6102 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6103
6104         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6105
6106 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6107
6108         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6109         test for while loop to execute at least one SEARCH command.
6110
6111 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6112
6113         * elmo-version.el (elmo-version): Up to 2.9.0.
6114
6115 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6116
6117         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6118         (elmo-archive-folder-path): Define.
6119         (elmo-folder-initialize): Setup `dir-name' slot.
6120         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6121         Use `dir-name' as prefix of each subfolders.
6122         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6123
6124 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6125
6126         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6127         (elmo-pipe-folder-list-target-messages): New internal function.
6128         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6129         `killed-list'.
6130         (elmo-pipe-folder-copied-list-load): New function.
6131         (elmo-pipe-folder-copied-list-save): Ditto.
6132         (elmo-folder-open-internal): Follow the change above.
6133         (elmo-folder-status): Fixed for copy.
6134
6135 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6136
6137         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6138
6139 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6140
6141         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6142         elmo-copy-file instead of elmo-add-name-to-file.
6143
6144         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6145
6146         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6147         "file://..." index.
6148
6149         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6150         of accept-process-output as 1.
6151         (elmo-pop3-read-contents): Ditto.
6152         (elmo-pop3-read-body): Ditto.
6153
6154 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6155
6156         * elmo-version.el (product-version-as-string): Remove define.
6157
6158 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6159
6160         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6161         (elmo-imap4-copy-messages): Chop number set using
6162         `elmo-imap4-number-set-chop-length'.
6163         (elmo-imap4-set-flag): Ditto.
6164         (elmo-imap4-search-internal-primitive): Ditto.
6165
6166 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6167
6168         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6169         `elmo-folder-make-temp-dir'
6170
6171         * elmo-vars.el (elmo-cache-directory): New variable.
6172         (elmo-cache-dir): Abolished.
6173         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6174
6175         * elmo-version.el (elmo-version): Up to 2.7.7.
6176
6177 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6178
6179         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6180         defcustom; Set default value as t.
6181
6182 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6183
6184         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6185         (ldap-search-program-arguments): Changed default value.
6186         (ldap-search-basic): Accept exit status 4.
6187         (ldap/field-body): Parse options.
6188         (ldap/collect-field): Ditto.
6189         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6190
6191         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6192         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6193         (elmo-imap4-accept-ok): Ditto.
6194         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6195         'notify-bye, only BYE error is reported.
6196         (elmo-folder-exists-p-plugged): Set no-error argument of
6197         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6198
6199         * elmo.el (elmo-imap4-bye-error): Changed message.
6200
6201         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6202         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6203         queues (It causes infinite loop).
6204
6205 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6206
6207         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6208         (RECENT UNSEEN MESSAGES) extension.
6209
6210 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6211
6212         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6213         Check number of overview fields.
6214
6215 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6216
6217         * elmo.el (elmo-folder-confirm-appends): Changed message.
6218         (elmo-folder-confirm-appends): Ditto.
6219
6220         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6221         `with-temp-buffer'.
6222         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6223
6224 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6225
6226         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6227         of elmo-folder-update-threshold is nil, which can be set by
6228         wl-summary-update-confirm-threshold.
6229
6230 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6231
6232         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6233         (elmo-nmz-index-alias-alist): Ditto.
6234         (elmo-map-folder-list-message-locations): Follow the change above.
6235
6236 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6237
6238         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6239
6240         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6241
6242         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6243
6244         * elmo-util.el (elmo-read): Ditto.
6245         (elmo-display-error): Ditto.
6246
6247         * elmo-vars.el (elmo-date-match): Ditto.
6248
6249         * pldap.el (ldap-coding-system): Ditto.
6250
6251         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6252         `elmo-inhibit-number-mapping' as nil.
6253
6254 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6255
6256         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6257         space delimiter for list response.
6258
6259 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6260
6261         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6262
6263 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6264
6265         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6266         (elmo-map-message-fetch): Fix.
6267         * elmo-map.el (elmo-folder-status): Fix for killed.
6268
6269 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6270
6271         * elmo-sendlog.el: New file.
6272         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6273
6274 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6275
6276         * acap.el (acap-logging-out): New buffer local variable.
6277         (acap-close): Set it.
6278         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6279         an error.
6280
6281 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6282
6283         * acap.el (acap-response-bye-p): New function.
6284         (acap-response-bye-message): Ditto.
6285         (acap-wait-for-response): If bye response is received, cause an error.
6286         (acap-parse-response): Make bye response when 'Bye' is received.
6287
6288 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6289
6290         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6291
6292 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6293
6294         * elmo-util.el (elmo-copy-file): Added argument
6295         `ok-if-already-exists'.
6296         (elmo-copy-file): Fixed typo.
6297
6298 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6299
6300         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6301
6302 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6303
6304         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6305
6306 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6307
6308         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6309         to killed-list.
6310
6311 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6312
6313         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6314         (elmo-folder-initialize): Fix for `copy'.
6315         (elmo-pipe-drain): Ditto.
6316         (elmo-folder-open-internal): Ditto.
6317         (elmo-folder-newsgroups): Fix.
6318
6319 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6320
6321         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6322         for each message.
6323
6324         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6325         recent value is returned from imap folder.
6326
6327         * elmo.el (elmo-folder-newsgroups): New generic function.
6328
6329         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6330         (elmo-folder-initialize): Set it.
6331         (elmo-folder-expand-msgdb-path): Use it.
6332         (elmo-folder-newsgroups): Define.
6333
6334         * elmo-filter.el (elmo-folder-newsgroups): Define.
6335
6336         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6337
6338         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6339
6340         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6341
6342 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6343
6344         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6345         user option.
6346         (elmo-shimbun-header-extra-field): New inline function.
6347         (elmo-shimbun-header-set-extra-field): Ditto.
6348         (elmo-shimbun-folder-header-hash-setup): Ditto.
6349         (elmo-shimbun-update-overview): Ditto.
6350         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6351         (elmo-shimbun-folder-setup): Use
6352         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6353         (elmo-shimbun-get-headers): Ditto.
6354         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6355         Insert `X-Shimbun-Id:' header if extra field is set.
6356         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6357         field's value instead of `shimbun-header-id'.
6358
6359         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6360         inline function.
6361         (elmo-msgdb-overview-entity-set-date): Ditto.
6362         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6363
6364 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6365
6366         * mmimap.el (mmimap-entity-section): Changed body node number from
6367         "0" to "1".
6368
6369 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6370
6371         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6372         `elmo-folder-delete-messages'.
6373
6374         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6375         (elmo-folder-initialize): Changed to expand alias into index path.
6376
6377         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6378         `elmo-mime-insert-header-from-buffer' with 6th arg
6379         `sorted-fields'.
6380
6381 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6382
6383         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6384
6385         * elmo.el (elmo-diff-new): New inline function.
6386         (elmo-diff-unread): Ditto.
6387         (elmo-diff-all): Ditto.
6388
6389         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6390         value from responseb.
6391         (elmo-imap4-folder-diff-plugged): Ditto.
6392         (elmo-imap4-server-diff-async): Added recent argument.
6393         (elmo-server-diff-async): Ditto.
6394         (elmo-imap4-folder-diff-plugged): Ditto.
6395
6396         * elmo-version.el (elmo-version): Up to 2.7.6.
6397
6398 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6399
6400         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6401         in quoted-stirng.
6402
6403 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6404
6405         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6406
6407         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6408
6409         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6410
6411         * elmo-multi.el (elmo-folder-initialize): Ditto.
6412
6413         * elmo-util.el (elmo-parse-token): New function.
6414         (elmo-parse-prefixed-element): Ditto.
6415
6416 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6417
6418         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6419         delete process.
6420         (elmo-imap4-accept-ok): Ditto.
6421
6422 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6423
6424         * mmimap.el (mime-imap-entity-header-string): Don't check first
6425         element of node-id is `0' (Follow last change).
6426
6427 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6428
6429         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6430         assigned irregular node-id to nested multipart section.
6431         (initialize-instance): Followed above change.
6432
6433 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6434
6435         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6436         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6437         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6438         `elmo-shimbun-get-headers');
6439         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6440         visible article on summary exists in headers).
6441         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6442
6443 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6444
6445         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6446         definition.
6447
6448 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6449
6450         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6451
6452 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6453
6454         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6455         header separator into loop condition.
6456
6457 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6458
6459         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6460         Return duplicate folder if it has subfolder.
6461
6462 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6463
6464         * elmo.el (elmo-make-folder): Add folder name error check.
6465
6466         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6467         (elmo-nntp-encode-group-string): New inline function.
6468         (elmo-nntp-decode-group-string): Ditto.
6469         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6470         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6471         Use `not' instead of `null';
6472         Use elmo-nntp-decode-group-string.
6473
6474         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6475
6476         * elmo-version.el (elmo-version): Up to 2.7.5.
6477
6478 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6479
6480         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6481         Hide progress gauge if `elmo-folder-move-messages' exits
6482         nonlocally.
6483
6484 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6485
6486         * elmo-imap4.el (elmo-folder-initialize): Use
6487         `elmo-imap4-encode-folder-string' for folder name.
6488
6489 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6490
6491         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6492         `done'.
6493
6494 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6495
6496         * elmo-util.el (elmo-progress-counter-alist): New internal
6497         variable.
6498         (elmo-progress-counter-value): New macro.
6499         (elmo-progress-counter-all-value): Ditto.
6500         (elmo-progress-counter-format): Ditto.
6501         (elmo-progress-counter-set-value): Ditto.
6502         (elmo-progress-set): New function.
6503         (elmo-progress-clear): Ditto.
6504         (elmo-progress-notify): Ditto.
6505
6506         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6507         counter.
6508
6509         * elmo.el (elmo-generic-folder-append-messages): Call
6510         `elmo-progress-notify'.
6511         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6512
6513         * elmo-archive.el (elmo-folder-append-messages): Call
6514         `elmo-progress-notify'.
6515
6516         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6517
6518         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6519
6520         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6521
6522 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6523
6524         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6525         'Create'.
6526         (elmo-message-encache-dop): Added argument `read'.
6527
6528         * elmo-shimbun.el (elmo-message-encache): Ditto.
6529
6530         * elmo-net.el (elmo-message-encache): Ditto.
6531
6532         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6533         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6534         elmo-imap4-seen-messages.
6535         (elmo-folder-msgdb-create-plugged): Initialize
6536         elmo-imap4-seen-messages;
6537         Set seen mark on elmo-imap4-seen-messages.
6538
6539         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6540
6541         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6542         elmo-folder-append-buffer.
6543         (elmo-folder-encache): Added optional argument `read'.
6544         (elmo-message-encache): Ditto.
6545
6546         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6547
6548         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6549
6550         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6551         if append buffer content succeds.
6552
6553 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6554
6555         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6556         elmo-display-progress.
6557
6558         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6559         Set 4th argument of mime-display-message.
6560         (elmo-mime-display-as-is): Ditto.
6561
6562 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6563
6564         * elmo-nmz.el (toplevel): Require 'mime-edit.
6565         (elmo-nmz-content-type-alist): Abolished.
6566         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6567         content is not a message.
6568         (elmo-map-message-fetch): Changed behavior exept for message content;
6569         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6570         content-type, Add From: and Subject: field.
6571
6572 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6573
6574         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6575         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6576         not a message.
6577
6578 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6579
6580         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6581         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6582
6583         * elmo-archive.el (elmo-folder-writable-p): Defined.
6584
6585         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6586
6587         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6588
6589         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6590
6591         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6592
6593         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6594
6595         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6596
6597         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6598
6599         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6600
6601 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6602
6603         * elmo-util.el (elmo-address-quote-specials): New function;
6604         Renamed from `wl-address-quote-specials'.
6605
6606 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6607
6608         * elmo-version.el (elmo-version): Up to 2.7.4.
6609
6610 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6611
6612         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6613
6614 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6615
6616         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6617         both compile-time and run-time to avoid byte-compile warning.
6618
6619 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6620
6621         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6622
6623 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6624
6625         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6626         option.
6627         (elmo-mime-display-as-is-internal): Use it.
6628
6629         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6630         if `read-passwd' is not defined.
6631
6632 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6633
6634         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6635         by original number.
6636         (elmo-folder-status): Call `elmo-folder-open-internal';
6637         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6638         (elmo-folder-close-internal): Set location-alist as nil.
6639         (elmo-folder-clear): Define.
6640         (elmo-folder-check): Don't set location-alist as nil.
6641
6642         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6643
6644 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6645
6646         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6647         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6648
6649         * mmimap.el (mime-imap-entity::requested): New slot.
6650         (mime-imap-location-fetch-entity-p): New generic function.
6651         (mime-decode-parameters): Define using `defun-maybe'.
6652         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6653         content-type structure.
6654         (mime-entity-body): Return empty body if
6655         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6656
6657         * elmo.el (elmo-message-displaying): New variable.
6658
6659         * elmo-mime.el (elmo-mime-message-display): Bind
6660         elmo-message-displaying as t.
6661
6662         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6663
6664 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6665
6666         * acap.el (acap-open): erase buffer before starting network process.
6667         (acap-store): Rewrite.
6668
6669 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6670
6671         * elmo-imap4.el (elmo-imap4-default-mailbox,
6672         elmo-imap4-default-server
6673         elmo-imap4-default-authenticate-type,
6674         elmo-imap4-default-user,
6675         elmo-imap4-default-port,
6676         elmo-imap4-default-stream-type,
6677         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6678
6679         * elmo-pop3.el (elmo-pop3-default-user,
6680         elmo-pop3-default-server,
6681         elmo-pop3-default-authenticate-type,
6682         elmo-pop3-default-port,
6683         elmo-pop3-default-stream-type,
6684         elmo-pop3-stream-type-alist): Ditto.
6685
6686         * elmo-nntp.el (elmo-nntp-default-server,
6687         elmo-nntp-default-user,
6688         elmo-nntp-default-port,
6689         elmo-nntp-default-stream-type,
6690         elmo-nntp-stream-type-alist): Ditto.
6691
6692         * elmo-vars.el: Follow changes above.
6693         (elmo-setting): New custom group; added 'elmo-setting group to
6694         above variables.
6695
6696         * elmo-version.el (elmo-version): Up to 2.7.3.
6697
6698         * acap.el (acap-parse-response): Don't delete process when BYE
6699         response (It causes hang-up on slow network environment).
6700         (toplevel): Added comment.
6701
6702 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6703
6704         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6705
6706         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6707         parsing NIL.
6708         (acap-parse-return-metadata): Ditto.
6709
6710         * slp.el: New file.
6711         (toplevel): Fixed typo.
6712
6713         * acap.el: New file.
6714         (acap-network-stream-open): Show "Connecting..." message.
6715         (acap-parse-response): Fixed problem for BYE untagged response.
6716         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6717         (toplevel): Added tiny comments.
6718
6719 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6720
6721         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6722         space delimiter for uidl response.
6723
6724 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * elmo-vars.el (elmo-use-semi): Eliminated.
6727
6728         * elmo-util.el (elmo-string-assoc-all): New function.
6729
6730 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6731
6732         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6733         property 'mime-preview-situation for `mime-preview-quit'.
6734
6735 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6736
6737         * elmo.el (elmo-message-fetch-with-cache-process): Call
6738         elmo-message-fetch-internal instead of causing an error when fetch
6739         strategy is 'entire but only 'section cache is available.
6740
6741 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6742
6743         * elmo-version.el (elmo-version): Up to 2.7.2.
6744
6745         * elmo.el (elmo-generic-folder-append-messages): Make
6746         fetch-strategy with `use-cache'.
6747
6748         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6749         (elmo-dop-queue-method-name): New macro.
6750
6751 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6752
6753         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6754         unbalanced parenthesis.
6755
6756 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6757
6758         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6759
6760 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6761
6762         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6763         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6764
6765 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6766
6767         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6768         local variables.
6769
6770 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6771
6772         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6773         (elmo-message-use-cache-p): Define.
6774         (elmo-folder-msgdb-create): Treat cache.
6775
6776 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6777
6778         * elmo-nntp.el (elmo-network-initialize-session): Call
6779         `elmo-nntp-send-mode-reader'.
6780         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6781
6782 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6783
6784         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6785         alist.
6786         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6787         assoc.
6788
6789         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6790         for `elmo-plugged-p'.
6791         (elmo-open-network-stream): Fixed stream-type argument.
6792
6793 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6794
6795         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6796         unknown archive type is specified.
6797
6798 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6799
6800         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6801
6802         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6803         while loading msgdb.
6804
6805         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6806         (elmo-folder-open-internal): Rewrite.
6807
6808 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6809
6810         * elmo-mime.el (elmo-mime-display-as-is-internal):
6811         Adjust buffer-multibyte status.
6812
6813 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6814
6815         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6816         of elmo-condition-find-key.
6817
6818         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6819         (elmo-condition-in-msgdb-p): Ditto.
6820         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6821         argument.
6822
6823 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6824
6825         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6826
6827 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6828
6829         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6830         label for elmo-display-progress.
6831
6832 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6833
6834         * elmo.el (elmo-folder-clear): New method.
6835         (elmo-folder-clear): Define.
6836         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6837
6838         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6839         (elmo-folder-clear): Define.
6840
6841         * elmo-map.el (elmo-folder-clear): Define.
6842
6843         * elmo-version.el (elmo-version): Up to 2.7.1.
6844
6845 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6846
6847         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6848         updates.
6849
6850 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6851
6852         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6853         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6854
6855 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6856
6857         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6858
6859         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6860         and re-written.
6861
6862         * elmo-imap4.el (elmo-folder-initialize): Use
6863         elmo-get-network-stream-type.
6864
6865         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6866
6867         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6868
6869 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6870
6871         * elmo.el (elmo-message-encache): Set unread argument for
6872         elmo-message-fetch.
6873
6874         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6875
6876         * elmo.el (elmo-net-port-info): New method.
6877
6878         * elmo-shimbun.el (elmo-net-port-info): Define.
6879         (elmo-message-encache): Ditto.
6880
6881         * elmo-net.el (elmo-net-port-info): Define as method.
6882
6883         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6884         unplugged status when elmo-enable-disconnected-operation is t.
6885
6886         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6887         of spool folder before checking new number.
6888
6889 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6890
6891         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6892         (elmo-network-setup-session): Ditto.
6893         (elmo-message-fetch-plugged): Ditto.
6894         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6895         (elmo-network-initialize-session): Ditto.
6896         (elmo-pop3-read-response): Abolish 3rd argument.
6897         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6898         (elmo-pop3-read-contents): Ditto.
6899         (elmo-pop3-read-body): Ditto.
6900         (elmo-folder-status): Call elmo-folder-close.
6901         (elmo-pop3-lock): Abolish.
6902         (elmo-pop3-unlock): Ditto.
6903         (elmo-pop3-locked-p): Ditto.
6904         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6905
6906 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6907
6908         * elmo-version.el (elmo-version): Up to 2.7.0.
6909
6910         * elmo-pop3.el (elmo-pop3-debug): New variable.
6911         (elmo-pop3-debug-inhibit-logging): Ditto.
6912         (elmo-pop3-debug): New function.
6913         (elmo-pop3-send-command): Call elmo-pop3-debug.
6914         (elmo-pop3-read-response): Added keep-lock optional argument;
6915         Don't unlock if keep-lock is non-nil.
6916         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6917         (elmo-network-authenticate-session): Bind
6918         elmo-pop3-debug-inhibit-logging as t.
6919         (elmo-network-setup-session): Call elmo-pop3-read-response with
6920         keep-lock argument.
6921         (elmo-pop3-read-msg): Ditto.
6922         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6923         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6924         (elmo-network-initialize-session): Call elmo-pop3-lock.
6925         (elmo-folder-close-internal): Don't clear location-alist slot.
6926         (elmo-folder-check): Clear location-alist slot.
6927
6928 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6929
6930         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6931         (elmo-pop3-send-command): Call elmo-pop3-lock.
6932         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6933         (elmo-pop3-read-contents): Ditto.
6934         (elmo-pop3-lock): New function.
6935         (elmo-pop3-unlock): Ditto.
6936         (elmo-pop3-locked-p): Ditto.
6937         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6938         returns t.
6939
6940 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6941
6942         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6943
6944         * elmo-util.el (elmo-file-field-primitive-condition-match):
6945         New inline function (Don't fetch file content if "first" or "last").
6946         (elmo-file-field-condition-match): Use
6947         elmo-file-field-primitive-condition-match.
6948
6949         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6950         "first".
6951
6952         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6953         (elmo-message-fetch-plugged): Fixed.
6954
6955         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6956
6957 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6958
6959         * elmo.el (elmo-folder-move-messages): Bind
6960         elmo-inhibit-display-retrieval-progress as t while moving messages.
6961
6962         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6963         New variable.
6964         (elmo-inhibit-display-retrieval-progress): Ditto.
6965
6966         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6967         for retrieval progress;
6968         Don't display progress when total buffer size is smaller than
6969         elmo-display-retrieval-progress-threshold.
6970         (elmo-message-fetch-plugged): Don't display progress when
6971         elmo-inhibit-display-retrieval-progress is non-nil.
6972
6973         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6974         for retrieval progress;
6975         Don't display progress when literal size is smaller than
6976         elmo-display-retrieval-progress-threshold.
6977         (elmo-imap4-message-fetch): Don't display progress when
6978         elmo-inhibit-display-retrieval-progress is non-nil.
6979
6980 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6981
6982         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6983         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6984         (elmo-imap4-message-fetch): Likewise.
6985
6986         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6987         (elmo-shimbun-index-range-alist): Ditto.
6988         (elmo-shimbun-use-entire-index): Abolish.
6989         (shimbun-mua-use-entire-index): Ditto.
6990         (elmo-shimbun-folder): Added new slot `range'.
6991         (elmo-folder-initialize): Setup slot `range'.
6992
6993 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6994
6995         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6996         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6997         (elmo-shimbun-get-headers): Use return value of
6998         `shimbun-article-expiration-days'.
6999         (elmo-folder-close-internal): Clean up last-check slot.
7000
7001         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
7002         (elmo-pop3-total-size): New variable.
7003         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
7004
7005         * elmo.el (elmo-folder-reserve-status-p): New method.
7006
7007         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
7008         (elmo-shimbun-use-entire-index): New user option.
7009         (shimbun-elmo-mua): New class.
7010         (shimbun-mua-search-id): Define.
7011         (shimbun-mua-use-entire-index): Ditto.
7012         (elmo-shimbun-folder:last-check): New slot.
7013         (elmo-shimbun-headers-cache-header-list): Abolish.
7014         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7015         (elmo-shimbun-headers-cache-header-hash): Ditto.
7016         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7017         (elmo-shimbun-headers-cache-last-check): Ditto.
7018         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7019         (elmo-shimbun-headers-check-p): Rewrite.
7020         (elmo-shimbun-msgdb-to-headers): New function.
7021         (elmo-shimbun-get-headers): Rewrite.
7022         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
7023         (elmo-folder-open-internal): Get headers only if
7024         `elmo-shimbun-headers-check-p' is non-nil.
7025         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
7026         is non-nil.
7027         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
7028         (elmo-quit): Removed.
7029
7030         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
7031         function.
7032         (elmo-msgdb-overview-entity-set-extra): Ditto.
7033         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
7034
7035         * elmo-map.el (elmo-folder-status): Don't call
7036         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
7037         is non-nil.
7038
7039 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7040
7041         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
7042         of `elmo-msgdb-search-internal-primitive' when condition's car is
7043         `and' or `or'.
7044
7045 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
7046
7047         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
7048
7049 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7050
7051         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
7052         call `elmo-pipe-drain'.
7053
7054 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7055
7056         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
7057         typo. (elmo-cache-folder -> elmo-mark-folder)
7058
7059 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7060
7061         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7062         `elmo-message-fetch'.
7063
7064 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7065
7066         * elmo-net.el (elmo-message-encache): Fixed typo.
7067         (elmo-message-fetch-unplugged): Changed call
7068         `elmo-message-fetch-internal' without argument `outbuf'.
7069
7070 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7071
7072         * elmo.el (elmo-message-encache): Define as generic function.
7073         (elmo-message-fetch-field): New generic function.
7074         (elmo-message-fetch-with-cache-process): Cause an error when
7075         fetch strategy is 'entire but only 'section cache is available.
7076         (toplevel): Fixed nmz folder definition.
7077
7078         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7079         (elmo-msgdb-resume-list-filename): Ditto.
7080         (elmo-queue-filename): Ditto.
7081         (elmo-enable-disconnected-operation): Changed default value to t.
7082
7083         * elmo-util.el (elmo-cache-path-section-p): New function.
7084         (elmo-file-cache-get): Use it.
7085         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7086         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7087         (elmo-dop-queue-save): Ditto.
7088
7089         * elmo-net.el (elmo-folder-status-unplugged): Call
7090         elmo-folder-status-dop.
7091         (elmo-folder-list-messages-unplugged): Implemented.
7092         (elmo-folder-delete-messages-unplugged): Define.
7093         (elmo-folder-msgdb-create): Define.
7094         (elmo-folder-msgdb-create-unplugged): Define.
7095         (elmo-folder-mark-as-read-unplugged): Ditto.
7096         (elmo-folder-unmark-read-unplugged): Ditto.
7097         (elmo-folder-mark-as-important-unplugged): Ditto.
7098         (elmo-folder-unmark-important-unplugged): Ditto.
7099         (elmo-message-encache): Ditto.
7100
7101         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7102         (elmo-dop-queue-save): Ditto.
7103
7104         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7105         `elmo-folder-msgdb-create'.
7106         (elmo-folder-append-buffer): Implemented unplugged operation.
7107         (elmo-folder-append-messages): Call parent method in unplugged status.
7108         (elmo-message-fetch-unplugged): Removed definition.
7109         (elmo-message-fetch-field): Implemented.
7110
7111         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7112         (elmo-dop-folder): Removed variable definition.
7113         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7114         (elmo-dop-queue-flush): Implemented.
7115         (elmo-dop-queue-merge): Removed definition (TODO).
7116         (elmo-dop-spool-folder): New function.
7117         (elmo-dop-spool-folder-append-buffer): Ditto.
7118         (elmo-dop-spool-folder-list-messages): Ditto.
7119         (elmo-dop-list-deleting-messages): Ditto.
7120         (elmo-folder-append-buffer-dop): Ditto.
7121         (elmo-folder-delete-messages-dop): Ditto.
7122         (elmo-message-encache-dop): New inline function.
7123         (elmo-create-folder-dop): Ditto.
7124         (elmo-folder-mark-as-read-dop): Ditto.
7125         (elmo-folder-unmark-read-dop): Ditto.
7126         (elmo-folder-mark-as-important-dop): Ditto.
7127         (elmo-folder-unmark-important-dop): Ditto.
7128         (elmo-folder-status-dop): Fixed.
7129         (elmo-folder-append-buffer-dop-delayed): New function.
7130         (elmo-folder-delete-messages-dop-delayed): Ditto.
7131         (elmo-dop-msgdb): Ditto.
7132
7133 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7134
7135         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7136
7137 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7138
7139         * elmo.el (elmo-folder-move-messages): Fixed problem when
7140         `dst-folder' is 'null.
7141
7142 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7143
7144         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7145         instead of current mark.
7146
7147         * elmo-multi.el (elmo-folder-list-importants-internal): No
7148         operation if importants is not list.
7149
7150         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7151         Return t if importants is not list.
7152
7153         * elmo-map.el (elmo-map-folder-list-importants): Define.
7154         (elmo-folder-list-importants-internal): Check return value of
7155         `elmo-map-folder-list-importants-internal'.
7156
7157         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7158
7159         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7160
7161         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7162
7163         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7164
7165 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7166
7167         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7168         (Patch is provided by <kita@coe.nttdata.co.jp>).
7169
7170 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7171
7172         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7173         mark folder.
7174
7175 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7176
7177         * elmo.el (elmo-message-fetch): Define.
7178         (elmo-message-fetch-with-cache-process): New generic method.
7179         (elmo-message-fetch-internal): New generic method.
7180         (elmo-folder-synchronize):
7181
7182         * elmo-archive.el (elmo-message-fetch-internal): Define.
7183         (elmo-message-fetch): Eliminated.
7184
7185         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7186         (elmo-message-fetch): Eliminated.
7187
7188         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7189         argument OUTBUF.
7190         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7191
7192         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7193         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7194
7195         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7196         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7197
7198         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7199
7200         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7201
7202         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7203
7204         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7205         (elmo-message-fetch-unplugged): New generic method.
7206         (elmo-message-fetch-internal): Remove cache process (Renamed from
7207         `elmo-message-fetch').
7208
7209         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7210         (elmo-message-fetch): Eliminated.
7211         (elmo-message-fetch-unplugged): Ditto.
7212
7213         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7214
7215 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7216
7217         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7218         of `to-be-deleted' from number-alist to number-list.
7219
7220 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7221
7222         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7223         (elmo-folder-mark-as-important): Ditto.
7224
7225 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo.el (elmo-folder): Added process-duplicates slot.
7228
7229         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7230         (elmo-folder-unmark-read): Ditto.
7231         (elmo-folder-unmark-important): Ditto.
7232         (elmo-folder-mark-as-important): Ditto.
7233
7234         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7235         duplicated message processing.
7236
7237         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7238
7239 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7240
7241         * elmo-util.el (elmo-list-subdirectories-1): New function.
7242         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7243         (elmo-mapcar-list-of-list): New function.
7244
7245         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7246         `elmo-mapcar-list-of-list' instead of `mapcar'.
7247
7248         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7249
7250         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7251         `elmo-have-link-count'. Return the fully qualified folder name.
7252
7253 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7256         (elmo-shimbun-headers-cache): New internal variable.
7257         (elmo-shimbun-headers-cache-header-list): New inline function.
7258         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7259         (elmo-shimbun-headers-cache-header-hash): Ditto.
7260         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7261         (elmo-shimbun-headers-cache-last-check): Ditto.
7262         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7263         (elmo-shimbun-lapse-seconds): Ditto.
7264         (elmo-shimbun-headers-cache-check-p): Ditto.
7265         (elmo-shimbun-get-headers): New function.
7266         (elmo-folder-open-internal): Call it.
7267         (elmo-quit): Define (Clear headers-cache).
7268
7269 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7270
7271         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7272
7273         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7274         (elmo-msgdb-flist-save): Ditto.
7275
7276         * elmo-shimbun.el (elmo-folder-list-subfolders):
7277         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7278         (elmo-folder-exists-p): Ditto.
7279
7280         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7281         argument for `shimbun-header-insert'.
7282
7283 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7284
7285         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7286         at first time.
7287
7288         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7289         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7290
7291 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7292
7293         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7294         (elmo-folder-plugged-p): Define.
7295         (elmo-folder-set-plugged): Ditto.
7296         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7297         (elmo-folder-list-messages-internal): Return t if unplugged.
7298         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7299
7300         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7301         when elmo-folder-list-messages-internal method of children returns t.
7302
7303         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7304         pair is nil.
7305         (elmo-folder-open-internal): Don't update if unplugged status.
7306
7307 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7308
7309         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7310         new message.
7311
7312 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7313
7314         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7315
7316         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7317         saving.
7318
7319 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7320
7321         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7322
7323         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7324         (elmo-folder-open-internal): Set up headers slot.
7325         (elmo-folder-check): Call elmo-folder-close-internal and
7326         elmo-folder-open-internal.
7327         (elmo-folder-close-internal): Clean up headers slot.
7328
7329 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7330
7331         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7332         exactly folder list.
7333         (elmo-folder-append-messages): Fixed append archive with prefix.
7334
7335         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7336         make temp files with start-number.
7337
7338         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7339
7340 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7341
7342         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7343         argument `visible-only'.
7344         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7345         instead of `if'.
7346
7347         * elmo-pop3.el (elmo-folder-open-internal): Check
7348         `elmo-inhibit-number-mapping' is non-nil.
7349
7350         * elmo-pipe.el (elmo-folder-status): Fixed.
7351
7352 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7353
7354         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7355
7356         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7357         (elmo-folder-open-internal): Setup `header-hash' slot.
7358         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7359         information.
7360         (elmo-map-message-fetch): Ditto.
7361
7362 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7363
7364         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7365         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7366         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7367         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7368
7369         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7370
7371 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7372
7373         * sb-airs.el: Added footer.
7374
7375         * shimbun.el (shimbun-article): Define as luna-method.
7376
7377         * sb-tcup.el: New file.
7378
7379         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7380         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7381
7382 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7383
7384         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7385         (shimbun-get-headers): Ditto.
7386
7387         * elmo.el: Moved obsolete variable definitions from
7388         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7389
7390         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7391         groups.
7392
7393         * shimbun.el: New file.
7394
7395         * elmo-shimbun.el: New file.
7396
7397         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7398         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7399         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7400         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7401
7402 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7403
7404         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7405         hierarchy is t.
7406
7407 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7408
7409         * elmo.el (elmo-folder-msgdb): Define as macro.
7410         (elmo-folder-open): Added argument `load-msgdb'.
7411         (elmo-generic-folder-open): Ditto.
7412         (elmo-folder-encache): New function.
7413
7414         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7415
7416         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7417
7418         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7419         Eliminated argument FOLDER and added argument MSGDB.
7420         (elmo-dop-queue-load): Moved from elmo-dop.el.
7421         (elmo-dop-queue-save): Ditto.
7422
7423         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7424
7425         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7426
7427         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7428         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7429         (elmo-filter-folder-list-importants-internal): Ditto.
7430
7431         * elmo-map.el (elmo-folder-pack-number): Ditto.
7432
7433         * elmo-mime.el (elmo-mime-message-display): Ditto.
7434
7435         * elmo.el (elmo-generic-folder-commit): Ditto.
7436         (elmo-folder-list-unreads): Ditto.
7437         (elmo-folder-list-importants): Ditto.
7438         (elmo-generic-folder-commit): Ditto.
7439         (elmo-message-set-mark): Ditto.
7440         (elmo-generic-folder-append-msgdb): Ditto.
7441         (elmo-folder-synchronize): Ditto.
7442         (elmo-folder-messages): Ditto.
7443         (elmo-init): Call elmo-dop-queue-load.
7444         (elmo-folder-list-messages): Ditto.
7445
7446         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7447         (elmo-nntp-folder-process-crosspost): Ditto.
7448         (elmo-folder-list-unreads-internal): Ditto.
7449
7450         * elmo-dop.el: Removed old functions.
7451
7452 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7453
7454         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7455         `folder' to `msgdb'.
7456
7457 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7458
7459         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7460         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7461
7462         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7463         case-fold-search.
7464
7465 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7466
7467         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7468         defined.
7469
7470         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7471         (mmimap-parse-parameters-from-list): Define as alias for
7472         `mime-decode-parameter-plist' if it is defined as function.
7473         (mmimap-make-mime-entity): Added argument `number'.
7474         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7475         as 0.
7476         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7477
7478         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7479
7480         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7481
7482         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7483
7484 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7485
7486         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7487
7488         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7489         when elmo-imap4-default-authenticate-type is nil.
7490         (elmo-folder-list-subfolders): Ditto
7491         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7492         (elmo-imap4-fetch-callback-1-subr): Renamed from
7493         `elmo-imap4-fetch-callback-1' and define as inline function.
7494         (elmo-imap4-fetch-callback-1):
7495         Renamed from `elmo-imap4-fetch-callback'.
7496         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7497
7498         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7499         msgdb path (To keep compatibility with main trunk).
7500
7501         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7502
7503         * elmo-util.el (elmo-make-file-cache): Moved position of
7504         some macros.
7505
7506         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7507         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7508         instead of `elmo-pop3-inhibit-uidl'.
7509         (elmo-folder-exists-p): Ditto.
7510         (elmo-pop3-folder-list-messages): Ditto.
7511
7512         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7513         instead of `elmo-pop3-inhibit-uidl'.
7514         (elmo-folder-status): Ditto.
7515
7516         * elmo-dop.el (elmo-dop-folder): New variable.
7517         (elmo-dop-lock-message): Eliminated.
7518         (elmo-dop-unlock-message): Ditto.
7519         (elmo-dop-lock-list-load): Ditto.
7520         (elmo-dop-lock-list-save): Ditto.
7521         (elmo-dop-delete-folder): Ditto.
7522         (elmo-dop-rename-folder): Ditto.
7523
7524         * elmo.el: Removed incomplete commentary.
7525
7526 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7527
7528         * elmo.el (toplevel): Require 'elmo-version first;
7529         for little `recursive-load-depth' settings.
7530         Fix "ends here" comment.
7531
7532 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7533
7534         * elmo-util.el (toplevel): Require 'poem;
7535         Some functions are moved from elmo-cache.el.
7536
7537         * elmo-net.el (toplevel): Require 'elmo-cache.
7538
7539         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7540
7541         * elmo.el (toplevel): Ditto.
7542
7543         * elmo-cache.el: Rewrite with luna;
7544         Some functions are moved to elmo-util.el.
7545
7546         * elmo-internal.el (elmo-internal-folder-list): New variable.
7547         (elmo-internal-folder-initialize): Rewrite.
7548         (elmo-folder-list-subfolders): Ditto.
7549
7550         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7551         (elmo-cache-collect-sub-directories): Ditto.
7552
7553 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7554
7555         * elmo-version.el (elmo-version): Up to 2.5.8.
7556
7557         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7558
7559         * elmo-util.el (elmo-list-insert): New function.
7560
7561 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7562
7563         * elmo.el (elmo-init): New function.
7564         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7565
7566         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7567         (Renamed from `elmo-localdir-header-chop-length').
7568
7569         * elmo-pop3.el (elmo-pop3-use-cache,
7570         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7571
7572         * elmo-nntp.el (elmo-message-fetch): Define.
7573         (elmo-message-fetch-unplugged): Ditto.
7574         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7575         (elmo-nntp-use-cache): Ditto.
7576         (elmo-nntp-max-number-precedes-list-active): Ditto.
7577
7578         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7579
7580         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7581         `elmo-msgdb-insert-file-header'.
7582         Use `elmo-msgdb-file-header-chop-length'.
7583
7584         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7585         `elmo-vars.el'.
7586
7587         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7588         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7589         `elmo-msgdb-insert-file-header'.
7590
7591         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7592         Use new variable;
7593         Define obsolete variables with `elmo-define-obsolete-variable',
7594
7595         * elmo-util.el (elmo-warning-buffer-name): New constant.
7596         (elmo-warning): New function.
7597         (elmo-obsolete-variable-alist): New variable.
7598         (elmo-obsolete-variable-show-warnings): New variable.
7599         (elmo-define-obsolete-variable): New function.
7600         (elmo-resque-obsolete-variable): Ditto.
7601         (elmo-resque-obsolete-variables): Ditto.
7602
7603 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7604
7605         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7606         Eliminated.
7607
7608         * elmo-pop3.el, elmo-nntp.el: Use custom.
7609
7610 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7611
7612         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7613         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7614
7615 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7616
7617         * Luna-fy Kenichi OKADA's following changes.
7618         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7619         `nohide'.
7620         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7621
7622 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7623
7624         * elmo-util.el (elmo-display-progress): Prefer
7625         `progress-feedback-with-label' to `lprogress-display'.
7626
7627 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7628
7629         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7630
7631 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7632
7633         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7634         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7635         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7636         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7637         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7638         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7639         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7640         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7641         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7642         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7643         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7644         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7645         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7646
7647 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7648
7649         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7650         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7651
7652 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7653
7654         * elmo.el (elmo-folder-process-crosspost): New generic method.
7655         (elmo-folder-writable-p): Ditto.
7656         (elmo-folder-message-appendable-p): Eliminated.
7657         (elmo-generic-folder-append-msgdb): Rewrite.
7658         (elmo-newsgroups-hashtb): New internal variable.
7659         (elmo-crosspost-message-set): Eliminated.
7660         (elmo-crosspost-message-delete): Ditto.
7661         (elmo-setup-subscribed-newsgroups): New function.
7662         (elmo-crosspost-message-alist-modified): New internal variable.
7663         (elmo-crosspost-message-alist-load): New function (Renamed from
7664         `wl-crosspost-alist-load').
7665         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7666         `wl-crosspost-alist-save').
7667
7668         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7669
7670         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7671         `unreads'.
7672         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7673         elmo-newsgroups-hashtb).
7674         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7675         `elmo-nntp-folder-update-crosspost-message-alist'.
7676         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7677         `elmo-nntp-groups-hashtb'.
7678         (elmo-nntp-make-groups-hashtb): Eliminated.
7679         (elmo-nntp-parse-newsgroups): New function (Renamed from
7680         `wl-parse-newsgroups').
7681         (elmo-folder-creatable-p, elmo-folder-writable-p,
7682         elmo-folder-close-internal, elmo-folder-mark-as-read,
7683         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7684         Define.
7685         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7686
7687         * elmo-net.el (elmo-message-fetch): Check buffer size.
7688
7689         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7690
7691         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7692
7693         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7694         before `close' command.
7695
7696         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7697         `mark-alist' (All other related portions are changed).
7698
7699 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7700
7701         * elmo-util.el (elmo-create-hash-size): Eliminated.
7702         (elmo-make-hash) Make a hash with `one less than a power of two'
7703         length.
7704
7705         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7706         (elmo-hash-maximum-size): Changed value.
7707
7708 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7709
7710         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7711         (elmo-mime-message-display-as-is): Ditto.
7712
7713 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7714
7715         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7716         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7717
7718 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7719
7720         * elmo-mark.el: New file.
7721
7722         * elmo-internal.el: Rewrite (Almost empty).
7723
7724 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7725
7726         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7727         (mime-imap-entity-header-string): Ditto.
7728         (mmimap-entity-section): Rewrite.
7729
7730 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7731
7732         * elmo-nmz.el: New file.
7733
7734         * elmo-pipe.el: Rewrite with luna.
7735
7736 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7737
7738         * elmo-archive.el: Rewrite with luna.
7739
7740         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7741         (elmo-folder-list-importants-internal): Ditto.
7742
7743 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7744
7745         * elmo-archive.el (elmo-archive-version): Abolish.
7746         (toplevel) Removed `boso' comment.
7747
7748 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7749
7750         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7751         elmo-msgdb-add-msgs-to-seen-list-subr;
7752         Changed argument seen-marks to unread-marks.
7753
7754         * elmo-nntp.el: Rewrite with luna.
7755
7756 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7757
7758         * elmo-filter.el: Rewrite with luna.
7759
7760 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7761
7762         * elmo-pop3.el: Rewrite with luna.
7763
7764 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7765
7766         * elmo-multi.el: Rewrite with luna.
7767
7768         * elmo-vars.el (elmo-use-killed-list): Abolish.
7769         All other related portions are changed.
7770         (elmo-filename-replace-string-alist): Renamed from
7771         elmo-msgid-replace-string-alist.
7772
7773 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7774
7775         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7776
7777         * elmo-map.el: New file.
7778         * elmo-maildir.el: Rewrite with luna.
7779
7780 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7781
7782         * elmo.el: Changed meaning of `elmo-folder-commit'.
7783         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7784
7785 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7786
7787         * elmo.el (elmo-folder-append-buffer): New function.
7788         (Renamed from `elmo-append-msg')
7789
7790 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7791
7792         * elmo-mime.el: New file.
7793
7794 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7795
7796         * elmo-cache.el: Rewrite.
7797
7798 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7799
7800         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7801
7802 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7803
7804         * elmo-vars.el (elmo): New group.
7805         (elmo-strict-diff-folder-regexp): New variable.
7806
7807         * elmo-util.el (elmo-call-func): Abolish.
7808         (elmo-folder-get-type): Ditto.
7809         (elmo-*-get-spec): Ditto.
7810         (elmo-*-spec-*): Ditto.
7811         (elmo-imap4-identical-name-space-p): Ditto.
7812         (elmo-folder-identical-system-p): Ditto.
7813         (elmo-folder-direct-copy-alist): Ditto.
7814         (elmo-folder-direct-copy-p): Ditto.
7815
7816         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7817         (elmo-folder-initialize): Define.
7818         (elmo-folder-get-primitive-list): Ditto.
7819
7820         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7821         (elmo-folder-initialize): Define.
7822         Renamed `elmo-network-session-host-internal' to
7823         `elmo-network-session-server-internal'.
7824
7825         * elmo-multi.el (elmo-multi-folder): New luna class.
7826         (elmo-folder-initialize): Define.
7827         (elmo-folder-get-primitive-list): Ditto.
7828         (elmo-folder-contains-type): Ditto.
7829         (elmo-message-use-cache-p): Ditto.
7830
7831         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7832         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7833
7834         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7835         (elmo-folder-initialize): Define.
7836
7837         * elmo-filter.el (elmo-filter-folder): New luna class.
7838         (elmo-folder-initialize): Define.
7839         (elmo-folder-get-primitive-list): Ditto.
7840         (elmo-folder-contains-type): Ditto.
7841
7842 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7843
7844         * elmo-imap4.el: Rewrite with luna.
7845
7846         * mmimap.el: New file.
7847
7848         * mmelmo.el, mmelmo-imap4.el: Removed.
7849
7850         * elmo-net.el: Ditto.
7851
7852         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7853         (elmo-folder-initialize): Define.
7854
7855         * elmo-archive.el (elmo-archive-folder): New luna class.
7856         (elmo-folder-initialize): Define.
7857
7858         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7859         `elmo-folder-msgdb-path'.
7860         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7861         `elmo-make-folder'.
7862
7863 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7864
7865         * elmo.el: New file.
7866
7867         * elmo2.el: Renamed to elmo.el.
7868
7869 \f
7870 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7871
7872         * elmo-cache.el (elmo-cache-expire-by-size): Count
7873         a disk usage for a cache file entry in KB even when
7874         its kind is a directory.
7875
7876 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7877
7878         * elmo-version.el (elmo-version): Up to 2.5.7.
7879
7880 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7881
7882         * elmo-version.el (elmo-version): Up to 2.5.6.
7883
7884 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7885
7886         * elmo-version.el (elmo-version): Up to 2.5.5.
7887
7888 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7889
7890         * elmo-imap4.el (elmo-network-authenticate-session):
7891         Fixed a logic for response checking.
7892
7893 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7894
7895         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7896         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7897         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7898         `sasl-mechanisms'.
7899
7900         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7901         for `starttls-open-stream' and `starttls-negotiate'.
7902
7903         * elmo-nntp.el: Remove autoload settings for
7904         `starttls-open-stream' and `starttls-negotiate'.
7905
7906         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7907         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7908         `luna-define-class' with `eval-and-compile'.
7909
7910 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7911
7912         * elmo-util.el (elmo-read-search-condition-internal):
7913         Require an element of table for searching field.
7914
7915 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7916
7917         * elmo-version.el (elmo-version): Up to 2.5.4.
7918
7919 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7920
7921         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7922
7923 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7924
7925         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7926
7927 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7928
7929         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7930         before greeting.
7931
7932 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7933
7934         * elmo-imap4.el (elmo-imap4-delete-folder):
7935         Send "close" before "delete" (Use commented out line).
7936         (elmo-imap4-rename-folder): Ditto.
7937
7938         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7939         folder string itself.
7940         (elmo-dop-list-deleted): New function.
7941         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7942         killed.
7943
7944         * elmo-util.el (elmo-string-rassoc-all): New function.
7945
7946 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7947
7948         * elmo-version.el (elmo-version): Up to 2.5.3.
7949
7950         * elmo-net.el (elmo-network-get-session): Changed logic for
7951         checking process status.
7952
7953         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7954         process is nil;
7955         Changed logic for checking process status.
7956
7957 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7958
7959         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7960         before greeting.
7961         (elmo-network-setup-session): Set UIDL hash size according to
7962         the length of list response.
7963         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7964         according to the length of list response;
7965         Return the length of list response.
7966         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7967
7968 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7969
7970         * elmo-imap4.el (toplevel): Require 'ssl.
7971         Add autoload 'starttls.
7972         * elmo-pop3.el (toplevel): Ditto.
7973         * elmo-nntp.el (toplevel): Ditto.
7974
7975 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7976
7977         * elmo-imap4.el (toplevel): defun at compile time.
7978         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7979         sasl-next-step, sasl-step-data, sasl-step-set-data.
7980         * elmo-pop3.el (toplevel): Ditto.
7981
7982 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7983
7984         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7985
7986 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7987
7988         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7989         if error.
7990         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7991         and `elmo-pop-auth-apop'.
7992
7993 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7994
7995         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7996
7997 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7998
7999         * elmo-pop3.el (elmo-network-authenticate-session): Split
8000         encoded response value.
8001
8002 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8003
8004         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8005         `elmo-pop3-force-login'.
8006         Redefine `sasl-mechanisms'.
8007         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8008
8009 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8010
8011         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8012         Delete `elmo-imap4-authenticator-alist'.
8013         (elmo-imap4-auth-cram-md5): Delete.
8014         (elmo-imap4-auth-digest-md5): Delete.
8015
8016 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8017
8018         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8019         (elmo-pop3-auth-scram-md5): Ditto.
8020         (elmo-pop3-auth-cram-md5): Ditto.
8021
8022 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8023
8024         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8025         Delete `elmo-pop3-authenticator-alist'.
8026
8027 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8028
8029         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8030         new SASL API.
8031         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8032
8033 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
8034
8035         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
8036
8037 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
8038
8039         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8040         Fixed problem when `elmo-pop3-use-uidl' is nil.
8041         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
8042
8043 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8044
8045         * elmo-version.el (elmo-version): Up to 2.5.2.
8046
8047 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
8048
8049         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8050         New function.
8051         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
8052         (elmo-pop3-msgdb-create-as-numlist): Use it.
8053
8054         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
8055         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
8056
8057         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8058         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8059
8060 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8061
8062         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8063         when elmo-mark-as-read is called with second argument nil.
8064
8065 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8066
8067         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8068         Moved to elmo-util.el.
8069
8070         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8071         Moved from elmo-pipe.el
8072
8073         * elmo-archive.el (elmo-archive-call-process): Enclose with
8074         static-if.
8075
8076         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8077         "RFC822" (because RFC822.PEEK is obsolete).
8078         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8079
8080 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8081
8082         * elmo-archive.el (elmo-archive-call-process): Don't check for
8083         the exit status when Nemacs is running.
8084
8085 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8086
8087         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8088         'plain.
8089
8090         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8091         (elmo-pop3-get-spec): Set default of auth to 'user.
8092
8093         * elmo-imap4.el (elmo-imap4-session-check):
8094         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8095         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8096         (elmo-imap4-auth-login): New function; Revival.
8097         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8098         `elmo-imap4-auth-login'.
8099
8100 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8101
8102         * elmo2.el (toplevel): Move `product-provide' declare.
8103         * mmelmo.el (toplevel): Ditto.
8104
8105 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8106
8107         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8108
8109 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8110
8111         * elmo-util.el (elmo-folder-get-store-type): New function.
8112         (elmo-folder-direct-copy-p): Use it.
8113
8114 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8115
8116         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8117         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8118         and result of `elmo-imap4-use-flag-p'.
8119         (elmo-imap4-fetch-callback-1): Set mark according to
8120         the result of `elmo-imap4-use-flag-p'.
8121
8122 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8123
8124         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8125         (elmo-generic-list-folder-unread): Ditto.
8126         (elmo-folder-get-info): Ditto.
8127         (elmo-folder-set-info-max-by-numdb): Ditto.
8128         (elmo-folder-get-info-max): Ditto.
8129         (elmo-folder-get-info-length): Ditto.
8130         (elmo-folder-get-info-unread): Ditto.
8131         (elmo-folder-info-make-hashtb): Ditto.
8132
8133         * elmo2.el: Removed above functions.
8134
8135 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8136
8137         * elmo-imap4.el (toplevel): Require 'ssl.
8138         Add autoload 'starttls.
8139         * elmo-pop3.el (toplevel): Ditto.
8140         * elmo-nntp.el (toplevel): Ditto.
8141
8142 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8143
8144         * elmo-imap4.el (toplevel): defun at compile time.
8145         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8146         sasl-next-step, sasl-step-data, sasl-step-set-data.
8147         * elmo-pop3.el (toplevel): Ditto.
8148
8149 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8150
8151         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8152
8153 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8154
8155         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8156         if error.
8157         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8158         and `elmo-pop-auth-apop'.
8159
8160 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8161
8162         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8163
8164 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8165
8166         * elmo-pop3.el (elmo-network-authenticate-session): Split
8167         encoded response value.
8168
8169 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8170
8171         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8172         `elmo-pop3-force-login'.
8173         Redefine `sasl-mechanisms'.
8174         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8175
8176 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8177
8178         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8179         Delete `elmo-imap4-authenticator-alist'.
8180         (elmo-imap4-auth-cram-md5): Delete.
8181         (elmo-imap4-auth-digest-md5): Delete.
8182
8183 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8184
8185         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8186         (elmo-pop3-auth-scram-md5): Ditto.
8187         (elmo-pop3-auth-cram-md5): Ditto.
8188
8189 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8190
8191         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8192         Delete `elmo-pop3-authenticator-alist'.
8193
8194 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8195
8196         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8197         new SASL API.
8198         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8199
8200 \f
8201 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8202
8203         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8204
8205 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8206
8207         * elmo-nntp.el (elmo-nntp-get-folders-info):
8208         Fixed problem when '\' character is contained in user-id.
8209         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8210
8211 \f
8212 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8213
8214         * elmo-imap4.el (elmo-imap4-delete-folder):
8215         Send "close" before "delete" (Use commented out line).
8216         (elmo-imap4-rename-folder): Ditto.
8217
8218         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8219         folder string itself.
8220         (elmo-dop-list-deleted): New function.
8221         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8222         killed.
8223
8224         * elmo-util.el (elmo-string-rassoc-all): New function.
8225
8226         * elmo-version.el (elmo-version): Up to 2.5.1.
8227
8228 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8229
8230         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8231
8232         * elmo-internal.el (elmo-internal-search): Fix last change.
8233
8234 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8235
8236         * elmo-internal.el (elmo-internal-search): Rewrite.
8237         (Fixed problem which is pointed out by Akihiro MOTOKI
8238         <motoki@da.jp.nec.com>)
8239
8240         * elmo-version.el (elmo-version): Up to 2.5.0.
8241
8242 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8243
8244         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8245
8246 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8247
8248         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8249         non-nil, make hierarchy.
8250
8251 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8252
8253         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8254         `elmo-pop3-use-uidl' must be bound to nil.
8255         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8256
8257 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8258
8259         * elmo-util.el (elmo-copy-file): Don't cause an error after
8260         `add-name-to-file' failed.
8261
8262         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8263         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8264
8265 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8266
8267         * elmo-version.el (elmo-version): Up to 2.3.93.
8268
8269 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8270
8271         * elmo-util.el (elmo-flatten): New function.
8272
8273 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8274
8275         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8276         sync Author header.
8277         * elmo-cache.el (toplevel): Ditto.
8278         * elmo-database.el (toplevel): Ditto.
8279         * elmo-date.el (toplevel): Ditto.
8280         * elmo-dop.el (toplevel): Ditto.
8281         * elmo-filter.el (toplevel): Ditto.
8282         * elmo-imap4.el (toplevel): Ditto.
8283         * elmo-internal.el (toplevel): Ditto.
8284         * elmo-localdir.el (toplevel): Ditto.
8285         * elmo-localnews.el (toplevel): Ditto.
8286         * elmo-maildir.el (toplevel): Ditto.
8287         * elmo-msgdb.el (toplevel): Ditto.
8288         * elmo-multi.el (toplevel): Ditto.
8289         * elmo-net.el (toplevel): Ditto.
8290         * elmo-nntp.el (toplevel): Ditto.
8291         * elmo-pipe.el (toplevel): Ditto.
8292         * elmo-pop3.el (toplevel): Ditto.
8293         * elmo-util.el (toplevel): Ditto.
8294         * elmo-vars.el (toplevel): Ditto.
8295         * elmo2.el (toplevel): Ditto.
8296         * mmelmo-imap4.el (toplevel): Ditto.
8297         * mmelmo.el (toplevel): Ditto.
8298
8299         * elmo-version.el (elmo-version): Move to top.
8300
8301         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8302         * elmo-imap4.el (toplevel): Ditto.
8303         * elmo-localdir.el (toplevel): Ditto.
8304         * elmo-msgdb.el (toplevel): Ditto.
8305         * elmo-nntp.el (toplevel): Ditto.
8306         * elmo-pop3.el (toplevel): Ditto.
8307         * elmo-version.el (toplevel): Ditto.
8308
8309         * elmo-localnews.el (toplevel): Added Keyword header.
8310
8311 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8312
8313         * elmo-version.el (product-version-as-string): Defined using
8314         `defun-maybe'.
8315         (toplevel): Use it.
8316
8317         * elmo-localdir.el (toplevel): Updated copyright notice.
8318         * elmo-version.el (toplevel): Ditto.
8319         * elmo-msgdb.el (toplevel): Ditto.
8320         * elmo-imap4.el (toplevel): Ditto.
8321         * elmo-nntp.el (toplevel): Ditto.
8322         * elmo-pop3.el (toplevel): Ditto.
8323
8324 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8325
8326         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8327         messages.
8328
8329         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8330         parameter value (It sometimes contains raw kanji).
8331
8332 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8333
8334         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8335         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8336
8337 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8338
8339         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8340
8341 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8342
8343         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8344         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8345
8346 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8347
8348         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8349         value if selecting folder succceeded.
8350         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8351
8352 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8353
8354         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8355         representation.
8356
8357         * elmo-util.el (elmo-string-matched-member): New function.
8358
8359 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8360
8361         * elmo-util.el (elmo-unintern): New macro.
8362         (elmo-number-set-member): Fixed docstring.
8363
8364         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8365         tag token.
8366
8367 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8368
8369         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8370         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8371
8372 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8373
8374         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8375         `no-error'.
8376         Added docstring.
8377         Return non-nil if selecting folder succeeded.
8378         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8379
8380 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8381
8382         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8383         `file-name-completion' returns t.
8384         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8385         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8386         directory if it does not exist.
8387         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8388         for iteration.
8389
8390 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8391
8392         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8393         enclosure (It's harmful in unplugged status).
8394
8395         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8396
8397         * mmelmo-1.el: Removed.
8398
8399         * mmelmo-2.el: Ditto.
8400
8401         * mmelmo-imap4-1.el: Ditto.
8402
8403         * mmelmo-imap4-2.el: Ditto.
8404
8405         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8406
8407         * mmelmo.el: Merged mmelmo-2.el.
8408
8409         * elmo-version.el (elmo-version): Up to 2.3.92.
8410
8411 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8412
8413         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8414         elmo-update-number): Remove last period in "...done." message.
8415         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8416         Ditto.
8417         * elmo-cache.el (elmo-cache-expire-by-size,
8418         elmo-cache-get-sorted-cache-file-list,
8419         elmo-cache-msgdb-create-as-numlist): Ditto.
8420         * elmo-dop.el (elmo-dop-save-pending-messages,
8421         (elmo-dop-flush-pending-append-operations): Ditto.
8422         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8423         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8424         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8425         (elmo-localdir-pack-number): Ditto.
8426         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8427         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8428         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8429         mime-write-entity-content): Ditto.
8430         * pldap.el (ldap-search-basic): Ditto.
8431
8432 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8433
8434         * elmo-version.el (elmo-version): Up to 2.3.91.
8435
8436         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8437         Only when filter is 'last'.
8438
8439         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8440         (elmo-condition-parse-search-value): Use it.
8441         (elmo-read-search-condition-internal): Quote value only when
8442         it is not an atom.
8443
8444 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8445
8446         * elmo2.el (elmo-generic-folder-diff): Fix.
8447
8448 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8449
8450         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8451         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8452         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8453         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8454         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8455         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8456
8457 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8458
8459         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8460         extra-fields.
8461
8462 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8463
8464         * elmo-version.el (elmo-version): Up to 2.3.90.
8465
8466         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8467         (elmo-imap4-list-folder-important): Ditto.
8468
8469 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8470
8471         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8472
8473 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8474
8475         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8476
8477 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8478
8479         * elmo-nntp.el (elmo-network-initialize-session):
8480         Add starttls negotiation.
8481
8482 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8483
8484         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8485         response.
8486         (elmo-network-setup-session): Define.
8487         Call `elmo-nntp-send-mode-reader' when session opened.
8488
8489 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8490
8491         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8492
8493 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8494
8495         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8496         an invalid SPACE character ahead of `SEARCH' command.  Move
8497         a valid SPACE character following `SEARCH' from conditional
8498         `format' arguments to control-strings.
8499
8500 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8501
8502         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8503         was succeeded.
8504
8505         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8506
8507 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8508
8509         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8510         `w32-get-true-file-link-count' as t.
8511
8512         * elmo-imap4.el (elmo-imap4-read): Abolished.
8513         (Renamed to `elmo-read' and moved to elmo-util.el)
8514         All other related portions are changed.
8515
8516         * elmo-util.el (elmo-read): New function.
8517         (elmo-condition-parse-search-value): Use it.
8518
8519 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8520
8521         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8522
8523         * elmo-nntp.el (elmo-nntp-session): Define.
8524         (elmo-nntp-setting): Abolished.
8525         All other related portions are changed.
8526         (elmo-nntp-get-server-command): Changed argument.
8527         (elmo-nntp-set-server-command): Ditto.
8528         (elmo-nntp-xover-p): Ditto.
8529         (elmo-nntp-set-xover): Ditto.
8530         (elmo-nntp-listgroup-p): Ditto.
8531         (elmo-nntp-set-listgroup): Ditto.
8532         (elmo-nntp-list-active-p): Ditto.
8533         (elmo-nntp-set-list-active): Ditto.
8534         (elmo-nntp-xhdr-p): Ditto.
8535         (elmo-nntp-set-xhdr): Ditto.
8536         (elmo-nntp-flush-connection): Abolished.
8537         (elmo-nntp-get-connection): Abolished.
8538         (elmo-nntp-get-session): New function.
8539         (elmo-network-initialize-session): Defined.
8540         (elmo-network-authenticate-session): Ditto.
8541         (elmo-nntp-send-mode-reader): Changed argument.
8542         (elmo-nntp-send-command): Changed argument.
8543         All other related portions are changed.
8544         (elmo-nntp-read-response): Ditto.
8545         (elmo-nntp-read-raw-response): Ditto.
8546         (elmo-nntp-read-contents): Ditto.
8547         (elmo-nntp-read-body): Ditto.
8548         (elmo-nntp-goto-folder): Abolished.
8549         (elmo-nntp-select-group): New function.
8550         All other related portions are changed.
8551         (This function substitutes `elmo-nntp-goto-folder')
8552         (elmo-nntp-msgdb-create-by-header): Rewrite.
8553         (elmo-nntp-get-overview): Eliminated.
8554         (elmo-nntp-get-message): Ditto.
8555         (elmo-nntp-open-connection) Abolished.
8556         (elmo-nntp-read-msg): Rewrite.
8557         (elmo-nntp-post): Ditto.
8558         (elmo-nntp-send-data): Abolished.
8559         (elmo-nntp-send-buffer): New function.
8560         (elmo-nntp-send-data-line): Define as inline function.
8561         (elmo-nntp-get-folders-info-prepare): Use session as key.
8562         (elmo-nntp-groups-read-response): Changed argument.
8563         (elmo-nntp-retrieve-headers): Ditto.
8564         (elmo-nntp-msgdb-create-message): Ditto.
8565
8566         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8567         when searching by 'since' or 'before'.
8568
8569 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8570
8571         * elmo-version.el (toplevel): Use product-version-as-string for set
8572         verstion-string, if defined.
8573
8574 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8575
8576         * elmo-util.el: Doc fixes.
8577
8578 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8579
8580         * elmo-archive.el (toplevel): Use product-provide.
8581         * elmo-cache.el (toplevel): Ditto.
8582         * elmo-database.el (toplevel): Ditto.
8583         * elmo-date.el (toplevel): Ditto.
8584         * elmo-dop.el (toplevel): Ditto.
8585         * elmo-filter.el (toplevel): Ditto.
8586         * elmo-imap4.el (toplevel): Ditto.
8587         * elmo-internal.el (toplevel): Ditto.
8588         * elmo-localdir.el (toplevel): Ditto.
8589         * elmo-localnews.el (toplevel): Ditto.
8590         * elmo-maildir.el (toplevel): Ditto.
8591         * elmo-msgdb.el (toplevel): Ditto.
8592         * elmo-multi.el (toplevel): Ditto.
8593         * elmo-net.el (toplevel): Ditto.
8594         * elmo-nntp.el (toplevel): Ditto.
8595         * elmo-pipe.el (toplevel): Ditto.
8596         * elmo-pop3.el (toplevel): Ditto.
8597         * elmo-util.el (toplevel): Ditto.
8598         * elmo-vars.el (toplevel): Ditto.
8599         * elmo2.el (toplevel): Ditto.
8600         * mmelmo-1.el (toplevel): Ditto.
8601         * mmelmo-2.el (toplevel): Ditto.
8602         * mmelmo-imap4-1.el (toplevel): Ditto.
8603         * mmelmo-imap4-2.el (toplevel): Ditto.
8604         * mmelmo-imap4.el (toplevel): Ditto.
8605         * mmelmo.el (toplevel): Ditto.
8606
8607 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8608
8609         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8610         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8611
8612 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8613
8614         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8615         before splitting.
8616         (elmo-multi-split-number-alist): Ditto.
8617
8618 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8619
8620         * elmo-version.el: New file.  Use product.el.
8621         * elmo2.el: Add (require 'elmo-version).
8622         * elmo-vars.el (elmo-appname, elmo-version): Move to
8623         elmo-version.el
8624
8625 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8626
8627         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8628         `elmo-msgdb-expand-path'.
8629         (elmo-msgdb-load): Ditto.
8630         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8631         (elmo-generic-list-folder-unread): Rewrite.
8632         (elmo-generic-list-folder-important): Changed argument.
8633         (elmo-list-folder-unread): Ditto.
8634         (elmo-list-folder-important): Ditto.
8635         (elmo-folder-diff): Rewrite.
8636         (elmo-generic-folder-diff): New function.
8637         (elmo-multi-get-number-alist-list): Abolished
8638         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8639         (elmo-multi-folder-diff): Moved to elmo-multi.el
8640         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8641
8642         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8643         `elmo-msgdb-expand-path'.
8644         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8645         (elmo-pop3-read-msg): Ditto.
8646         (elmo-pop3-delete-msgs): Ditto.
8647         (elmo-pop3-folder-diff): New alias.
8648
8649         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8650         `elmo-msgdb-expand-path'.
8651         (elmo-pipe-list-folder-unread): Changed arguments.
8652         (elmo-pipe-list-folder-important): Ditto.
8653         (elmo-pipe-folder-diff): New alias.
8654
8655         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8656         `elmo-msgdb-expand-path'.
8657         (elmo-nntp-max-of-folder): Ditto.
8658         (elmo-nntp-msgdb-create): Ditto.
8659         (elmo-nntp-delete-msgs): Ditto.
8660         (elmo-nntp-folder-diff): New alias.
8661
8662         * elmo-multi.el (elmo-multi-folder-diff): New function.
8663         (elmo-multi-split-mark-alist): Ditto.
8664         (elmo-multi-split-number-alist): Ditto.
8665         (elmo-multi-mark-alist-list): Abolished (Renamed to
8666         elmo-multi-split-mark-alist).
8667         (elmo-multi-list-folder-unread): Rewrite.
8668         (elmo-multi-list-folder-important): Ditto.
8669         (elmo-multi-list-folder): Set `spec' as 1st argument for
8670         `elmo-msgdb-expand-path'.
8671         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8672         instead of `elmo-multi-get-number-alist-list'.
8673
8674         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8675         If 1st argument is not string, treat as spec.
8676         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8677         `elmo-msgdb-expand-path'.
8678         (elmo-msgdb-flist-load): Ditto.
8679         (elmo-msgdb-flist-save): Ditto.
8680         (elmo-msgdb-delete-path): Ditto.
8681         (elmo-msgdb-rename-path): Ditto.
8682
8683         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8684         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8685         (elmo-maildir-delete-mark-msgs): Ditto.
8686         (elmo-maildir-msgdb-create): Ditto.
8687         (elmo-maildir-read-msg): Ditto.
8688         (elmo-maildir-delete-msgs): Ditto.
8689         (elmo-maildir-list-folder-subr): Ditto.
8690         (elmo-maildir-search): Ditto.
8691         (elmo-maildir-get-msg-filename): Ditto.
8692         (elmo-maildir-pack-number): Ditto.
8693         (elmo-maildir-folder-diff): New alias.
8694
8695         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8696
8697         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8698         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8699         (elmo-localdir-folder-diff): New alias.
8700
8701         * elmo-internal.el (elmo-internal-list-folder-subr):
8702         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8703         (elmo-internal-list-folder-by-location): Ditto.
8704         (elmo-internal-msgdb-create): Ditto.
8705         (elmo-internal-delete-msgs): Ditto.
8706         (elmo-internal-read-msg): Ditto.
8707         (elmo-internal-folder-diff): New alias.
8708
8709         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8710         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8711         `elmo-msgdb-expand-path'.
8712         (elmo-imap4-list-folder-unread): Changed arguments.
8713         (elmo-imap4-list-folder-important): Ditto.
8714
8715         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8716         (elmo-filter-list-folder-important): Ditto.
8717         (elmo-filter-folder-diff): New function.
8718
8719         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8720
8721         * elmo-cache.el (elmo-cache-list-folder):
8722         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8723         (elmo-cache-copy-msgs): Ditto.
8724         (elmo-cache-folder-diff): New alias.
8725
8726         * elmo-archive.el (elmo-archive-list-folder-subr):
8727         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8728         (elmo-archive-get-archive-name): Ditto.
8729         (elmo-archive-create-file): Ditto.
8730         (elmo-archive-append-msg): Ditto.
8731         (elmo-archive-copy-msgs): Ditto.
8732         (elmo-archive-copy-msgs-froms): Ditto.
8733         (elmo-archive-get-msg-filename): Ditto.
8734         (elmo-archive-folder-diff): New alias.
8735
8736 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8737
8738         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8739         (elmo-pop3-stream-type-alist): New variable.
8740         (elmo-nntp-stream-type-alist): New variable.
8741
8742         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8743         (elmo-kill-buffer): Ditto.
8744         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8745         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8746         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8747         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8748         (elmo-imap4-get-spec): Take into account
8749         `elmo-imap4-stream-type-alist'.
8750
8751 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8752
8753         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8754         (elmo-nntp-list-folders-get-cache): Ditto.
8755
8756 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8757
8758         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8759         character before 'uid'.
8760
8761 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8762
8763         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8764
8765         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8766
8767         * elmo-util.el (elmo-number-set-member): New function.
8768         (elmo-number-set-append-list): Ditto.
8769         (elmo-number-set-append): Ditto.
8770
8771         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8772         Use `elmo-number-set-member'.
8773         (elmo-living-messages): Ditto.
8774         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8775         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8776
8777         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8778         (elmo-imap4-add-to-cont-list): Abolished.
8779         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8780         instead of elmo-imap4-add-to-cont-list.
8781
8782         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8783         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8784
8785         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8786
8787 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8788
8789         * elmo-util.el (elmo-condition-parse-search-value):
8790         Fixed date parsing.
8791
8792 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8793
8794         * elmo-util.el (elmo-condition-find-key-internal): New function.
8795         (elmo-condition-find-key): Ditto.
8796
8797         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8798         (elmo-msgdb-search-internal): Ditto.
8799         (elmo-msgdb-search): Ditto.
8800
8801 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8802
8803         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8804         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8805
8806         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8807         (elmo-nntp-search-primitive): Fixed problem when condition is
8808         'unmatch'.
8809
8810         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8811
8812         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8813         (elmo-nntp-xhdr-p): New macro.
8814         (elmo-nntp-set-xhdr): Ditto.
8815         (elmo-nntp-parse-xhdr-response): New function.
8816         (elmo-nntp-retrieve-field): Ditto.
8817         (elmo-nntp-search-primitive): Ditto.
8818         (elmo-nntp-search): Implemented.
8819
8820         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8821
8822         * elmo-archive.el (elmo-archive-search): Set all number list to
8823         `elmo-archive-field-condition-match'
8824
8825         * elmo-localdir.el (elmo-localdir-search): Likewise.
8826
8827         * elmo-maildir.el (elmo-maildir-search): Likewise.
8828
8829 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8830
8831         * elmo-msgdb.el (elmo-living-messages): New function.
8832         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8833         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8834         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8835         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8836         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8837         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8838         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8839         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8840         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8841         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8842         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8843
8844 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8845
8846         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8847
8848         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8849
8850         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8851
8852         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8853         arguments for `SEARCH' command.
8854         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8855         All other related portions are changed.
8856
8857         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8858
8859         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8860         (elmo-list-folder-unread): Rewrite.
8861         (elmo-list-folder-important): Ditto.
8862
8863         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8864         (elmo-condition-parse-error): New inline function.
8865         (elmo-read-search-condition): New function.
8866         (elmo-read-search-condition-internal): Ditto.
8867         (elmo-parse-search-condition): Rewrite.
8868         (elmo-condition-parse): New function.
8869         (elmo-condition-parse-or-expr): Ditto.
8870         (elmo-condition-parse-and-expr): Ditto.
8871         (elmo-condition-parse-primitive): Ditto.
8872         (elmo-condition-parse-search-value): Ditto.
8873         (elmo-buffer-field-primitive-condition-match): Ditto.
8874         (elmo-buffer-field-condition-match): Rewrite.
8875         (elmo-file-field-condition-match): Ditto.
8876
8877         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8878         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8879
8880         * elmo-internal.el (elmo-internal-search): Set `number' and
8881         `number-list' argument of `elmo-file-field-condition-match'.
8882
8883         * elmo-maildir.el (elmo-maildir-search): Ditto.
8884
8885         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8886         `msgdb' as argument instead of `mark-alist'.
8887         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8888         `overview'.
8889
8890         * elmo-multi.el: Likewise.
8891
8892         * elmo-pipe.el: Likewise.
8893
8894         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8895         (elmo-imap4-search-internal): Rewrite.
8896         (elmo-imap4-search): Ditto.
8897
8898         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8899         (elmo-filter-list-folder-unread): Ditto.
8900         (elmo-filter-list-folder-important): Ditto.
8901         (elmo-filter-search): Rewrite.
8902
8903         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8904         `number-list' argument of `elmo-file-field-condition-match'.
8905         (elmo-cache-search): Ditto.
8906
8907         * elmo-localdir.el: Likewise.
8908
8909         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8910         number-list and pass it to `elmo-buffer-field-condition-match'.
8911         (elmo-archive-field-condition-match): Pass `number-list' to
8912         `elmo-archive-field-condition-match'
8913
8914 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8915
8916         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8917         `listgroup'.
8918
8919         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8920         (elmo-folder-diff-async-callback-data): Ditto.
8921         (elmo-folder-diff-async): New function.
8922
8923         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8924         (elmo-network-session-cache-key): Use it as a prefix of the session
8925         name.
8926         (elmo-network-open-session): Ditto.
8927
8928         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8929         (elmo-imap4-status-callback-data): Ditto.
8930         (elmo-imap4-server-diff-async-callback): New variable.
8931         (elmo-imap4-server-diff-async-callback-data): Ditto.
8932         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8933         `elmo-imap4-status-callback-data'.
8934         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8935         `elmo-imap4-status-callback-data' as nil.
8936         (elmo-imap4-server-diff): Ditto.
8937         (elmo-imap4-server-diff-async-callback-1): New function.
8938         (elmo-imap4-server-diff-async): Ditto.
8939         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8940
8941 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8942
8943         * elmo-util.el (elmo-list-delete): Doc fix.
8944         (elmo-delete-lists): Abolish.
8945         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8946         instead of `elmo-delete-lists'.
8947
8948 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8949
8950         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8951         before `sort'.
8952
8953 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8954
8955         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8956         `elmo-imap4-literal-subr'.
8957         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8958         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8959
8960 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8961
8962         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8963         (elmo-archive-list-folder): Fix.
8964         (elmo-archive-max-of-folder): Fix.
8965
8966 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8967
8968         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8969          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8970         (elmo-localdir-append-msg): Ditto.
8971         (elmo-localdir-list-folder): Fix for `nonsort'.
8972         (elmo-localdir-list-folder-subr): Fix for `killed'.
8973         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8974         (elmo-maildir-list-folder-subr): Ditto.
8975         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8976         (elmo-archive-list-folder-subr): Ditto.
8977         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8978         (elmo-internal-list-folder-subr): Ditto.
8979
8980 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8981
8982         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8983
8984 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8985
8986         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8987
8988 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8989
8990         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8991         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8992
8993         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8994         before greeting.
8995         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8996         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8997
8998 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8999
9000         * mmelmo-imap4-2.el (mime-entity-children): Defined.
9001
9002         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
9003         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
9004         before STORE command.
9005
9006 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
9007
9008         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
9009
9010         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
9011         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
9012         of `response'.
9013         (elmo-imap4-list-folders): Removed unused local variable.
9014         (elmo-network-initialize-session): Ditto.
9015         (elmo-imap4-delete-msg-by-id): Ditto.
9016         (elmo-imap4-parse-fetch): Ditto.
9017         (elmo-imap4-copy-msgs): Ditto.
9018         Use `dst-spec' instead of `dst-folder'.
9019         (elmo-network-authenticate-session): Check authenticate type `plain'.
9020
9021 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
9022
9023         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
9024         garbage checking.
9025         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
9026         `elmo-imap4-response-value'.
9027         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
9028
9029 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
9030
9031         * elmo-imap4.el (elmo-imap4-send-command):
9032         Cause elmo-imap4-bye-error when current response is BYE.
9033         (elmo-imap4-arrival-filter): Changed greeting response value.
9034
9035         * elmo2.el (elmo-imap4-bye-error): Define.
9036
9037         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
9038         (elmo-imap4-server-diff): Ditto.
9039         (elmo-imap4-response-bye-p): New macro.
9040         (elmo-imap4-response-error-text): Get text from BYE response.
9041         (elmo-imap4-read-response): Return if BYE response.
9042         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
9043         (elmo-imap4-folder-exists-p): Ditto.
9044         (elmo-imap4-commit): Do nothing when different mailbox is selected.
9045         (elmo-imap4-parse-bye): New function.
9046         (elmo-imap4-parse-response): Remove needless let.
9047         Call `elmo-imap4-parse-bye'.
9048
9049 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
9050
9051         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
9052         the mailbox does not exist.
9053         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
9054
9055 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
9056
9057         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9058
9059 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
9060
9061         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9062
9063         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9064         (elmo-network-initialize-session-buffer): Defined.
9065
9066         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9067         Abolished.
9068         (mmelmo-imap4-get-mime-entity): Rewrite.
9069
9070         * elmo2.el (elmo-error): Capitalize error message.
9071
9072         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9073         (elmo-network-session-buffer): New macro.
9074         (elmo-network-open-session): Use it.
9075
9076         * elmo-imap4.el: Rewrite.
9077
9078 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9079
9080         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9081
9082 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9083
9084         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9085         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9086         (elmo-imap4-create-msgdb-from-overview-string): Use
9087         `elmo-msgdb-create-overview-from-buffer'.
9088
9089 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9090
9091         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9092         (elmo-imap4-default-hierarchy-delimiter): New variable.
9093         (elmo-imap4-list-folders): Use it.
9094
9095 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9096
9097         * elmo-net.el (elmo-network-open-session): Add user and
9098         stream-type for process-buffer name.
9099
9100         * elmo-pop3.el (elmo-network-initialize-session): Call
9101         buffer-disable-undo.
9102
9103         * elmo-imap4.el (elmo-network-initialize-session):
9104         Set current-buffer as an argument for `buffer-disable-undo'.
9105
9106         * elmo-pop3.el (elmo-network-close-session): Don't use
9107         `process-live-p'.
9108
9109         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9110         Set default as 'user.
9111
9112         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9113
9114         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9115         and `elmo-imap4-flush-connection'.
9116
9117         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9118         (elmo-pop3-get-spec): Assume auth as symbol.
9119         (elmo-open-network-stream): Moved to `elmo-net'.
9120
9121         * elmo-pop3.el (toplevel): Require 'elmo-net.
9122         Define `sasl-cram-md5' to silence byte compilier.
9123         (elmo-pop3-connection-cache) Abolished.
9124         (elmo-pop3-authenticator-alist) New variable.
9125         (elmo-pop3-session): Define.
9126         (elmo-pop3-connection-get-process): Abolished.
9127         (elmo-pop3-connection-get-buffer): Ditto.
9128         (elmo-pop3-close-connection): Ditto.
9129         (elmo-pop3-flush-connection): Ditto.
9130         (elmo-pop3-get-connection): Ditto.
9131         (elmo-pop3-get-session): New function.
9132         (Replacement for `elmo-pop3-get-connection').
9133         All other related modules are changed.
9134         (elmo-network-close-session): Define.
9135         (elmo-pop3-send-command): Abolished argument `buffer'.
9136         All other related modules are changed.
9137         (elmo-pop3-read-response): Likewise.
9138         (elmo-pop3-open-connection): Abolished.
9139         (elmo-pop3-auth-user): New function.
9140         (elmo-pop3-auth-apop): Ditto.
9141         (elmo-pop3-auth-cram-md5): Ditto.
9142         (elmo-pop3-auth-scram-md5): Ditto.
9143         (elmo-pop3-auth-digest-md5): Ditto.
9144         (elmo-network-initialize-session): Define.
9145         (elmo-network-authenticate-session): Ditto.
9146         (elmo-network-setup-session): Ditto.
9147
9148         * elmo-imap4.el (toplevel): Require 'elmo-net.
9149         (elmo-imap4-session): Define.
9150         (elmo-imap4-connection-cache): Abolished.
9151         (elmo-imap4-password-key): Ditto.
9152         (elmo-imap4-flush-connection): Ditto.
9153         (elmo-imap4-get-connection): Ditto.
9154         All other related modules are changed.
9155         (elmo-imap4-get-session): New function
9156         (Replacement for `elmo-imap4-get-connection').
9157         (elmo-imap4-read-response): Abolished argument `buffer'.
9158         All other related modules are changed.
9159         (elmo-imap4-send-command): Likewise.
9160         (elmo-imap4-select-folder): Abolished.
9161         All other related modules are changed.
9162         (elmo-imap4-select-mailbox): New function.
9163         (Replacement for `elmo-imap4-select-folder').
9164         (elmo-imap4-auth-login): Simplify.
9165         (Assume current buffer as process buffer)
9166         (elmo-imap4-auth-cram-md5): Ditto.
9167         (elmo-imap4-auth-digest-md5): Ditto.
9168         (elmo-imap4-login): Ditto.
9169         (elmo-imap4-open-connection): Abolished.
9170         (elmo-imap4-open-connection-1): Abolished.
9171         (elmo-network-initialize-sessoin): Define.
9172         (elmo-network-authenticate-session): Ditto.
9173         (elmo-network-setup-session): Ditto.
9174
9175         * elmo-net.el: New module.
9176
9177 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9178
9179         * elmo-util.el (elmo-define-error): New function.
9180
9181         * elmo2.el (elmo-error): Define.
9182         (elmo-open-error): Define.
9183         (elmo-authenticate-error): Define.
9184
9185         * elmo-imap4.el (elmo-imap4-error): Abolish.
9186         (elmo-imap4-error-type): Abolish.
9187         (elmo-imap4-error-process): Abolish.
9188         (elmo-imap4-error-message): Abolish
9189         (elmo-imap4-list-folders): Don't quote lambda.
9190         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9191         (elmo-imap4-parse-namespace): Ditto.
9192         (elmo-imap4-open-connection): Rewrite.
9193         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9194         (elmo-imap4-get-connection): Abolish local variable `result'.
9195
9196 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9197
9198         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9199         wrong-type-argument error when auth is nil.
9200
9201 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9202
9203         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9204         (elmo-default-nntp-stream-type): Ditto.
9205         (elmo-default-pop3-stream-type): Ditto.
9206         (elmo-network-stream-type-alist): Ditto.
9207         (elmo-default-imap4-ssl): Abolished.
9208         (elmo-default-nntp-ssl): Ditto.
9209         (elmo-default-pop3-ssl): Ditto.
9210
9211         * elmo-util.el: (toplevel): Removed needless requires.
9212         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9213         (elmo-open-network-stream): Open network stream according to
9214         the value of `elmo-network-stream-type-alist'.
9215         (elmo-get-network-stream-type): New function.
9216         (elmo-network-stream-type-spec-string): New macro.
9217         (elmo-network-stream-type-symbol): Ditto.
9218         (elmo-network-stream-type-function): Ditto.
9219
9220         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9221         network-stream-type. All other related portions are changed.
9222         (elmo-pop3-open-connection): Ditto.
9223
9224         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9225         network-stream-type. All other related portions are changed.
9226
9227         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9228         network-stream-type.All other related portions are changed.
9229         (elmo-imap4-error): New macro.
9230         (elmo-imap4-error-type): Ditto.
9231         (elmo-imap4-error-process): Ditto.
9232         (elmo-imap4-error-message): Ditto.
9233         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9234         (elmo-imap4-auth-cram-md5): Ditto.
9235         (elmo-imap4-auth-digest-md5): Ditto.
9236         (elmo-imap4-login): Ditto.
9237         (elmo-imap4-open-connection): Remove password entry if authentication
9238         was in vain.
9239         (elmo-imap4-user-at-host): Abolished.
9240         (elmo-imap4-password-key): New buffer local variable.
9241         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9242         using protocol, port, auth and stream-type.
9243
9244         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9245
9246 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9247
9248         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9249
9250         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9251
9252         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9253         (elmo-imap4-authenticator-alist): New variable.
9254         (elmo-imap4-open-connection-1): Rename from
9255         elmo-imap4-open-connection.
9256         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9257         only wraps elmo-imap4-open-connection-1.
9258         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9259         user-at-host.
9260         (elmo-imap4-auth-login): New function.
9261         (elmo-imap4-auth-cram-md5): New function.
9262         (elmo-imap4-auth-digest-md5): New function.
9263         (elmo-imap4-login): New function.
9264
9265 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9266
9267         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9268         function `error'.
9269
9270 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9271
9272         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9273
9274 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9275
9276         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9277
9278 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9279
9280         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9281         for server responses, quote `*' regardless of where it appears.
9282
9283 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9284
9285         * elmo-maildir.el (elmo-maildir-commit): New alias.
9286
9287 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9288
9289         * elmo-util.el (elmo-display-progress):
9290                 Use `progress-feedback-with-label'.
9291
9292 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9293
9294         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9295         (elmo-imap4-non-atom-char-regex): Ditto.
9296         (elmo-imap4-non-text-char-regex): Ditto.
9297         (elmo-imap4-literal-threshold): Ditto.
9298         (elmo-imap4-atom-p): New function.
9299         (elmo-imap4-quotable-p): Ditto.
9300         (elmo-imap4-nil): Ditto.
9301         (elmo-imap4-atom): Ditto.
9302         (elmo-imap4-quoted): Ditto.
9303         (elmo-imap4-literal-subr): Ditto.
9304         (elmo-imap4-literal): Ditto.
9305         (elmo-imap4-buffer-literal): Ditto.
9306         (elmo-imap4-string-subr): Ditto.
9307         (elmo-imap4-string): Ditto.
9308         (elmo-imap4-buffer-string): Ditto.
9309         (elmo-imap4-astring-subr): Ditto.
9310         (elmo-imap4-astring): Ditto.
9311         (elmo-imap4-buffer-astring): Ditto.
9312         (elmo-imap4-nstring): Ditto.
9313         (elmo-imap4-buffer-nstring): Ditto.
9314         (elmo-imap4-mailbox): New alias.
9315         (elmo-imap4-field-body): Ditto.
9316         (elmo-imap4-userid): Ditto.
9317         (elmo-imap4-password): Ditto.
9318         (elmo-imap4-format-quoted): New function.
9319         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9320         arguments and handle "atom", "quoted" and "literal" string here.
9321         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9322         `elmo-imap4-send-command'.
9323         (elmo-imap4-folder-exists-p): Likewise.
9324         (elmo-imap4-create-folder): Likewise.
9325         (elmo-imap4-delete-folder): Likewise.
9326         (elmo-imap4-rename-folder): Likewise.
9327         (elmo-imap4-max-of-folder): Likewise.
9328         (elmo-imap4-check-validity): Likewise.
9329         (elmo-imap4-sync-validity): Likewise.
9330         (elmo-imap4-server-diff): Likewise.
9331         (elmo-imap4-select-folder): Likewise.
9332         (elmo-imap4-copy-msgs): Likewise.
9333         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9334         (elmo-imap4-mark-set-on-msgs): Likewise.
9335         (elmo-imap4-read-part): Likewise.
9336         (elmo-imap4-read-msg): Likewise.
9337         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9338         `elmo-imap4-password' for `elmo-imap4-send-command'.
9339         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9340         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9341         `elmo-imap4-buffer-literal'.
9342         (elmo-imap4-append-msg): Likewise.
9343
9344         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9345         `delete' for removing dead connection from the connection cache.
9346         Move deletion of the process buffer after that.
9347         (elmo-imap4-list): Change `defsubst' to `defun'.
9348         (elmo-imap4-commit): Make error message verbose.
9349         (elmo-imap4-search): Ditto.
9350         (elmo-imap4-list): Ditto.
9351         (elmo-imap4-select-folder): Ditto.
9352         (elmo-imap4-copy-msgs): Ditto.
9353         (elmo-imap4-delete-msg-by-id): Ditto.
9354         (elmo-imap4-append-msg-by-id): Ditto.
9355         (elmo-imap4-append-msg): Ditto.
9356
9357 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9358
9359         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9360         when dired is used on XEmacs.
9361
9362 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9363
9364         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9365         instead of `append'.
9366         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9367         `elmo-plugged-p' directly.
9368         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9369         of `elmo-plugged-p' directly.
9370
9371         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9372         Eliminate unused variable.  Use `memq' for checking a process status.
9373         Use `cons' instead of `append' for updating the connection cache.
9374         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9375         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9376
9377 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9378
9379         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9380         `elmo-imap4-read-point' exactly.
9381
9382         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9383         the local variable `folder' to `mailbox'.
9384         Rename the argument `fld' to `folder'.
9385
9386 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9387
9388         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9389         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9390
9391 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9392
9393         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9394         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9395         (elmo-pop3-uidl-number-hash): Ditto.
9396         (elmo-pop3-size-hash): Ditto.
9397         (elmo-pop3-uidl-done): Ditto.
9398         (elmo-pop3-list-done): Ditto.
9399         (elmo-pop3-connection-get-process): New defmacro.
9400         (elmo-pop3-connection-get-buffer): Ditto.
9401         (elmo-pop3-close-connection): Delete buffer and process.
9402         (elmo-pop3-flush-connection): Don't delete buffer and process.
9403         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9404         Setup UIDL and size hash.
9405         (elmo-pop3-send-command-no-erase): Deleted
9406         (elmo-pop3-send-command): Added optional argument `no-erase'.
9407         (elmo-pop3-parse-uidl-response): New function.
9408         (elmo-pop3-parse-list-response): Set size hash.
9409         (elmo-pop3-list-location): New function.
9410         (elmo-pop3-list-by-uidl-subr): Ditto.
9411         (elmo-pop3-list-by-list): Ditto.
9412         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9413         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9414         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9415         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9416         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9417         Use uidl.
9418         (elmo-pop3-uidl-to-number): New function.
9419         (elmo-pop3-number-to-uidl): Ditto.
9420         (elmo-pop3-number-to-size): Ditto.
9421         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9422         Set number by use of uidl.
9423         (elmo-pop3-msgdb-create-message): Likewise.
9424         Set size, loc-alist in msgdb.
9425         (elmo-pop3-read-msg): Set number by use of uidl.
9426         Added optional argument `msgdb'.
9427         (elmo-pop3-delete-msg): Ditto.
9428         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9429         (elmo-pop3-commit): Close connection.
9430
9431         * elmo-pipe.el (elmo-pipe-max-of-folder):
9432         Bind `elmo-pop3-use-uidl' as nil.
9433         (elmo-pipe-drain): Ditto.
9434         Call `elmo-commit'.
9435
9436         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9437         (elmo-msgdb-overview-entity-set-size): New defsubst.
9438
9439 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9440
9441         * elmo-vars.el (elmo-use-killed-list): New variable
9442         (Renamed from `elmo-nntp-use-killed-list').
9443         (elmo-nntp-use-killed-list): Eliminated.
9444
9445         * elmo-msgdb.el (elmo-msgdb-expand-path):
9446         Changed expanding msgdb path for elmo-multi.
9447
9448         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9449         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9450         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9451         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9452         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9453         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9454         (toplevel): Deleted time-stamp line.
9455
9456         * elmo2.el (elmo-clear-killed ): Defined as function
9457         (Abolished defining as a backend function).
9458         All other related modules are changed.
9459
9460 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9461
9462         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9463
9464 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9465
9466         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9467
9468 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9469
9470         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9471
9472 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9473
9474         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9475         asynchronous folder check.
9476
9477         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9478
9479         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9480         `elmo-nntp-use-killed-list'.
9481         (elmo-nntp-list-folder): Use killed list.
9482         (elmo-nntp-max-of-folder): Ditto.
9483         (elmo-nntp-msgdb-create): Set killed list.
9484
9485         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9486
9487         * elmo2.el (elmo-clear-killed): New backend function.
9488         All other related modules are changed.
9489
9490 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9491
9492         * elmo-util.el (elmo-imap4-spec-folder): Use
9493         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9494         All callers changed.
9495
9496 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9497
9498         * mmelmo-2.el (initialize-instance):
9499         Use `mime-buffer-entity-buffer-internal' instead of
9500         `mime-entity-buffer'.
9501
9502         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9503         (mime-entity-body): Implemented.
9504         (mime-goto-header-start-point): Deleted.
9505         (mime-goto-body-end-point): Ditto.
9506         (mime-entity-point-min): Ditto.
9507         (mime-entity-point-max): Ditto.
9508         (mime-entity-children): Ditto.
9509         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9510         instead of `mime-entity-buffer'.
9511         (mime-entity-header-buffer): Ditto.
9512         (mime-entity-body-buffer): Ditto.
9513         (mime-write-entity-content): Ditto.
9514
9515         * pldap.el (ldap-static-if): New macro.
9516         (toplevel): Use it instead of `static-if'.
9517
9518 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9519
9520         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9521         included in `attrs' argument.
9522
9523 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9524
9525         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9526
9527         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9528         (ldap-ldif-safe-init-char-regexp): Ditto.
9529         (ldap-ldif-safe-string-regexp): Ditto.
9530         (ldap/ldif-safe-string-p): New macro.
9531         (ldap/ldif-insert-field): Ditto.
9532         (ldap-modify): Use it.
9533         (ldap-add): Ditto.
9534         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9535         (ldap-decode-attribute): Decode only when `attr' is consp.
9536         (ldap-delete): Bind `ret'.
9537         (toplevel): Require 'cl at compile time.
9538         Removed (require 'poe) and (require 'std11).
9539         (pldap-version): Eliminated.
9540         (ldap-search-basic): Removed auth and dn binding.
9541         (ldap-ldif-field-name-regexp): New constant.
9542         (ldap-ldif-field-head-regexp): Ditto.
9543         (ldap-ldif-next-field-head-regexp): Ditto.
9544         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9545         (ldap/field-end): New function.
9546         (ldap/field-body): Use it.
9547         (ldap/collect-field): Ditto.
9548         (ldap-search-basic): Use `ldap/field-body'.
9549
9550 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9551
9552         * pldap.el (ldap-default-attribute-encoder): New user option.
9553         (ldap/field-body): Decode base64 string.
9554         (ldap/collect-field): Ditto.
9555         (ldap-encode-attribute): New function.
9556         (ldap-add-entries): Use it.
9557         (ldap-modify-entries): Ditto.
9558         (ldap-search-entries): Enclosed decoding function with
9559         `with-temp-buffer' and set as unibyte.
9560         (ldap-search-basic): Set process buffer as unibyte.
9561
9562         * elmo-util.el (elmo-folder-identical-system-p):
9563         Eliminated name space checking.
9564
9565         * pldap.el: New module.
9566         toplevel: Changed condition to detect built-in ldap feature.
9567         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9568         (ldap-add): Added error handling.
9569         (ldap-modify): Ditto.
9570         (ldap-delete): Ditto.
9571
9572 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9573
9574         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9575         Initialize local variables with `let'.  Inline a temporary
9576         variable for the progress percentage.  Sort `setq' to reduce
9577         function call in the while-loop.
9578
9579         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9580         into the conditional branch.
9581
9582 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9583
9584         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9585         Move a conditional out of the while-loop.
9586
9587 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9588
9589         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9590         elmo-msgdb-overview-get-entity-by-number.
9591         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9592         throw.
9593
9594 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9595
9596         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9597         the local variable for a packed number self descriptively.
9598
9599 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9600
9601         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9602         * elmo-localdir.el (elmo-localdir-pack-number): Use
9603         `elmo-msgdb-overview-get-entity' instead of
9604         `elmo-msgdb-overview-get-entity-by-number'.
9605         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9606         (elmo-msgdb-search-overview-entity): Removed.
9607         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9608         by message-id or number.
9609         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9610         instead of `elmo-msgdb-overview-get-entity-by-number'.
9611
9612 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9613
9614         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9615         non-nil, use hash table for overview.
9616         (elmo-hash-maximum-size): New variable.
9617         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9618         (elmo-msgdb-make-overview-hashtb): New function.
9619         (elmo-msgdb-clear-overview-hashtb): New function.
9620         (elmo-clear-hash-val): New macro.
9621         All other related modules are changed.
9622
9623 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9624
9625         * elmo2.el (elmo-move-msgs): If there's other message with
9626         same message-id, don't use cache.
9627
9628 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9629
9630         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9631         number is already packed.
9632
9633 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9634
9635         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9636
9637 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9638
9639         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9640         All other related modules are changed.
9641
9642 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9643
9644         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9645         of refiling failure on Maildir.
9646
9647 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9648
9649         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9650         decoded mime-charset with cache.
9651         (elmo-msgdb-overview-entity-get-from): Ditto.
9652         (elmo-msgdb-overview-entity-get-subject): Ditto.
9653         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9654
9655 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9656
9657         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9658         (elmo-remove-passwd): Fill password with 0 before erase.
9659         * elmo-vars.el (elmo-passwd-life-time): New variable.
9660
9661 \f
9662 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9663
9664         * elmo-cache.el (elmo-buffer-cache-add):
9665         Set message cache buffer as unibyte.
9666
9667 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9668
9669         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9670         become nil.
9671
9672 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9673
9674         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9675         when display is finished.
9676         (elmo-nntp-msgdb-create): Ditto.
9677         (elmo-nntp-groups-read-response): Ditto.
9678         (elmo-nntp-retrieve-headers): Ditto.
9679         (elmo-nntp-msgdb-create-message): Ditto.
9680         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9681         (elmo-pop3-msgdb-create-message): Ditto.
9682
9683 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9684
9685         * elmo-maildir.el (elmo-maildir-msgdb-create):
9686         Use `elmo-msgdb-sort-by-date'.
9687
9688 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9689
9690         * elmo2.el (elmo-read-msg-no-cache):
9691         Eliminated arguments after `outbuf'.
9692         Don't use cache even if it exists.
9693         (elmo-read-msg): Don't pass arguments after `outbuf' to
9694         `elmo-read-msg-no-cache'.
9695
9696 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9697
9698         * elmo-archive.el (elmo-archive-list-folders):
9699         Use `file-name-directory' if base folder does not exist.
9700
9701 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9702
9703         * elmo-archive.el (elmo-archive-list-folders): Don't use
9704         `file-name-directory'.
9705
9706 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9707
9708         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9709         If `force' is non-nil, try flushing all operation queues.
9710
9711 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9712
9713         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9714         as-binary-process.
9715
9716 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9717
9718         * elmo-util.el (elmo-display-progress): Fixed.
9719
9720 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9721
9722         * elmo-util.el (elmo-display-progress): New function.
9723         All other related modules are changed.