2203b05a2cb6ccac52d9c5a914dc77da64de98b4
[elisp/wanderlust.git] / elmo / ChangeLog
1 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4         the folder has been deleted successfully.
5         * elmo-imap4.el (elmo-folder-delete): Ditto.
6         * elmo-archive.el (elmo-folder-delete): Ditto.
7         * elmo-localdir.el (elmo-folder-delete): Ditto.
8         * elmo-maildir.el (elmo-folder-delete): Ditto.
9
10 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
11
12         * elmo-util.el (elmo-string-member-ignore-case): New function.
13         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
14         (elmo-imap4-fetch-callback-1-subr): Likewise.
15
16 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
17
18         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
19         the case of the name attribute "\Noselect".
20
21 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
22
23         * elmo.el (elmo-folder-rename-internal): New method to cause error.
24
25         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
26         flist, is not always a member of onum-alist.
27
28 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
29
30         * elmo-version.el (elmo-version): Up to 2.11.3.
31
32 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
33
34         * elmo-maildir.el (elmo-folder-rename-internal): New method,
35         copied from localdir's one.
36
37         * elmo-pipe.el (elmo-folder-rename): New method, rename
38         destination folder with leaving source folder as it is.
39
40 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
41
42         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
43         replace-regexp.
44
45 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
46
47         * elmo-version.el (elmo-version): Up to 2.11.2.
48
49 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
50
51         * elmo-shimbun.el (elmo-folder-initialize): Do not call
52         shimbun-open in case of "@".
53         (elmo-folder-open-internal): Cope with shimbun = nil case.
54         (elmo-folder-plugged-p): Ditto.
55         (elmo-folder-list-subfolders): Make list for "@/" group.
56
57 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
58
59         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
60         mailbox (e.g. for %~/something).
61
62 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
63
64         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
65         Replace nested conditional with guard clauses.
66
67 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
68
69         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
70         Replace nested conditional with guard clauses.
71
72 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
73
74         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
75         error [wl:11327].
76
77         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
78         print-depth.
79
80 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
81
82         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
83         (elmo-passwd-alist-save): Ditto.
84         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
85
86 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
87
88         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
89         dir-name only if it is absolute path.
90         (TODO: distinguish +/something and +something)
91
92 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
93
94         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
95         path for "+~/something".
96
97 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
98
99         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
100         as non-directory, cause error before rename-file.
101         * elmo-archive.el (elmo-folder-rename-internal): Create directory
102         apropriately, mimic localdir's one.
103         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
104
105 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
106
107         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
108
109 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
110
111         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
112
113         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
114         
115         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
116         is included in the global-mark or not.
117
118 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
119
120         * utf7.el (toplevel): Avoid error when the function
121         find-coding-system does not exist.
122
123 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
124
125         * elmo-nntp.el (elmo-folder-search): Body search is to search from
126         cache even if the folder is plugged.
127         (elmo-nntp-search-primitive): Do nothing when body search is
128         invoked (although it is not used by the change above).
129         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
130
131 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
132
133         * elmo-version.el (elmo-version): Up to 2.11.1.
134
135 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
136
137         * elmo-archive.el: Specify charset.
138
139 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
140
141         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
142         process buffer lives or not.
143
144         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
145         while flushing queues (It causes infinite loop).
146
147 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
148
149         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
150
151 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
152
153         * utf7.el (toplevel): Check the ucs features dynamically.
154         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
155
156         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
157         folder is creatabe or not if it already exists.
158
159 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
160
161         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
162
163         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
164
165         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
166         (elmo-imap4-read-response): Take care of garbage response.
167
168 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
169
170         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
171         just return nil instead of error.
172
173 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
174
175         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
176         search-key is "body".
177
178 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
179
180         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
181         of elmo-string-matched-assoc to use match-data.
182         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
183
184 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
185
186         * elmo-split.el (elmo-split->): New function.
187         (elmo-split-<): Ditto.
188
189 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
190
191         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
192         workaround for invalid message-id.
193
194 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
195
196         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
197         return normal pop3 session or pop3 biff session.
198
199 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
200
201         * elmo-maildir.el (elmo-maildir-update-current): Don't append
202         info part to the cur files when the new files already have it.
203         (Adviced by Jared Rhine <jared@wordzoo.com>)
204
205 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
206
207         * elmo-split.el (elmo-split-default-action): New variable.
208         (elmo-split-subr): Use it if all other conditions are passed.
209         Extend `fname' and rename it as `action'. (implemented
210         Teranishi-san's idea in [wl:10800])
211
212 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
213
214         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
215         * elmo-util.el: Ditto.
216
217 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
218
219         * elmo-version.el (elmo-version): Up to 2.11.0.
220
221 2002-10-22  Yuuichi Teranishi  <teranisi@gohome.org>
222
223         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
224
225 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
226
227         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
228         set spool-length to 0.
229
230 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
231
232         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
233         (elmo-dop-queue-flush): Fixed last change.
234
235 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
236
237         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
238         the problem reported by Sean Rima [wl-en:180].
239
240 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
241
242         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
243         status number.
244
245 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
246
247         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
248         Remove redundunt connectivity check.
249
250 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
251
252         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
253         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
254
255 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
256
257         * pldap.el (ldap-decode-string): Return string as-is if
258         `ldap-coding-system' is nil.
259         (ldap-encode-string): Ditto.
260         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
261         (ldap-default-host): Fixed docstring.
262
263 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
264
265         * elmo-util.el (elmo-warning): Define as a macro which uses
266         `display-warning' if it is defined as a function.
267
268         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
269         (elmo-split-equal): Use it.
270         (elmo-split-match): Ditto.
271         (elmo-split-message-entity): New buffer-local variable.
272         (elmo-split-subr): Set it.
273
274         * elmo-version.el (elmo-version): Up to 2.9.15.
275
276 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
277
278         * elmo-imap4.el (elmo-network-initialize-session):
279         Check capability after starttls.
280
281 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
282
283         * elmo-util.el (elmo-list-delete): Added optional argument
284         DELETE-FUNCTION.
285
286         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
287
288         * elmo-util.el (elmo-warning): Ignore errors while recenter.
289
290         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
291
292         * elmo-imap4.el (elmo-folder-initialize): Don't use
293         elmo-imap4-default-mailbox.
294
295 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
296
297         * elmo-split.el (toplevel): Use `product-provide'.
298         (elmo-split): Checkdoc.
299
300 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
301
302         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
303         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
304         the function `elmo-imap4-debug-1'.
305
306 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
307
308         * elmo-split.el (elmo-split): Moved to run hooks and to show
309         message from elmo-split-subr.
310         (elmo-split-subr): Follow the change above.
311
312         * elmo-split.el (elmo-split-subr): New function (renamed from
313         elmo-split-subr).
314         (elmo-split): Changed to call elmo-split-subr by element of
315         elmo-split-folder.
316         (elmo-split-folder): Changed customization type to choice.
317
318 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
319
320         * elmo-split.el (elmo-split-and): Fixed condition.
321
322 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
323
324         * elmo-split.el: New file.
325         (elmo-split): Fixed logic.
326         Display "Test:" instead of "Folder:" when reharsal.
327
328         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
329         explicitly.
330
331         * elmo-version.el (elmo-version): Up to 2.9.14.
332
333         * elmo-util.el (elmo-expand-newtext): New function (renamed from
334         wl-expand-newtext).
335
336 2002-06-10  Kenichi Sato <ksato@sonycom.com>
337
338         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
339         message with no message-id field.
340
341 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
342
343         * elmo-version.el (elmo-version): Up to 2.9.13.
344
345         * elmo-dop.el (elmo-folder-status-dop): Fix.
346
347 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
348
349         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
350
351         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
352         changing default value of default-mime-charset.
353         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
354
355         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
356
357         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
358         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
359         instead of elmo-dop-queue-method-name-alist to check merging queue.
360         (elmo-folder-delete-messages-dop): Delete from queue if negative
361         message number.
362         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
363         file is already removed.
364
365 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
366
367         * elmo-vars.el: Bind colon keywords for old Emacsen.
368
369 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
370
371         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
372         against non-exsisting charset.
373
374 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
375
376         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
377         Use eword-decode-and-unfold-unstructured-field-body.
378
379         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
380         (elmo-msgdb-create-overview-from-buffer): Use document charset if
381         exists to decode raw subject string.
382         (toplevel): Require 'mime.
383
384         * elmo-version.el (elmo-version): Up to 2.9.12.
385
386 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
387
388         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
389         (elmo-msgdb-set-mark): Ditto.
390
391         * elmo-version.el (elmo-version): Up to 2.9.11.
392
393 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
394
395         * elmo-util.el (elmo-delete-match-files): New function.
396
397         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
398         instead of elmo-delete-directory.
399
400         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
401         elmo-hash-minimun-size as 63.
402
403         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
404         elmo-diff-unread is nil.
405
406         * elmo-imap4.el (elmo-folder-open): Fix.
407
408         * elmo.el (elmo-message-mark): Rewrite.
409         (elmo-message-field): Ditto.
410         (elmo-message-set-mark): Ditto.
411         (elmo-folder-replace-marks): New function.
412         (elmo-generic-folder-append-msgdb): Removed third argument for
413         elmo-msgdb-append.
414         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
415         (elmo-msgdb-load): New implementation.
416
417         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
418
419         * elmo-util.el (elmo-list-insert): New implementation.
420
421         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
422         argument for elmo-msgdb-append.
423         
424
425         * elmo-msgdb.el (elmo-load-msgdb): New function.
426         (elmo-make-msgdb): Ditto.
427         (elmo-msgdb-get-index): New inline function.
428         (elmo-msgdb-set-index): Ditto.
429         (elmo-msgdb-get-entity-hashtb): Ditto.
430         (elmo-msgdb-get-mark-hashtb): Ditto.
431         (elmo-msgdb-get-mark): Ditto.
432         (elmo-msgdb-set-mark): Ditto.
433         (elmo-msgdb-count-marks): Ditto.
434         (elmo-msgdb-get-number): Ditto.
435         (elmo-msgdb-get-field): Ditto.
436         (elmo-msgdb-seen-list): Ditto.
437         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
438         (elmo-msgdb-delete-msgs): Follow the changes above.
439         (elmo-msgdb-overview-get-entity): Ditto.
440         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
441         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
442         and rewritten.
443         (elmo-msgdb-make-index): Likewise.
444         (elmo-msgdb-append): Removed third argument.
445         (elmo-msgdb-clear): Clear index as nil.
446         (elmo-folder-set-info-hashtb): Removed.
447         (elmo-folder-set-info-max-by-numdb): Ditto.
448         (elmo-folder-info-make-hashtb): Ditto.
449
450         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
451
452         * elmo-map.el (elmo-folder-pack-number): Ditto.
453
454 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
455
456         * elmo-version.el (elmo-version): Up to 2.9.10.
457
458         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
459
460         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
461
462 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
463
464         * elmo-utils.el (elmo-make-directory): Add option.
465         Default file mode is 700.
466
467 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
468
469         * elmo-shimbun.el (elmo-folder-local-p): Defined.
470
471 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
472
473         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
474         mime-charset.
475
476         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
477         and "smaller".
478
479 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
480
481         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
482         (elmo-shimbun-folder-entity-hash): New function.
483         (elmo-shimbun-folder-shimbun-header): Ditto.
484         (elmo-shimbun-entity-to-header): Ditto.
485         (elmo-shimbun-msgdb-to-headers): Removed.
486         (elmo-shimbun-folder-setup): Ditto.
487         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
488         for hash key.
489         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
490         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
491         Removed useless local bind.
492         (elmo-folder-open-internal): Don't call
493         `elmo-shimbun-folder-setup'.
494         (elmo-folder-close-internal): Clear entity-hash slot.
495         (elmo-folder-clear): Ditto.
496         (elmo-shimbun-msgdb-create-entity): Use
497         `elmo-shimbun-folder-shimbun-header'.
498         (elmo-map-message-fetch): Ditto.
499         (elmo-shimbun-update-overview): Use overview entity instead of
500         shimbun header to lookup id by references.
501         (elmo-map-folder-list-message-locations): Use not only headers but
502         also overviews to list locations.
503
504 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
505
506         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
507         msgdb path.
508
509         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
510
511 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
512
513         * elmo-util.el (elmo-read-search-condition-internal): Give default
514         value for date.
515
516 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
517
518         * elmo-util.el (elmo-condition-parse-search-value): Accept
519         YYYY-MM-DD format to search.
520         * elmo-date.el (elmo-date-get-datevec): Likewise.
521
522 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
523
524         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
525         debugging code.
526
527 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
528
529         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
530         from t.
531
532         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
533
534         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
535         case from `elmo-folder-exists-p'.
536         (elmo-folder-exists-p): Removed.
537         (elmo-folder-creatable-p) Ditto.
538
539         * elmo-net.el (elmo-folder-create): Defined.
540         (elmo-folder-create-unplugged): New function.
541         (elmo-folder-exists-p): Changed default value to nil from t.
542
543         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
544         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
545
546         * elmo-dop.el (elmo-folder-create-dop): Renamed from
547         `elmo-create-folder-dop' and append queue
548         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
549         (elmo-folder-create-dop-delayed): New function.
550
551         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
552
553         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
554
555         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
556         (elmo-folder-writable-p) : Ditto.
557
558         * elmo-version.el (elmo-version): Up to 2.9.9.
559
560 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
561
562         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
563         `elmo-message-use-cache-p' returns nil.
564         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
565         (ignore cache file and refer the substance in local folders)
566
567 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
568
569         * elmo-version.el (elmo-version): Up to 2.9.8.
570
571 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
572
573         * elmo-version.el (elmo-version): Up to 2.9.7.
574
575         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
576
577 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
578
579         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
580
581 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
582
583         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
584         from --early.
585         (elmo-map-folder-list-message-locations): Reverse location list.
586
587 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
588
589         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
590
591 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
592
593         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
594         as a key.
595         (elmo-nntp-folder-list-subfolders): Follow the change above.
596
597 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
598
599         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
600         name if authentication type is specified.
601
602 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
603
604         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
605         variable.
606         (elmo-default-nntp-stream-type): Ditto.
607         (elmo-default-pop3-stream-type): Ditto.
608
609 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
610
611         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
612
613 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
614
615         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
616         elmo-vars.el.
617         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
618
619         * elmo-vars.el (elmo-localnews-folder-path): Removed.
620         (elmo-maildir-folder-path): Ditto.
621         (elmo-maildir-list): Ditto (abolished).
622
623 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
624
625         * elmo-version.el (elmo-version): Up to 2.9.6.
626
627 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
628
629         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
630         (elmo-maildir-folder-path): Ditto.
631         (elmo-msgdb-directory): Ditto.
632         (elmo-passwd-life-time): Ditto.
633         (elmo-msgdb-extra-fields): Ditto.
634         (elmo-enable-disconnected-operation): Ditto.
635
636 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
637
638         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
639         other choices.
640         (elmo-pop3-default-authenticate-type): Ditto.
641
642 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
643
644         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
645         choices for custom.
646         (elmo-pop3-default-authenticate-type): Ditto.
647
648 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
649
650         * elmo-imap4.el (elmo-folder-rename-internal): Change current
651         mailbox to new-folder.
652
653 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
654
655         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
656         less than new, set new as unread.
657
658         * elmo-util.el (elmo-string): Don't put text-property if nil.
659
660 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
661
662         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
663         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
664
665 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
666
667         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
668         is nil on `completing-read'.
669
670 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
671
672         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
673         for namespace part.
674         (elmo-imap4-parse-namespace-subr): Ditto.
675         (elmo-folder-list-subfolders): Append a delimiter when the specified
676         folder path is a root with namespace and does not end with delimiter.
677
678 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
679
680         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
681         was used.
682
683 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
684
685         * elmo-util.el (elmo-save-buffer): The first argument of message
686         is a format control string.
687
688 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
689
690         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
691         `elmo-folder-diff').
692         (elmo-diff-unread): Likewise.
693
694 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
695
696         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
697         is t on `completing-read'.
698
699 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
700
701         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
702         method of target folder with self mark-alist if MARK-ALIST is nil.
703
704 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
705
706         * elmo-version.el (elmo-version): Up to 2.9.5.
707
708 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
709
710         * elmo-dop.el (elmo-dop-queue-merge): Implement.
711         (elmo-dop-merge-funcs): Remove.
712
713 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
714
715         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
716         Return t if PATH is directory, too.
717         Use `dolist' instead of while loop.
718
719 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
720
721         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
722         is deleted.
723
724 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
725
726         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
727         return value to t.
728         (elmo-folder-list-messages-unplugged): Return t if
729         elmo-enable-disconnected-operation is nil.
730
731         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
732         `elmo-folder-list-messages-internal'.
733
734 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
735
736         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
737         Change to looking-at `[23][0-9]+'.
738         (elmo-network-initialize-session): Use 'error-msg'
739         * elmo-net.el (elmo-network-open-session): Set unplugged
740         if elmo-network-initialize-session returns 'elmo-open-err.
741
742 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
743
744         * elmo-version.el (elmo-version): Up to 2.9.4.
745
746 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
747
748         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
749         `elmo-folder-list-messages-internal'.
750
751 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
752
753         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
754         (elmo-message-match-condition): New method.
755         (elmo-folder-search-fast): New inline function.
756         (elmo-msgdb-search): Removed.
757
758         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
759         target folder if it is unplugged.
760         (elmo-folder-list-messages-internal): Return t if target folder is
761         unplugged and itself is persistent; In this case, use list be
762         searched already.
763
764         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
765         (elmo-msgdb-search-internal-primitive): Ditto.
766         (elmo-msgdb-match-condition): New function.
767         (elmo-msgdb-match-condition-primitive): Ditto.
768
769         * elmo-util.el (elmo-filter-condition-p): New macro.
770
771         * elmo-cache.el (elmo-folder-search): Removed.
772
773         * elmo-localdir.el (elmo-folder-search): Ditto.
774
775         * elmo-maildir.el (elmo-folder-search): Ditto.
776
777         * elmo-mark.el (elmo-folder-search): Ditto.
778
779         * elmo-nmz.el (elmo-folder-search): Ditto.
780
781         * elmo-sendlog.el (elmo-folder-search): Ditto.
782
783         * elmo-shimbun.el (elmo-folder-search): Ditto.
784
785         * elmo-imap4.el (elmo-folder-search): Call method of parent class
786         if folder is unplugged.
787
788         * elmo-nntp.el (elmo-folder-search): Likewise.
789         (elmo-nntp-search-internal): New function.
790
791         * elmo-version.el (elmo-version): Up to 2.9.3.
792
793 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
794
795         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
796
797 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
798
799         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
800
801 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
802
803         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
804
805 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
806
807         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
808         (elmo-map-folder-list-message-locations): Do drive letter conversion
809         on Windows environment.
810         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
811         (elmo-map-message-fetch): Ditto.
812
813 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
814
815         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
816         (elmo-network-initialize-session): Ditto.
817
818 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
819
820         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
821
822         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
823
824         * elmo-util.el (elmo-progress-clear): Ditto.
825
826         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
827         `DD-Mon-YYYY' type date.
828
829 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
830
831         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
832         `elmo-date-make-sortable-string' instead of
833         `timezone-make-date-sortable'.
834
835         * elmo-date.el (elmo-date-make-sortable-string): Use
836         `timezone-make-time-string'.
837
838 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
839
840         * elmo.el (elmo-folder-synchronize): Delete important messages too.
841
842         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
843         `since'; Fix timezone.
844
845         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
846
847         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
848
849 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
850
851         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
852
853 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
854
855         * elmo.el (elmo-generic-folder-append-messages): Make
856         fetch-strategy with `use-cache' as 'maybe. Check return value of
857         `elmo-message-fetch'.
858         (elmo-message-fetch): Return return value of
859         `elmo-message-fetch-with-cache-process'.
860         (elmo-message-fetch-with-cache-process): Return non-nil if
861         fetching was succeed. Load cache when fetching was failed and
862         fetch-strategy-use-cache is 'maybe.
863
864         * elmo-util.el (elmo-file-cache-load): New function.
865
866         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
867         defun.
868
869         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
870         non-nil if fetching was succeed.
871
872         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
873
874         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
875
876         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
877         (elmo-message-fetch-with-cache-process): Likwise.
878
879         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
880
881         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
882
883         * elmo-version.el (elmo-version): Up to 2.9.2.
884
885 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
886
887         * elmo.el (elmo-folder-delete): Delete msgdb path.
888
889         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
890
891         * elmo-maildir.el (elmo-folder-delete): Ditto.
892
893         * elmo-localdir.el (elmo-folder-delete): Ditto.
894
895         * elmo-imap4.el (elmo-folder-delete): Ditto.
896
897 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
898
899         * elmo.el (luna-define-class): Added `biff' slot.
900
901         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
902         (elmo-pop3-debug-inhibit-logging): Abolished.
903         (elmo-network-close-session): Eliminated needless let.
904         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
905         (elmo-pop3-send-command): Added `no-log' argument.
906         (elmo-pop3-process-filter): Use `with-current-buffer'.
907         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
908         if login failure.
909         (elmo-pop3-auth-apop): Likewise.
910         (elmo-network-authenticate-session): Likewise.
911
912         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
913         if biff folder.
914
915         * elmo-net.el (elmo-network-session-password-key): Use class symbol
916         string to determine protocol.
917         (elmo-network-session-name-prefix): Abolished.
918         (elmo-network-session-cache-key): Follow the change above.
919         (elmo-network-open-session): Ditto.
920
921         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
922         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
923
924         * elmo-version.el (elmo-version): Up to 2.9.1.
925
926         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
927         unmatch condition checking.
928
929         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
930         condition.
931
932 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
933
934         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
935
936 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
937
938         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
939         test for while loop to execute at least one SEARCH command.
940
941 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
942
943         * elmo-version.el (elmo-version): Up to 2.9.0.
944
945 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
946
947         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
948         (elmo-archive-folder-path): Define.
949         (elmo-folder-initialize): Setup `dir-name' slot.
950         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
951         Use `dir-name' as prefix of each subfolders.
952         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
953
954 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
955
956         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
957         (elmo-pipe-folder-list-target-messages): New internal function.
958         (elmo-pipe-drain): Use new argument `ignore-list' instead of
959         `killed-list'.
960         (elmo-pipe-folder-copied-list-load): New function.
961         (elmo-pipe-folder-copied-list-save): Ditto.
962         (elmo-folder-open-internal): Follow the change above.
963         (elmo-folder-status): Fixed for copy.
964
965 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
966
967         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
968
969 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
970
971         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
972         elmo-copy-file instead of elmo-add-name-to-file.
973
974         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
975
976         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
977         "file://..." index.
978
979         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
980         of accept-process-output as 1.
981         (elmo-pop3-read-contents): Ditto.
982         (elmo-pop3-read-body): Ditto.
983
984 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
985
986         * elmo-version.el (product-version-as-string): Remove define.
987
988 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
989
990         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
991         (elmo-imap4-copy-messages): Chop number set using
992         `elmo-imap4-number-set-chop-length'.
993         (elmo-imap4-set-flag): Ditto.
994         (elmo-imap4-search-internal-primitive): Ditto.
995
996 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
997
998         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
999         `elmo-folder-make-temp-dir'
1000
1001         * elmo-vars.el (elmo-cache-directory): New variable.
1002         (elmo-cache-dir): Abolished.
1003         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
1004
1005         * elmo-version.el (elmo-version): Up to 2.7.7.
1006
1007 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
1008
1009         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
1010         defcustom; Set default value as t.
1011
1012 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
1013
1014         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
1015         (ldap-search-program-arguments): Changed default value.
1016         (ldap-search-basic): Accept exit status 4.
1017         (ldap/field-body): Parse options.
1018         (ldap/collect-field): Ditto.
1019         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
1020
1021         * elmo-imap4.el (elmo-imap4-process-bye): New function.
1022         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
1023         (elmo-imap4-accept-ok): Ditto.
1024         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
1025         'notify-bye, only BYE error is reported.
1026         (elmo-folder-exists-p-plugged): Set no-error argument of
1027         `elmo-imap4-session-select-mailbox' as 'notify-bye.
1028
1029         * elmo.el (elmo-imap4-bye-error): Changed message.
1030
1031         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
1032         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
1033         queues (It causes infinite loop).
1034
1035 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1036
1037         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
1038         (RECENT UNSEEN MESSAGES) extension.
1039
1040 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
1041
1042         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1043         Check number of overview fields.
1044
1045 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
1046
1047         * elmo.el (elmo-folder-confirm-appends): Changed message.
1048         (elmo-folder-confirm-appends): Ditto.
1049
1050         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
1051         `with-temp-buffer'.
1052         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
1053
1054 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
1055
1056         * elmo.el (elmo-folder-confirm-appends): Check whether the value
1057         of elmo-folder-update-threshold is nil, which can be set by
1058         wl-summary-update-confirm-threshold.
1059
1060 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
1061
1062         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
1063         (elmo-nmz-index-alias-alist): Ditto.
1064         (elmo-map-folder-list-message-locations): Follow the change above.
1065
1066 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1067
1068         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
1069
1070         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
1071
1072         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
1073
1074         * elmo-util.el (elmo-read): Ditto.
1075         (elmo-display-error): Ditto.
1076
1077         * elmo-vars.el (elmo-date-match): Ditto.
1078
1079         * pldap.el (ldap-coding-system): Ditto.
1080
1081         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
1082         `elmo-inhibit-number-mapping' as nil.
1083
1084 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
1085
1086         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
1087         space delimiter for list response.
1088
1089 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
1090
1091         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
1092
1093 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
1094
1095         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
1096         (elmo-map-message-fetch): Fix.
1097         * elmo-map.el (elmo-folder-status): Fix for killed.
1098
1099 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
1100
1101         * elmo-sendlog.el: New file.
1102         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
1103
1104 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
1105
1106         * acap.el (acap-logging-out): New buffer local variable.
1107         (acap-close): Set it.
1108         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
1109         an error.
1110
1111 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
1112
1113         * acap.el (acap-response-bye-p): New function.
1114         (acap-response-bye-message): Ditto.
1115         (acap-wait-for-response): If bye response is received, cause an error.
1116         (acap-parse-response): Make bye response when 'Bye' is received.
1117
1118 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
1119
1120         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
1121
1122 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1123
1124         * elmo-util.el (elmo-copy-file): Added argument
1125         `ok-if-already-exists'.
1126         (elmo-copy-file): Fixed typo.
1127
1128 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
1129
1130         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
1131
1132 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
1133
1134         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
1135
1136 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
1137
1138         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
1139         to killed-list.
1140
1141 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
1142
1143         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
1144         (elmo-folder-initialize): Fix for `copy'.
1145         (elmo-pipe-drain): Ditto.
1146         (elmo-folder-open-internal): Ditto.
1147         (elmo-folder-newsgroups): Fix.
1148
1149 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
1150
1151         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
1152         for each message.
1153
1154         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
1155         recent value is returned from imap folder.
1156
1157         * elmo.el (elmo-folder-newsgroups): New generic function.
1158
1159         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
1160         (elmo-folder-initialize): Set it.
1161         (elmo-folder-expand-msgdb-path): Use it.
1162         (elmo-folder-newsgroups): Define.
1163
1164         * elmo-filter.el (elmo-folder-newsgroups): Define.
1165
1166         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
1167
1168         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
1169
1170         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
1171
1172 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1173
1174         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
1175         user option.
1176         (elmo-shimbun-header-extra-field): New inline function.
1177         (elmo-shimbun-header-set-extra-field): Ditto.
1178         (elmo-shimbun-folder-header-hash-setup): Ditto.
1179         (elmo-shimbun-update-overview): Ditto.
1180         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
1181         (elmo-shimbun-folder-setup): Use
1182         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
1183         (elmo-shimbun-get-headers): Ditto.
1184         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
1185         Insert `X-Shimbun-Id:' header if extra field is set.
1186         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
1187         field's value instead of `shimbun-header-id'.
1188
1189         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
1190         inline function.
1191         (elmo-msgdb-overview-entity-set-date): Ditto.
1192         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1193
1194 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
1195
1196         * mmimap.el (mmimap-entity-section): Changed body node number from
1197         "0" to "1".
1198
1199 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1200
1201         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
1202         `elmo-folder-delete-messages'.
1203
1204         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
1205         (elmo-folder-initialize): Changed to expand alias into index path.
1206
1207         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
1208         `elmo-mime-insert-header-from-buffer' with 6th arg
1209         `sorted-fields'.
1210
1211 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
1212
1213         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
1214
1215         * elmo.el (elmo-diff-new): New inline function.
1216         (elmo-diff-unread): Ditto.
1217         (elmo-diff-all): Ditto.
1218
1219         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
1220         value from responseb.
1221         (elmo-imap4-folder-diff-plugged): Ditto.
1222         (elmo-imap4-server-diff-async): Added recent argument.
1223         (elmo-server-diff-async): Ditto.
1224         (elmo-imap4-folder-diff-plugged): Ditto.
1225
1226         * elmo-version.el (elmo-version): Up to 2.7.6.
1227
1228 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1229
1230         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
1231         in quoted-stirng.
1232
1233 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
1234
1235         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
1236
1237         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1238
1239         * elmo-nntp.el (elmo-folder-initialize): Ditto.
1240
1241         * elmo-multi.el (elmo-folder-initialize): Ditto.
1242
1243         * elmo-util.el (elmo-parse-token): New function.
1244         (elmo-parse-prefixed-element): Ditto.
1245
1246 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
1247
1248         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
1249         delete process.
1250         (elmo-imap4-accept-ok): Ditto.
1251
1252 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1253
1254         * mmimap.el (mime-imap-entity-header-string): Don't check first
1255         element of node-id is `0' (Follow last change).
1256
1257 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1258
1259         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
1260         assigned irregular node-id to nested multipart section.
1261         (initialize-instance): Followed above change.
1262
1263 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1264
1265         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
1266         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
1267         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
1268         `elmo-shimbun-get-headers');
1269         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
1270         visible article on summary exists in headers).
1271         (elmo-map-message-fetch): Cause an error when folder is unplugged.
1272
1273 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1274
1275         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
1276         definition.
1277
1278 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
1279
1280         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
1281
1282 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1283
1284         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
1285         header separator into loop condition.
1286
1287 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1288
1289         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
1290         Return duplicate folder if it has subfolder.
1291
1292 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
1293
1294         * elmo.el (elmo-make-folder): Add folder name error check.
1295
1296         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
1297         (elmo-nntp-encode-group-string): New inline function.
1298         (elmo-nntp-decode-group-string): Ditto.
1299         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
1300         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
1301         Use `not' instead of `null';
1302         Use elmo-nntp-decode-group-string.
1303
1304         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
1305
1306         * elmo-version.el (elmo-version): Up to 2.7.5.
1307
1308 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1309
1310         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
1311         Hide progress gauge if `elmo-folder-move-messages' exits
1312         nonlocally.
1313
1314 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
1315
1316         * elmo-imap4.el (elmo-folder-initialize): Use
1317         `elmo-imap4-encode-folder-string' for folder name.
1318
1319 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1320
1321         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
1322         `done'.
1323
1324 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1325
1326         * elmo-util.el (elmo-progress-counter-alist): New internal
1327         variable.
1328         (elmo-progress-counter-value): New macro.
1329         (elmo-progress-counter-all-value): Ditto.
1330         (elmo-progress-counter-format): Ditto.
1331         (elmo-progress-counter-set-value): Ditto.
1332         (elmo-progress-set): New function.
1333         (elmo-progress-clear): Ditto.
1334         (elmo-progress-notify): Ditto.
1335
1336         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
1337         counter.
1338
1339         * elmo.el (elmo-generic-folder-append-messages): Call
1340         `elmo-progress-notify'.
1341         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
1342
1343         * elmo-archive.el (elmo-folder-append-messages): Call
1344         `elmo-progress-notify'.
1345
1346         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
1347
1348         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
1349
1350         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1351
1352 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1353
1354         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
1355         'Create'.
1356         (elmo-message-encache-dop): Added argument `read'.
1357
1358         * elmo-shimbun.el (elmo-message-encache): Ditto.
1359
1360         * elmo-net.el (elmo-message-encache): Ditto.
1361
1362         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
1363         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
1364         elmo-imap4-seen-messages.
1365         (elmo-folder-msgdb-create-plugged): Initialize
1366         elmo-imap4-seen-messages;
1367         Set seen mark on elmo-imap4-seen-messages.
1368
1369         * elmo-pipe.el (elmo-folder-message-file-p): Define.
1370
1371         * elmo.el (elmo-generic-folder-append-messages): Check return value of
1372         elmo-folder-append-buffer.
1373         (elmo-folder-encache): Added optional argument `read'.
1374         (elmo-message-encache): Ditto.
1375
1376         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1377
1378         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1379
1380         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
1381         if append buffer content succeds.
1382
1383 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
1384
1385         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
1386         elmo-display-progress.
1387
1388         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
1389         Set 4th argument of mime-display-message.
1390         (elmo-mime-display-as-is): Ditto.
1391
1392 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
1393
1394         * elmo-nmz.el (toplevel): Require 'mime-edit.
1395         (elmo-nmz-content-type-alist): Abolished.
1396         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
1397         content is not a message.
1398         (elmo-map-message-fetch): Changed behavior exept for message content;
1399         Detect mime-charset automatically, Use `mime-find-file-type' to detect
1400         content-type, Add From: and Subject: field.
1401
1402 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1403
1404         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
1405         (elmo-map-message-fetch): Add `Content-Type' field if contents is
1406         not a message.
1407
1408 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1409
1410         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
1411         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
1412
1413         * elmo-archive.el (elmo-folder-writable-p): Defined.
1414
1415         * elmo-cache.el (elmo-folder-writable-p): Ditto.
1416
1417         * elmo-filter.el (elmo-folder-writable-p): Ditto.
1418
1419         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
1420
1421         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
1422
1423         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
1424
1425         * elmo-mark.el (elmo-folder-writable-p): Ditto.
1426
1427         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
1428
1429         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
1430
1431 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
1432
1433         * elmo-util.el (elmo-address-quote-specials): New function;
1434         Renamed from `wl-address-quote-specials'.
1435
1436 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1437
1438         * elmo-version.el (elmo-version): Up to 2.7.4.
1439
1440 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
1441
1442         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
1443
1444 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1445
1446         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
1447         both compile-time and run-time to avoid byte-compile warning.
1448
1449 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
1450
1451         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
1452
1453 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
1454
1455         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
1456         option.
1457         (elmo-mime-display-as-is-internal): Use it.
1458
1459         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
1460         if `read-passwd' is not defined.
1461
1462 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
1463
1464         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
1465         by original number.
1466         (elmo-folder-status): Call `elmo-folder-open-internal';
1467         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
1468         (elmo-folder-close-internal): Set location-alist as nil.
1469         (elmo-folder-clear): Define.
1470         (elmo-folder-check): Don't set location-alist as nil.
1471
1472         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
1473
1474 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
1475
1476         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
1477         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
1478
1479         * mmimap.el (mime-imap-entity::requested): New slot.
1480         (mime-imap-location-fetch-entity-p): New generic function.
1481         (mime-decode-parameters): Define using `defun-maybe'.
1482         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
1483         content-type structure.
1484         (mime-entity-body): Return empty body if
1485         `mime-imap-location-fetch-entity-p' returns nil in the first request.
1486
1487         * elmo.el (elmo-message-displaying): New variable.
1488
1489         * elmo-mime.el (elmo-mime-message-display): Bind
1490         elmo-message-displaying as t.
1491
1492         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
1493
1494 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1495
1496         * acap.el (acap-open): erase buffer before starting network process.
1497         (acap-store): Rewrite.
1498
1499 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
1500
1501         * elmo-imap4.el (elmo-imap4-default-mailbox,
1502         elmo-imap4-default-server
1503         elmo-imap4-default-authenticate-type,
1504         elmo-imap4-default-user,
1505         elmo-imap4-default-port,
1506         elmo-imap4-default-stream-type,
1507         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
1508
1509         * elmo-pop3.el (elmo-pop3-default-user,
1510         elmo-pop3-default-server,
1511         elmo-pop3-default-authenticate-type,
1512         elmo-pop3-default-port,
1513         elmo-pop3-default-stream-type,
1514         elmo-pop3-stream-type-alist): Ditto.
1515
1516         * elmo-nntp.el (elmo-nntp-default-server,
1517         elmo-nntp-default-user,
1518         elmo-nntp-default-port,
1519         elmo-nntp-default-stream-type,
1520         elmo-nntp-stream-type-alist): Ditto.
1521
1522         * elmo-vars.el: Follow changes above.
1523         (elmo-setting): New custom group; added 'elmo-setting group to
1524         above variables.
1525
1526         * elmo-version.el (elmo-version): Up to 2.7.3.
1527
1528         * acap.el (acap-parse-response): Don't delete process when BYE
1529         response (It causes hang-up on slow network environment).
1530         (toplevel): Added comment.
1531
1532 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
1533
1534         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
1535
1536         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
1537         parsing NIL.
1538         (acap-parse-return-metadata): Ditto.
1539
1540         * slp.el: New file.
1541         (toplevel): Fixed typo.
1542
1543         * acap.el: New file.
1544         (acap-network-stream-open): Show "Connecting..." message.
1545         (acap-parse-response): Fixed problem for BYE untagged response.
1546         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
1547         (toplevel): Added tiny comments.
1548
1549 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
1550
1551         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
1552         space delimiter for uidl response.
1553
1554 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
1555
1556         * elmo-vars.el (elmo-use-semi): Eliminated.
1557
1558         * elmo-util.el (elmo-string-assoc-all): New function.
1559
1560 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1561
1562         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
1563         property 'mime-preview-situation for `mime-preview-quit'.
1564
1565 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1566
1567         * elmo.el (elmo-message-fetch-with-cache-process): Call
1568         elmo-message-fetch-internal instead of causing an error when fetch
1569         strategy is 'entire but only 'section cache is available.
1570
1571 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
1572
1573         * elmo-version.el (elmo-version): Up to 2.7.2.
1574
1575         * elmo.el (elmo-generic-folder-append-messages): Make
1576         fetch-strategy with `use-cache'.
1577
1578         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
1579         (elmo-dop-queue-method-name): New macro.
1580
1581 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1582
1583         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
1584         unbalanced parenthesis.
1585
1586 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
1587
1588         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
1589
1590 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
1591
1592         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
1593         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
1594
1595 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
1596
1597         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
1598         local variables.
1599
1600 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
1601
1602         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
1603         (elmo-message-use-cache-p): Define.
1604         (elmo-folder-msgdb-create): Treat cache.
1605
1606 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
1607
1608         * elmo-nntp.el (elmo-network-initialize-session): Call
1609         `elmo-nntp-send-mode-reader'.
1610         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
1611
1612 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
1613
1614         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
1615         alist.
1616         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
1617         assoc.
1618
1619         * elmo-net.el (elmo-network-get-session): Set stream-type argument
1620         for `elmo-plugged-p'.
1621         (elmo-open-network-stream): Fixed stream-type argument.
1622
1623 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
1624
1625         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
1626         unknown archive type is specified.
1627
1628 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
1629
1630         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
1631
1632         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
1633         while loading msgdb.
1634
1635         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
1636         (elmo-folder-open-internal): Rewrite.
1637
1638 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
1639
1640         * elmo-mime.el (elmo-mime-display-as-is-internal):
1641         Adjust buffer-multibyte status.
1642
1643 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
1644
1645         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
1646         of elmo-condition-find-key.
1647
1648         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
1649         (elmo-condition-in-msgdb-p): Ditto.
1650         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
1651         argument.
1652
1653 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
1654
1655         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
1656
1657 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
1658
1659         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
1660         label for elmo-display-progress.
1661
1662 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
1663
1664         * elmo.el (elmo-folder-clear): New method.
1665         (elmo-folder-clear): Define.
1666         (elmo-folder-synchronize): Call `elmo-folder-clear'.
1667
1668         * elmo-shimbun.el (elmo-folder-check): Rewrite.
1669         (elmo-folder-clear): Define.
1670
1671         * elmo-map.el (elmo-folder-clear): Define.
1672
1673         * elmo-version.el (elmo-version): Up to 2.7.1.
1674
1675 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
1676
1677         * elmo.el (elmo-folder-synchronize): Return list of nil when no
1678         updates.
1679
1680 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
1681
1682         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
1683         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
1684
1685 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
1686
1687         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
1688
1689         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
1690         and re-written.
1691
1692         * elmo-imap4.el (elmo-folder-initialize): Use
1693         elmo-get-network-stream-type.
1694
1695         * elmo-nntp.el (elmo-folder-initialize): Ditto.
1696
1697         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1698
1699 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
1700
1701         * elmo.el (elmo-message-encache): Set unread argument for
1702         elmo-message-fetch.
1703
1704         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
1705
1706         * elmo.el (elmo-net-port-info): New method.
1707
1708         * elmo-shimbun.el (elmo-net-port-info): Define.
1709         (elmo-message-encache): Ditto.
1710
1711         * elmo-net.el (elmo-net-port-info): Define as method.
1712
1713         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
1714         unplugged status when elmo-enable-disconnected-operation is t.
1715
1716         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
1717         of spool folder before checking new number.
1718
1719 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
1720
1721         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
1722         (elmo-network-setup-session): Ditto.
1723         (elmo-message-fetch-plugged): Ditto.
1724         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
1725         (elmo-network-initialize-session): Ditto.
1726         (elmo-pop3-read-response): Abolish 3rd argument.
1727         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
1728         (elmo-pop3-read-contents): Ditto.
1729         (elmo-pop3-read-body): Ditto.
1730         (elmo-folder-status): Call elmo-folder-close.
1731         (elmo-pop3-lock): Abolish.
1732         (elmo-pop3-unlock): Ditto.
1733         (elmo-pop3-locked-p): Ditto.
1734         (elmo-folder-check): Don't call elmo-pop3-locked-p.
1735
1736 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
1737
1738         * elmo-version.el (elmo-version): Up to 2.7.0.
1739
1740         * elmo-pop3.el (elmo-pop3-debug): New variable.
1741         (elmo-pop3-debug-inhibit-logging): Ditto.
1742         (elmo-pop3-debug): New function.
1743         (elmo-pop3-send-command): Call elmo-pop3-debug.
1744         (elmo-pop3-read-response): Added keep-lock optional argument;
1745         Don't unlock if keep-lock is non-nil.
1746         (elmo-pop3-process-filter): Call elmo-pop3-debug.
1747         (elmo-network-authenticate-session): Bind
1748         elmo-pop3-debug-inhibit-logging as t.
1749         (elmo-network-setup-session): Call elmo-pop3-read-response with
1750         keep-lock argument.
1751         (elmo-pop3-read-msg): Ditto.
1752         (elmo-pop3-locked-p): Call elmo-pop3-debug.
1753         (elmo-pop3-read-body): Call elmo-pop3-unlock.
1754         (elmo-network-initialize-session): Call elmo-pop3-lock.
1755         (elmo-folder-close-internal): Don't clear location-alist slot.
1756         (elmo-folder-check): Clear location-alist slot.
1757
1758 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
1759
1760         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
1761         (elmo-pop3-send-command): Call elmo-pop3-lock.
1762         (elmo-pop3-read-response): Call elmo-pop3-unlock.
1763         (elmo-pop3-read-contents): Ditto.
1764         (elmo-pop3-lock): New function.
1765         (elmo-pop3-unlock): Ditto.
1766         (elmo-pop3-locked-p): Ditto.
1767         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
1768         returns t.
1769
1770 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
1771
1772         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
1773
1774         * elmo-util.el (elmo-file-field-primitive-condition-match):
1775         New inline function (Don't fetch file content if "first" or "last").
1776         (elmo-file-field-condition-match): Use
1777         elmo-file-field-primitive-condition-match.
1778
1779         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
1780         "first".
1781
1782         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
1783         (elmo-message-fetch-plugged): Fixed.
1784
1785         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
1786
1787 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
1788
1789         * elmo.el (elmo-folder-move-messages): Bind
1790         elmo-inhibit-display-retrieval-progress as t while moving messages.
1791
1792         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
1793         New variable.
1794         (elmo-inhibit-display-retrieval-progress): Ditto.
1795
1796         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
1797         for retrieval progress;
1798         Don't display progress when total buffer size is smaller than
1799         elmo-display-retrieval-progress-threshold.
1800         (elmo-message-fetch-plugged): Don't display progress when
1801         elmo-inhibit-display-retrieval-progress is non-nil.
1802
1803         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
1804         for retrieval progress;
1805         Don't display progress when literal size is smaller than
1806         elmo-display-retrieval-progress-threshold.
1807         (elmo-imap4-message-fetch): Don't display progress when
1808         elmo-inhibit-display-retrieval-progress is non-nil.
1809
1810 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
1811
1812         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
1813         (elmo-imap4-find-next-line): Display progress whille literal fetching.
1814         (elmo-imap4-message-fetch): Likewise.
1815
1816         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
1817         (elmo-shimbun-index-range-alist): Ditto.
1818         (elmo-shimbun-use-entire-index): Abolish.
1819         (shimbun-mua-use-entire-index): Ditto.
1820         (elmo-shimbun-folder): Added new slot `range'.
1821         (elmo-folder-initialize): Setup slot `range'.
1822
1823 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
1824
1825         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
1826         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
1827         (elmo-shimbun-get-headers): Use return value of
1828         `shimbun-article-expiration-days'.
1829         (elmo-folder-close-internal): Clean up last-check slot.
1830
1831         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
1832         (elmo-pop3-total-size): New variable.
1833         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
1834
1835         * elmo.el (elmo-folder-reserve-status-p): New method.
1836
1837         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
1838         (elmo-shimbun-use-entire-index): New user option.
1839         (shimbun-elmo-mua): New class.
1840         (shimbun-mua-search-id): Define.
1841         (shimbun-mua-use-entire-index): Ditto.
1842         (elmo-shimbun-folder:last-check): New slot.
1843         (elmo-shimbun-headers-cache-header-list): Abolish.
1844         (elmo-shimbun-headers-cache-set-header-list): Ditto.
1845         (elmo-shimbun-headers-cache-header-hash): Ditto.
1846         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
1847         (elmo-shimbun-headers-cache-last-check): Ditto.
1848         (elmo-shimbun-headers-cache-set-last-check): Ditto.
1849         (elmo-shimbun-headers-check-p): Rewrite.
1850         (elmo-shimbun-msgdb-to-headers): New function.
1851         (elmo-shimbun-get-headers): Rewrite.
1852         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
1853         (elmo-folder-open-internal): Get headers only if
1854         `elmo-shimbun-headers-check-p' is non-nil.
1855         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
1856         is non-nil.
1857         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
1858         (elmo-quit): Removed.
1859
1860         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
1861         function.
1862         (elmo-msgdb-overview-entity-set-extra): Ditto.
1863         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
1864
1865         * elmo-map.el (elmo-folder-status): Don't call
1866         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
1867         is non-nil.
1868
1869 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1870
1871         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
1872         of `elmo-msgdb-search-internal-primitive' when condition's car is
1873         `and' or `or'.
1874
1875 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
1876
1877         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
1878
1879 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1880
1881         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
1882         call `elmo-pipe-drain'.
1883
1884 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1885
1886         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
1887         typo. (elmo-cache-folder -> elmo-mark-folder)
1888
1889 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1890
1891         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
1892         `elmo-message-fetch'.
1893
1894 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1895
1896         * elmo-net.el (elmo-message-encache): Fixed typo.
1897         (elmo-message-fetch-unplugged): Changed call
1898         `elmo-message-fetch-internal' without argument `outbuf'.
1899
1900 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
1901
1902         * elmo.el (elmo-message-encache): Define as generic function.
1903         (elmo-message-fetch-field): New generic function.
1904         (elmo-message-fetch-with-cache-process): Cause an error when
1905         fetch strategy is 'entire but only 'section cache is available.
1906         (toplevel): Fixed nmz folder definition.
1907
1908         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
1909         (elmo-msgdb-resume-list-filename): Ditto.
1910         (elmo-queue-filename): Ditto.
1911         (elmo-enable-disconnected-operation): Changed default value to t.
1912
1913         * elmo-util.el (elmo-cache-path-section-p): New function.
1914         (elmo-file-cache-get): Use it.
1915         (elmo-dop-queue-filename): Moved from elmo-dop.el.
1916         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
1917         (elmo-dop-queue-save): Ditto.
1918
1919         * elmo-net.el (elmo-folder-status-unplugged): Call
1920         elmo-folder-status-dop.
1921         (elmo-folder-list-messages-unplugged): Implemented.
1922         (elmo-folder-delete-messages-unplugged): Define.
1923         (elmo-folder-msgdb-create): Define.
1924         (elmo-folder-msgdb-create-unplugged): Define.
1925         (elmo-folder-mark-as-read-unplugged): Ditto.
1926         (elmo-folder-unmark-read-unplugged): Ditto.
1927         (elmo-folder-mark-as-important-unplugged): Ditto.
1928         (elmo-folder-unmark-important-unplugged): Ditto.
1929         (elmo-message-encache): Ditto.
1930
1931         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
1932         (elmo-dop-queue-save): Ditto.
1933
1934         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
1935         `elmo-folder-msgdb-create'.
1936         (elmo-folder-append-buffer): Implemented unplugged operation.
1937         (elmo-folder-append-messages): Call parent method in unplugged status.
1938         (elmo-message-fetch-unplugged): Removed definition.
1939         (elmo-message-fetch-field): Implemented.
1940
1941         * elmo-dop.el (toplevel): Require 'elmo-localdir.
1942         (elmo-dop-folder): Removed variable definition.
1943         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
1944         (elmo-dop-queue-flush): Implemented.
1945         (elmo-dop-queue-merge): Removed definition (TODO).
1946         (elmo-dop-spool-folder): New function.
1947         (elmo-dop-spool-folder-append-buffer): Ditto.
1948         (elmo-dop-spool-folder-list-messages): Ditto.
1949         (elmo-dop-list-deleting-messages): Ditto.
1950         (elmo-folder-append-buffer-dop): Ditto.
1951         (elmo-folder-delete-messages-dop): Ditto.
1952         (elmo-message-encache-dop): New inline function.
1953         (elmo-create-folder-dop): Ditto.
1954         (elmo-folder-mark-as-read-dop): Ditto.
1955         (elmo-folder-unmark-read-dop): Ditto.
1956         (elmo-folder-mark-as-important-dop): Ditto.
1957         (elmo-folder-unmark-important-dop): Ditto.
1958         (elmo-folder-status-dop): Fixed.
1959         (elmo-folder-append-buffer-dop-delayed): New function.
1960         (elmo-folder-delete-messages-dop-delayed): Ditto.
1961         (elmo-dop-msgdb): Ditto.
1962
1963 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1964
1965         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
1966
1967 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1968
1969         * elmo.el (elmo-folder-move-messages): Fixed problem when
1970         `dst-folder' is 'null.
1971
1972 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1973
1974         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
1975         instead of current mark.
1976
1977         * elmo-multi.el (elmo-folder-list-importants-internal): No
1978         operation if importants is not list.
1979
1980         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
1981         Return t if importants is not list.
1982
1983         * elmo-map.el (elmo-map-folder-list-importants): Define.
1984         (elmo-folder-list-importants-internal): Check return value of
1985         `elmo-map-folder-list-importants-internal'.
1986
1987         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
1988
1989         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
1990
1991         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
1992
1993         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
1994
1995 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
1996
1997         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
1998         (Patch is provided by <kita@coe.nttdata.co.jp>).
1999
2000 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2001
2002         * elmo.el (elmo-folder-synchronize): Don't check important mark in
2003         mark folder.
2004
2005 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2006
2007         * elmo.el (elmo-message-fetch): Define.
2008         (elmo-message-fetch-with-cache-process): New generic method.
2009         (elmo-message-fetch-internal): New generic method.
2010         (elmo-folder-synchronize):
2011
2012         * elmo-archive.el (elmo-message-fetch-internal): Define.
2013         (elmo-message-fetch): Eliminated.
2014
2015         * elmo-localdir.el (elmo-message-fetch-internal): Define.
2016         (elmo-message-fetch): Eliminated.
2017
2018         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
2019         argument OUTBUF.
2020         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
2021
2022         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
2023         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
2024
2025         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
2026         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
2027
2028         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
2029
2030         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
2031
2032         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
2033
2034         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
2035         (elmo-message-fetch-unplugged): New generic method.
2036         (elmo-message-fetch-internal): Remove cache process (Renamed from
2037         `elmo-message-fetch').
2038
2039         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
2040         (elmo-message-fetch): Eliminated.
2041         (elmo-message-fetch-unplugged): Ditto.
2042
2043         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
2044
2045 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2046
2047         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
2048         of `to-be-deleted' from number-alist to number-list.
2049
2050 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2051
2052         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
2053         (elmo-folder-mark-as-important): Ditto.
2054
2055 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
2056
2057         * elmo.el (elmo-folder): Added process-duplicates slot.
2058
2059         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
2060         (elmo-folder-unmark-read): Ditto.
2061         (elmo-folder-unmark-important): Ditto.
2062         (elmo-folder-mark-as-important): Ditto.
2063
2064         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
2065         duplicated message processing.
2066
2067         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
2068
2069 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2070
2071         * elmo-util.el (elmo-list-subdirectories-1): New function.
2072         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
2073         (elmo-mapcar-list-of-list): New function.
2074
2075         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
2076         `elmo-mapcar-list-of-list' instead of `mapcar'.
2077
2078         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
2079
2080         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
2081         `elmo-have-link-count'. Return the fully qualified folder name.
2082
2083 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
2084
2085         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
2086         (elmo-shimbun-headers-cache): New internal variable.
2087         (elmo-shimbun-headers-cache-header-list): New inline function.
2088         (elmo-shimbun-headers-cache-set-header-list): Ditto.
2089         (elmo-shimbun-headers-cache-header-hash): Ditto.
2090         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
2091         (elmo-shimbun-headers-cache-last-check): Ditto.
2092         (elmo-shimbun-headers-cache-set-last-check): Ditto.
2093         (elmo-shimbun-lapse-seconds): Ditto.
2094         (elmo-shimbun-headers-cache-check-p): Ditto.
2095         (elmo-shimbun-get-headers): New function.
2096         (elmo-folder-open-internal): Call it.
2097         (elmo-quit): Define (Clear headers-cache).
2098
2099 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
2100
2101         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
2102
2103         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
2104         (elmo-msgdb-flist-save): Ditto.
2105
2106         * elmo-shimbun.el (elmo-folder-list-subfolders):
2107         Use `shimbun-groups' instead of `shimbun-groups-internal'.
2108         (elmo-folder-exists-p): Ditto.
2109
2110         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
2111         argument for `shimbun-header-insert'.
2112
2113 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
2114
2115         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
2116         at first time.
2117
2118         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
2119         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
2120
2121 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
2122
2123         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
2124         (elmo-folder-plugged-p): Define.
2125         (elmo-folder-set-plugged): Ditto.
2126         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
2127         (elmo-folder-list-messages-internal): Return t if unplugged.
2128         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
2129
2130         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
2131         when elmo-folder-list-messages-internal method of children returns t.
2132
2133         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
2134         pair is nil.
2135         (elmo-folder-open-internal): Don't update if unplugged status.
2136
2137 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
2138
2139         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
2140         new message.
2141
2142 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
2143
2144         * elmo-util.el (elmo-file-cache-save): Ignore errors.
2145
2146         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
2147         saving.
2148
2149 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
2150
2151         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
2152
2153         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
2154         (elmo-folder-open-internal): Set up headers slot.
2155         (elmo-folder-check): Call elmo-folder-close-internal and
2156         elmo-folder-open-internal.
2157         (elmo-folder-close-internal): Clean up headers slot.
2158
2159 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
2160
2161         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
2162         exactly folder list.
2163         (elmo-folder-append-messages): Fixed append archive with prefix.
2164
2165         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
2166         make temp files with start-number.
2167
2168         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
2169
2170 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2171
2172         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
2173         argument `visible-only'.
2174         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
2175         instead of `if'.
2176
2177         * elmo-pop3.el (elmo-folder-open-internal): Check
2178         `elmo-inhibit-number-mapping' is non-nil.
2179
2180         * elmo-pipe.el (elmo-folder-status): Fixed.
2181
2182 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
2183
2184         * elmo.el (elmo-dop-queue-flush): Added autload setting.
2185
2186         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
2187         (elmo-folder-open-internal): Setup `header-hash' slot.
2188         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
2189         information.
2190         (elmo-map-message-fetch): Ditto.
2191
2192 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
2193
2194         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
2195         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
2196         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
2197         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
2198
2199         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
2200
2201 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
2202
2203         * sb-airs.el: Added footer.
2204
2205         * shimbun.el (shimbun-article): Define as luna-method.
2206
2207         * sb-tcup.el: New file.
2208
2209         * sb-airs.el (toplevel): Require 'sb-mhonarc.
2210         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
2211
2212 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
2213
2214         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
2215         (shimbun-get-headers): Ditto.
2216
2217         * elmo.el: Moved obsolete variable definitions from
2218         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
2219
2220         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
2221         groups.
2222
2223         * shimbun.el: New file.
2224
2225         * elmo-shimbun.el: New file.
2226
2227         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
2228         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
2229         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
2230         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
2231
2232 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
2233
2234         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
2235         hierarchy is t.
2236
2237 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
2238
2239         * elmo.el (elmo-folder-msgdb): Define as macro.
2240         (elmo-folder-open): Added argument `load-msgdb'.
2241         (elmo-generic-folder-open): Ditto.
2242         (elmo-folder-encache): New function.
2243
2244         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
2245
2246         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
2247
2248         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
2249         Eliminated argument FOLDER and added argument MSGDB.
2250         (elmo-dop-queue-load): Moved from elmo-dop.el.
2251         (elmo-dop-queue-save): Ditto.
2252
2253         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
2254
2255         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
2256
2257         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
2258         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
2259         (elmo-filter-folder-list-importants-internal): Ditto.
2260
2261         * elmo-map.el (elmo-folder-pack-number): Ditto.
2262
2263         * elmo-mime.el (elmo-mime-message-display): Ditto.
2264
2265         * elmo.el (elmo-generic-folder-commit): Ditto.
2266         (elmo-folder-list-unreads): Ditto.
2267         (elmo-folder-list-importants): Ditto.
2268         (elmo-generic-folder-commit): Ditto.
2269         (elmo-message-set-mark): Ditto.
2270         (elmo-generic-folder-append-msgdb): Ditto.
2271         (elmo-folder-synchronize): Ditto.
2272         (elmo-folder-messages): Ditto.
2273         (elmo-init): Call elmo-dop-queue-load.
2274         (elmo-folder-list-messages): Ditto.
2275
2276         * elmo-nntp.el (elmo-folder-update-number): Ditto.
2277         (elmo-nntp-folder-process-crosspost): Ditto.
2278         (elmo-folder-list-unreads-internal): Ditto.
2279
2280         * elmo-dop.el: Removed old functions.
2281
2282 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
2283
2284         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
2285         `folder' to `msgdb'.
2286
2287 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
2288
2289         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
2290         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
2291
2292         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
2293         case-fold-search.
2294
2295 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
2296
2297         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
2298         defined.
2299
2300         * mmimap.el (toplevel): Require 'mime-parse and 'static.
2301         (mmimap-parse-parameters-from-list): Define as alias for
2302         `mime-decode-parameter-plist' if it is defined as function.
2303         (mmimap-make-mime-entity): Added argument `number'.
2304         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
2305         as 0.
2306         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
2307
2308         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
2309
2310         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
2311
2312         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
2313
2314 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
2315
2316         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
2317
2318         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
2319         when elmo-imap4-default-authenticate-type is nil.
2320         (elmo-folder-list-subfolders): Ditto
2321         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
2322         (elmo-imap4-fetch-callback-1-subr): Renamed from
2323         `elmo-imap4-fetch-callback-1' and define as inline function.
2324         (elmo-imap4-fetch-callback-1):
2325         Renamed from `elmo-imap4-fetch-callback'.
2326         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
2327
2328         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
2329         msgdb path (To keep compatibility with main trunk).
2330
2331         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
2332
2333         * elmo-util.el (elmo-make-file-cache): Moved position of
2334         some macros.
2335
2336         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
2337         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
2338         instead of `elmo-pop3-inhibit-uidl'.
2339         (elmo-folder-exists-p): Ditto.
2340         (elmo-pop3-folder-list-messages): Ditto.
2341
2342         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
2343         instead of `elmo-pop3-inhibit-uidl'.
2344         (elmo-folder-status): Ditto.
2345
2346         * elmo-dop.el (elmo-dop-folder): New variable.
2347         (elmo-dop-lock-message): Eliminated.
2348         (elmo-dop-unlock-message): Ditto.
2349         (elmo-dop-lock-list-load): Ditto.
2350         (elmo-dop-lock-list-save): Ditto.
2351         (elmo-dop-delete-folder): Ditto.
2352         (elmo-dop-rename-folder): Ditto.
2353
2354         * elmo.el: Removed incomplete commentary.
2355
2356 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2357
2358         * elmo.el (toplevel): Require 'elmo-version first;
2359         for little `recursive-load-depth' settings.
2360         Fix "ends here" comment.
2361
2362 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
2363
2364         * elmo-util.el (toplevel): Require 'poem;
2365         Some functions are moved from elmo-cache.el.
2366
2367         * elmo-net.el (toplevel): Require 'elmo-cache.
2368
2369         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
2370
2371         * elmo.el (toplevel): Ditto.
2372
2373         * elmo-cache.el: Rewrite with luna;
2374         Some functions are moved to elmo-util.el.
2375
2376         * elmo-internal.el (elmo-internal-folder-list): New variable.
2377         (elmo-internal-folder-initialize): Rewrite.
2378         (elmo-folder-list-subfolders): Ditto.
2379
2380         * elmo-cache.el (elmo-cache-search-all): Eliminated.
2381         (elmo-cache-collect-sub-directories): Ditto.
2382
2383 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2384
2385         * elmo-version.el (elmo-version): Up to 2.5.8.
2386
2387         * elmo.el (elmo-folder-list-messages-mark-match): New function.
2388
2389         * elmo-util.el (elmo-list-insert): New function.
2390
2391 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
2392
2393         * elmo.el (elmo-init): New function.
2394         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
2395
2396         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
2397         (Renamed from `elmo-localdir-header-chop-length').
2398
2399         * elmo-pop3.el (elmo-pop3-use-cache,
2400         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
2401
2402         * elmo-nntp.el (elmo-message-fetch): Define.
2403         (elmo-message-fetch-unplugged): Ditto.
2404         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
2405         (elmo-nntp-use-cache): Ditto.
2406         (elmo-nntp-max-number-precedes-list-active): Ditto.
2407
2408         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
2409
2410         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
2411         `elmo-msgdb-insert-file-header'.
2412         Use `elmo-msgdb-file-header-chop-length'.
2413
2414         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
2415         `elmo-vars.el'.
2416
2417         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
2418         (elmo-cache-msgdb-create-overview-entity-from-file): Use
2419         `elmo-msgdb-insert-file-header'.
2420
2421         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
2422         Use new variable;
2423         Define obsolete variables with `elmo-define-obsolete-variable',
2424
2425         * elmo-util.el (elmo-warning-buffer-name): New constant.
2426         (elmo-warning): New function.
2427         (elmo-obsolete-variable-alist): New variable.
2428         (elmo-obsolete-variable-show-warnings): New variable.
2429         (elmo-define-obsolete-variable): New function.
2430         (elmo-resque-obsolete-variable): Ditto.
2431         (elmo-resque-obsolete-variables): Ditto.
2432
2433 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2434
2435         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
2436         Eliminated.
2437
2438         * elmo-pop3.el, elmo-nntp.el: Use custom.
2439
2440 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
2441
2442         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
2443         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
2444
2445 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2446
2447         * Luna-fy Kenichi OKADA's following changes.
2448         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
2449         `nohide'.
2450         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
2451
2452 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
2453
2454         * elmo-util.el (elmo-display-progress): Prefer
2455         `progress-feedback-with-label' to `lprogress-display'.
2456
2457 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
2458
2459         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
2460
2461 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
2462
2463         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
2464         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
2465         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
2466         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
2467         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
2468         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
2469         * elmo-archive.el (elmo-archive-list-folder): Ditto.
2470         * elmo-filter.el (elmo-filter-list-folder): Ditto.
2471         * elmo-internal.el (elmo-internal-list-folder): Ditto.
2472         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
2473         * elmo-multi.el (elmo-multi-list-folder): Ditto.
2474         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
2475         * elmo-dop.el (elmo-dop-list-folder): Ditto.
2476
2477 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
2478
2479         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
2480         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
2481
2482 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2483
2484         * elmo.el (elmo-folder-process-crosspost): New generic method.
2485         (elmo-folder-writable-p): Ditto.
2486         (elmo-folder-message-appendable-p): Eliminated.
2487         (elmo-generic-folder-append-msgdb): Rewrite.
2488         (elmo-newsgroups-hashtb): New internal variable.
2489         (elmo-crosspost-message-set): Eliminated.
2490         (elmo-crosspost-message-delete): Ditto.
2491         (elmo-setup-subscribed-newsgroups): New function.
2492         (elmo-crosspost-message-alist-modified): New internal variable.
2493         (elmo-crosspost-message-alist-load): New function (Renamed from
2494         `wl-crosspost-alist-load').
2495         (elmo-crosspost-message-alist-save): Ditto (Renamed from
2496         `wl-crosspost-alist-save').
2497
2498         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
2499
2500         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
2501         `unreads'.
2502         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
2503         elmo-newsgroups-hashtb).
2504         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
2505         `elmo-nntp-folder-update-crosspost-message-alist'.
2506         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
2507         `elmo-nntp-groups-hashtb'.
2508         (elmo-nntp-make-groups-hashtb): Eliminated.
2509         (elmo-nntp-parse-newsgroups): New function (Renamed from
2510         `wl-parse-newsgroups').
2511         (elmo-folder-creatable-p, elmo-folder-writable-p,
2512         elmo-folder-close-internal, elmo-folder-mark-as-read,
2513         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
2514         Define.
2515         (elmo-nntp-folder-update-crosspost-message-alist): New function.
2516
2517         * elmo-net.el (elmo-message-fetch): Check buffer size.
2518
2519         * elmo-multi.el (elmo-multi-split-number-alist): New function.
2520
2521         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
2522
2523         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
2524         before `close' command.
2525
2526         * elmo.el (elmo-folder-list-unreads-internal): Added argument
2527         `mark-alist' (All other related portions are changed).
2528
2529 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2530
2531         * elmo-util.el (elmo-create-hash-size): Eliminated.
2532         (elmo-make-hash) Make a hash with `one less than a power of two'
2533         length.
2534
2535         * elmo-vars.el (elmo-hash-minimum-size): New variable.
2536         (elmo-hash-maximum-size): Changed value.
2537
2538 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2539
2540         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
2541         (elmo-mime-message-display-as-is): Ditto.
2542
2543 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
2544
2545         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
2546         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
2547
2548 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
2549
2550         * elmo-mark.el: New file.
2551
2552         * elmo-internal.el: Rewrite (Almost empty).
2553
2554 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
2555
2556         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
2557         (mime-imap-entity-header-string): Ditto.
2558         (mmimap-entity-section): Rewrite.
2559
2560 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
2561
2562         * elmo-nmz.el: New file.
2563
2564         * elmo-pipe.el: Rewrite with luna.
2565
2566 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
2567
2568         * elmo-archive.el: Rewrite with luna.
2569
2570         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
2571         (elmo-folder-list-importants-internal): Ditto.
2572
2573 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
2574
2575         * elmo-archive.el (elmo-archive-version): Abolish.
2576         (toplevel) Removed `boso' comment.
2577
2578 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
2579
2580         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
2581         elmo-msgdb-add-msgs-to-seen-list-subr;
2582         Changed argument seen-marks to unread-marks.
2583
2584         * elmo-nntp.el: Rewrite with luna.
2585
2586 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
2587
2588         * elmo-filter.el: Rewrite with luna.
2589
2590 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
2591
2592         * elmo-pop3.el: Rewrite with luna.
2593
2594 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
2595
2596         * elmo-multi.el: Rewrite with luna.
2597
2598         * elmo-vars.el (elmo-use-killed-list): Abolish.
2599         All other related portions are changed.
2600         (elmo-filename-replace-string-alist): Renamed from
2601         elmo-msgid-replace-string-alist.
2602
2603 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
2604
2605         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
2606
2607         * elmo-map.el: New file.
2608         * elmo-maildir.el: Rewrite with luna.
2609
2610 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
2611
2612         * elmo.el: Changed meaning of `elmo-folder-commit'.
2613         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
2614
2615 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
2616
2617         * elmo.el (elmo-folder-append-buffer): New function.
2618         (Renamed from `elmo-append-msg')
2619
2620 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
2621
2622         * elmo-mime.el: New file.
2623
2624 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
2625
2626         * elmo-cache.el: Rewrite.
2627
2628 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
2629
2630         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
2631
2632 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
2633
2634         * elmo-vars.el (elmo): New group.
2635         (elmo-strict-diff-folder-regexp): New variable.
2636
2637         * elmo-util.el (elmo-call-func): Abolish.
2638         (elmo-folder-get-type): Ditto.
2639         (elmo-*-get-spec): Ditto.
2640         (elmo-*-spec-*): Ditto.
2641         (elmo-imap4-identical-name-space-p): Ditto.
2642         (elmo-folder-identical-system-p): Ditto.
2643         (elmo-folder-direct-copy-alist): Ditto.
2644         (elmo-folder-direct-copy-p): Ditto.
2645
2646         * elmo-pipe.el (elmo-pipe-folder): New luna class.
2647         (elmo-folder-initialize): Define.
2648         (elmo-folder-get-primitive-list): Ditto.
2649
2650         * elmo-nntp.el (elmo-nntp-folder): New luna class.
2651         (elmo-folder-initialize): Define.
2652         Renamed `elmo-network-session-host-internal' to
2653         `elmo-network-session-server-internal'.
2654
2655         * elmo-multi.el (elmo-multi-folder): New luna class.
2656         (elmo-folder-initialize): Define.
2657         (elmo-folder-get-primitive-list): Ditto.
2658         (elmo-folder-contains-type): Ditto.
2659         (elmo-message-use-cache-p): Ditto.
2660
2661         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
2662         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
2663
2664         * elmo-maildir.el (elmo-maildir-folder): New luna class.
2665         (elmo-folder-initialize): Define.
2666
2667         * elmo-filter.el (elmo-filter-folder): New luna class.
2668         (elmo-folder-initialize): Define.
2669         (elmo-folder-get-primitive-list): Ditto.
2670         (elmo-folder-contains-type): Ditto.
2671
2672 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
2673
2674         * elmo-imap4.el: Rewrite with luna.
2675
2676         * mmimap.el: New file.
2677
2678         * mmelmo.el, mmelmo-imap4.el: Removed.
2679
2680         * elmo-net.el: Ditto.
2681
2682         * elmo-pop3.el (elmo-pop3-folder): New luna class.
2683         (elmo-folder-initialize): Define.
2684
2685         * elmo-archive.el (elmo-archive-folder): New luna class.
2686         (elmo-folder-initialize): Define.
2687
2688         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
2689         `elmo-folder-msgdb-path'.
2690         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
2691         `elmo-make-folder'.
2692
2693 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
2694
2695         * elmo.el: New file.
2696
2697         * elmo2.el: Renamed to elmo.el.
2698
2699 \f
2700 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
2701
2702         * elmo-cache.el (elmo-cache-expire-by-size): Count
2703         a disk usage for a cache file entry in KB even when
2704         its kind is a directory.
2705
2706 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
2707
2708         * elmo-version.el (elmo-version): Up to 2.5.7.
2709
2710 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2711
2712         * elmo-version.el (elmo-version): Up to 2.5.6.
2713
2714 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
2715
2716         * elmo-version.el (elmo-version): Up to 2.5.5.
2717
2718 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
2719
2720         * elmo-imap4.el (elmo-network-authenticate-session):
2721         Fixed a logic for response checking.
2722
2723 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
2724
2725         * elmo-net.el: Add autoload settings for `starttls-negotiate',
2726         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
2727         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
2728         `sasl-mechanisms'.
2729
2730         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
2731         for `starttls-open-stream' and `starttls-negotiate'.
2732
2733         * elmo-nntp.el: Remove autoload settings for
2734         `starttls-open-stream' and `starttls-negotiate'.
2735
2736         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
2737         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
2738         `luna-define-class' with `eval-and-compile'.
2739
2740 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
2741
2742         * elmo-util.el (elmo-read-search-condition-internal):
2743         Require an element of table for searching field.
2744
2745 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
2746
2747         * elmo-version.el (elmo-version): Up to 2.5.4.
2748
2749 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
2750
2751         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
2752
2753 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
2754
2755         * elmo-nntp.el (elmo-network-initialize-session): omitted.
2756
2757 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
2758
2759         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
2760         before greeting.
2761
2762 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
2763
2764         * elmo-imap4.el (elmo-imap4-delete-folder):
2765         Send "close" before "delete" (Use commented out line).
2766         (elmo-imap4-rename-folder): Ditto.
2767
2768         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
2769         folder string itself.
2770         (elmo-dop-list-deleted): New function.
2771         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
2772         killed.
2773
2774         * elmo-util.el (elmo-string-rassoc-all): New function.
2775
2776 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
2777
2778         * elmo-version.el (elmo-version): Up to 2.5.3.
2779
2780         * elmo-net.el (elmo-network-get-session): Changed logic for
2781         checking process status.
2782
2783         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
2784         process is nil;
2785         Changed logic for checking process status.
2786
2787 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
2788
2789         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
2790         before greeting.
2791         (elmo-network-setup-session): Set UIDL hash size according to
2792         the length of list response.
2793         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
2794         according to the length of list response;
2795         Return the length of list response.
2796         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
2797
2798 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
2799
2800         * elmo-imap4.el (toplevel): Require 'ssl.
2801         Add autoload 'starttls.
2802         * elmo-pop3.el (toplevel): Ditto.
2803         * elmo-nntp.el (toplevel): Ditto.
2804
2805 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2806
2807         * elmo-imap4.el (toplevel): defun at compile time.
2808         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
2809         sasl-next-step, sasl-step-data, sasl-step-set-data.
2810         * elmo-pop3.el (toplevel): Ditto.
2811
2812 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2813
2814         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
2815
2816 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2817
2818         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
2819         if error.
2820         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
2821         and `elmo-pop-auth-apop'.
2822
2823 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2824
2825         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
2826
2827 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2828
2829         * elmo-pop3.el (elmo-network-authenticate-session): Split
2830         encoded response value.
2831
2832 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2833
2834         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
2835         `elmo-pop3-force-login'.
2836         Redefine `sasl-mechanisms'.
2837         * elmo-vars.el (elmo-pop3-force-login): Ditto.
2838
2839 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2840
2841         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
2842         Delete `elmo-imap4-authenticator-alist'.
2843         (elmo-imap4-auth-cram-md5): Delete.
2844         (elmo-imap4-auth-digest-md5): Delete.
2845
2846 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2847
2848         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
2849         (elmo-pop3-auth-scram-md5): Ditto.
2850         (elmo-pop3-auth-cram-md5): Ditto.
2851
2852 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2853
2854         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
2855         Delete `elmo-pop3-authenticator-alist'.
2856
2857 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2858
2859         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
2860         new SASL API.
2861         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
2862
2863 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
2864
2865         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
2866
2867 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
2868
2869         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
2870         Fixed problem when `elmo-pop3-use-uidl' is nil.
2871         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
2872
2873 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2874
2875         * elmo-version.el (elmo-version): Up to 2.5.2.
2876
2877 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
2878
2879         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
2880         New function.
2881         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
2882         (elmo-pop3-msgdb-create-as-numlist): Use it.
2883
2884         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
2885         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
2886
2887         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
2888         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
2889
2890 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
2891
2892         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
2893         when elmo-mark-as-read is called with second argument nil.
2894
2895 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
2896
2897         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
2898         Moved to elmo-util.el.
2899
2900         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
2901         Moved from elmo-pipe.el
2902
2903         * elmo-archive.el (elmo-archive-call-process): Enclose with
2904         static-if.
2905
2906         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
2907         "RFC822" (because RFC822.PEEK is obsolete).
2908         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
2909
2910 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
2911
2912         * elmo-archive.el (elmo-archive-call-process): Don't check for
2913         the exit status when Nemacs is running.
2914
2915 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
2916
2917         * elmo-net.el (elmo-network-session-password-key): Don't set default to
2918         'plain.
2919
2920         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
2921         (elmo-pop3-get-spec): Set default of auth to 'user.
2922
2923         * elmo-imap4.el (elmo-imap4-session-check):
2924         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
2925         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
2926         (elmo-imap4-auth-login): New function; Revival.
2927         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
2928         `elmo-imap4-auth-login'.
2929
2930 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2931
2932         * elmo2.el (toplevel): Move `product-provide' declare.
2933         * mmelmo.el (toplevel): Ditto.
2934
2935 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
2936
2937         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
2938
2939 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
2940
2941         * elmo-util.el (elmo-folder-get-store-type): New function.
2942         (elmo-folder-direct-copy-p): Use it.
2943
2944 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
2945
2946         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
2947         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
2948         and result of `elmo-imap4-use-flag-p'.
2949         (elmo-imap4-fetch-callback-1): Set mark according to
2950         the result of `elmo-imap4-use-flag-p'.
2951
2952 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
2953
2954         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
2955         (elmo-generic-list-folder-unread): Ditto.
2956         (elmo-folder-get-info): Ditto.
2957         (elmo-folder-set-info-max-by-numdb): Ditto.
2958         (elmo-folder-get-info-max): Ditto.
2959         (elmo-folder-get-info-length): Ditto.
2960         (elmo-folder-get-info-unread): Ditto.
2961         (elmo-folder-info-make-hashtb): Ditto.
2962
2963         * elmo2.el: Removed above functions.
2964
2965 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
2966
2967         * elmo-imap4.el (toplevel): Require 'ssl.
2968         Add autoload 'starttls.
2969         * elmo-pop3.el (toplevel): Ditto.
2970         * elmo-nntp.el (toplevel): Ditto.
2971
2972 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2973
2974         * elmo-imap4.el (toplevel): defun at compile time.
2975         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
2976         sasl-next-step, sasl-step-data, sasl-step-set-data.
2977         * elmo-pop3.el (toplevel): Ditto.
2978
2979 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2980
2981         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
2982
2983 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2984
2985         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
2986         if error.
2987         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
2988         and `elmo-pop-auth-apop'.
2989
2990 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2991
2992         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
2993
2994 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2995
2996         * elmo-pop3.el (elmo-network-authenticate-session): Split
2997         encoded response value.
2998
2999 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3000
3001         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
3002         `elmo-pop3-force-login'.
3003         Redefine `sasl-mechanisms'.
3004         * elmo-vars.el (elmo-pop3-force-login): Ditto.
3005
3006 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3007
3008         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
3009         Delete `elmo-imap4-authenticator-alist'.
3010         (elmo-imap4-auth-cram-md5): Delete.
3011         (elmo-imap4-auth-digest-md5): Delete.
3012
3013 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3014
3015         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
3016         (elmo-pop3-auth-scram-md5): Ditto.
3017         (elmo-pop3-auth-cram-md5): Ditto.
3018
3019 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
3020
3021         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
3022         Delete `elmo-pop3-authenticator-alist'.
3023
3024 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
3025
3026         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
3027         new SASL API.
3028         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
3029
3030 \f
3031 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
3032
3033         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
3034
3035 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
3036
3037         * elmo-nntp.el (elmo-nntp-get-folders-info):
3038         Fixed problem when '\' character is contained in user-id.
3039         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
3040
3041 \f
3042 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
3043
3044         * elmo-imap4.el (elmo-imap4-delete-folder):
3045         Send "close" before "delete" (Use commented out line).
3046         (elmo-imap4-rename-folder): Ditto.
3047
3048         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
3049         folder string itself.
3050         (elmo-dop-list-deleted): New function.
3051         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
3052         killed.
3053
3054         * elmo-util.el (elmo-string-rassoc-all): New function.
3055
3056         * elmo-version.el (elmo-version): Up to 2.5.1.
3057
3058 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
3059
3060         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
3061
3062         * elmo-internal.el (elmo-internal-search): Fix last change.
3063
3064 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
3065
3066         * elmo-internal.el (elmo-internal-search): Rewrite.
3067         (Fixed problem which is pointed out by Akihiro MOTOKI
3068         <motoki@da.jp.nec.com>)
3069
3070         * elmo-version.el (elmo-version): Up to 2.5.0.
3071
3072 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
3073
3074         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
3075
3076 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
3077
3078         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
3079         non-nil, make hierarchy.
3080
3081 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
3082
3083         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
3084         `elmo-pop3-use-uidl' must be bound to nil.
3085         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
3086
3087 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
3088
3089         * elmo-util.el (elmo-copy-file): Don't cause an error after
3090         `add-name-to-file' failed.
3091
3092         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
3093         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
3094
3095 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3096
3097         * elmo-version.el (elmo-version): Up to 2.3.93.
3098
3099 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
3100
3101         * elmo-util.el (elmo-flatten): New function.
3102
3103 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3104
3105         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
3106         sync Author header.
3107         * elmo-cache.el (toplevel): Ditto.
3108         * elmo-database.el (toplevel): Ditto.
3109         * elmo-date.el (toplevel): Ditto.
3110         * elmo-dop.el (toplevel): Ditto.
3111         * elmo-filter.el (toplevel): Ditto.
3112         * elmo-imap4.el (toplevel): Ditto.
3113         * elmo-internal.el (toplevel): Ditto.
3114         * elmo-localdir.el (toplevel): Ditto.
3115         * elmo-localnews.el (toplevel): Ditto.
3116         * elmo-maildir.el (toplevel): Ditto.
3117         * elmo-msgdb.el (toplevel): Ditto.
3118         * elmo-multi.el (toplevel): Ditto.
3119         * elmo-net.el (toplevel): Ditto.
3120         * elmo-nntp.el (toplevel): Ditto.
3121         * elmo-pipe.el (toplevel): Ditto.
3122         * elmo-pop3.el (toplevel): Ditto.
3123         * elmo-util.el (toplevel): Ditto.
3124         * elmo-vars.el (toplevel): Ditto.
3125         * elmo2.el (toplevel): Ditto.
3126         * mmelmo-imap4.el (toplevel): Ditto.
3127         * mmelmo.el (toplevel): Ditto.
3128
3129         * elmo-version.el (elmo-version): Move to top.
3130
3131         * elmo-cache.el (toplevel): Fixed multiple Author header format.
3132         * elmo-imap4.el (toplevel): Ditto.
3133         * elmo-localdir.el (toplevel): Ditto.
3134         * elmo-msgdb.el (toplevel): Ditto.
3135         * elmo-nntp.el (toplevel): Ditto.
3136         * elmo-pop3.el (toplevel): Ditto.
3137         * elmo-version.el (toplevel): Ditto.
3138
3139         * elmo-localnews.el (toplevel): Added Keyword header.
3140
3141 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
3142
3143         * elmo-version.el (product-version-as-string): Defined using
3144         `defun-maybe'.
3145         (toplevel): Use it.
3146
3147         * elmo-localdir.el (toplevel): Updated copyright notice.
3148         * elmo-version.el (toplevel): Ditto.
3149         * elmo-msgdb.el (toplevel): Ditto.
3150         * elmo-imap4.el (toplevel): Ditto.
3151         * elmo-nntp.el (toplevel): Ditto.
3152         * elmo-pop3.el (toplevel): Ditto.
3153
3154 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
3155
3156         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
3157         messages.
3158
3159         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
3160         parameter value (It sometimes contains raw kanji).
3161
3162 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
3163
3164         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
3165         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
3166
3167 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
3168
3169         * elmo-imap4.el (elmo-network-initialize-session): Fix.
3170
3171 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
3172
3173         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
3174         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
3175
3176 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
3177
3178         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
3179         value if selecting folder succceeded.
3180         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
3181
3182 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3183
3184         * elmo-util.el (elmo-make-directory): Fixed permission lateral
3185         representation.
3186
3187         * elmo-util.el (elmo-string-matched-member): New function.
3188
3189 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
3190
3191         * elmo-util.el (elmo-unintern): New macro.
3192         (elmo-number-set-member): Fixed docstring.
3193
3194         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
3195         tag token.
3196
3197 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
3198
3199         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
3200         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
3201
3202 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
3203
3204         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
3205         `no-error'.
3206         Added docstring.
3207         Return non-nil if selecting folder succeeded.
3208         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
3209
3210 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
3211
3212         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
3213         `file-name-completion' returns t.
3214         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3215         (elmo-maildir-set-mark): Put `info' part to the files in the cur
3216         directory if it does not exist.
3217         (elmo-maildir-update-current): Use `while' instead of `mapcar'
3218         for iteration.
3219
3220 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
3221
3222         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
3223         enclosure (It's harmful in unplugged status).
3224
3225         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
3226
3227         * mmelmo-1.el: Removed.
3228
3229         * mmelmo-2.el: Ditto.
3230
3231         * mmelmo-imap4-1.el: Ditto.
3232
3233         * mmelmo-imap4-2.el: Ditto.
3234
3235         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
3236
3237         * mmelmo.el: Merged mmelmo-2.el.
3238
3239         * elmo-version.el (elmo-version): Up to 2.3.92.
3240
3241 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3242
3243         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
3244         elmo-update-number): Remove last period in "...done." message.
3245         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3246         Ditto.
3247         * elmo-cache.el (elmo-cache-expire-by-size,
3248         elmo-cache-get-sorted-cache-file-list,
3249         elmo-cache-msgdb-create-as-numlist): Ditto.
3250         * elmo-dop.el (elmo-dop-save-pending-messages,
3251         (elmo-dop-flush-pending-append-operations): Ditto.
3252         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
3253         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
3254         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
3255         (elmo-localdir-pack-number): Ditto.
3256         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
3257         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
3258         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
3259         mime-write-entity-content): Ditto.
3260         * pldap.el (ldap-search-basic): Ditto.
3261
3262 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
3263
3264         * elmo-version.el (elmo-version): Up to 2.3.91.
3265
3266         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
3267         Only when filter is 'last'.
3268
3269         * elmo-util.el (elmo-condition-atom-regexp): New constant.
3270         (elmo-condition-parse-search-value): Use it.
3271         (elmo-read-search-condition-internal): Quote value only when
3272         it is not an atom.
3273
3274 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
3275
3276         * elmo2.el (elmo-generic-folder-diff): Fix.
3277
3278 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
3279
3280         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
3281         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
3282         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
3283         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
3284         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
3285         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
3286
3287 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
3288
3289         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
3290         extra-fields.
3291
3292 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
3293
3294         * elmo-version.el (elmo-version): Up to 2.3.90.
3295
3296         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
3297         (elmo-imap4-list-folder-important): Ditto.
3298
3299 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
3300
3301         * elmo-nntp.el (elmo-network-initialize-session): Fix.
3302
3303 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
3304
3305         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
3306
3307 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
3308
3309         * elmo-nntp.el (elmo-network-initialize-session):
3310         Add starttls negotiation.
3311
3312 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3313
3314         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
3315         response.
3316         (elmo-network-setup-session): Define.
3317         Call `elmo-nntp-send-mode-reader' when session opened.
3318
3319 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
3320
3321         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
3322
3323 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
3324
3325         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
3326         an invalid SPACE character ahead of `SEARCH' command.  Move
3327         a valid SPACE character following `SEARCH' from conditional
3328         `format' arguments to control-strings.
3329
3330 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
3331
3332         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
3333         was succeeded.
3334
3335         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
3336
3337 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
3338
3339         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
3340         `w32-get-true-file-link-count' as t.
3341
3342         * elmo-imap4.el (elmo-imap4-read): Abolished.
3343         (Renamed to `elmo-read' and moved to elmo-util.el)
3344         All other related portions are changed.
3345
3346         * elmo-util.el (elmo-read): New function.
3347         (elmo-condition-parse-search-value): Use it.
3348
3349 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
3350
3351         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
3352
3353         * elmo-nntp.el (elmo-nntp-session): Define.
3354         (elmo-nntp-setting): Abolished.
3355         All other related portions are changed.
3356         (elmo-nntp-get-server-command): Changed argument.
3357         (elmo-nntp-set-server-command): Ditto.
3358         (elmo-nntp-xover-p): Ditto.
3359         (elmo-nntp-set-xover): Ditto.
3360         (elmo-nntp-listgroup-p): Ditto.
3361         (elmo-nntp-set-listgroup): Ditto.
3362         (elmo-nntp-list-active-p): Ditto.
3363         (elmo-nntp-set-list-active): Ditto.
3364         (elmo-nntp-xhdr-p): Ditto.
3365         (elmo-nntp-set-xhdr): Ditto.
3366         (elmo-nntp-flush-connection): Abolished.
3367         (elmo-nntp-get-connection): Abolished.
3368         (elmo-nntp-get-session): New function.
3369         (elmo-network-initialize-session): Defined.
3370         (elmo-network-authenticate-session): Ditto.
3371         (elmo-nntp-send-mode-reader): Changed argument.
3372         (elmo-nntp-send-command): Changed argument.
3373         All other related portions are changed.
3374         (elmo-nntp-read-response): Ditto.
3375         (elmo-nntp-read-raw-response): Ditto.
3376         (elmo-nntp-read-contents): Ditto.
3377         (elmo-nntp-read-body): Ditto.
3378         (elmo-nntp-goto-folder): Abolished.
3379         (elmo-nntp-select-group): New function.
3380         All other related portions are changed.
3381         (This function substitutes `elmo-nntp-goto-folder')
3382         (elmo-nntp-msgdb-create-by-header): Rewrite.
3383         (elmo-nntp-get-overview): Eliminated.
3384         (elmo-nntp-get-message): Ditto.
3385         (elmo-nntp-open-connection) Abolished.
3386         (elmo-nntp-read-msg): Rewrite.
3387         (elmo-nntp-post): Ditto.
3388         (elmo-nntp-send-data): Abolished.
3389         (elmo-nntp-send-buffer): New function.
3390         (elmo-nntp-send-data-line): Define as inline function.
3391         (elmo-nntp-get-folders-info-prepare): Use session as key.
3392         (elmo-nntp-groups-read-response): Changed argument.
3393         (elmo-nntp-retrieve-headers): Ditto.
3394         (elmo-nntp-msgdb-create-message): Ditto.
3395
3396         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
3397         when searching by 'since' or 'before'.
3398
3399 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3400
3401         * elmo-version.el (toplevel): Use product-version-as-string for set
3402         verstion-string, if defined.
3403
3404 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
3405
3406         * elmo-util.el: Doc fixes.
3407
3408 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3409
3410         * elmo-archive.el (toplevel): Use product-provide.
3411         * elmo-cache.el (toplevel): Ditto.
3412         * elmo-database.el (toplevel): Ditto.
3413         * elmo-date.el (toplevel): Ditto.
3414         * elmo-dop.el (toplevel): Ditto.
3415         * elmo-filter.el (toplevel): Ditto.
3416         * elmo-imap4.el (toplevel): Ditto.
3417         * elmo-internal.el (toplevel): Ditto.
3418         * elmo-localdir.el (toplevel): Ditto.
3419         * elmo-localnews.el (toplevel): Ditto.
3420         * elmo-maildir.el (toplevel): Ditto.
3421         * elmo-msgdb.el (toplevel): Ditto.
3422         * elmo-multi.el (toplevel): Ditto.
3423         * elmo-net.el (toplevel): Ditto.
3424         * elmo-nntp.el (toplevel): Ditto.
3425         * elmo-pipe.el (toplevel): Ditto.
3426         * elmo-pop3.el (toplevel): Ditto.
3427         * elmo-util.el (toplevel): Ditto.
3428         * elmo-vars.el (toplevel): Ditto.
3429         * elmo2.el (toplevel): Ditto.
3430         * mmelmo-1.el (toplevel): Ditto.
3431         * mmelmo-2.el (toplevel): Ditto.
3432         * mmelmo-imap4-1.el (toplevel): Ditto.
3433         * mmelmo-imap4-2.el (toplevel): Ditto.
3434         * mmelmo-imap4.el (toplevel): Ditto.
3435         * mmelmo.el (toplevel): Ditto.
3436
3437 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
3438
3439         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
3440         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
3441
3442 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
3443
3444         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
3445         before splitting.
3446         (elmo-multi-split-number-alist): Ditto.
3447
3448 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3449
3450         * elmo-version.el: New file.  Use product.el.
3451         * elmo2.el: Add (require 'elmo-version).
3452         * elmo-vars.el (elmo-appname, elmo-version): Move to
3453         elmo-version.el
3454
3455 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
3456
3457         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
3458         `elmo-msgdb-expand-path'.
3459         (elmo-msgdb-load): Ditto.
3460         Abolished 2nd argument. If 1st argument is not string, treat as spec.
3461         (elmo-generic-list-folder-unread): Rewrite.
3462         (elmo-generic-list-folder-important): Changed argument.
3463         (elmo-list-folder-unread): Ditto.
3464         (elmo-list-folder-important): Ditto.
3465         (elmo-folder-diff): Rewrite.
3466         (elmo-generic-folder-diff): New function.
3467         (elmo-multi-get-number-alist-list): Abolished
3468         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
3469         (elmo-multi-folder-diff): Moved to elmo-multi.el
3470         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
3471
3472         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
3473         `elmo-msgdb-expand-path'.
3474         (elmo-pop3-msgdb-create-as-numlist): Ditto.
3475         (elmo-pop3-read-msg): Ditto.
3476         (elmo-pop3-delete-msgs): Ditto.
3477         (elmo-pop3-folder-diff): New alias.
3478
3479         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
3480         `elmo-msgdb-expand-path'.
3481         (elmo-pipe-list-folder-unread): Changed arguments.
3482         (elmo-pipe-list-folder-important): Ditto.
3483         (elmo-pipe-folder-diff): New alias.
3484
3485         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
3486         `elmo-msgdb-expand-path'.
3487         (elmo-nntp-max-of-folder): Ditto.
3488         (elmo-nntp-msgdb-create): Ditto.
3489         (elmo-nntp-delete-msgs): Ditto.
3490         (elmo-nntp-folder-diff): New alias.
3491
3492         * elmo-multi.el (elmo-multi-folder-diff): New function.
3493         (elmo-multi-split-mark-alist): Ditto.
3494         (elmo-multi-split-number-alist): Ditto.
3495         (elmo-multi-mark-alist-list): Abolished (Renamed to
3496         elmo-multi-split-mark-alist).
3497         (elmo-multi-list-folder-unread): Rewrite.
3498         (elmo-multi-list-folder-important): Ditto.
3499         (elmo-multi-list-folder): Set `spec' as 1st argument for
3500         `elmo-msgdb-expand-path'.
3501         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
3502         instead of `elmo-multi-get-number-alist-list'.
3503
3504         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
3505         If 1st argument is not string, treat as spec.
3506         (elmo-list-folder-by-location): Set `spec' as 1st argument for
3507         `elmo-msgdb-expand-path'.
3508         (elmo-msgdb-flist-load): Ditto.
3509         (elmo-msgdb-flist-save): Ditto.
3510         (elmo-msgdb-delete-path): Ditto.
3511         (elmo-msgdb-rename-path): Ditto.
3512
3513         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
3514         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3515         (elmo-maildir-delete-mark-msgs): Ditto.
3516         (elmo-maildir-msgdb-create): Ditto.
3517         (elmo-maildir-read-msg): Ditto.
3518         (elmo-maildir-delete-msgs): Ditto.
3519         (elmo-maildir-list-folder-subr): Ditto.
3520         (elmo-maildir-search): Ditto.
3521         (elmo-maildir-get-msg-filename): Ditto.
3522         (elmo-maildir-pack-number): Ditto.
3523         (elmo-maildir-folder-diff): New alias.
3524
3525         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
3526
3527         * elmo-localdir.el (elmo-localdir-list-folder-subr):
3528         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3529         (elmo-localdir-folder-diff): New alias.
3530
3531         * elmo-internal.el (elmo-internal-list-folder-subr):
3532         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3533         (elmo-internal-list-folder-by-location): Ditto.
3534         (elmo-internal-msgdb-create): Ditto.
3535         (elmo-internal-delete-msgs): Ditto.
3536         (elmo-internal-read-msg): Ditto.
3537         (elmo-internal-folder-diff): New alias.
3538
3539         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
3540         (elmo-imap4-list-folder): Set `spec' as 1st argument for
3541         `elmo-msgdb-expand-path'.
3542         (elmo-imap4-list-folder-unread): Changed arguments.
3543         (elmo-imap4-list-folder-important): Ditto.
3544
3545         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
3546         (elmo-filter-list-folder-important): Ditto.
3547         (elmo-filter-folder-diff): New function.
3548
3549         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
3550
3551         * elmo-cache.el (elmo-cache-list-folder):
3552         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3553         (elmo-cache-copy-msgs): Ditto.
3554         (elmo-cache-folder-diff): New alias.
3555
3556         * elmo-archive.el (elmo-archive-list-folder-subr):
3557         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3558         (elmo-archive-get-archive-name): Ditto.
3559         (elmo-archive-create-file): Ditto.
3560         (elmo-archive-append-msg): Ditto.
3561         (elmo-archive-copy-msgs): Ditto.
3562         (elmo-archive-copy-msgs-froms): Ditto.
3563         (elmo-archive-get-msg-filename): Ditto.
3564         (elmo-archive-folder-diff): New alias.
3565
3566 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
3567
3568         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
3569         (elmo-pop3-stream-type-alist): New variable.
3570         (elmo-nntp-stream-type-alist): New variable.
3571
3572         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
3573         (elmo-kill-buffer): Ditto.
3574         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
3575         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
3576         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
3577         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
3578         (elmo-imap4-get-spec): Take into account
3579         `elmo-imap4-stream-type-alist'.
3580
3581 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
3582
3583         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
3584         (elmo-nntp-list-folders-get-cache): Ditto.
3585
3586 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3587
3588         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
3589         character before 'uid'.
3590
3591 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
3592
3593         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
3594
3595         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
3596
3597         * elmo-util.el (elmo-number-set-member): New function.
3598         (elmo-number-set-append-list): Ditto.
3599         (elmo-number-set-append): Ditto.
3600
3601         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
3602         Use `elmo-number-set-member'.
3603         (elmo-living-messages): Ditto.
3604         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
3605         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
3606
3607         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
3608         (elmo-imap4-add-to-cont-list): Abolished.
3609         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
3610         instead of elmo-imap4-add-to-cont-list.
3611
3612         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
3613         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
3614
3615         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
3616
3617 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
3618
3619         * elmo-util.el (elmo-condition-parse-search-value):
3620         Fixed date parsing.
3621
3622 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
3623
3624         * elmo-util.el (elmo-condition-find-key-internal): New function.
3625         (elmo-condition-find-key): Ditto.
3626
3627         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
3628         (elmo-msgdb-search-internal): Ditto.
3629         (elmo-msgdb-search): Ditto.
3630
3631 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
3632
3633         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
3634         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
3635
3636         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
3637         (elmo-nntp-search-primitive): Fixed problem when condition is
3638         'unmatch'.
3639
3640         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
3641
3642         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
3643         (elmo-nntp-xhdr-p): New macro.
3644         (elmo-nntp-set-xhdr): Ditto.
3645         (elmo-nntp-parse-xhdr-response): New function.
3646         (elmo-nntp-retrieve-field): Ditto.
3647         (elmo-nntp-search-primitive): Ditto.
3648         (elmo-nntp-search): Implemented.
3649
3650         * elmo-date.el (elmo-date-make-sortable-string): New macro.
3651
3652         * elmo-archive.el (elmo-archive-search): Set all number list to
3653         `elmo-archive-field-condition-match'
3654
3655         * elmo-localdir.el (elmo-localdir-search): Likewise.
3656
3657         * elmo-maildir.el (elmo-maildir-search): Likewise.
3658
3659 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
3660
3661         * elmo-msgdb.el (elmo-living-messages): New function.
3662         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
3663         * elmo-cache.el (elmo-cache-list-folder): Ditto.
3664         * elmo-dop.el (elmo-dop-list-folder): Ditto.
3665         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
3666         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
3667         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
3668         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
3669         * elmo-multi.el (elmo-multi-list-folder): Ditto.
3670         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
3671         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
3672         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
3673
3674 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
3675
3676         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
3677
3678         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
3679
3680         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
3681
3682         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
3683         arguments for `SEARCH' command.
3684         (elmo-imap4-parse-string): Set `POS' argument for char-after.
3685         All other related portions are changed.
3686
3687         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
3688
3689         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
3690         (elmo-list-folder-unread): Rewrite.
3691         (elmo-list-folder-important): Ditto.
3692
3693         * elmo-util.el (elmo-filter-get-spec): Rewrite.
3694         (elmo-condition-parse-error): New inline function.
3695         (elmo-read-search-condition): New function.
3696         (elmo-read-search-condition-internal): Ditto.
3697         (elmo-parse-search-condition): Rewrite.
3698         (elmo-condition-parse): New function.
3699         (elmo-condition-parse-or-expr): Ditto.
3700         (elmo-condition-parse-and-expr): Ditto.
3701         (elmo-condition-parse-primitive): Ditto.
3702         (elmo-condition-parse-search-value): Ditto.
3703         (elmo-buffer-field-primitive-condition-match): Ditto.
3704         (elmo-buffer-field-condition-match): Rewrite.
3705         (elmo-file-field-condition-match): Ditto.
3706
3707         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
3708         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
3709
3710         * elmo-internal.el (elmo-internal-search): Set `number' and
3711         `number-list' argument of `elmo-file-field-condition-match'.
3712
3713         * elmo-maildir.el (elmo-maildir-search): Ditto.
3714
3715         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
3716         `msgdb' as argument instead of `mark-alist'.
3717         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
3718         `overview'.
3719
3720         * elmo-multi.el: Likewise.
3721
3722         * elmo-pipe.el: Likewise.
3723
3724         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
3725         (elmo-imap4-search-internal): Rewrite.
3726         (elmo-imap4-search): Ditto.
3727
3728         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
3729         (elmo-filter-list-folder-unread): Ditto.
3730         (elmo-filter-list-folder-important): Ditto.
3731         (elmo-filter-search): Rewrite.
3732
3733         * elmo-cache.el (elmo-cache-search-all): Set `number' and
3734         `number-list' argument of `elmo-file-field-condition-match'.
3735         (elmo-cache-search): Ditto.
3736
3737         * elmo-localdir.el: Likewise.
3738
3739         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
3740         number-list and pass it to `elmo-buffer-field-condition-match'.
3741         (elmo-archive-field-condition-match): Pass `number-list' to
3742         `elmo-archive-field-condition-match'
3743
3744 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3745
3746         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
3747         `listgroup'.
3748
3749         * elmo2.el (elmo-folder-diff-async-callback): New variable.
3750         (elmo-folder-diff-async-callback-data): Ditto.
3751         (elmo-folder-diff-async): New function.
3752
3753         * elmo-net.el (elmo-network-session-name-prefix): New variable.
3754         (elmo-network-session-cache-key): Use it as a prefix of the session
3755         name.
3756         (elmo-network-open-session): Ditto.
3757
3758         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
3759         (elmo-imap4-status-callback-data): Ditto.
3760         (elmo-imap4-server-diff-async-callback): New variable.
3761         (elmo-imap4-server-diff-async-callback-data): Ditto.
3762         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
3763         `elmo-imap4-status-callback-data'.
3764         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
3765         `elmo-imap4-status-callback-data' as nil.
3766         (elmo-imap4-server-diff): Ditto.
3767         (elmo-imap4-server-diff-async-callback-1): New function.
3768         (elmo-imap4-server-diff-async): Ditto.
3769         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
3770
3771 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
3772
3773         * elmo-util.el (elmo-list-delete): Doc fix.
3774         (elmo-delete-lists): Abolish.
3775         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
3776         instead of `elmo-delete-lists'.
3777
3778 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3779
3780         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
3781         before `sort'.
3782
3783 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
3784
3785         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
3786         `elmo-imap4-literal-subr'.
3787         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
3788         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
3789
3790 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
3791
3792         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
3793         (elmo-archive-list-folder): Fix.
3794         (elmo-archive-max-of-folder): Fix.
3795
3796 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
3797
3798         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
3799          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
3800         (elmo-localdir-append-msg): Ditto.
3801         (elmo-localdir-list-folder): Fix for `nonsort'.
3802         (elmo-localdir-list-folder-subr): Fix for `killed'.
3803         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
3804         (elmo-maildir-list-folder-subr): Ditto.
3805         * elmo-archive.el (elmo-archive-list-folder): Ditto.
3806         (elmo-archive-list-folder-subr): Ditto.
3807         * elmo-internal.el (elmo-internal-list-folder): Ditto.
3808         (elmo-internal-list-folder-subr): Ditto.
3809
3810 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
3811
3812         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
3813
3814 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
3815
3816         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
3817
3818 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
3819
3820         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
3821         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
3822
3823         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
3824         before greeting.
3825         (elmo-imap4-read-part): Use "body.peek" to fetch part.
3826         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
3827
3828 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
3829
3830         * mmelmo-imap4-2.el (mime-entity-children): Defined.
3831
3832         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
3833         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
3834         before STORE command.
3835
3836 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
3837
3838         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
3839
3840         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
3841         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
3842         of `response'.
3843         (elmo-imap4-list-folders): Removed unused local variable.
3844         (elmo-network-initialize-session): Ditto.
3845         (elmo-imap4-delete-msg-by-id): Ditto.
3846         (elmo-imap4-parse-fetch): Ditto.
3847         (elmo-imap4-copy-msgs): Ditto.
3848         Use `dst-spec' instead of `dst-folder'.
3849         (elmo-network-authenticate-session): Check authenticate type `plain'.
3850
3851 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
3852
3853         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
3854         garbage checking.
3855         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
3856         `elmo-imap4-response-value'.
3857         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
3858
3859 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
3860
3861         * elmo-imap4.el (elmo-imap4-send-command):
3862         Cause elmo-imap4-bye-error when current response is BYE.
3863         (elmo-imap4-arrival-filter): Changed greeting response value.
3864
3865         * elmo2.el (elmo-imap4-bye-error): Define.
3866
3867         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
3868         (elmo-imap4-server-diff): Ditto.
3869         (elmo-imap4-response-bye-p): New macro.
3870         (elmo-imap4-response-error-text): Get text from BYE response.
3871         (elmo-imap4-read-response): Return if BYE response.
3872         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
3873         (elmo-imap4-folder-exists-p): Ditto.
3874         (elmo-imap4-commit): Do nothing when different mailbox is selected.
3875         (elmo-imap4-parse-bye): New function.
3876         (elmo-imap4-parse-response): Remove needless let.
3877         Call `elmo-imap4-parse-bye'.
3878
3879 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
3880
3881         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
3882         the mailbox does not exist.
3883         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
3884
3885 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
3886
3887         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
3888
3889 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
3890
3891         * elmo-vars.el (elmo-search-mime-charset): Abolished.
3892
3893         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
3894         (elmo-network-initialize-session-buffer): Defined.
3895
3896         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
3897         Abolished.
3898         (mmelmo-imap4-get-mime-entity): Rewrite.
3899
3900         * elmo2.el (elmo-error): Capitalize error message.
3901
3902         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
3903         (elmo-network-session-buffer): New macro.
3904         (elmo-network-open-session): Use it.
3905
3906         * elmo-imap4.el: Rewrite.
3907
3908 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3909
3910         * elmo-nntp.el (Toplevel): Require 'elmo-net.
3911
3912 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
3913
3914         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
3915         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
3916         (elmo-imap4-create-msgdb-from-overview-string): Use
3917         `elmo-msgdb-create-overview-from-buffer'.
3918
3919 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
3920
3921         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
3922         (elmo-imap4-default-hierarchy-delimiter): New variable.
3923         (elmo-imap4-list-folders): Use it.
3924
3925 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3926
3927         * elmo-net.el (elmo-network-open-session): Add user and
3928         stream-type for process-buffer name.
3929
3930         * elmo-pop3.el (elmo-network-initialize-session): Call
3931         buffer-disable-undo.
3932
3933         * elmo-imap4.el (elmo-network-initialize-session):
3934         Set current-buffer as an argument for `buffer-disable-undo'.
3935
3936         * elmo-pop3.el (elmo-network-close-session): Don't use
3937         `process-live-p'.
3938
3939         * elmo-vars.el (elmo-default-pop3-authenticate-type):
3940         Set default as 'user.
3941
3942         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
3943
3944         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
3945         and `elmo-imap4-flush-connection'.
3946
3947         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
3948         (elmo-pop3-get-spec): Assume auth as symbol.
3949         (elmo-open-network-stream): Moved to `elmo-net'.
3950
3951         * elmo-pop3.el (toplevel): Require 'elmo-net.
3952         Define `sasl-cram-md5' to silence byte compilier.
3953         (elmo-pop3-connection-cache) Abolished.
3954         (elmo-pop3-authenticator-alist) New variable.
3955         (elmo-pop3-session): Define.
3956         (elmo-pop3-connection-get-process): Abolished.
3957         (elmo-pop3-connection-get-buffer): Ditto.
3958         (elmo-pop3-close-connection): Ditto.
3959         (elmo-pop3-flush-connection): Ditto.
3960         (elmo-pop3-get-connection): Ditto.
3961         (elmo-pop3-get-session): New function.
3962         (Replacement for `elmo-pop3-get-connection').
3963         All other related modules are changed.
3964         (elmo-network-close-session): Define.
3965         (elmo-pop3-send-command): Abolished argument `buffer'.
3966         All other related modules are changed.
3967         (elmo-pop3-read-response): Likewise.
3968         (elmo-pop3-open-connection): Abolished.
3969         (elmo-pop3-auth-user): New function.
3970         (elmo-pop3-auth-apop): Ditto.
3971         (elmo-pop3-auth-cram-md5): Ditto.
3972         (elmo-pop3-auth-scram-md5): Ditto.
3973         (elmo-pop3-auth-digest-md5): Ditto.
3974         (elmo-network-initialize-session): Define.
3975         (elmo-network-authenticate-session): Ditto.
3976         (elmo-network-setup-session): Ditto.
3977
3978         * elmo-imap4.el (toplevel): Require 'elmo-net.
3979         (elmo-imap4-session): Define.
3980         (elmo-imap4-connection-cache): Abolished.
3981         (elmo-imap4-password-key): Ditto.
3982         (elmo-imap4-flush-connection): Ditto.
3983         (elmo-imap4-get-connection): Ditto.
3984         All other related modules are changed.
3985         (elmo-imap4-get-session): New function
3986         (Replacement for `elmo-imap4-get-connection').
3987         (elmo-imap4-read-response): Abolished argument `buffer'.
3988         All other related modules are changed.
3989         (elmo-imap4-send-command): Likewise.
3990         (elmo-imap4-select-folder): Abolished.
3991         All other related modules are changed.
3992         (elmo-imap4-select-mailbox): New function.
3993         (Replacement for `elmo-imap4-select-folder').
3994         (elmo-imap4-auth-login): Simplify.
3995         (Assume current buffer as process buffer)
3996         (elmo-imap4-auth-cram-md5): Ditto.
3997         (elmo-imap4-auth-digest-md5): Ditto.
3998         (elmo-imap4-login): Ditto.
3999         (elmo-imap4-open-connection): Abolished.
4000         (elmo-imap4-open-connection-1): Abolished.
4001         (elmo-network-initialize-sessoin): Define.
4002         (elmo-network-authenticate-session): Ditto.
4003         (elmo-network-setup-session): Ditto.
4004
4005         * elmo-net.el: New module.
4006
4007 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
4008
4009         * elmo-util.el (elmo-define-error): New function.
4010
4011         * elmo2.el (elmo-error): Define.
4012         (elmo-open-error): Define.
4013         (elmo-authenticate-error): Define.
4014
4015         * elmo-imap4.el (elmo-imap4-error): Abolish.
4016         (elmo-imap4-error-type): Abolish.
4017         (elmo-imap4-error-process): Abolish.
4018         (elmo-imap4-error-message): Abolish
4019         (elmo-imap4-list-folders): Don't quote lambda.
4020         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
4021         (elmo-imap4-parse-namespace): Ditto.
4022         (elmo-imap4-open-connection): Rewrite.
4023         (elmo-imap4-open-connection-1): Simplified (authenticate only).
4024         (elmo-imap4-get-connection): Abolish local variable `result'.
4025
4026 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
4027
4028         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
4029         wrong-type-argument error when auth is nil.
4030
4031 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4032
4033         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
4034         (elmo-default-nntp-stream-type): Ditto.
4035         (elmo-default-pop3-stream-type): Ditto.
4036         (elmo-network-stream-type-alist): Ditto.
4037         (elmo-default-imap4-ssl): Abolished.
4038         (elmo-default-nntp-ssl): Ditto.
4039         (elmo-default-pop3-ssl): Ditto.
4040
4041         * elmo-util.el: (toplevel): Removed needless requires.
4042         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
4043         (elmo-open-network-stream): Open network stream according to
4044         the value of `elmo-network-stream-type-alist'.
4045         (elmo-get-network-stream-type): New function.
4046         (elmo-network-stream-type-spec-string): New macro.
4047         (elmo-network-stream-type-symbol): Ditto.
4048         (elmo-network-stream-type-function): Ditto.
4049
4050         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
4051         network-stream-type. All other related portions are changed.
4052         (elmo-pop3-open-connection): Ditto.
4053
4054         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
4055         network-stream-type. All other related portions are changed.
4056
4057         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
4058         network-stream-type.All other related portions are changed.
4059         (elmo-imap4-error): New macro.
4060         (elmo-imap4-error-type): Ditto.
4061         (elmo-imap4-error-process): Ditto.
4062         (elmo-imap4-error-message): Ditto.
4063         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
4064         (elmo-imap4-auth-cram-md5): Ditto.
4065         (elmo-imap4-auth-digest-md5): Ditto.
4066         (elmo-imap4-login): Ditto.
4067         (elmo-imap4-open-connection): Remove password entry if authentication
4068         was in vain.
4069         (elmo-imap4-user-at-host): Abolished.
4070         (elmo-imap4-password-key): New buffer local variable.
4071         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
4072         using protocol, port, auth and stream-type.
4073
4074         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
4075
4076 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
4077
4078         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
4079
4080         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
4081
4082         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
4083         (elmo-imap4-authenticator-alist): New variable.
4084         (elmo-imap4-open-connection-1): Rename from
4085         elmo-imap4-open-connection.
4086         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
4087         only wraps elmo-imap4-open-connection-1.
4088         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
4089         user-at-host.
4090         (elmo-imap4-auth-login): New function.
4091         (elmo-imap4-auth-cram-md5): New function.
4092         (elmo-imap4-auth-digest-md5): New function.
4093         (elmo-imap4-login): New function.
4094
4095 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
4096
4097         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
4098         function `error'.
4099
4100 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
4101
4102         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
4103
4104 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
4105
4106         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
4107
4108 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
4109
4110         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
4111         for server responses, quote `*' regardless of where it appears.
4112
4113 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
4114
4115         * elmo-maildir.el (elmo-maildir-commit): New alias.
4116
4117 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
4118
4119         * elmo-util.el (elmo-display-progress):
4120                 Use `progress-feedback-with-label'.
4121
4122 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
4123
4124         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
4125         (elmo-imap4-non-atom-char-regex): Ditto.
4126         (elmo-imap4-non-text-char-regex): Ditto.
4127         (elmo-imap4-literal-threshold): Ditto.
4128         (elmo-imap4-atom-p): New function.
4129         (elmo-imap4-quotable-p): Ditto.
4130         (elmo-imap4-nil): Ditto.
4131         (elmo-imap4-atom): Ditto.
4132         (elmo-imap4-quoted): Ditto.
4133         (elmo-imap4-literal-subr): Ditto.
4134         (elmo-imap4-literal): Ditto.
4135         (elmo-imap4-buffer-literal): Ditto.
4136         (elmo-imap4-string-subr): Ditto.
4137         (elmo-imap4-string): Ditto.
4138         (elmo-imap4-buffer-string): Ditto.
4139         (elmo-imap4-astring-subr): Ditto.
4140         (elmo-imap4-astring): Ditto.
4141         (elmo-imap4-buffer-astring): Ditto.
4142         (elmo-imap4-nstring): Ditto.
4143         (elmo-imap4-buffer-nstring): Ditto.
4144         (elmo-imap4-mailbox): New alias.
4145         (elmo-imap4-field-body): Ditto.
4146         (elmo-imap4-userid): Ditto.
4147         (elmo-imap4-password): Ditto.
4148         (elmo-imap4-format-quoted): New function.
4149         (elmo-imap4-send-command): Rewritten.  Accept a list of command
4150         arguments and handle "atom", "quoted" and "literal" string here.
4151         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
4152         `elmo-imap4-send-command'.
4153         (elmo-imap4-folder-exists-p): Likewise.
4154         (elmo-imap4-create-folder): Likewise.
4155         (elmo-imap4-delete-folder): Likewise.
4156         (elmo-imap4-rename-folder): Likewise.
4157         (elmo-imap4-max-of-folder): Likewise.
4158         (elmo-imap4-check-validity): Likewise.
4159         (elmo-imap4-sync-validity): Likewise.
4160         (elmo-imap4-server-diff): Likewise.
4161         (elmo-imap4-select-folder): Likewise.
4162         (elmo-imap4-copy-msgs): Likewise.
4163         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
4164         (elmo-imap4-mark-set-on-msgs): Likewise.
4165         (elmo-imap4-read-part): Likewise.
4166         (elmo-imap4-read-msg): Likewise.
4167         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
4168         `elmo-imap4-password' for `elmo-imap4-send-command'.
4169         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
4170         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
4171         `elmo-imap4-buffer-literal'.
4172         (elmo-imap4-append-msg): Likewise.
4173
4174         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
4175         `delete' for removing dead connection from the connection cache.
4176         Move deletion of the process buffer after that.
4177         (elmo-imap4-list): Change `defsubst' to `defun'.
4178         (elmo-imap4-commit): Make error message verbose.
4179         (elmo-imap4-search): Ditto.
4180         (elmo-imap4-list): Ditto.
4181         (elmo-imap4-select-folder): Ditto.
4182         (elmo-imap4-copy-msgs): Ditto.
4183         (elmo-imap4-delete-msg-by-id): Ditto.
4184         (elmo-imap4-append-msg-by-id): Ditto.
4185         (elmo-imap4-append-msg): Ditto.
4186
4187 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
4188
4189         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
4190         when dired is used on XEmacs.
4191
4192 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
4193
4194         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
4195         instead of `append'.
4196         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
4197         `elmo-plugged-p' directly.
4198         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
4199         of `elmo-plugged-p' directly.
4200
4201         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
4202         Eliminate unused variable.  Use `memq' for checking a process status.
4203         Use `cons' instead of `append' for updating the connection cache.
4204         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
4205         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
4206
4207 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
4208
4209         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
4210         `elmo-imap4-read-point' exactly.
4211
4212         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
4213         the local variable `folder' to `mailbox'.
4214         Rename the argument `fld' to `folder'.
4215
4216 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
4217
4218         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
4219         * elmo-imap4.el (elmo-imap4-commit): Ditto.
4220
4221 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4222
4223         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
4224         (elmo-pop3-number-uidl-hash): New buffer-local variable.
4225         (elmo-pop3-uidl-number-hash): Ditto.
4226         (elmo-pop3-size-hash): Ditto.
4227         (elmo-pop3-uidl-done): Ditto.
4228         (elmo-pop3-list-done): Ditto.
4229         (elmo-pop3-connection-get-process): New defmacro.
4230         (elmo-pop3-connection-get-buffer): Ditto.
4231         (elmo-pop3-close-connection): Delete buffer and process.
4232         (elmo-pop3-flush-connection): Don't delete buffer and process.
4233         (elmo-pop3-get-connection): Added optional argument `if-exists'.
4234         Setup UIDL and size hash.
4235         (elmo-pop3-send-command-no-erase): Deleted
4236         (elmo-pop3-send-command): Added optional argument `no-erase'.
4237         (elmo-pop3-parse-uidl-response): New function.
4238         (elmo-pop3-parse-list-response): Set size hash.
4239         (elmo-pop3-list-location): New function.
4240         (elmo-pop3-list-by-uidl-subr): Ditto.
4241         (elmo-pop3-list-by-list): Ditto.
4242         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
4243         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
4244         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
4245         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
4246         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
4247         Use uidl.
4248         (elmo-pop3-uidl-to-number): New function.
4249         (elmo-pop3-number-to-uidl): Ditto.
4250         (elmo-pop3-number-to-size): Ditto.
4251         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
4252         Set number by use of uidl.
4253         (elmo-pop3-msgdb-create-message): Likewise.
4254         Set size, loc-alist in msgdb.
4255         (elmo-pop3-read-msg): Set number by use of uidl.
4256         Added optional argument `msgdb'.
4257         (elmo-pop3-delete-msg): Ditto.
4258         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
4259         (elmo-pop3-commit): Close connection.
4260
4261         * elmo-pipe.el (elmo-pipe-max-of-folder):
4262         Bind `elmo-pop3-use-uidl' as nil.
4263         (elmo-pipe-drain): Ditto.
4264         Call `elmo-commit'.
4265
4266         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
4267         (elmo-msgdb-overview-entity-set-size): New defsubst.
4268
4269 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4270
4271         * elmo-vars.el (elmo-use-killed-list): New variable
4272         (Renamed from `elmo-nntp-use-killed-list').
4273         (elmo-nntp-use-killed-list): Eliminated.
4274
4275         * elmo-msgdb.el (elmo-msgdb-expand-path):
4276         Changed expanding msgdb path for elmo-multi.
4277
4278         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
4279         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
4280         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
4281         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
4282         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
4283         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
4284         (toplevel): Deleted time-stamp line.
4285
4286         * elmo2.el (elmo-clear-killed ): Defined as function
4287         (Abolished defining as a backend function).
4288         All other related modules are changed.
4289
4290 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4291
4292         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
4293
4294 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4295
4296         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
4297
4298 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4299
4300         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
4301
4302 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
4303
4304         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
4305         asynchronous folder check.
4306
4307         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
4308
4309         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
4310         `elmo-nntp-use-killed-list'.
4311         (elmo-nntp-list-folder): Use killed list.
4312         (elmo-nntp-max-of-folder): Ditto.
4313         (elmo-nntp-msgdb-create): Set killed list.
4314
4315         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
4316
4317         * elmo2.el (elmo-clear-killed): New backend function.
4318         All other related modules are changed.
4319
4320 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
4321
4322         * elmo-util.el (elmo-imap4-spec-folder): Use
4323         `elmo-imap4-spec-mailbox'; Mark as obsolete.
4324         All callers changed.
4325
4326 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
4327
4328         * mmelmo-2.el (initialize-instance):
4329         Use `mime-buffer-entity-buffer-internal' instead of
4330         `mime-entity-buffer'.
4331
4332         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
4333         (mime-entity-body): Implemented.
4334         (mime-goto-header-start-point): Deleted.
4335         (mime-goto-body-end-point): Ditto.
4336         (mime-entity-point-min): Ditto.
4337         (mime-entity-point-max): Ditto.
4338         (mime-entity-children): Ditto.
4339         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
4340         instead of `mime-entity-buffer'.
4341         (mime-entity-header-buffer): Ditto.
4342         (mime-entity-body-buffer): Ditto.
4343         (mime-write-entity-content): Ditto.
4344
4345         * pldap.el (ldap-static-if): New macro.
4346         (toplevel): Use it instead of `static-if'.
4347
4348 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
4349
4350         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
4351         included in `attrs' argument.
4352
4353 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
4354
4355         * elmo-util.el (elmo-get-passwd): Use old backquote style.
4356
4357         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
4358         (ldap-ldif-safe-init-char-regexp): Ditto.
4359         (ldap-ldif-safe-string-regexp): Ditto.
4360         (ldap/ldif-safe-string-p): New macro.
4361         (ldap/ldif-insert-field): Ditto.
4362         (ldap-modify): Use it.
4363         (ldap-add): Ditto.
4364         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
4365         (ldap-decode-attribute): Decode only when `attr' is consp.
4366         (ldap-delete): Bind `ret'.
4367         (toplevel): Require 'cl at compile time.
4368         Removed (require 'poe) and (require 'std11).
4369         (pldap-version): Eliminated.
4370         (ldap-search-basic): Removed auth and dn binding.
4371         (ldap-ldif-field-name-regexp): New constant.
4372         (ldap-ldif-field-head-regexp): Ditto.
4373         (ldap-ldif-next-field-head-regexp): Ditto.
4374         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
4375         (ldap/field-end): New function.
4376         (ldap/field-body): Use it.
4377         (ldap/collect-field): Ditto.
4378         (ldap-search-basic): Use `ldap/field-body'.
4379
4380 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
4381
4382         * pldap.el (ldap-default-attribute-encoder): New user option.
4383         (ldap/field-body): Decode base64 string.
4384         (ldap/collect-field): Ditto.
4385         (ldap-encode-attribute): New function.
4386         (ldap-add-entries): Use it.
4387         (ldap-modify-entries): Ditto.
4388         (ldap-search-entries): Enclosed decoding function with
4389         `with-temp-buffer' and set as unibyte.
4390         (ldap-search-basic): Set process buffer as unibyte.
4391
4392         * elmo-util.el (elmo-folder-identical-system-p):
4393         Eliminated name space checking.
4394
4395         * pldap.el: New module.
4396         toplevel: Changed condition to detect built-in ldap feature.
4397         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
4398         (ldap-add): Added error handling.
4399         (ldap-modify): Ditto.
4400         (ldap-delete): Ditto.
4401
4402 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
4403
4404         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
4405         Initialize local variables with `let'.  Inline a temporary
4406         variable for the progress percentage.  Sort `setq' to reduce
4407         function call in the while-loop.
4408
4409         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
4410         into the conditional branch.
4411
4412 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
4413
4414         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
4415         Move a conditional out of the while-loop.
4416
4417 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4418
4419         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
4420         elmo-msgdb-overview-get-entity-by-number.
4421         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
4422         throw.
4423
4424 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
4425
4426         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
4427         the local variable for a packed number self descriptively.
4428
4429 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4430
4431         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
4432         * elmo-localdir.el (elmo-localdir-pack-number): Use
4433         `elmo-msgdb-overview-get-entity' instead of
4434         `elmo-msgdb-overview-get-entity-by-number'.
4435         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
4436         (elmo-msgdb-search-overview-entity): Removed.
4437         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
4438         by message-id or number.
4439         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
4440         instead of `elmo-msgdb-overview-get-entity-by-number'.
4441
4442 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4443
4444         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
4445         non-nil, use hash table for overview.
4446         (elmo-hash-maximum-size): New variable.
4447         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
4448         (elmo-msgdb-make-overview-hashtb): New function.
4449         (elmo-msgdb-clear-overview-hashtb): New function.
4450         (elmo-clear-hash-val): New macro.
4451         All other related modules are changed.
4452
4453 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
4454
4455         * elmo2.el (elmo-move-msgs): If there's other message with
4456         same message-id, don't use cache.
4457
4458 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
4459
4460         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
4461         number is already packed.
4462
4463 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
4464
4465         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
4466
4467 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4468
4469         * elmo-vars.el (elmo-display-progress-threshold): New variable.
4470         All other related modules are changed.
4471
4472 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
4473
4474         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
4475         of refiling failure on Maildir.
4476
4477 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4478
4479         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
4480         decoded mime-charset with cache.
4481         (elmo-msgdb-overview-entity-get-from): Ditto.
4482         (elmo-msgdb-overview-entity-get-subject): Ditto.
4483         * elmo-vars.el (elmo-use-decoded-cache): New variable.
4484
4485 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
4486
4487         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
4488         (elmo-remove-passwd): Fill password with 0 before erase.
4489         * elmo-vars.el (elmo-passwd-life-time): New variable.
4490
4491 \f
4492 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
4493
4494         * elmo-cache.el (elmo-buffer-cache-add):
4495         Set message cache buffer as unibyte.
4496
4497 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4498
4499         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
4500         become nil.
4501
4502 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
4503
4504         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
4505         when display is finished.
4506         (elmo-nntp-msgdb-create): Ditto.
4507         (elmo-nntp-groups-read-response): Ditto.
4508         (elmo-nntp-retrieve-headers): Ditto.
4509         (elmo-nntp-msgdb-create-message): Ditto.
4510         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
4511         (elmo-pop3-msgdb-create-message): Ditto.
4512
4513 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
4514
4515         * elmo-maildir.el (elmo-maildir-msgdb-create):
4516         Use `elmo-msgdb-sort-by-date'.
4517
4518 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
4519
4520         * elmo2.el (elmo-read-msg-no-cache):
4521         Eliminated arguments after `outbuf'.
4522         Don't use cache even if it exists.
4523         (elmo-read-msg): Don't pass arguments after `outbuf' to
4524         `elmo-read-msg-no-cache'.
4525
4526 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
4527
4528         * elmo-archive.el (elmo-archive-list-folders):
4529         Use `file-name-directory' if base folder does not exist.
4530
4531 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
4532
4533         * elmo-archive.el (elmo-archive-list-folders): Don't use
4534         `file-name-directory'.
4535
4536 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
4537
4538         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
4539         If `force' is non-nil, try flushing all operation queues.
4540
4541 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
4542
4543         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
4544         as-binary-process.
4545
4546 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
4547
4548         * elmo-util.el (elmo-display-progress): Fixed.
4549
4550 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
4551
4552         * elmo-util.el (elmo-display-progress): New function.
4553         All other related modules are changed.
4554