(elmo-shimbun-update-overview): Add argnument
[elisp/wanderlust.git] / elmo / ChangeLog
1 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
4         `entity'.
5         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
6         if the message entity is exists.
7
8 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9
10         * elmo-util.el (elmo-msgdb-insert-file-header): Call
11         `elmo-delete-cr-buffer'.
12
13         * elmo-localdir.el (elmo-message-fetch-internal): Use
14         `insert-file-contents-as-raw-text' instead of
15         `insert-file-contents-as-binary'.
16
17         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
18
19 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
20
21         * elmo-imap4.el (elmo-network-initialize-session): Check to
22         retrieve a whole greeting message.
23
24 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
25
26         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
27
28 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
29
30         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
31         (elmo-progress-notify): Use it instead of `plist-get'.
32
33 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
34
35         * elmo.el (elmo-generic-folder-append-messages): Remove unused
36         variable `table'.
37
38 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
39
40         * elmo-pipe.el (elmo-folder-set-plugged): Define.
41
42 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
43
44         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
45         (elmo-spam-list-spam-messages): Check it option.
46
47 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
48
49         * elmo-util.el (elmo-with-progress-display): Return the value
50         of the last form in `body'.
51
52 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
53
54         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
55         `elmo-progress-counter' as t when a query callback returns nil.
56         (elmo-progress-clear): New function.
57         (elmo-progress-done): Split into `elmo-progress-clear'.
58         (elmo-progress-notify): Update a total slot when it is nil.
59         (elmo-with-progress-display): Call `elmo-progress-clear' in
60         unwind-protect and move calling `elmo-progress-done' to outside.
61
62         * elmo-imap4.el (elmo-imap4-find-next-line): Call
63         `elmo-progress-notify' with :total parameter instead of
64         `elmo-progress-counter-set-total'.
65
66 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
67
68         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
69         Make it interactive.
70         (elmo-progress-start): Avoid updating `elmo-progress-counter'
71         when a query callback returns nil.  Return a progress counter
72         instead of t whenever a start callback was called.
73
74 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
75
76         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
77         (elmo-imap4-send-command): Use it.
78         (elmo-network-initialize-session): Ditto.
79         (elmo-network-setup-session): Ditto.
80         (elmo-folder-msgdb-create-plugged): Ditto.
81
82 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
83
84         * elmo-util.el (elmo-progress-done): Fix a miss refer to
85         `elmo-progress-counter'.
86
87 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
88
89         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
90         (elsp-bsfilter-list-spam-filter): New function.
91         (elsp-bsfilter-start-list-spam): Ditto.
92         (elsp-bsfilter-read-list-spam): Ditto.
93         (elmo-spam-list-spam-messages): Use async process to display
94         progress message by each message.
95
96 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
97
98         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
99         of flushing previously inserted message contents.
100
101         * elmo-imap4.el (elmo-folder-search): Fix return value.
102
103 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
104
105         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
106         of reporter is enable or not.
107
108 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
109
110         * elmo-util.el (elmo-list-bigger-diff): Abolish.
111         (elmo-display-progress): Ditto.
112         (elmo-progress-counter-alist): Ditto.
113         (elmo-progress-set): Ditto.
114         (elmo-progress-clear): Ditto.
115         (elmo-progress-counter-all-value): Rename to
116         `elmo-progress-counter-total'.
117         (elmo-progress-counter-format): Rename to
118         `elmo-progress-counter-action'.
119         (elmo-progress-counter): New internal variable.
120         (elmo-progress-callback-function): Ditto.
121         (elmo-progress-counter-label): New function.
122         (elmo-progress-counter-set-total): Ditto.
123         (elmo-progress-counter-set-action): Ditto.
124         (elmo-progress-call-callback): Ditto.
125         (elmo-progress-start): Ditto.
126         (elmo-progress-done): Ditto.
127         (elmo-progress-notify): Rewrite.
128         (elmo-with-progress-display): Remove first argument
129         `condition'. Add optional argument `var' in `spec'.
130
131         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
132         (elmo-display-retrieval-progress-threshold): Ditto.
133         (elmo-inhibit-display-retrieval-progress): Ditto.
134
135         * Replace all pair of `elmo-progress-set' and
136         `elmo-progress-clear' into `elmo-with-progress-display'.
137
138         * Replace to call `elmo-display-progress' into pair of
139         `elmo-progress-notify' and `elmo-with-progress-display'.
140
141         * elmo-version.el (elmo-version): Up to 2.15.5.
142
143 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
144
145         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
146         `cond'.
147
148 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
149
150         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
151         cleanup-forms [wl:14027].
152
153 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
154
155         * elmo-flag.el (elmo-global-flag-set-internal): Use
156         `elmo-copy-file' by priority when the message is a file.
157
158 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
159
160         * elmo.el: Fix typo: disptch -> dispatch.
161
162 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo.el (elmo-file-tag): New class.
165         (elmo-append-messages-disptch-table): New constant.
166         (elmo-folder-type-p): New function.
167         (elmo-folder-append-messages): Redefine as function.
168
169         * elmo-null.el (elmo-folder-append-messages): Renamed from
170         `elmo-folder-append-messages'.
171
172         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
173         (elmo-folder-append-messages-*-maildir): Renamed from
174         `elmo-folder-append-messages'.
175
176         * elmo-localdir.el (elmo-localdir-folder): Inherit
177         `elmo-file-tag'.
178         (elmo-folder-append-messages-*-localdir): Renamed from
179         `elmo-folder-append-messages'.
180
181         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
182         from `elmo-folder-append-messages'.
183
184         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
185         `elmo-folder-append-messages'.
186
187         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
188         function.
189         (elmo-folder-append-messages-*-filter): Ditto.
190
191         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
192
193         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
194         (elmo-folder-append-messages-*-pipe): Renamed from
195         `elmo-folder-append-messages'.
196
197         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
198
199         * elmo-file.el (elmo-file-folder): Ditto.
200
201         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
202
203         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
204         from `elmo-folder-append-messages'
205
206 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
207
208         * elmo-map.el (elmo-location-map-setup): Change an argument
209         `locations' to optional.
210         (elmo-location-map-clear): Abolish.
211         (elmo-folder-clear): Follow the API change.
212
213         * elmo-pop3.el (elmo-folder-clear): Ditto.
214
215         * elmo-pop3.el (toplevel): Require elmo-map.
216         (elmo-pop3-folder): Inherit elmo-location-map and abolish
217         location-alist slot (All other related portions are changed).
218         (elmo-pop3-folder-use-uidl): New function.
219         (elmo-folder-msgdb-create): Don't sort message entities.
220         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
221         (elmo-pop3-number-to-size): Convert return value to number.
222         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
223         working buffer.
224
225         * elmo-map.el: Use `location-map' as a variable name for instance
226         instead of `mapper'.
227         (elmo-location-map-setup): Return location alist.
228         (elmo-location-map-update): Ditto.
229
230 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
231
232         * elmo-map.el (elmo-location-map): New class; split location and
233         number mapping from elmo-map-folder (All other related portions
234         are changed).
235
236         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
237         change.
238
239         * elmo-version.el (elmo-version): Up to 2.15.4.
240
241 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
242
243         * elmo-vars.el (elmo-use-hardlink): New user option.
244
245         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
246         `elmo-use-hardlink'.
247
248         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
249         killed-list.
250         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
251         instead of `*-internal'. Use `elmo-with-progress-display'.
252
253 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
254
255         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
256         `elmo-spam-process-messages-as-mbox'.
257
258         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
259
260 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
261
262         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
263         argument BUFFER of `call-process'.
264
265 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
266
267         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
268         args.
269         (elsp-bsfilter-list-spam-files): Ditto.
270
271 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
272
273         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
274         (elmo-spam-bsfilter-max-messages-per-process): New use option.
275         (elmo-spam-bsfilter-debug): Fix a group.
276         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
277         `--homedir'.
278         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
279         (elsp-bsfilter-list-spam-files): New function.
280         (elmo-spam-list-spam-messages): Define.
281         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
282         (elmo-spam-bsfilter-register-messages): New function.
283         (elmo-spam-register-spam-messages): Define.
284         (elmo-spam-register-good-messages): Ditto.
285
286         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
287
288         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
289         `nconc' and `consp'.
290
291 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
292
293         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
294         hash table to test whether a location is exists.
295
296 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
297
298         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
299         even if some error occurred.
300
301         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
302         meaningless unwind-protect.
303
304         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
305         start-number correctly.
306         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
307         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
308
309 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
310
311         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
312         (elmo-folder-initialize): Use it.
313         (elmo-global-flag-replace-referrer): New function.
314
315         * elmo.el (toplevel): Added autoload setting for
316         `elmo-global-flag-replace-referrer'.
317         (elmo-folder-rename): Rewrite the last change use
318         `elmo-global-flag-replace-referrer'.
319
320         * elmo-pipe.el (elmo-folder-rename): Call
321         `elmo-global-flag-replace-referrer'.
322
323 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
324
325         * elmo.el (elmo-folder-rename): Set meta data for global flags
326         follow the rename.
327
328 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
329
330         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
331         as 'not-loaded.
332         (elmo-folder-close): Ditto.
333         (elmo-filter-folder-number-list-loaded-p): New function.
334         (elmo-filter-folder-number-list): Check whether loaded or not.
335         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
336         of `elmo-filter-folder-number-list-internal'.
337         (elmo-folder-delete-messages): Ditto.
338         (elmo-folder-length): Check whether number-list is loaded or not.
339
340 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
341
342         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
343         field `real field' into each element of list.
344         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
345         (elmo-msgdb-message-entity-field): Ditto.
346         (modb-entity-ml-info-real-fields): New function.
347
348         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
349
350         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
351         `elmo-msgdb-extra-fields'.
352
353 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
354
355         * elmo-util.el (elmo-passwd-alist-load): Move point to min
356         position before read.
357
358 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
359
360         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
361         (elmo-global-flags-initialize): Ditto.
362
363 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
364
365         * elmo-archive.el (toplevel): Don't require emu, std11
366         and elmo-localdir.
367
368         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
369         definition.
370
371 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
372
373         * elmo.el (elmo-folder-confirm-appends): Display folder name.
374
375 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
376
377         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
378         literals.
379
380 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
381
382         * elmo-maildir.el (elmo-maildir-list-location): Reduce
383         `elmo-get-last-modification-time' call.
384
385 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
386
387         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
388         expression.
389         (elmo-maildir-set-mark): Ditto.
390         (elmo-maildir-delete-mark): Ditto.
391
392 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
393
394         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
395         optional argument `separators'.
396
397 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
398
399         * elmo.el (cache-changed): Abolish.
400         (status-changed): New signal.
401         (elmo-message-killed-p): New generic function and define for
402         elmo-folder.
403         (elmo-folder-recover-messages): Ditto.
404         (elmo-message-set-cached): Emit signal `status-changed' instead of
405         `cache-changed'.
406         (elmo-message-status): New macro.
407         (elmo-message-status-folder): Ditto.
408         (elmo-message-status-number): Ditto.
409         (elmo-message-status-set-flags): Ditto.
410         (elmo-message-status-set-killed): Ditto.
411         (elmo-message-status-flags): New function.
412         (elmo-message-status-cached-p): Ditto.
413         (elmo-message-status-killed-p): Ditto.
414
415         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
416         `status-changed' instead of `cache-changed'.
417         (elmo-folder-recover-messages): Define.
418         (elmo-message-killed-p): Ditto.
419
420         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
421         `status-changed' instead of `cache-changed'.
422
423         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
424         (elmo-message-killed-p): Define.
425         (elmo-folder-recover-messages): Ditto.
426
427         * elmo-version.el (elmo-version): Up to 2.15.3.
428
429 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
430
431         * elmo-signal.el (elmo-signal-bindings): Use cons to append
432         element into list.
433         (elmo-define-signal-handler): Add docstring.
434         (elmo-define-signal-filter): Ditto.
435
436         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
437
438 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
439
440         * elmo-util.el (elmo-flatten): Don't use recursive call.
441
442         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
443         assignment.
444         (elmo-folder-message-make-temp-files): Use `number-to-string'
445         instead of `int-to-string'.
446
447 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * elmo-search.el (elmo-folder-delete-messages): Define.
450
451 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
452
453         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
454         customization type.
455         (elmo-mailing-list-count-spec-list): Ditto.
456
457         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
458         for `list-id'.
459
460 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
461
462         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
463         handling.
464
465 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
466
467         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
468         (elmo-mailing-list-count-spec-list): Ditto.
469
470         * elmo-util.el (elmo-map-until-success): New function.
471         (elmo-string-match-substring): Ditto.
472         (elmo-find-list-match-value): Ditto.
473
474         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
475         Removed.
476         (modb-entity-extract-ml-info-from-subject): Ditto.
477         (modb-entity-extract-ml-info-from-return-path): Ditto.
478         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
479         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
480         (modb-entity-extract-ml-info-from-mailman): Ditto.
481         (modb-entity-extract-mailing-list-info-functions): Ditto.
482         (modb-entity-extract-mailing-list-info): Rewrite with
483         `elmo-find-list-match-value'.
484
485 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
486
487         * elmo-net.el (elmo-network-session-retry-count): New user option.
488         (elmo-network-session-buffer-name): New internal function.
489         (elmo-network-session-buffer-create): Ditto.
490         (elmo-network-open-session): Retry open network session
491         `elmo-network-session-retry-count' times.
492
493 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
494
495         * elmo-util.el (elmo-list-filter): Rewritten.
496
497 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
498
499         * elmo-util.el (elmo-string-member): Allow symbol element in list.
500
501 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
502
503         * elmo-search.el (elmo-make-search-engine): Use prefix
504         `elmo-search-' for require symbol instead of `else-'.
505         (elmo-search-engine-extprog): New class.
506         (elmo-search-engine-do-search): Remove nil from argument
507         list. Added argument pattern to evaluate element as function.
508         (elmo-search-engine-local-file): Derived from
509         `elmo-search-engine-extprog'.
510         (elmo-search-engine-create-message-entity): Check existance of file.
511         (elmo-search-engine-fetch-message): Ditto.
512         (elmo-search-namazu-index): Follow the API change.
513         (elmo-search-grep-target): Ditto.
514
515 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
516
517         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
518         characters of working buffer.
519
520         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
521         Does not bind `default-mime-charset'.
522         (elmo-msgdb-create-message-entity-from-buffer): Removed
523         unnecessary local bind.
524
525         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
526         function.
527         (modb-entity-extract-mailing-list-info-functions): Added it.
528
529 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
530
531         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
532         when number and message-id are non-nil.
533
534         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
535
536         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
537         conditional steatment.
538         (elmo-pop3-auth-apop): Likewise.
539         (elmo-network-authenticate-session): Likewise.
540
541 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
542
543         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
544         symbol `fill-column'.
545         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
546         decode field value.
547
548         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
549         (elmo-decoded-field-body): Ditto.
550
551 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
552
553         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
554         `tokens' to `params'.
555
556 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
557
558         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
559         working buffer.
560
561 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
562
563         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
564         decide index.
565
566 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
567
568         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
569         Set default value as nil.
570         (toplevel): Register search engines by
571         `elmo-search-register-engine' if there are not defined.
572
573         * elmo.el (autoload): Added autoload setting for
574         `elmo-search-register-engine'.
575
576 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
577
578         * elmo.el (toplevel): `[' is redefined as the prefix of the search
579         folder instead of nmz folder.
580         (elmo-nmz-default-index-path): Added obsolete variable setting.
581         (elmo-nmz-index-alias-alist): Ditto.
582         (elmo-nmz-use-drive-letter): Ditto.
583
584         * elmo-search.el (elmo-search-register-engine): New function.
585
586         * elmo-nmz.el: Removed.
587
588         * elmo-version.el (elmo-version): Up to 2.15.2.
589
590 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
591
592         * elmo-search.el: New file.
593
594 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
595
596         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
597         condition `larger' and `smaller'.
598
599 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
600
601         * elmo-util.el (elmo-safe-filename): Rewrite to replace
602         `"' (double quote) into "_Q_".
603
604 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
605
606         * elmo-net.el (elmo-net-quote-chars): Abolish.
607         (elmo-net-format-quoted): Ditto.
608
609 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
610
611         * elmo.el (elmo-get-folder-function): New variable.
612         (elmo-get-folder): New function.
613         (elmo-folder-rename): Call `elmo-make-folder' with specified
614         mime-charset.
615
616         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
617         `elmo-make-folder'.
618         (elmo-split-subr): Ditto.
619
620         * elmo-multi.el (elmo-folder-initialize): Ditto.
621
622         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
623
624         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
625         (elmo-flag-get-folder): Ditto.
626
627         * elmo-filter.el (elmo-folder-initialize): Ditto.
628
629         * elmo-access.el (elmo-folder-initialize): Ditto.
630         (elmo-access-folder-update-children): Ditto.
631
632         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
633         (elmo-dop-queue-flush): Ditto.
634         (elmo-folder-append-buffer-dop-delayed): Ditto.
635         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
636         mime-charset.
637
638         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
639         instead of `elmo-make-folder'.
640         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
641         destination folder instead of send `elmo-folder-rename-internal'.
642
643         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
644         slot of subfolder instead of create it.
645
646 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
647
648         * elmo-util.el (elmo-collect-separators): New function.
649         (elmo-collect-separators-internal): Ditto.
650         (elmo-collect-trail-separators): Ditto.
651         (elmo-parse-separated-tokens): Ditto.
652         (elmo-parse-separated-tokens-internal): Ditto.
653         (elmo-quote-syntactical-element): Ditto.
654
655         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
656         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
657
658         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
659         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
660         (elmo-nntp-folder-list-subfolders): Quote a user name.
661
662         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
663         (elmo-net-parse-network): Abolish.
664         (elmo-net-folder-set-parameters): New function.
665         (elmo-folder-initialize): Follow the above change.
666
667         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
668         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
669         (elmo-folder-list-subfolders): Use
670         `elmo-quote-syntactical-element' instead of
671         `elmo-net-format-quoted' to quote mailbox and user name.
672
673 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
674
675         * elmo-util.el (elmo-token-valid-p): New function.
676         (elmo-parse-token): Add optional argument `requirement'.
677         (elmo-parse-prefixed-element): Likewise.
678
679         * elmo-net.el (elmo-net-quote-chars): Renamed from
680         `elmo-net-quote-chars-regexp'.
681         (elmo-net-format-quoted): Add optional argument `extra-chars'.
682
683         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
684         by info document. Check token `uidl' is started an alphabet.
685
686         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
687         by info document. Check token `user' is started an alphabet.
688
689         * elmo-imap4.el (elmo-folder-initialize): Ditto.
690         (elmo-folder-list-subfolders): Quote user.
691
692 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
693
694         * elmo-util.el (elmo-quoted-specials-list): New constant.
695         (elmo-quoted-token): New function.
696
697         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
698         (elmo-net-format-quoted): New function.
699         (elmo-net-parse-network): Ditto.
700         (elmo-folder-initialize): Use it.
701
702         * elmo-nntp.el (elmo-folder-initialize): Use
703         `elmo-net-parse-network' to parse network specification instead of
704         `elmo-folder-initialize#elmo-net'.
705
706         * elmo-pop3.el (elmo-folder-initialize): Ditto.
707
708         * elmo-imap4.el (elmo-folder-initialize): Ditto.
709         (elmo-folder-list-subfolders): Quote folder name by
710         `elmo-net-format-quoted'.
711
712 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
713
714         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
715         (elmo-folder-search): Use it.
716
717 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
718
719         * modb-standard.el (modb-standard-loaded-message-id): Use
720         `elmo-msgdb-message-entity-field'.
721
722 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
723
724         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
725         without filename.
726
727 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
728
729         * elmo-util.el (elmo-set-auto-coding): New function.
730         (elmo-object-load): Use it.
731
732 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
733
734         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
735         (elmo-time<): Define as alias of `elmo-time-less-p'.
736         (elmo-time-to-datevec): New function.
737
738         * elmo-date.el (elmo-time-to-days): New function.
739
740 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
741
742         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
743         is not cons cell.
744
745 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
746
747         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
748         parenthesis.
749
750         * elmo-util.el (elmo-map-recursive): New function.
751
752         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
753         (modb-entity-encode-string-recursive): Ditto.
754
755 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
756
757         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
758         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
759         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
760         compare sequence number when last modified time is nil.
761
762 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
763
764         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
765
766         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
767
768 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
769
770         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
771         modification time of the file.
772
773 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
774
775         * elmo-util.el (elmo-condition-optimize): Discriminated against
776         preserved fields, extra fields and the other weight.
777
778 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
779
780         * modb-entity.el (initialize-instance): Define.
781         (modb-entity-handler-mime-charset): New internal function.
782         (modb-standard-entity-set-field): Use it.
783         (elmo-msgdb-message-entity-field): Ditto.
784         (elmo-msgdb-message-entity-field): Ditto.
785
786         * modb.el (elmo-msgdb-match-condition): Rewrite with
787         `elmo-condition-match'.
788         (elmo-msgdb-match-condition-primitive): New function.
789
790         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
791         arguments `flags' and `numbers'.
792         (elmo-msgdb-match-condition-primitive): Abolished (merged to
793         `elmo-msgdb-message-match-condition').
794         (modb-buffer-entity-handler): New class.
795
796         * elmo.el (elmo-folder-search): Optimize condition to use
797         `elmo-condition-optimize'.
798         (elmo-message-buffer-match-condition): New function.
799         (elmo-message-match-condition): Use
800         `elmo-message-buffer-match-condition' instead of
801         `elmo-buffer-field-condition-match'.
802
803         * elmo-util.el (elmo-condition-match): New function.
804         (elmo-condition-optimize): Ditto.
805         (elmo-buffer-field-primitive-condition-match): Abolish.
806         (elmo-buffer-field-condition-match): Ditto.
807
808         * elmo-archive.el (elmo-archive-field-condition-match): Use
809         `elmo-message-buffer-match-condition' instead of
810         `elmo-buffer-field-condition-match'.
811
812 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
813
814         * elmo-flag.el (elmo-global-flags-initialize): Check the
815         existence of the flag directory.
816
817 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
818
819         * elmo-access.el (elmo-folder-initialize): Call
820         `elmo-multi-connect-signals'.
821
822         * elmo-pipe.el (elmo-folder-close): Define.
823
824         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
825         children folders.
826
827         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
828         with target folder.
829
830         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
831         `number'.
832
833         * elmo-multi.el (elmo-message-entity): Don't use return value of
834         `elmo-message-entity-set-number'.
835
836 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
837
838         * modb.el (modb-generic): Added slot `mime-charset'.
839
840         * modb-standard.el (modb-standard): Added slot `overview-handler'.
841         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
842         and `modb-entity-handler-dump-parameters'.
843         (modb-standard-default-entity-handler): Abolish.
844         (elmo-msgdb-message-entity-handler): Save created handler by
845         instance slot.
846
847         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
848         (modb-entity-handler-list-parameters): New method.
849         (modb-entity-handler-equal-p): New function.
850         (modb-entity-handler-dump-parameters): Ditto.
851         (modb-entity-parse-address-string): Encode return value.
852         (modb-entity-make-address-string): Decode argument value.
853         (modb-entity-decode-string-recursive): New function.
854         (modb-entity-encode-string-recursive): Ditto.
855         (modb-standard-entity-normalizer): Set to encode field value.
856         (modb-standard-entity-specializer): Follow the above change.
857         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
858         mime-charset of handler.
859         (elmo-msgdb-message-entity-field): Ditto.
860         (elmo-msgdb-copy-message-entity): Fixed reference to internal
861         structure.
862         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
863
864         * elmo.el (elmo-folder): Added slot `mime-charset'.
865         (elmo-make-folder): Added argument `mime-charset'.
866         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
867         `mime-charest'.
868
869         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
870         (elmo-make-msgdb): Likewise.
871
872         * elmo-internal.el (elmo-internal-folder-initialize): Call
873         `luna-make-entity' with :mime-charset parameter.
874
875 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
876
877         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
878         encoded words in `from' and `subject' field.
879
880 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
881
882         * modb.el (elmo-msgdb-message-field): Add argument `type'.
883         (elmo-msgdb-match-condition): Get handler from entity instead of
884         msgdb.
885
886         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
887         (modb-standard-load-entity): Treat new file format.
888         (modb-standard-save-entity-1): Save as new file format.
889         (modb-standard-save-entity): Split messages into section here.
890         (elmo-msgdb-message-field): Follow the API change.
891         (modb-standard-default-entity-handler): New internal variable.
892         (elmo-msgdb-message-entity-handler): Define.
893
894         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
895         to `elmo-vars.el'.
896         (modb-entity-field-extractor-alist): New user option.
897         (elmo-msgdb-message-entity-field): Removed argument `decode' and
898         added argument `type'.
899         (elmo-msgdb-copy-message-entity): Add optional argument
900         `make-handler'.
901         (modb-set-field-converter): New function.
902         (modb-convert-field-value): Ditto.
903         (modb-entity-string-decoder): Ditto.
904         (modb-entity-string-encoder): Ditto.
905         (modb-entity-parse-date-string): Ditto.
906         (modb-entity-make-date-string): Ditto.
907         (modb-entity-mime-decoder): Ditto.
908         (modb-entity-mime-encoder): Ditto.
909         (modb-entity-address-list-decoder): Ditto.
910         (modb-entity-address-list-encoder): Ditto.
911         (modb-entity-parse-address-string): Ditto.
912         (modb-entity-make-address-string): Ditto.
913         (modb-entity-create-field-indices): Ditto.
914         (modb-legacy-entity-field-slots): New constant.
915         (modb-legacy-entity-field-indices): Ditto.
916         (modb-legacy-entity-normalizer): New variable.
917         (modb-legacy-entity-specializer): Ditto.
918         (modb-legacy-entity-field-index): New macro.
919         (modb-legacy-entity-set-field): New function.
920         (modb-legacy-make-message-entity): Rewrite.
921         (elmo-msgdb-create-message-entity-from-buffer): Use
922         `elmo-msgdb-get-references-from-buffer'. Use
923         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
924         Use `modb-legacy-entity-set-field' instead of
925         `elmo-msgdb-message-entity-set-field'.
926         (elmo-msgdb-message-entity-field): Rewrite.
927         (elmo-msgdb-message-entity-set-field): Ditto.
928         (elmo-msgdb-copy-message-entity): Make new entity by
929         `make-handler' if it specified.
930         (elmo-msgdb-message-match-condition): Define a method of
931         `modb-entity-handler' and follow the API change.
932         (modb-standard-entity-handler): New class.
933         (modb-entity-extract-ml-info-from-x-sequence): New function.
934         (modb-entity-extract-ml-info-from-subject): Ditto.
935         (modb-entity-extract-ml-info-from-return-path): Ditto.
936         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
937         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
938         (modb-entity-extract-mailing-list-info): Ditto.
939         (modb-entity-extract-mailing-list-info-functions): New variable.
940
941         * elmo.el (elmo-message-field): Add optional argument `type'.
942
943         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
944         from `modb-entity.el'.
945
946         * elmo-util.el (elmo-object-load): Decode by coding-system from
947         `set-auto-coding-function'.
948         (elmo-object-save): Use `detect-mime-charset-region' and add
949         coding cookie if encode.
950         (elmo-msgdb-get-references-from-buffer): New function.
951         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
952
953         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
954
955         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
956         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
957         instead of `shimbun-make-header' and follow the API change.
958         (elmo-shimbun-update-overview): Follow the API change.
959         (elmo-map-folder-list-message-locations): Ditto.
960
961         * elmo-pipe.el (elmo-message-field): Ditto.
962
963         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
964         Ditto.
965
966         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
967
968         * elmo-multi.el (elmo-message-field): Ditto.
969
970         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
971         (elmo-msgdb-sort-by-date): Ditto.
972         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
973         `elmo-message-entity-field'.
974         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
975         change.
976         (elmo-msgdb-overview-entity-get-from): Ditto.
977         (elmo-msgdb-overview-entity-get-subject): Ditto.
978         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
979         (elmo-msgdb-overview-entity-get-date): Ditto.
980         (elmo-msgdb-overview-entity-get-to): Ditto.
981         (elmo-msgdb-overview-entity-get-cc): Ditto.
982
983         * elmo-mime.el (elmo-message-mime-entity): Ditto.
984         (elmo-mime-collect-message/partial-pieces): Ditto.
985
986         * elmo-filter.el (elmo-message-field): Ditto.
987
988         * elmo-date.el (elmo-datevec-to-time): New function.
989         (elmo-time-parse-date-string): Ditto.
990         (elmo-time-make-date-string): Ditto.
991         (elmo-time<): Ditto.
992
993         * elmo-version.el (elmo-version): Up to 2.15.1.
994
995 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
996
997         * elmo-flag.el (elmo-global-flags-initialize): Don't include
998         member of elmo-local-flags.
999
1000 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1001
1002         * elmo-version.el (elmo-version): Up to 2.15.0.
1003
1004 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1005
1006         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1007         `ignore-msgdb' is non-nil.
1008
1009 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1010
1011         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1012         (elmo-condition-in-msgdb-p): Ditto.
1013         (elmo-file-field-primitive-condition-match): Ditto.
1014         (elmo-file-field-condition-match): Ditto.
1015
1016         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1017
1018 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1019
1020         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1021         subdirectories here.
1022         (elmo-global-flags-initialize): New function.
1023
1024         * elmo.el (toplevel): Added autoload setting for
1025         `elmo-global-flags-initialize'.
1026
1027 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1028
1029         * elmo.el (message-number-changed): Define new signal.
1030         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1031         message-number-changed signal.
1032         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1033         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1034         Respect `elmo-pack-number-check-strict'.
1035
1036 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1037
1038         * elmo-signal.el (elmo-connect-signal): Document.
1039         (elmo-emit-signal): Ditto.
1040         (elmo-emit-signal): It should pass source argument to filter and
1041         handler, not slot-source.
1042
1043 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1044
1045         * modb.el (elmo-msgdb-update-entity): New API and define generic
1046         implement.
1047
1048         * modb-standard.el (elmo-msgdb-update-entity): Define.
1049
1050         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1051         API and define generic implement.
1052
1053         * elmo.el (update-overview): New singnal.
1054
1055         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1056         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1057         (elmo-message-entity-parent): Define.
1058
1059         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1060         `update-overview'.
1061
1062         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1063
1064         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1065
1066 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1067
1068         * elmo.el (elmo-folder-synchronize): Sort the return value of
1069         `elmo-list-diff'.
1070
1071         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1072         list.
1073
1074 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1075
1076         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1077         `default-enable-multibyte-characters'.
1078         (elmo-object-load): Use `with-temp-buffer' instead of
1079         `elmo-set-work-buf'.
1080         (elmo-object-save): Ditto.
1081         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1082         `elmo-set-work-buf'.
1083         (elmo-decoded-field-body): Ditto.
1084
1085         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1086
1087         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1088         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1089
1090         * elmo-version.el (elmo-version): Up to 2.13.3.
1091
1092 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1093
1094         * elmo-util.el (elmo-list-diff): Fix the last change.
1095         Reverse order of result lists.
1096
1097 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1098
1099         * modb-standard.el (elmo-msgdb-set-flag): Use
1100         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1101         (elmo-msgdb-unset-flag): Ditto.
1102
1103         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1104         `elmo-list-diff'.
1105
1106         * elmo-util.el (elmo-list-diff): Rewrite.
1107         (elmo-list-diff-nonsortable): New function.
1108
1109 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1110
1111         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1112         `elmo-multibypte-buffer-name'.  All referers are updated.
1113
1114 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1115
1116         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1117         (elmo-mime-entity-fragment-p): New function.
1118         (mime-elmo-buffer-entity): Added slot `reassembled'.
1119         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1120         (elmo-message-mime-entity-internal): New function (renamed from
1121         `elmo-message-mime-entity').
1122         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1123         (elmo-mime-make-reassembled-mime-entity): New function.
1124         (elmo-message-reassembled-mime-entity): Ditto.
1125         (elmo-mime-collect-message/partial-pieces): Ditto.
1126
1127 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1128
1129         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1130
1131         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1132         (elmo-with-enable-multibyte): New macro.
1133
1134         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1135
1136 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1137
1138         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1139         argument `number'.
1140         (elmo-filter-connect-signals): Follow the above change.
1141
1142 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1143
1144         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1145
1146         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1147         that only the first flag is used.
1148
1149 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1150
1151         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1152         if available.
1153
1154 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1155
1156         * elmo-signal.el: New file.
1157
1158         * elmo.el (toplevel): Require elmo-signal.
1159         (flag-changing, flag-changed, cache-changed): New signal.
1160         (elmo-folder): Remove slog `handlers'.
1161         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1162         `elmo-folder-notify-event'.
1163         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1164         (elmo-folder-unset-flag): Ditto.
1165         (elmo-event-handler): Abolish.
1166         (elmo-event-handler-flag-changed): Ditto.
1167         (elmo-event-handler-cache-changed): Ditto.
1168         (elmo-folder-add-handler): Ditto.
1169         (elmo-folder-remove-handler): Ditto.
1170         (elmo-folder-notify-event): Ditto.
1171
1172         * elmo-pipe.el (toplevel): Require elmo-signal.
1173         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1174         (elmo-pipe-connect-signals): New function.
1175         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1176         (elmo-folder-set-flag): Ditto.
1177         (elmo-folder-unset-flag): Ditto.
1178         (elmo-message-set-cached): Ditto.
1179
1180         * elmo-multi.el (toplevel): Require elmo-signal.
1181         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1182         (elmo-multi-connect-signals): New function.
1183         (elmo-multi-map-numbers): Ditto.
1184         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1185         (elmo-message-fetch): Ditto.
1186         (elmo-folder-set-flag): Ditto.
1187         (elmo-folder-unset-flag): Ditto.
1188
1189         * elmo-filter.el (toplevel): Require elmo-signal.
1190         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1191         (elmo-filter-connect-signals): New function.
1192         (elmo-filter-add-flag-count): Ditto.
1193         (elmo-message-fetch): Does not call
1194         `elmo-filter-folder-countup-message-flags' and
1195         `elmo-folder-notify-event'.
1196         (elmo-message-set-cached): Ditto.
1197         (elmo-folder-set-flag): Ditto.
1198         (elmo-folder-unset-flag): Ditto.
1199
1200         * elmo-version.el (elmo-version): Up to 2.13.2.
1201
1202 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1203
1204         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1205         `flags'.
1206
1207 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * elmo-filter.el (elmo-message-set-cached): Call
1210         `elmo-folder-notify-event' with event `cache-changed'.
1211
1212         * elmo-multi.el (elmo-message-set-cached): Ditto.
1213
1214         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1215
1216 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1217
1218         * elmo.el (elmo-folder-encache): Abolish.
1219
1220 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1221
1222         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1223         (elmo-folder-next-message-number-dop): Return appropriate negative
1224         integer.
1225
1226 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1227
1228         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1229         clearing pending operations.
1230         (elmo-folder-next-message-number-dop): Return appropriate negative
1231         integer.
1232
1233 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1234
1235         * elmo.el (toplevel): Added autoload setting for `md5'.
1236         (elmo-msgdb-path-encode-threshold): New user option.
1237         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1238         longer than `elmo-msgdb-path-encode-threshold'.
1239
1240         * elmo-flag.el (elmo-global-mark-migrate): Use
1241         `elmo-folder-expand-msgdb-path' instead of
1242         `elmo-folder-msgdb-path'.
1243
1244 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1245
1246         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1247         element of the difference is nil.
1248
1249 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1250
1251         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1252         to the check logic of file systems which are weak in colon character.
1253
1254 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1255
1256         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1257
1258 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1259
1260         * elmo-maildir.el (elmo-maildir-move-file): New function.
1261         (elmo-folder-append-buffer): Use it.
1262         (elmo-folder-append-messages): Ditto.
1263         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1264
1265         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1266         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1267
1268         * elmo-maildir.el (elmo-maildir-separator): New user option.
1269         (elmo-maildir-adjust-separator): New macro.
1270         (elmo-maildir-list-location): Use it.
1271         (elmo-maildir-update-current): Ditto.
1272         (elmo-maildir-set-mark): Ditto.
1273         (elmo-maildir-delete-mark): Ditto.
1274         (These changes are based on Hiroya Murata's patch [wl: 13437])
1275
1276 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1277
1278         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1279
1280 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1281
1282         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1283         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1284         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1285
1286 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1287
1288         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1289         Use `with-temp-buffer'.
1290
1291 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1292
1293         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1294
1295         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1296         `wl-read-search-condition').
1297         (elmo-read-search-condition-internal): Likewise.
1298
1299         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1300         (elmo-flag-valid-p): New function.
1301         (elmo-folder-initialize): Check flag name is valid.
1302
1303 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1304
1305         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1306         delimiter to obtain root mailbox itself.
1307
1308 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1309
1310         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1311         type mismatch.
1312
1313 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1314
1315         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1316         as t.
1317
1318 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1319
1320         * elmo-shimbun.el (toplevel): Require cl at compile.
1321
1322         * elmo-nntp.el (toplevel): Ditto.
1323
1324         * elmo-nmz.el (toplevel): Ditto.
1325
1326         * elmo-multi.el (toplevel): Ditto.
1327
1328         * elmo-file.el (toplevel): Ditto.
1329
1330         * elmo-dop.el (toplevel): Ditto.
1331
1332         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1333
1334 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1335
1336         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1337         as nil.
1338
1339         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1340         size of elmo-message-fetch-internal is 0 byte.
1341
1342 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1343
1344         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1345
1346 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1347
1348         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1349         always plugged.
1350
1351 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1352
1353         * elmo-maildir.el (elmo-map-message-fetch): Call
1354         `elmo-map-folder-set-flag'.
1355
1356         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1357         (elmo-message-fetch): Merge from
1358         `elmo-message-fetch-with-cache-process'.
1359
1360         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1361         (elmo-message-fetch): Define.
1362
1363         * elmo-nntp.el (elmo-message-fetch): Renamed from
1364         `elmo-message-fetch-with-cache-process'.
1365
1366         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1367         (elmo-message-fetch): Define.
1368
1369         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1370         search-key.
1371
1372         * elmo-shimbun.el (shimbun-mua-search-id): Use
1373         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1374         (elmo-shimbun-folder-shimbun-header): Ditto.
1375         (elmo-shimbun-get-headers): Ditto.
1376         (elmo-shimbun-update-overview): Ditto.
1377
1378         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1379
1380         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1381         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1382
1383 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1384
1385         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1386         message is cached.
1387         (elmo-message-fetch-string): Fixed argument.
1388
1389 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1390
1391         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1392         exchange order of arguments `section' and `unread'.
1393         (elmo-message-encache): Follow the API change.
1394         (elmo-message-match-condition): Ditto.
1395         (elmo-generic-folder-append-messages): Ditto.
1396         (elmo-message-fetch-string): New function.
1397
1398         * elmo-split.el (elmo-split-subr): Ditto.
1399
1400         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1401
1402         * elmo-pipe.el (elmo-message-fetch): Ditto.
1403
1404         * elmo-multi.el (elmo-message-fetch): Ditto.
1405
1406         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1407
1408         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1409
1410         * elmo-filter.el (elmo-message-fetch): Ditto.
1411
1412         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1413
1414         * elmo-imap4.el (mime-imap-location-section-body): Use
1415         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1416         follow the API change.
1417
1418 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1419
1420         * elmo-access.el: New file.
1421
1422         * elmo-null.el: Ditto.
1423
1424         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1425
1426 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1427
1428         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1429         (elmo-network-session): New attribute `last-accessed'.
1430         (elmo-network-get-session): Discard network cache if elapsed time
1431         since last-accessed is larger than elmo-network-session-idle-timeout.
1432
1433 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1434
1435         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1436         and added `number', `require-entireness'.
1437         (elmo-find-fetch-strategy): Rewrite.
1438         (elmo-message-fetch): Unset `unread' flag when argument unread is
1439         non-nil.
1440
1441         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1442
1443         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1444         (elmo-message-fetch): Notify event `flag-changed'.
1445
1446         * elmo-pipe.el: Likewise.
1447
1448         * elmo-mime.el (elmo-mime-entity): New class.
1449         (elmo-mime-entity-display-p): New generic function.
1450         (elmo-mime-entity-display): Ditto.
1451         (elmo-mime-entity-display-as-is): Ditto.
1452         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1453         elmo-mime-entity.
1454         (elmo-make-mime-message-location): Removed.
1455         (elmo-mime-message-display): Ditto.
1456         (elmo-mime-display-as-is): Ditto.
1457         (elmo-message-mime-entity): New function.
1458
1459         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1460
1461         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1462         change.
1463         (elmo-message-fetch): Re-count flagged message number and notify
1464         event `flag-changed'.
1465
1466         * elmo-version.el (elmo-version): Up to 2.13.1.
1467
1468 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1469
1470         * elmo-filter.el (elmo-message-field): Define.
1471         (elmo-message-set-field): Ditto.
1472
1473 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1474
1475         * elmo.el (elmo-message-set-cached): Call
1476         `elmo-folder-notify-event' with cache-changed.
1477         (elmo-event-handler-cache-changed): New generic function.
1478
1479 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1480
1481         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1482         instead of elmo-add-name-to-file.
1483         (elmo-folder-append-messages): Ditto.
1484
1485 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1486
1487         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1488
1489 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1490
1491         * elmo-version.el (elmo-version): Up to 2.13.0.
1492
1493         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1494         `auto'.
1495
1496         * modb-standard.el (modb-standard-economize-entity-size): Changed
1497         default value to `t'.
1498
1499         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1500         `standard'.
1501
1502         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1503         after parsing greeting string.
1504
1505 2004-11-23  Daishi Kato <daishi@axlight.com>
1506
1507         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1508         New user option.
1509         (elmo-spam-spamoracle-call): Use it.
1510
1511 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1512
1513         * elmo.el (elmo-message-accessible-p): Message in dop spool
1514         is accessible.
1515
1516 2004-11-23  Daishi Kato <daishi@axlight.com>
1517
1518         * elsp-spamoracle.el: New file.
1519
1520 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1521
1522         * elmo.el (elmo-message-flags-for-append): New function.
1523         (elmo-generic-folder-append-messages): Use it.
1524
1525         * elmo-split.el (elmo-split-subr): Ditto.
1526
1527         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1528         `flags' and use elmo-folder-append-buffer instead of
1529         write-region-as-binary.
1530         (elmo-dop-filter-pending-messages): New function.
1531         (elmo-folder-append-buffer-dop): Call
1532         elmo-dop-spool-folder-append-buffer with `flag'.
1533         (elmo-folder-set-flag-dop): Filter messages by
1534         elmo-dop-filter-pending-messages.
1535         (elmo-folder-unset-flag-dop): Ditto.
1536         (elmo-folder-append-buffer-dop-delayed): Use
1537         elmo-message-flags-for-append to get flags of the message and
1538         simplify.
1539
1540 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1541
1542         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1543
1544 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1545
1546         * elmo.el (elmo-folder): Added handlers slot.
1547         (elmo-event-handler): New class.
1548         (elmo-event-handler-flag-changed): New API.
1549         (elmo-folder-add-handler): New function.
1550         (elmo-folder-remove-handler): Ditto.
1551         (elmo-folder-notify-event): Ditto.
1552         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1553         `flag-changed'.
1554         (elmo-folder-unset-flag): Ditto.
1555
1556         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1557         (elmo-folder-unset-flag): Ditto.
1558
1559         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1560         (elmo-folder-unset-flag): Ditto.
1561
1562         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1563         (elmo-folder-unset-flag): Ditto.
1564
1565         * elmo-version.el (elmo-version): Up to 2.11.33.
1566
1567 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1568
1569         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1570
1571 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1572
1573         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1574
1575         * elmo-flag.el (elmo-folder-unset-flag): Define.
1576         (elmo-global-flag-detach): Do process when the flag is not target
1577         flag.
1578
1579 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1580
1581         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1582         variable.
1583         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1584
1585 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1586
1587         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1588         function.
1589         (elmo-folder-delete-messages): Detach messages before delete
1590         messages from target folder.
1591         (elmo-folder-detach-messages): Set updated number-list to slot.
1592
1593 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1594
1595         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1596
1597 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1598
1599         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1600
1601 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1602
1603         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1604         internal use only).
1605         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1606         not modified.
1607         (elmo-folder-delete-messages): Define.
1608         (elmo-folder-move-messages): Don't call
1609         `elmo-folder-detach-messages'.
1610         (elmo-folder-synchronize): Rewrite.
1611         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1612
1613         * elmo-util.el (elmo-last): New function.
1614         (elmo-set-list): Ditto.
1615         (elmo-number-set-delete-list): Ditto.
1616         (elmo-number-set-delete): Ditto.
1617
1618         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1619
1620         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1621         `elmo-folder-delete-messages' and don't delete location map.
1622         (elmo-folder-detach-messages): Define.
1623
1624         * elmo-imap4.el (elmo-folder-delete): Use
1625         `elmo-folder-delete-messages-internal' instead of
1626         `elmo-folder-delete-messages'.
1627
1628         * elmo-filter.el (elmo-folder-delete-messages): Call
1629         `elmo-folder-detach-messages'.
1630         (elmo-folder-detach-messages): Don't call
1631         `elmo-folder-detach-messages' for target folder.
1632
1633         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1634         message deletion is succeeded.
1635
1636         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1637
1638         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1639         from `elmo-folder-delete-messages'.
1640
1641         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1642
1643         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1644
1645         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1646
1647         * elmo-version.el (elmo-version): Up to 2.11.32.
1648
1649 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1650
1651         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1652         (elmo-global-flag-list): Added obsolete variable setting.
1653
1654         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1655
1656         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1657         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1658         `elmo-mime-display-header-analysis' is nil.
1659
1660         * elmo-flag.el (elmo-global-flags): Renamed from
1661         `elmo-global-flag-list' (All other related portions are changed).
1662         (elmo-local-flags): New variable.
1663         (elmo-local-flag-p): New function.
1664         (elmo-global-flag-set-internal): Cause an error when flag is not
1665         global.
1666
1667 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1668
1669         * elmo-util.el (elmo-concat-path): Treat empty path.
1670
1671 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1672
1673         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1674         field-or-fields).
1675         (elmo-split-address-match): Ditto.
1676         (elmo-split-equal): Ditto.
1677         (elmo-split-match): Ditto.
1678
1679 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1680
1681         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1682         (elmo-generic-folder-append-messages): If src message exists but
1683         has no flag, pass (read) for the FLAG argument of
1684         `elmo-folder-append-buffer'. Otherwise, pass nil.
1685
1686         * elmo-split.el (elmo-split-subr): Likewise.
1687
1688         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1689
1690         * elmo-multi.el (elmo-message-flags): Ditto.
1691
1692         * elmo-filter.el (elmo-message-flags): Ditto.
1693
1694         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1695         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1696         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1697         
1698 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1699
1700         * elmo-split.el (elmo-split-rule): Update comment.
1701         (elmo-split-address-equal): Allow 2nd argument to be a list.
1702         (elmo-split-address-match): Ditto.
1703         (elmo-split-equal): Ditto.
1704         (elmo-split-match): Ditto.
1705
1706 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1707
1708         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1709         (elmo-folder-append-msgdb): Don't treat `read'.
1710         (elmo-message-flags): Don't return `read'.
1711
1712         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1713         (elmo-folder-unset-read-delayed): Ditto.
1714
1715         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1716
1717 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1718
1719         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1720         deletion.
1721
1722 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1723
1724         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1725         header.
1726
1727 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1728
1729         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1730         here.
1731         (elmo-msgdb-save): Bind inhibit-quit.
1732         (modb-standard-message-entity): Ditto.
1733
1734 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1735
1736         * elmo-database.el: No need to require elmo-msgdb.
1737
1738 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1739
1740         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1741         instead of `elmo-list-subdirectories'.
1742
1743 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1744
1745         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1746         group entry.
1747         (elmo-folder-exists-p): "[" is empty.
1748         (elmo-folder-list-subfolders): Define.
1749         (elmo-folder-have-subfolder-p): Ditto.
1750
1751 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1752
1753         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1754
1755 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1756
1757         * elmo-filter.el (elmo-folder-local-p): Define.
1758
1759 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1760
1761         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1762         when entity is garbaged.
1763         (modb-standard-save-entity-1): Don't modify the original entity.
1764
1765 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1766
1767         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1768
1769 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1770
1771         * elmo.el (elmo-strict-folder-diff): Use
1772         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1773
1774 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1775
1776         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1777         (elmo-msgdb-message-number): Ditto.
1778         (elmo-msgdb-message-field): Ditto.
1779
1780         * modb-standard.el (modb-standard-economize-entity-size): New user
1781         option.
1782         (modb-standard-loaded-message-id): New inline function.
1783         (modb-standard-load-entity): Use it.
1784         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1785         throw message-id string away.
1786         (elmo-msgdb-flag-available-p): Define.
1787         (elmo-msgdb-message-number): Ditto.
1788         (elmo-msgdb-message-field): Ditto.
1789
1790         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1791         (suppoted -> supported).
1792         (modb-legacy-supported-flag-p): Ditto.
1793         (elmo-msgdb-set-flag): Ditto.
1794         (elmo-msgdb-unset-flag): Ditto.
1795         (elmo-msgdb-flag-available-p): Define.
1796
1797         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1798         is `t', treat it as legacy entity.
1799         
1800         * elmo.el (elmo-message-flag-available-p): New generic function.
1801         (elmo-message-number): Ditto.
1802         (elmo-message-field): Use `elmo-msgdb-message-field'.
1803
1804         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1805
1806         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1807         (elmo-message-number): Ditto.
1808
1809         * elmo-multi.el (elmo-message-number): Define.
1810         (elmo-message-flag-available-p): Ditto.
1811
1812         * elmo-filter.el (elmo-message-flag-available-p): Define.
1813         (elmo-message-number): Ditto.
1814
1815         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1816         (elmo-folder-initialize): Load `max-number'.
1817         (elmo-folder-commit): Save it.
1818         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1819         (elmo-global-flag-set-internal): Set up max-number slot.
1820
1821 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1822
1823         * elmo-version.el (elmo-version): Up to 2.11.31.
1824
1825 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1826
1827         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1828         unibyte string of the current buffer for the argument of `md5'
1829         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1830
1831 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1832
1833         * modb-legacy.el (modb-legacy-flag-list): New constant.
1834         (modb-legacy-suppoted-flag-p): New internal function.
1835         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1836         (elmo-msgdb-unset-flag): Ditto.
1837
1838 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1839
1840         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1841
1842         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1843         from msgdb.
1844
1845 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1846
1847         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1848         (follow the API change).
1849
1850         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1851
1852 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1853
1854         * modb-standard.el (modb-standard-digest-flags): Abolish.
1855         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1856
1857         * elmo-vars.el (elmo-digest-flags): New variable.
1858         (elmo-preserved-flags): Moved from elmo-flag.el.
1859
1860         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1861         (elmo-imap4-flag-to-imap-criteria): Ditto.
1862         (elmo-imap4-folder-list-flagged): Use it.
1863
1864         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1865
1866         * elmo.el (elmo-folder-count-flags): Changed return value.
1867
1868         * elmo-flag.el (elmo-preserved-flags): New variable.
1869         (elmo-get-global-flags): Use it.
1870
1871         * modb-standard.el (modb-standard-digest-flags): New variable.
1872         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1873         Changed behavior of `any'.
1874
1875         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1876         which are defined the Internet draft
1877         (draft-melnikov-imap-keywords-03.txt).
1878         (elmo-imap4-flags-to-imap): New function.
1879         (elmo-folder-append-buffer): Use it.
1880
1881         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1882         in the docstring.
1883
1884         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1885         avoid the bug of Emacs 21.3.
1886
1887 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1888
1889         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1890         function find-coding-system does not exist.
1891
1892 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1893
1894         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1895         parsing.
1896
1897 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1898
1899         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1900         response codes.
1901
1902 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1903
1904         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1905         (elmo-network-close-session): Follow the changes in
1906         `elmo-pop3-read-response'.
1907         (elmo-pop3-auth-user): Ditto.
1908         (elmo-pop3-auth-apop): Ditto.
1909         (elmo-network-initialize-session): Ditto.
1910         (elmo-network-authenticate-session): Ditto.
1911         (elmo-network-setup-session): Ditto.
1912         (elmo-folder-status): Ditto.
1913         (elmo-message-fetch-plugged): Ditto.
1914         (elmo-pop3-delete-msg): Ditto.
1915
1916 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1917
1918         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1919         on failure.
1920
1921 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1922
1923         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1924         style.
1925         (elmo-bind-directory): Ditto.
1926
1927 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1928
1929         * elmo.el (elmo-folder-append-messages): Note on return value.
1930         * elmo-archive.el (elmo-folder-append-messages): Don't return
1931         message numbers which could not be appended.
1932
1933 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1934
1935         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1936
1937 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1938
1939         * elmo-version.el (elmo-version): Up to 2.11.30.
1940
1941 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1942
1943         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1944         `mask'.
1945
1946         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1947
1948         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1949         (elmo-multi-split-numbers): Add elmo-folder object into each
1950         element of return value at first.
1951         (elmo-folder-delete-messages): Follow the above change.
1952         (elmo-folder-detach-messages): Ditto.
1953
1954         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1955         number which is synchronized in target folder.
1956
1957 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1958
1959         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1960         Change default value to symbol `all'.
1961         (elmo-map-message-fetch): Change condition to update overview
1962         follow the above.
1963
1964 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1965
1966         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1967         behavior to update overview.
1968         (elmo-shimbun-update-overview-folder-list): Note it.
1969
1970 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1971
1972         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1973         recursive call.
1974
1975 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1976
1977         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1978         buffer-disable-undo, it is unnecessary.
1979         (elmo-spam-register-good-messages): Ditto.
1980
1981         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1982         Ditto.
1983
1984         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1985
1986 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1987
1988         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1989         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1990         elmo-set-buffer-multibyte.
1991         (elmo-object-load): Ditto.
1992         (elmo-save-buffer): Ditto.
1993         (elmo-delete-char): Ditto.
1994         (elmo-file-field-primitive-condition-match): Ditto.
1995         (elmo-mime-string): Ditto.
1996
1997         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1998         (elmo-archive-field-condition-match): Ditto.
1999
2000         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2001
2002         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2003
2004         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2005         (elmo-nntp-msgdb-create-message): Ditto.
2006
2007         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2008
2009         * elmo.el (elmo-message-match-condition): Ditto.
2010         (elmo-message-match-condition): Ditto.
2011
2012         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2013         Ditto.
2014
2015         * elmo-version.el (elmo-version): Up to 2.11.29.
2016
2017         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2018         (elsp-header): New backend.
2019
2020         * elmo-util.el (elmo-decoded-field-body): New function.
2021
2022 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2023
2024         * elmo-version.el (elmo-version): Up to 2.11.28.
2025
2026 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2027
2028         * elmo-filter.el: Rewrite.
2029
2030         * elmo-version.el (elmo-version): Up to 2.11.27.
2031
2032 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2033
2034         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2035         msgdb path for the localdir folder with absolute path.
2036
2037         * utf7.el: Synch up with latest gnus/utf7.el;
2038         Modified for latest Emacs.
2039
2040 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2041
2042         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2043         shimbun backend couldn't open.
2044
2045 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2046
2047         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2048         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2049         when a destination folder is a filter folder.
2050
2051 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2052
2053         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2054         (elmo-generic-folder-append-messages): Call elmo-message-flags
2055         with argument `msgid'.
2056
2057         * elmo-split.el (elmo-split-subr): Ditto.
2058
2059         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2060
2061         * elmo-multi.el (elmo-message-flags): Ditto.
2062
2063 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2064
2065         * elmo.el (elmo-folder): Add new slot `flag-table'.
2066         (elmo-folder-flag-table): New API.
2067         (elmo-folder-close-flag-table): Ditto.
2068         (elmo-folder-preserve-flags): New function.
2069         (elmo-generic-folder-append-messages): Use
2070         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2071         Flag of a non-registered message, it sets to nil.
2072         Does not set flag to flag-table.
2073
2074         * elmo-maildir.el (elmo-folder-append-buffer): Use
2075         `elmo-folder-preserve-flags'.
2076         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2077         `elmo-folder-close-flag-table'.
2078
2079         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2080         (elmo-archive-folder-append-buffer): Use
2081         `elmo-folder-preserve-flags'.
2082
2083         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2084
2085         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2086
2087         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2088         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2089         `elmo-folder-close-flag-table'.
2090
2091         * elmo-version.el (elmo-version): Up to 2.11.26.
2092
2093 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2094
2095         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2096
2097         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2098         md5's 4th and 5th argument (non-existent in flim one).
2099
2100 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2101
2102         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2103         message, It sets to nil.
2104
2105 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2106
2107         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2108         list is non-nil.
2109
2110 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2111
2112         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2113
2114         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2115
2116         * elmo-util.el (elmo-uniq-sorted-list): New function.
2117         (elmo-make-number-list): Ditto.
2118         (elmo-number-set-to-number-list): Use elmo-make-number-list
2119         and don't use nreverse.
2120
2121 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2122
2123         * elmo-version.el (elmo-version): Up to 2.11.25.
2124
2125 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2126
2127         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2128         field not exists in message, Use md5 message digest of header.
2129
2130 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2131
2132         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2133         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2134         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2135         * elmo-split.el (elmo-split-subr): Check return value of
2136         elmo-folder-append-buffer.
2137
2138         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2139         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2140
2141         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2142         message-id.
2143
2144 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2145
2146         * elmo-split.el (elmo-split-subr): Append message with flag.
2147
2148         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2149         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2150         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2151
2152 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2153
2154         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2155         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2156         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2157
2158 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2159
2160         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2161         with a function call of `process-buffer'.  All callers are updated.
2162         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2163         Remove redundant `set-buffer' in a while loop.
2164
2165 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2166
2167         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2168         calls.
2169
2170 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2171
2172         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2173         elsp-spamfilter-register-buffer-internal with current buffer.
2174         (elmo-spam-register-spam-buffer): Ditto.
2175         (elmo-spam-register-good-buffer): Ditto.
2176
2177 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2178
2179         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2180         if it is not contained in the response(A workaround for courier-imap).
2181
2182 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2183
2184         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2185         parenthesis.
2186
2187 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2188
2189         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2190         range.
2191
2192 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2193
2194         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2195         of nconc.
2196
2197         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2198         argument handler.
2199         (elmo-msgdb-message-match-condition): Follow the change above.
2200
2201 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2202
2203         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2204         folder name.
2205
2206 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2207
2208         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2209
2210 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2211
2212         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2213
2214 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2215
2216         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2217         not found.
2218
2219 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2220
2221         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2222         value.
2223         (elmo-file-command-argument): Undo last change for cygwin.
2224         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2225         Don't return nil.
2226         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2227
2228 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2229
2230         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2231         value returned from elmo-file-find is nil.
2232
2233 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2234
2235         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2236         to elmo-vars.el.
2237
2238         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2239         instead of insert-file-contents-as-binary.
2240         (elmo-message-set-field): New generic function.
2241
2242         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2243         behavior change on `split-string'.
2244
2245         * elmo-file.el (elmo-file-find): New function.
2246         (elmo-file-command): New user option.
2247         (elmo-file-command-argument): Ditto.
2248         (elmo-file-fetch-max-size): Ditto.
2249         (elmo-file-detect-format): New function.
2250         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2251         Use elmo-file-detect-format.
2252         (elmo-map-folder-list-message-locations): Don't treat directories.
2253
2254 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2255
2256         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2257         (elmo-passwd-alist-clear): Shred password before clear.
2258         (elmo-remove-passwd): Remove all mached pair.
2259
2260 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2261
2262         * elmo.el (elmo-folder-synchronize): Fix description of the return
2263         value.
2264
2265 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2266
2267         * elmo.el (elmo-message-fetch-bodystructure): New method.
2268         (elmo-message-fetch-bodystructure): Define default.
2269
2270         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2271         elmo-message-fetch-bodystructure.
2272         (elmo-message-fetch-bodystructure): Define.
2273
2274         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2275
2276 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2277
2278         * elmo-filter.el (elmo-message-folder): Define.
2279
2280 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2281
2282         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2283         elmo-delete-cr-buffer.
2284
2285         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2286
2287         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2288
2289         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2290
2291         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2292         type seems to be a text.
2293
2294 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2295
2296         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2297         (elmo-spam-register-good-buffer): Ditto.
2298         (elmo-spam-spamassassin-register-messages): Ditto.
2299
2300         * elmo-util.el (elmo-string-member-ignore-case): Define with
2301         static-cond.
2302
2303 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2304
2305         * elmo.el (elmo-folder-type): Undo last change.
2306
2307         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2308
2309         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2310         warnings.
2311
2312         * elmo-file.el: New file.
2313         
2314         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2315
2316         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2317         variable.
2318         (elmo-spam-spamassassin-register-messages): New inline function.
2319         (elmo-spam-register-spam-messages): Define.
2320         (elmo-spam-register-good-messages): Ditto.
2321
2322         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2323         Fixed typo.
2324
2325         * elmo.el (toplevel): Added autoload setting for
2326         `elmo-get-global-flags'.
2327         (elmo-message-has-global-flag-p): New function.
2328         (elmo-message-set-global-flags): Ditto.
2329         (elmo-folder-type): Improvement for name: format.
2330
2331         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2332         availability of keyword flags.
2333         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2334         (elmo-folder-list-flagged-plugged): Renamed from
2335         elmo-folder-list-flagged-unplugged.
2336         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2337         accept any flag as keyword flag.
2338         (elmo-folder-set-flag-plugged): Accept keyword flags.
2339         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2340
2341         * elmo-flag.el (elmo-get-global-flags): New function.
2342
2343         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2344         folders.
2345
2346         * elmo-version.el (elmo-version): Up to 2.11.24.
2347
2348 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2349
2350         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2351         elmo-multiple-field-body instead of std11-field-body to check all
2352         headers.
2353
2354 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2355
2356         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2357         or "size".
2358
2359 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2360
2361         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2362         unintern is unbound.
2363
2364 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2365
2366         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2367         Protect from infinite loop.
2368
2369 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2370
2371         * elsp-bogofilter.el
2372         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2373         (elmo-spam-bogofilter-register-messages): New internal function.
2374         (elmo-spam-register-spam-messages): Define.
2375         (elmo-spam-register-good-messages): Ditto.
2376
2377 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2378
2379         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2380         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2381         (elmo-spam-bogofilter-call): Fixed the last change.
2382         (elmo-spam-bogofilter-arguments): Ditto.
2383
2384         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2385         Follow the options change of latest bogofilter.
2386
2387         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2388         (elmo-spam-bogofilter-good-switch): Ditto.
2389         (elmo-spam-bogofilter-arguments-alist): New user option.
2390         (elmo-spam-bogofilter-debug): Ditto.
2391         (elmo-spam-bogofilter-call): Renamed from
2392         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2393         is non-nil, insert output in buffer for debug.
2394         (elmo-spam-bogofilter-arguments): New macro.
2395         (elmo-spam-buffer-spam-p): Use it.
2396         (elsp-bogofilter-register-buffer): Ditto.
2397
2398 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2399
2400         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2401         regexp.
2402
2403 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2404
2405         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2406         value as "ruby".
2407         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2408         (elmo-spam-bsfilter-program): Set default value as full path for
2409         `bsfilter'.
2410         (elmo-spam-bsfilter-debug): New user option.
2411         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2412         non-nil, insert output in buffer for debug. Fix treating of
2413         argument.
2414
2415 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2416
2417         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2418         `elmo-maildir-flag-specs' element instead of one.
2419         (elmo-map-folder-unset-flag): Ditto.
2420         (Reported by Ken Makimura <macky@astem.or.jp>)
2421
2422         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2423         (elmo-folder-unset-flag-plugged): Ditto.
2424
2425 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2426
2427         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2428         to `reads' slot only if `in-msgdb' is nil.
2429
2430 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2431
2432         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2433         and complement argument list.
2434
2435 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2436
2437         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2438         instead of elmo-folder-list-flagged.
2439
2440 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2441
2442         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2443
2444         * elsp-bsfilter.el: New file.
2445
2446         * elmo-pipe.el (elmo-folder-list-unreads,
2447         elmo-folder-list-answereds,
2448         elmo-folder-list-importants,
2449         elmo-folder-flag-as-important,
2450         elmo-folder-unflag-important,
2451         elmo-folder-flag-as-read,
2452         elmo-folder-unflag-read,
2453         elmo-folder-flag-as-answered,
2454         elmo-folder-unflag-answered): Remove.
2455         (elmo-folder-set-flag): Define.
2456         (elmo-folder-unset-flag): Ditto.
2457
2458         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2459         (elmo-folder-set-flag): Define.
2460         (elmo-folder-unset-flag): Ditto.
2461         (elmo-folder-list-unreads): Remove.
2462         (elmo-folder-list-flagged): Define.
2463
2464         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2465         (elmo-folder-list-unreads,
2466         elmo-folder-list-importants,
2467         elmo-folder-list-answereds,
2468         elmo-folder-list-unreads-plugged,
2469         elmo-folder-list-importants-plugged,
2470         elmo-folder-list-answereds-plugged): Remove.
2471         (elmo-folder-list-flagged-plugged): New method.
2472         (elmo-folder-unflag-important,
2473         elmo-folder-flag-as-important,
2474         elmo-folder-unflag-read,
2475         elmo-folder-flag-as-read,
2476         elmo-folder-unflag-answered,
2477         elmo-folder-flag-as-answered,
2478         elmo-folder-flag-as-read-unplugged,
2479         elmo-folder-unflag-read-unplugged,
2480         elmo-folder-flag-as-important-unplugged,
2481         elmo-folder-unflag-important-unplugged,
2482         elmo-folder-flag-as-answered-unplugged,
2483         elmo-folder-unflag-answered-unplugged): Remove.
2484         (elmo-folder-set-flag): Define.
2485         (elmo-folder-unset-flag): Ditto.
2486         (elmo-folder-set-flag-unplugged): Ditto.
2487         (elmo-folder-unset-flag-unplugged): Ditto.
2488
2489         * elmo-multi.el (elmo-folder-list-unreads,
2490         elmo-folder-list-answereds,
2491         elmo-folder-list-importants,
2492         elmo-folder-flag-as-important,
2493         elmo-folder-unflag-important,
2494         elmo-folder-flag-as-read,
2495         elmo-folder-unflag-read,
2496         elmo-folder-flag-as-answered,
2497         elmo-folder-unflag-answered): Remove.
2498         (elmo-folder-set-flag): Define.
2499         (elmo-folder-unset-flag): Ditto.
2500
2501         * elmo-map.el (elmo-map-folder-unflag-important,
2502         elmo-map-folder-flag-as-important,
2503         elmo-map-folder-unflag-read,
2504         elmo-map-folder-flag-as-read,
2505         elmo-map-folder-unflag-answered,
2506         elmo-map-folder-flag-as-answered): Remove.
2507         (elmo-map-folder-set-flag): New method.
2508         (elmo-map-folder-unset-flag): Ditto.
2509         (elmo-map-folder-list-unreads,
2510         elmo-map-folder-list-importants,
2511         elmo-map-folder-list-answereds): Remove.
2512         (elmo-folder-list-flagged-internal): Define.
2513         (elmo-map-folder-list-flagged): New method.
2514
2515         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2516         (elmo-map-folder-list-unreads,
2517         elmo-map-folder-list-importants,
2518         elmo-map-folder-list-flagged): Remove.
2519         (elmo-map-folder-list-flagged): Define.
2520         (elmo-map-folder-flag-as-important,
2521         elmo-map-folder-unflag-important,
2522         elmo-map-folder-flag-as-read,
2523         elmo-map-folder-unflag-read,
2524         elmo-map-folder-flag-as-answered,
2525         elmo-map-folder-unflag-answered): Remove.
2526         (elmo-maildir-set-mark-messages): New internal function.
2527         (elmo-map-folder-set-flag): Define.
2528         (elmo-map-folder-unset-flag): Ditto.
2529
2530         * elmo.el (toplevel): Added autoload setting for
2531         `elmo-folder-list-global-flag-messages'.
2532         (elmo-folder-list-unreads,
2533         elmo-folder-list-importants,
2534         elmo-folder-list-answereds): Remove.
2535         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2536         Return a list whitch merged with messages have global flag.
2537         (elmo-folder-list-flagged-internal): New method.
2538         (elmo-folder-unflag-important,
2539         elmo-folder-flag-as-important,
2540         elmo-folder-unflag-read,
2541         elmo-folder-flag-as-read,
2542         elmo-folder-unflag-answered,
2543         elmo-folder-flag-as-answered): Remove.
2544         (elmo-folder-set-flag): New method.
2545         (elmo-folder-unset-flag): Ditto.
2546         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2547         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2548
2549         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2550         (elmo-folder-list-unreads-plugged,
2551         elmo-folder-list-importants-plugged,
2552         elmo-folder-list-answereds-plugged,
2553         elmo-folder-list-flagged-unplugged,
2554         elmo-folder-unflag-important-plugged,
2555         elmo-folder-flag-as-important-plugged,
2556         elmo-folder-unflag-read-plugged,
2557         elmo-folder-flag-as-read-plugged,
2558         elmo-folder-unflag-answered-plugged,
2559         elmo-folder-flag-as-answered-plugged): Remove.
2560         (elmo-folder-set-flag-plugged,
2561         elmo-folder-unset-flag-plugged): Define.
2562
2563         * elmo-flag.el (elmo-folder-initialize): Register to
2564         `elmo-global-flag-list' if flag is not global.
2565         (elmo-folder-append-messages): Set flag to source messages.
2566
2567         * elmo-filter.el (elmo-filter-folder-list-unreads,
2568         elmo-folder-list-unreads,
2569         elmo-filter-folder-list-importants,
2570         elmo-folder-list-importants,
2571         elmo-folder-flag-as-read,
2572         elmo-folder-unflag-read,
2573         elmo-folder-flag-as-important,
2574         elmo-folder-unflag-important,
2575         elmo-folder-flag-as-answered,
2576         elmo-folder-unflag-answered): Remove.
2577         (elmo-folder-set-flag): Define.
2578         (elmo-folder-unset-flag): Ditto.
2579
2580         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2581         elmo-folder-unflag-read-dop,
2582         elmo-folder-flag-as-important-dop,
2583         elmo-folder-unflag-important-dop,
2584         elmo-folder-flag-as-answered-dop,
2585         elmo-folder-unflag-answered-dop): Remove.
2586         (elmo-folder-set-flag-dop,
2587         elmo-folder-unset-flag-dop,
2588         elmo-folder-set-important-delayed,
2589         elmo-folder-unset-important-delayed,
2590         elmo-folder-set-read-delayed,
2591         elmo-folder-unset-read-delayed,
2592         elmo-folder-set-answered-delayed,
2593         elmo-folder-unset-answered-delayed): New function.
2594         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2595         (elmo-dop-queue-method-name-alist): Ditto.
2596
2597         * elmo-version.el (elmo-version): Up to 2.11.23.
2598
2599 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2600
2601         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2602
2603         * elsp-sa.el: New file.
2604
2605 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2606
2607         * modb-standard.el (modb-standard-message-entity): New function.
2608         (elmo-msgdb-message-entity): Use it.
2609
2610 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2611
2612         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2613         behavior when one-level is nil.
2614
2615         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2616
2617         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2618
2619 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2620
2621         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2622         get max number.
2623         (elmo-generic-folder-diff): Ditto.
2624
2625         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2626         (elmo-folder-update-number): Ditto.
2627
2628         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2629         (elmo-folder-next-message-number-dop): Ditto.
2630
2631 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2632
2633         * elmo-filter.el (elmo-folder-msgdb-create): Use
2634         `elmo-message-entity' and `elmo-message-flags' instead of
2635         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2636
2637 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2638
2639         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2640         `if-exists'.
2641
2642 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2643
2644         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2645
2646         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2647
2648         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2649
2650 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2651
2652         * elmo-version.el (elmo-version): Up to 2.11.22.
2653
2654 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2655
2656         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2657
2658 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2659
2660         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2661         if the message dose not exist.
2662
2663 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2664
2665         * elmo-version.el (elmo-version): Up to 2.11.21.
2666
2667 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2668
2669         * modb-standard.el (toplevel): Don't require mime.
2670
2671 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2672
2673         * elsp-bogofilter.el (toplevel): Don't require path-util.
2674         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2675         (elmo-spam-bogofilter-header): Abolish.
2676         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2677         (elmo-spam-bogofilter-args): New user option.
2678         (elsp-bogofilter-call-bogofilter): New internal function.
2679         (elmo-spam-buffer-spam-p): Use it.
2680         (elsp-bogofilter-register-buffer): Renamed from
2681         `elmo-spam-bogofilter-register-buffer';
2682         Use `elsp-bogofilter-call-bogofilter'.
2683         (elmo-spam-register-spam-buffer): Follow the change above.
2684         (elmo-spam-register-good-buffer): Ditto.
2685
2686 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2687
2688         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2689         message-id is nil do nothing.
2690
2691 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2692
2693         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2694         Revival.
2695         (elmo-imap4-session): Removed use-flag slot.
2696         (elmo-imap4-session-select-mailbox): Undo last change.
2697         (elmo-folder-use-flag-p): Use
2698         elmo-imap4-disuse-server-flag-mailbox-regexp.
2699
2700 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2701
2702         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2703         (elmo-imap4-session-select-mailbox): Set it up.
2704         (elmo-folder-use-flag-p): Return value of use-flag slot.
2705
2706 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2707
2708         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2709         message-id is nil.
2710         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2711
2712         * modb-entity.el (elmo-message-entity-handler): Likewise.
2713
2714 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2715
2716         * elmo.el (toplevel): Remove setting of autoloding for
2717         elmo-global-flag-initialize.
2718         (elmo-init): Don't call elmo-global-flag-initialize.
2719         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2720
2721         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2722         (elmo-global-mark-migrate): Don't call it.
2723         (elmo-global-mark-upgrade): Ditto.
2724
2725 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2726
2727         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2728         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2729
2730         * elmo-vars.el (elmo-init-hook): New user option.
2731
2732         * elmo.el (elmo-init): Run the elmo-init-hook.
2733
2734         * elmo-flag.el (elmo-global-mark-migrate): New function.
2735
2736 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2737
2738         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2739         Undo last change (move to elmo-msgdb-unset-flag).
2740         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2741         flag is unset.
2742
2743 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2744
2745         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2746         read flag is set.
2747         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2748         (elmo-msgdb-unset-flag): Ditto.
2749
2750 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2751
2752         * elmo-split.el (elmo-split): Return split message count.
2753
2754 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2755
2756         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2757         is nil.
2758
2759 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2760
2761         * elmo.el (elmo-folder-unflag-important): Call
2762         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2763         a symbol `always'.
2764
2765         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2766         before unset flag.
2767         (elmo-global-flag-detach): Delete the message from flag folder, if
2768         `delete-if-none' is a symbol `always'.
2769
2770 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2771
2772         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2773         `elmo-spam-spamfilter-decode-buffer'.
2774         (elsp-spamfilter-register-buffer-internal): New internal function.
2775         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2776         (elmo-spam-register-spam-buffer): Ditto.
2777         (elmo-spam-register-good-buffer): Ditto.
2778
2779         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2780         change.
2781         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2782         (elmo-spam-register-spam-buffer): Follow the API change.
2783         (elmo-spam-register-good-buffer): Ditto.
2784
2785         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2786         (elmo-split-spam-p): Added argument plist; Call
2787         `elmo-spam-buffer-spam-p' with new argument register.
2788
2789         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2790         `register'.
2791         (elmo-spam-message-spam-p): Ditto.
2792         (elmo-spam-register-spam-buffer): Added optional argument
2793         `restore'.
2794         (elmo-spam-register-good-buffer): Ditto.
2795         (elmo-spam-register-spam-messages): Ditto.
2796         (elmo-spam-register-good-messages): Ditto.
2797
2798 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2799
2800         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2801         register into good corpus.
2802         (elmo-spam-register-good-buffer): Fixed to register into bad
2803         corpus.
2804
2805 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2806
2807         * elmo-version.el (elmo-version): Up to 2.11.20.
2808
2809         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2810         change.
2811
2812         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2813         flag without depending on \Recent flag.
2814
2815 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2816
2817         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2818         (elmo-spam-modified-p): Defined.
2819         (elmo-spam-save-status): Set `modified' slot to nil.
2820         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2821         (elmo-spam-register-good-buffer): Ditto.
2822
2823         * elmo-spam.el (elmo-spam-modified-p): New API.
2824
2825 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2826
2827         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2828         duplicate definition.
2829
2830         * elmo-util.el (elmo-unfold-field-body): New function.
2831         (elmo-msgdb-get-message-id-from-buffer): Use it.
2832
2833         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2834         Fixed the last change; Use elmo-unfold-field-body.
2835
2836 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2837
2838         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2839         Unfold date value.
2840
2841 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2842
2843         * elmo-spam.el (elmo-spam-save-status): New API.
2844
2845         * elsp-spamfilter.el: New file.
2846
2847 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2848
2849         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2850
2851 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2852
2853         * elmo-split.el (elmo-split-spam-p): New function.
2854
2855         * elmo-spam.el: New file.
2856
2857         * elsp-bogofilter.el: Ditto.
2858
2859 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2860
2861         * elmo.el (elmo-folder-next-message-number): New API.
2862         (elmo-folder-next-message-number): Define.
2863         (elmo-message-field): Don't check folder length.
2864
2865         * elmo-net.el (elmo-folder-next-message-number): Define.
2866         (elmo-folder-next-message-number-unplugged): Define.
2867
2868         * elmo-map.el (elmo-folder-next-message-number): Define.
2869         (elmo-folder-delete-messages): Clear hash value.
2870
2871         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2872
2873         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2874         (elmo-folder-delete-messages-dop-delayed): Always return t.
2875
2876         * elmo-version.el (elmo-version): Up to 2.11.19.
2877
2878 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2879
2880         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2881         change.
2882
2883         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2884         identical cons cell into the mark-alist and the hash table.
2885
2886 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2887
2888         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2889         elmo-folder-list-messages with argument `visible-only' as t.
2890
2891         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2892         (elmo-folder-msgdb-create): Check the target folder.
2893
2894 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2895
2896         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2897         `permanentflag' instead of `flags'.
2898         (elmo-folder-open): Ditto.
2899         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2900         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2901         (elmo-folder-use-flag-p): Always return t.
2902         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2903         `permanentflags' does not exist.
2904         (elmo-folder-open): Ditto.
2905
2906 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2907
2908         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2909         is nil.
2910         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2911
2912         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2913         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2914         response.
2915         (elmo-folder-open): Ditto.
2916         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2917         slot of the session includes the flag.
2918         (elmo-imap4-session-flag-available-p): New function.
2919         (elmo-imap4-folder-list-flagged): Ditto.
2920         (elmo-folder-list-unreads-plugged): Use it.
2921         (elmo-folder-list-importants-plugged): Ditto.
2922         (elmo-folder-list-answereds-plugged): Ditto.
2923         (elmo-imap4-search-internal-primitive): Ditto.
2924         (elmo-imap4-folder-list-any-plugged,
2925         elmo-imap4-folder-list-digest-plugged): Abolish.
2926
2927         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2928         if numbers is nil.
2929
2930 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2931
2932         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2933
2934 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2935
2936         * elmo-util.el (elmo-get-hash-val): Simplify.
2937         (elmo-set-hash-val): Rewrite.
2938
2939 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2940
2941         * elmo.el (elmo-folder-list-messages): Append killed messages into
2942         result if `visible-only' is nil and `in-msgdb' is non-nil.
2943
2944         * elmo-util.el (elmo-uniq-list): Added optional argument
2945         `delete-function'.
2946
2947         * modb.el (elmo-msgdb-flag-count): New API.
2948
2949         * modb-standard.el (modb-standard): Added slot flag-count.
2950         (modb-standard-countup-flags): New function.
2951         (modb-standard-load-flag): Call it.
2952         (elmo-msgdb-append): Ditto.
2953         (elmo-msgdb-clear): Clear slot flag-count.
2954         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2955         (elmo-msgdb-unset-flag): Treat `all' flag and call
2956         modb-standard-countup-flags.
2957         (elmo-msgdb-flag-count): Define.
2958         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2959         (elmo-msgdb-delete-messages): Ditto.
2960
2961         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2962         (elmo-msgdb-flag-count): Define.
2963
2964         * elmo.el (elmo-folder-list-messages): Undo last change.
2965         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2966         (elmo-folder-kill-messages): Unset all flags to numbers.
2967
2968         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2969         elmo-folder-kill-messages.
2970
2971         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2972         (elmo-nntp-folder-delete-messages): Abolish.
2973
2974         * elmo-version.el (elmo-version): Up to 2.11.18.
2975
2976 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2977
2978         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2979         (elmo-folder-kill-messages-range): New function.
2980         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2981         instead of elmo-folder-kill-messages-before.
2982
2983 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2984
2985         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2986         elmo-imap4-current-msgdb to decide entity handler.
2987
2988 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2989
2990         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2991
2992         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2993         inline function.
2994         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2995         (elmo-msgdb-overview-entity-set-number,
2996         elmo-msgdb-overview-entity-get-references,
2997         elmo-msgdb-overview-entity-set-references,
2998         elmo-msgdb-overview-entity-get-from-no-decode,
2999         elmo-msgdb-overview-entity-get-from,
3000         elmo-msgdb-overview-entity-set-from,
3001         elmo-msgdb-overview-entity-get-subject,
3002         elmo-msgdb-overview-entity-get-subject-no-decode,
3003         elmo-msgdb-overview-entity-set-subject,
3004         elmo-msgdb-overview-entity-get-date,
3005         elmo-msgdb-overview-entity-set-date,
3006         elmo-msgdb-overview-entity-get-to,
3007         elmo-msgdb-overview-entity-get-cc,
3008         elmo-msgdb-overview-entity-get-size,
3009         elmo-msgdb-overview-entity-set-size,
3010         elmo-msgdb-overview-entity-get-extra,
3011         elmo-msgdb-overview-entity-set-extra,
3012         elmo-msgdb-overview-entity-get-extra-field,
3013         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3014         (elmo-msgdb-make-index): Use
3015         `elmo-msgdb-overview-entity-get-number-internal'.
3016         (elmo-msgdb-clear-index): Ditto.
3017         (elmo-msgdb-append-entity): Ditto;
3018         Use `elmo-msgdb-overview-entity-get-id-internal'.
3019
3020         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3021         elmo-msgdb-overview-entity-set-number,
3022         elmo-msgdb-overview-entity-get-references,
3023         elmo-msgdb-overview-entity-set-references,
3024         elmo-msgdb-overview-entity-get-from-no-decode,
3025         elmo-msgdb-overview-entity-get-from,
3026         elmo-msgdb-overview-entity-set-from,
3027         elmo-msgdb-overview-entity-get-subject,
3028         elmo-msgdb-overview-entity-get-subject-no-decode,
3029         elmo-msgdb-overview-entity-set-subject,
3030         elmo-msgdb-overview-entity-get-date,
3031         elmo-msgdb-overview-entity-set-date,
3032         elmo-msgdb-overview-entity-get-to,
3033         elmo-msgdb-overview-entity-get-cc,
3034         elmo-msgdb-overview-entity-get-size,
3035         elmo-msgdb-overview-entity-set-size,
3036         elmo-msgdb-overview-entity-get-extra,
3037         elmo-msgdb-overview-entity-set-extra,
3038         elmo-msgdb-overview-entity-get-extra-field,
3039         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3040         and rewrote for backward compatibility.
3041
3042 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3043
3044         * elmo.el (elmo-message-entity-number,
3045         elmo-message-entity-set-number,
3046         elmo-message-entity-field,
3047         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3048
3049         * elmo-msgdb.el (elmo-message-entity-number,
3050         elmo-message-entity-set-number,
3051         elmo-message-entity-field,
3052         elmo-message-entity-set-field): Moved from elmo.el.
3053
3054 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3055
3056         * elmo.el (toplevel): Changed definition orders.
3057
3058 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3059
3060         * modb.el (elmo-msgdb-search): New API .
3061         (elmo-msgdb-match-condition): Ditto.
3062
3063         * modb-standard.el (elmo-msgdb-search): Define.
3064
3065         * modb-legacy.el (elmo-msgdb-search): Ditto.
3066
3067         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3068         from elmo-msgdb-match-condition-internal.
3069
3070         * elmo.el (elmo-folder-search-fast): Abolish.
3071         (elmo-folder-search): Use elmo-msgdb-search and
3072         elmo-with-progress-display.
3073
3074         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3075         as msgdb API.
3076
3077         * elmo.el (elmo-folder): Remove slot message-modified and
3078         flag-modified.
3079         (elmo-folder-set-message-modified): Abolish.
3080         (elmo-generic-folder-commit): Follow the change above.
3081         (elmo-folder-synchronize): Ditto.
3082
3083         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3084
3085         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3086
3087         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3088
3089 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3090
3091         * modb-standard.el (modb-standard-make-message-entity,
3092         elmo-msgdb-make-message-entity,
3093         elmo-msgdb-create-message-entity-from-buffer,
3094         elmo-msgdb-message-entity-number,
3095         elmo-msgdb-message-entity-set-number,
3096         elmo-msgdb-message-entity-field,
3097         elmo-msgdb-message-entity-set-field,
3098         elmo-msgdb-copy-message-entity,
3099         elmo-msgdb-match-condition-internal): Remove.
3100
3101         * modb-entity.el: New file (again).
3102
3103         * modb.el (toplevel): Require modb-entity.
3104         (elmo-msgdb-message-entity-handler): New method.
3105
3106         * modb-standard.el (modb-standard-entity-id): Use
3107         elmo-message-entity-handler.
3108         (modb-standard-load-entity): Ditto.
3109         (elmo-msgdb-append-entity): Ditto.
3110         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3111
3112         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3113         elmo-msgdb-decoded-cache-hashtb,
3114         (modb-legacy-make-message-entity,
3115         elmo-msgdb-make-message-entity,
3116         elmo-msgdb-create-message-entity-from-buffer,
3117         elmo-msgdb-message-entity-number,
3118         elmo-msgdb-message-entity-set-number,
3119         elmo-msgdb-message-entity-field,
3120         elmo-msgdb-message-entity-set-field,
3121         elmo-msgdb-copy-message-entity,
3122         elmo-msgdb-match-condition-internal,
3123         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3124
3125         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3126         (elmo-message-entity-set-number): Ditto.
3127         (elmo-message-entity-field): Ditto.
3128         (elmo-message-entity-set-field): Ditto.
3129
3130         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3131
3132         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3133
3134         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3135
3136         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3137         (elmo-nntp-msgdb-create-message): Ditto.
3138
3139         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3140         (elmo-folder-msgdb-create): Add unread flag.
3141
3142         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3143
3144         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3145
3146         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3147
3148         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3149
3150         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3151         elmo-msgdb-messge-entity-handler.
3152         * elmo-version.el (elmo-version): Up to 2.11.17.
3153
3154 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3155
3156         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3157         change.
3158
3159 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3160
3161         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3162
3163         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3164         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3165         (elmo-msgdb-flag-table): Ditto.
3166         (elmo-msgdb-sort-by-date): Ditto.
3167
3168         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3169
3170         * modb-standard.el (toplevel): Require mime.
3171         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3172         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3173         elmo-msgdb-message-entity-number.
3174         (elmo-msgdb-append-entity): Ditto.
3175         (elmo-msgdb-create-message-entity-from-file): Remove.
3176         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3177         corresponds to the entity.
3178         (elmo-msgdb-message-entity-number): Do nothing currently.
3179         (elmo-msgdb-message-entity-field): Ditto.
3180         (elmo-msgdb-message-entity-set-field): Ditto.
3181         (elmo-msgdb-copy-message-entity): Ditto.
3182         (elmo-msgdb-match-condition-internal): Ditto.
3183
3184         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3185         elmo-util.el.
3186         (elmo-msgdb-create-message-entity-from-file): Remove.
3187
3188         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3189         modb-legacy.el.
3190         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3191
3192         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3193
3194 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3195
3196         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3197         (elmo-msgdb-message-entity-field): Ditto.
3198         (elmo-msgdb-message-entity-number): Ditto.
3199
3200 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3201
3202         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3203         Fixed how to set extra field into entity.
3204         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3205         symbol.
3206
3207         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3208         Fixed how to set extra field into entity.
3209         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3210         symbol.
3211
3212 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3213
3214         * modb.el (elmo-message-entity-db): New function.
3215         (elmo-msgdb-make-message-entity): New API.
3216         (elmo-msgdb-message-entity-number): Ditto.
3217         (elmo-msgdb-message-entity-set-number): Ditto.
3218         (elmo-msgdb-message-entity-field): Ditto.
3219         (elmo-msgdb-message-entity-set-field): Ditto.
3220         (elmo-msgdb-copy-message-entity): Ditto.
3221         (elmo-msgdb-create-message-entity-from-file): Ditto.
3222         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3223         (elmo-msgdb-match-condition-internal): Ditto.
3224
3225         * modb-standard.el (modb-legacy): Require modb-legacy.
3226         (modb-standard-make-message-entity): New inline function.
3227         (elmo-msgdb-make-message-entity): Define.
3228         (elmo-msgdb-create-message-entity-from-file): Ditto.
3229         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3230         (elmo-msgdb-message-entity-field): Ditto.
3231         (elmo-msgdb-message-entity-set-field): Ditto.
3232         (elmo-msgdb-copy-message-entity): Ditto.
3233         (elmo-msgdb-match-condition-internal): Ditto.
3234
3235         * modb-legacy.el: Don't require modb-entity.
3236         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3237         (elmo-msgdb-match-condition-primitive): Ditto.
3238         (elmo-msgdb-get-decoded-cache): Ditto.
3239         (elmo-msgdb-overview-entity-get-id): Ditto.
3240         (elmo-msgdb-overview-entity-get-number): Ditto.
3241         (elmo-msgdb-overview-entity-set-number): Ditto.
3242         (elmo-msgdb-overview-entity-get-references): Ditto.
3243         (elmo-msgdb-overview-entity-set-references): Ditto.
3244         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3245         (elmo-msgdb-overview-entity-get-from): Ditto.
3246         (elmo-msgdb-overview-entity-set-from): Ditto.
3247         (elmo-msgdb-overview-entity-get-subject): Ditto.
3248         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3249         (elmo-msgdb-overview-entity-set-subject): Ditto.
3250         (elmo-msgdb-overview-entity-get-date): Ditto.
3251         (elmo-msgdb-overview-entity-set-date): Ditto.
3252         (elmo-msgdb-overview-entity-get-to): Ditto.
3253         (elmo-msgdb-overview-entity-get-cc): Ditto.
3254         (elmo-msgdb-overview-entity-get-size): Ditto.
3255         (elmo-msgdb-overview-entity-set-size): Ditto.
3256         (elmo-msgdb-overview-entity-get-extra): Ditto.
3257         (elmo-msgdb-overview-entity-set-extra): Ditto.
3258         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3259         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3260         (elmo-msgdb-number-load): Ditto.
3261         (elmo-msgdb-overview-load): Ditto.
3262         (elmo-msgdb-mark-load): Ditto.
3263         (elmo-msgdb-number-save): Ditto.
3264         (elmo-msgdb-mark-save): Ditto.
3265         (elmo-msgdb-overview-save): Ditto.
3266         (modb-legacy-make-message-entity): New inline function.
3267         (elmo-msgdb-insert-file-header): Ditto.
3268         (elmo-msgdb-make-message-entity): Define.
3269         (elmo-msgdb-create-message-entity-from-file): Ditto.
3270         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3271         (elmo-msgdb-message-entity-number): Ditto.
3272         (elmo-msgdb-message-entity-set-number): Ditto.
3273         (elmo-msgdb-message-entity-field): Ditto.
3274         (elmo-msgdb-message-entity-set-field): Ditto.
3275         (elmo-msgdb-copy-message-entity): Ditto.
3276         (elmo-msgdb-match-condition-internal): Ditto.
3277
3278         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3279         (elmo-message-copy-entity): Rewrite.
3280         (elmo-message-entity-number): Ditto.
3281         (elmo-message-entity-set-number): Ditto.
3282         (elmo-message-entity-field): Use elmo-message-entity-db.
3283         (elmo-message-entity-set-field): Ditto.
3284         (elmo-message-field): Rewrite.
3285
3286         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3287         elmo-msgdb.el
3288         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3289
3290         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3291         elmo-message-entity-field.
3292         (elmo-shimbun-folder-shimbun-header): Ditto.
3293         (elmo-shimbun-entity-to-header): Ditto.
3294         (elmo-folder-msgdb-create): Ditto.
3295         (elmo-shimbun-msgdb-create-entity): Ditto;
3296         Use elmo-msgdb-create-message-entity-from-buffer.
3297         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3298         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3299
3300         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3301         elmo-msgdb-create-message-entity-from-file and 
3302         elmo-message-entity-field.
3303
3304         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3305         elmo-message-entity-number.
3306         (elmo-pop3-msgdb-create-message): Use
3307         elmo-msgdb-create-message-entity-from-buffer,
3308         elmo-message-entity-set-field, elmo-message-entity-number and
3309         elmo-message-entity-set-number.
3310
3311         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3312         the API change in elmo-msgdb-make-message-entity.
3313         (elmo-nntp-msgdb-create-message): Use
3314         elmo-msgdb-create-message-entity-from-buffer.
3315
3316         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3317         elmo-message-entity-field and
3318         elmo-msgdb-create-message-entity-from-file.
3319
3320         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3321         (elmo-msgdb-get-field): Abolish.
3322         (elmo-msgdb-get-number): Rewrite.
3323         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3324         (elmo-msgdb-flag-table): Ditto.
3325         (elmo-msgdb-get-last-message-id,
3326         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3327         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3328         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3329         (elmo-msgdb-create-overview-from-buffer,
3330         elmo-msgdb-overview-get-parent-entity): Abolish.
3331
3332         * elmo-mime.el (elmo-mime-display-as-is): Use
3333         elmo-message-entity-field.
3334
3335         * elmo-map.el (elmo-folder-pack-numbers): Use
3336         elmo-message-entity-set-number.
3337
3338         * elmo-maildir.el (elmo-folder-msgdb-create): 
3339         elmo-msgdb-create-message-entity-from-file instead of
3340         elmo-msgdb-create-overview-entity-from-file.
3341
3342         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3343         msgdb.
3344         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3345         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3346
3347         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3348         elmo-messge-entity-field and elmo-message-entity-number.
3349         (elmo-imap4-fetch-callback-1): Call
3350         elmo-msgdb-create-message-entity-from-buffer instead of
3351         elmo-msgdb-create-overview-from-buffer. 
3352         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3353         (elmo-find-fetch-strategy): Likewise.
3354
3355         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3356         elmo-localdir-msgdb-create-entity with argument msgdb.
3357
3358         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3359         and elmo-message-entity-set-number.
3360
3361         * elmo-cache.el (elmo-folder-msgdb-create): Use
3362         elmo-message-entity-field.
3363         (elmo-folder-msgdb-create): Call
3364         elmo-msgdb-create-message-entity-from-file instead of
3365         elmo-msgdb-create-overview-entity-from-file.
3366
3367         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3368         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3369         instead of elmo-msgdb-create-overview-from-buffer.
3370         (elmo-archive-msgdb-create-entity): Ditto.
3371         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3372         elmo-message-entity-field.
3373         (elmo-archive-parse-mmdf): Ditto.
3374
3375         * modb-entity.el: Removed.
3376
3377         * elmo-version.el (elmo-version): Up to 2.11.16.
3378
3379 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3380
3381         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3382         `is-local'.
3383         (elmo-folder-flag-as-answered): Ditto.
3384
3385 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3386
3387         * modb-standard.el: New file.
3388
3389         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3390         elmo-msgdb-convert-type is `sync'.
3391
3392         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3393         (elmo-msgdb-convert-type): New user option.
3394
3395         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3396         (elmo-load-msgdb): Auto detect saved type.
3397
3398         * elmo-version.el (elmo-version): Up to 2.11.15.
3399
3400 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3401
3402         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3403
3404         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3405         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3406         with argument `delete-if-none' when dst-folder is 'null.
3407
3408         * elmo-flag.el (elmo-folder-append-messages): Defined.
3409         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3410
3411 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3412
3413         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3414
3415 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3416
3417         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3418         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3419         (elmo-folder-commit): Ditto.
3420
3421 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3422
3423         * elmo-flag.el: New file.
3424
3425         * elmo-mark.el: Removed.
3426
3427         * modb-legacy.el (modb-legacy-new-mark,
3428         modb-legacy-unread-uncached-mark,
3429         modb-legacy-unread-cached-mark,
3430         modb-legacy-read-uncached-mark,
3431         modb-legacy-answered-cached-mark,
3432         modb-legacy-answered-uncached-mark,
3433         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3434         All other related portions are changed.
3435
3436         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3437         (elmo-folder-list-messages-with-global-mark): Abolish.
3438         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3439         (elmo-folder-flag-as-important): Ditto.
3440         (elmo-folder-unflag-read): Ditto.
3441         (elmo-folder-flag-as-read): Ditto.
3442         (elmo-folder-unflag-answered): Ditto.
3443         (elmo-folder-flag-as-answered): Ditto.
3444         (elmo-message-encache): Return the cache path.
3445         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3446         (elmo-message-set-flag): Transitional implementation.
3447         (elmo-message-unset-flag): Ditto.
3448         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3449         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3450         (elmo-init): Call elmo-global-flag-initialize.
3451         (toplevel): Added autoload settings for elmo-flag.
3452
3453         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3454
3455         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3456         (elmo-file-cache-delete): Don't treat global-mark.
3457
3458         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3459
3460         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3461
3462         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3463         `elmo-global-flags-set'.
3464
3465         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3466         `flag'.
3467         (elmo-folder-unflag-read): Ditto.
3468         (elmo-folder-unflag-important): Ditto.
3469         (elmo-folder-flag-as-important): Ditto.
3470         (elmo-folder-unflag-answered): Ditto.
3471         (elmo-folder-flag-as-answered): Ditto.
3472
3473         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3474         `elmo-global-flags-set'.
3475         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3476
3477         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3478
3479         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3480         `flag'.
3481         (elmo-folder-flag-as-important): Ditto.
3482         (elmo-folder-unflag-important): Ditto.
3483         (elmo-folder-flag-as-important): Ditto.
3484         (elmo-folder-unflag-read): Ditto.
3485         (elmo-folder-flag-as-read): Ditto.
3486         (elmo-folder-unflag-answered): Ditto.
3487         (elmo-folder-flag-as-answered): Ditto.
3488
3489         * elmo-multi.el (elmo-folder-list-importants): Don't call
3490         elmo-folder-list-messages-with-global-mark.
3491         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3492         (elmo-folder-unflag-important): Ditto.
3493         (elmo-folder-flag-as-read): Ditto.
3494         (elmo-folder-unflag-read): Ditto.
3495         (elmo-folder-flag-as-answered): Ditto.
3496         (elmo-folder-unflag-answered): Ditto.
3497
3498         * elmo-msgdb.el (elmo-msgdb-new-mark,
3499         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3500         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3501         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3502         (Moved to modb-legacy.el).
3503         (elmo-flag-table-get): Treat important flag too.
3504
3505         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3506         `mark' to `flag'.
3507         (elmo-map-folder-flag-as-important): Ditto.
3508         (elmo-map-folder-unflag-read): Ditto.
3509         (elmo-map-folder-flag-as-read): Ditto.
3510         (elmo-map-folder-unflag-answered): Ditto.
3511         (elmo-map-folder-flag-as-answered): Ditto.
3512         (elmo-folder-unflag-important): Ditto.
3513         (elmo-folder-flag-as-important): Ditto.
3514         (elmo-folder-unflag-read): Ditto.
3515         (elmo-folder-flag-as-read): Ditto.
3516         (elmo-folder-unflag-answered): Ditto.
3517         (elmo-folder-flag-as-answered): Ditto.
3518
3519         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3520         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3521         `flag'.
3522         (elmo-map-folder-unflag-important): Ditto.
3523         (elmo-map-folder-flag-as-read): Ditto.
3524         (elmo-map-folder-unflag-read): Ditto.
3525         (elmo-map-folder-flag-as-answered): Ditto.
3526         (elmo-map-folder-unflag-answered): Ditto.
3527
3528         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3529         `elmo-global-flags-set'.
3530         (elmo-global-flags-set): Added autoload setting.
3531
3532         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3533         `flag'.
3534
3535         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3536         `elmo-msgdb-global-mark-set'.
3537         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3538         Call `elmo-global-flags-set'.
3539         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3540         `flag'.
3541         (elmo-folder-flag-as-important-plugged): Ditto.
3542         (elmo-folder-unflag-read-plugged): Ditto.
3543         (elmo-folder-flag-as-read-plugged): Ditto.
3544         (elmo-folder-unflag-answered-plugged): Ditto.
3545         (elmo-folder-flag-as-answered-plugged): Ditto.
3546         (elmo-global-flags-set): Added autoload setting.
3547
3548         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3549         `flag'.
3550         (elmo-folder-unflag-read): Ditto.
3551         (elmo-folder-flag-as-important): Ditto.
3552         (elmo-folder-unflag-important): Ditto.
3553         (elmo-folder-flag-as-answered): Ditto.
3554         (elmo-folder-unflag-answered): Ditto.
3555
3556         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3557         change of `mark'->`flag'.
3558         (elmo-dop-queue-method-name-alist): Ditto.
3559         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3560         (elmo-folder-unflag-read-dop): Ditto.
3561         (elmo-folder-flag-as-important-dop): Ditto.
3562         (elmo-folder-unflag-important-dop): Ditto.
3563         (elmo-folder-flag-as-answered-dop): Ditto.
3564         (elmo-folder-unflag-answered-dop): Ditto.
3565
3566         * elmo-cache.el (elmo-folder-msgdb-create): Call
3567         `elmo-global-flags-set'.
3568
3569         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3570         Call `elmo-global-flags-set'.
3571         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3572         elmo-archive-parse-mmdf with argument `folder'.
3573         (elmo-archive-parse-mmdf): Added argument `folder';
3574         Call `elmo-global-flags-set'.
3575
3576         * elmo-version.el (elmo-version): Up to 2.11.14.
3577
3578 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3579
3580         * modb.el (elmo-msgdb-length): Define.
3581
3582         * elmo.el (elmo-make-folder): Fixed.
3583         (elmo-generic-folder-append-messages): Follow the API change.
3584
3585         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3586         API change.
3587
3588 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3589
3590         * modb.el: New file.
3591
3592         * modb-entity.el: Ditto.
3593
3594         * modb-legacy.el: Ditto.
3595
3596         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3597         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3598         of `elmo-msgdb-overview-get-entity'.
3599         (elmo-msgdb-get-field): Ditto.
3600         (elmo-msgdb-merge): Moved to `elmo.el'.
3601         (elmo-msgdb-length): Removed; redefine as modb method.
3602         (elmo-msgdb-change-mark): Abolish.
3603         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3604         (elmo-msgdb-match-condition): Don't use mark.
3605         (elmo-msgdb-overview-get-entity): Abolish.
3606         Split modb part into `modb*.el'.
3607
3608         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3609
3610         * elmo-shimbun.el (shimbun-mua-search-id): Use
3611         `elmo-msgdb-message-entity' instead of
3612         `elmo-msgdb-overview-get-entity'.
3613         (elmo-shimbun-folder-shimbun-header): Ditto.
3614         (elmo-shimbun-get-headers): Ditto.
3615         (elmo-shimbun-update-overview): Ditto.
3616
3617         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3618
3619         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3620
3621         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3622         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3623
3624         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3625         `elmo-msgdb-mark-to-flags'.
3626
3627         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3628         `elmo-msgdb-set-path'.
3629
3630         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3631  
3632         * elmo-version.el (elmo-version): Up to 2.11.13.
3633
3634         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3635
3636         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3637         of mark.
3638
3639 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3640
3641         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3642         mismatch.
3643
3644 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3645
3646         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3647         instead of `elmo-msgdb-get-cached'.
3648         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3649
3650         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3651         (elmo-msgdb-set-cached): Ditto.
3652         (elmo-msgdb-set-flag): Rewrite.
3653         (elmo-msgdb-unset-flag): Ditto.
3654
3655         * elmo-msgdb.el: Rewrite with luna.
3656
3657         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3658         (elmo-folder-msgdb): Follow the change above.
3659         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3660         (elmo-folder-unmark-important): Follow the API change.
3661         (elmo-folder-mark-as-important): Ditto.
3662         (elmo-folder-unmark-read): Ditto.
3663         (elmo-folder-mark-as-read): Ditto.
3664         (elmo-folder-unmark-answered): Ditto.
3665         (elmo-folder-mark-as-answered): Ditto.
3666         (elmo-folder-clear): Likewise.
3667
3668         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3669         instead of `elmo-msgdb-load' (renamed).
3670
3671         * elmo-version.el (elmo-version): Up to 2.11.12.
3672
3673 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3674
3675         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3676         change.
3677         (elmo-message-mark): Abolish.
3678         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3679         instead of `elmo-msgdb-change-mark'.
3680
3681         * elmo-pipe.el (elmo-message-mark): Abolish.
3682
3683         * elmo-multi.el (elmo-message-mark): Ditto.
3684
3685         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3686         (elmo-msgdb-unread-uncached-mark): Ditto.
3687         (elmo-msgdb-unread-cached-mark): Ditto.
3688         (elmo-msgdb-read-uncached-mark): Ditto.
3689         (elmo-msgdb-answered-cached-mark): Ditto.
3690         (elmo-msgdb-answered-uncached-mark): Ditto.
3691         (elmo-msgdb-important-mark): Ditto.
3692         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3693         `use-cache'.
3694         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3695         `flags'.
3696         (elmo-flag-table-load): Changed flag to list of flag.
3697         (elmo-flag-table-set): If flags is nil, set read flag.
3698         (elmo-flag-table-get): Return derived flags from global mark,
3699         cache status and saved flags.
3700         (elmo-msgdb-flag-table): Follow the change above.
3701         (elmo-msgdb-out-of-date-messages): New function.
3702
3703         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3704
3705         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3706
3707         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3708
3709         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3710         (elmo-nntp-msgdb-create-message): Ditto.
3711
3712         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3713
3714         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3715         independent.
3716         (elmo-folder-msgdb-create): Follow the API change.
3717
3718         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3719         (elmo-folder-append-messages): Ditto.
3720
3721         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3722         (elmo-folder-append-buffer): Ditto.
3723
3724         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3725
3726         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3727
3728         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3729         (elmo-archive-parse-mmdf): Ditto.
3730
3731         * elmo-version.el (elmo-version): Up to 2.11.11.
3732
3733 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3734
3735         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3736         `elmo-msgdb-mark'.
3737
3738         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3739
3740         * elmo-pipe.el (elmo-message-flags): Defined.
3741
3742         * elmo-multi.el (elmo-message-flags): Ditto.
3743
3744 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3745
3746         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3747         `elmo-msgdb-delete-msgs'.
3748
3749         * elmo.el (elmo-folder-count-flags): Don't use
3750         `elmo-msgdb-get-mark-alist'.
3751         (elmo-folder-detach-messages): Follow the API change.
3752
3753         * elmo.el (elmo-folder-list-messages): Append killed messages into
3754         result if `visible-only' is nil.
3755
3756         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3757         canceled messages.
3758         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3759         (elmo-folder-update-number): Likewise.
3760
3761         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3762         (elmo-pop3-sort-msgdb-by-original-number): Use
3763         `elmo-msgdb-sort-entities'.
3764
3765         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3766         (elmo-msgdb-sort-by-date): Use it.
3767         (elmo-msgdb-overview-sort-by-date): Abolish.
3768
3769         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3770
3771         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3772         (elmo-msgdb-flags): New function.
3773         (elmo-msgdb-merge): Use elmo-msgdb-append.
3774
3775         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3776         change.
3777
3778         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3779
3780         * elmo-dop.el (elmo-folder-status-dop): Use
3781         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3782
3783 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3784
3785         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3786
3787         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3788
3789         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3790
3791         * elmo-util.el (elmo-with-progress-display): New macro.
3792
3793         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3794
3795 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3796
3797         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3798         `elmo-folder-list-message-entities' instead of
3799         `elmo-msgdb-get-overview'.
3800         (elmo-map-folder-list-message-locations): Ditto.
3801
3802         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3803         methods instead of treat directly).
3804         (elmo-msgdb-clear): Ditto.
3805         (elmo-msgdb-delete-msgs): Ditto.
3806         (elmo-msgdb-sort-by-date): Ditto.
3807
3808         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3809         local variables.
3810         (elmo-nntp-folder-msgdb-create): Follow the API change.
3811
3812         * elmo-version.el (elmo-version): Up to 2.11.10.
3813
3814 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3815
3816         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3817         (elmo-msgdb-flags-to-mark): Ditto.
3818         (elmo-msgdb-append-entity): Ditto.
3819
3820         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3821         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3822         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3823         (elmo-archive-parse-mmdf): Ditto.
3824
3825         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3826
3827         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3828
3829         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3830
3831         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3832
3833         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3834
3835         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3836
3837         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3838
3839         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3840
3841         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3842         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3843         to empty msgdb.
3844
3845         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3846         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3847         instead of directly construction.
3848         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3849         instead of construct msgdb.
3850
3851         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3852         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3853         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3854         instead of construct msgdb.
3855
3856 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3857
3858         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3859         when field is from or subject.
3860
3861 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3862
3863         * elmo-multi.el (elmo-message-entity-parent): Define.
3864         (elmo-folder-search): Rewrite.
3865
3866 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3867
3868         * elmo-multi.el (elmo-message-cached-p): Define.
3869
3870         * elmo.el (elmo-message-cached-p): New method.
3871         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3872         (elmo-message-flags): New method.
3873         (elmo-message-flagged-p): New function.
3874
3875         * elmo-version.el (elmo-version): Up to 2.11.9.
3876
3877 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3878
3879         * elmo-version.el (elmo-version): Up to 2.11.8.
3880
3881         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3882
3883         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3884
3885 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3886
3887         * elmo.el (elmo-folder-detach-messages): Undo last change.
3888
3889 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3890
3891         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3892
3893         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3894         only when src folder type is pop3.
3895
3896 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3897
3898         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3899         elmo-msgdb-overview-entity-get-number instead of
3900         elmo-message-entity-number.
3901
3902 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3903
3904         * elmo-version.el (elmo-version): Up to 2.11.7.
3905
3906 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3907
3908         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3909         function.
3910
3911         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3912         (elmo-msgdb-merge): New function.
3913         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3914         (elmo-msgdb-make-index): Rewrite.
3915
3916         * elmo-version.el (elmo-version): Up to 2.11.6.
3917
3918         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3919         use it as a the path for loading message entities.
3920
3921         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3922
3923 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3924
3925         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3926         message-modified slot of itself if it does not require target msgdb.
3927
3928         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3929         if folder length is zero.
3930         (elmo-mime-display-as-is): Ditto.
3931
3932         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3933
3934         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3935
3936 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3937
3938         * elmo.el (elmo-folder-set-message-modified): New method.
3939         (elmo-generic-folder-commit): Use it.
3940         (elmo-folder-synchronize): Ditto.
3941
3942         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3943         (elmo-folder-commit): Remove duplicate definition.
3944
3945 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3946
3947         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3948
3949 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3950
3951         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3952         (elmo-strict-folder-diff): Ditto.
3953         (elmo-folder-set-info-max-by-numdb): Simplify.
3954
3955         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3956         elmo-msgdb-list-messages.
3957
3958         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3959         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3960
3961 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3962
3963         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3964         visible-only is non-nil.
3965         (elmo-folder-confirm-appends): Changed message.
3966         (elmo-folder-synchronize): Added argument disable-killed.
3967
3968         * elmo-multi.el (elmo-folder-synchronize): Added argument
3969         disable-killed.
3970
3971         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3972
3973         * elmo-version.el (elmo-version): Up to 2.11.5.
3974
3975         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3976         elmo-list-filter.
3977
3978         * elmo-util.el (elmo-list-filter): Simplify.
3979
3980         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3981         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3982         (elmo-generic-folder-diff): Abolish argument.
3983         (elmo-msgdb-load): Don't use number-alist.
3984
3985         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3986
3987         * elmo-pipe.el (elmo-folder-diff): Ditto.
3988
3989         * elmo-nmz.el (elmo-folder-diff): Ditto.
3990
3991         * elmo-net.el (elmo-folder-diff): Ditto.
3992
3993         * elmo-maildir.el (elmo-folder-diff): Ditto.
3994
3995         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3996
3997         * elmo-multi.el (elmo-folder-diff): Ditto
3998         (elmo-multi-folder-diff): Rewrite.
3999
4000 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4001
4002         * elmo-pipe.el (elmo-folder-msgdb): Define.
4003
4004 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4005
4006         * elmo.el (elmo-message-set-cached): Define as a method.
4007
4008         * elmo-pipe.el (elmo-message-set-cached): Define.
4009         (elmo-find-fetch-strategy): Ditto.
4010
4011         * elmo-multi.el (elmo-message-set-cached): Define.
4012         (elmo-find-fetch-strategy): Rewrite.
4013
4014         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4015
4016         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4017
4018 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4019
4020         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4021         instead of number-alist.
4022
4023         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4024         mark nor message-id when msgdb of source folder is not loaded.
4025
4026         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4027
4028         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4029
4030 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4031
4032         * elmo.el (elmo-folder-length): Don't require msgdb.
4033
4034 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4035
4036         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4037         (elmo-message-field): Ditto.
4038
4039         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4040         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4041         slot.
4042         (elmo-map-folder-list-answereds): Define.
4043         (elmo-maildir-list-location): Treat 'R' info.
4044         (elmo-folder-msgdb-create): Treat flag-table.
4045         (elmo-folder-append-messages): Save flag-table.
4046
4047 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4048
4049         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4050         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4051
4052 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4053
4054         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4055
4056         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4057         'read when mark is null.
4058
4059 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4060
4061         * elmo-version.el (elmo-version): Up to 2.11.4.
4062
4063 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4064
4065         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4066         (elmo-folder-mark-as-answered): Ditto.
4067
4068 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4069
4070         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4071         (elmo-pop3-get-session): Make msgdb directory after session.
4072         (elmo-folder-exists-p): Check exactly at the first time even when the
4073         elmo-pop3-exists-exactly is nil.
4074
4075         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4076         (elmo-folder-list-messages): Define instead of
4077         elmo-folder-list-messages-internal.
4078         (elmo-folder-check): Check destination folder.
4079         (elmo-folder-synchronize): Drain the pipe.
4080
4081         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4082         when msgdb is not loaded.
4083
4084         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4085
4086         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4087         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4088         messages.
4089
4090         * elmo.el (elmo-folder-kill-messages-before): New function.
4091         (elmo-folder-kill-messages): Ditto.
4092         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4093
4094         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4095         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4096         killed not by synchronize (e.g. scoring).
4097
4098 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4099
4100         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4101         treated.
4102         (elmo-folder-search): Follow the change above.
4103
4104         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4105         into the candidates of search field.
4106
4107 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4108
4109         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4110         (elmo-msgdb-unset-flag): Ditto.
4111
4112         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4113
4114 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4115
4116         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4117         (elmo-folder-commit): Define.
4118         (elmo-folder-synchronize): Ditto.
4119         (elmo-folder-list-flagged): Ditto.
4120         (elmo-folder-commit): Ditto.
4121         (elmo-folder-length): Ditto.
4122         (elmo-folder-count-flags): Ditto.
4123         (elmo-message-mark): Ditto.
4124         (elmo-message-field): Ditto.
4125         (elmo-message-entity): Ditto.
4126         (elmo-message-folder): Ditto.
4127
4128 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4129
4130         * elmo.el (elmo-message-field): Define as a method.
4131
4132         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4133         (elmo-message-field): Define.
4134
4135         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4136         (elmo-folder-list-importants): Ditto.
4137         (elmo-folder-list-answereds): Ditto.
4138
4139         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4140         qualifier.
4141         (elmo-folder-mark-as-read): Ditto.
4142         (elmo-folder-unmark-read): Ditto.
4143         (elmo-folder-mark-as-answered): Ditto.
4144         (elmo-folder-unmark-answered): Ditto.
4145         (elmo-folder-list-flagged): Define.
4146         (elmo-folder-commit): Ditto.
4147         (elmo-folder-length): Ditto.
4148         (elmo-folder-count-flags): Ditto.
4149
4150 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4151
4152         * elmo.el (elmo-folder-detach-messages): New method.
4153         (elmo-folder-move-messages): Use it.
4154         (elmo-folder-synchronize): Ditto.
4155
4156         * elmo-multi.el (elmo-folder-detach-messages): Define.
4157
4158         * elmo.el (elmo-message-copy-entity): New function.
4159         (elmo-message-entity-set-number): Ditto.
4160         (elmo-message-mark): Define as method.
4161
4162         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4163         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4164         (elmo-message-entity): Fixed last change.
4165         (elmo-message-mark): Define.
4166         (elmo-folder-msgdb-create): Abolish.
4167         (elmo-multi-folder-append-msgdb): Ditto.
4168         (elmo-multi-folder-diff): Fixed.
4169         (elmo-multi-split-number-alist): Removed.
4170         (elmo-multi-split-mark-alist): Removed.
4171         (elmo-folder-list-messages): Define.
4172         (elmo-folder-list-messages-internal): Removed.
4173
4174         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4175         local file messages.
4176         (elmo-folder-msgdb-create): Fixed read mark.
4177
4178 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4179
4180         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4181         if mark is nil.
4182
4183 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4184
4185         * elmo.el (elmo-folder-list-message-entities): Define as inline
4186         function.
4187         (elmo-folder-messages): Abolish.
4188
4189         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4190         folder.
4191         (elmo-folder-synchronize): Define.
4192         (elmo-message-entity): Define.
4193
4194 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4195
4196         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4197         elmo-imap4-session-select-mailbox.
4198
4199         * elmo.el (elmo-folder-move-messages): Don't display any message.
4200
4201         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4202         parsing.
4203         (elmo-imap4-session-check): Don't wait CHECK response.
4204         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4205
4206 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4207
4208         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4209
4210 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4211
4212         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4213         API.
4214         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4215
4216
4217         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4218         (elmo-folder-list-message-entities): Added argument in-msgdb and
4219         numbers.
4220         (elmo-folder-synchronize): Define as a method.
4221
4222         * elmo-nntp.el (elmo-folder-initialize): Don't use
4223         elmo-nntp-default-user if zero-length username is specified
4224         explicitly.
4225
4226 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4227
4228         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4229         server name in case with username.
4230         (XXX: this is ad-hoc fix against username includes "@", it
4231         should be solved fundamentally)
4232
4233 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4234
4235         * elmo-nntp.el (elmo-nntp-debug): New function.
4236         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4237         (elmo-network-authenticate-session): Hide auth-info from the log.
4238
4239         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4240         user name if it is equal to elmo-nntp-default-user.
4241
4242 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4243
4244         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4245         instead of shimbun-server-internal;
4246         Use shimbun-current-group instead of shimbun-current-group-internal.
4247         (elmo-folder-plugged-p): Use shimbun-server instead of
4248         shimbun-server-internal.
4249         (elmo-folder-set-plugged): Ditto.
4250         (elmo-net-port-info): Ditto.
4251         (elmo-folder-check): Ditto.
4252         (elmo-folder-expand-msgdb-path): Ditto.
4253         (elmo-folder-list-subfolders): Ditto.
4254
4255 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4256
4257         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4258         Convert field-name to lower case.
4259         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4260
4261 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4262
4263         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4264         `message' and `error' take format string.
4265
4266 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4267
4268         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4269
4270 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4271
4272         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4273         recursive call (can't byte compile on emacs 20.7).
4274
4275 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4276
4277         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4278         (elmo-folder-list-message-entities): New API.
4279         (elmo-message-entity): Ditto.
4280         (elmo-message-entity-parent): Ditto.
4281         (elmo-folder-do-each-message-entity): Ditto.
4282         (elmo-message-entity-number): Ditto.
4283         (elmo-message-entity-field): Ditto.
4284         (elmo-message-entity-set-field): Ditto.
4285         (elmo-folder-count-flags): Ditto.
4286         (elmo-folder-length): Ditto.
4287
4288         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4289         not.
4290
4291         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4292         (elmo-msgdb-count-marks): Abolish.
4293         (elmo-msgdb-make-entity): Ditto.
4294         (elmo-msgdb-do-each-entity): Ditto.
4295         (elmo-msgdb-message-entity): New inline function.
4296         (elmo-msgdb-message-entity-field): Ditto.
4297         (elmo-msgdb-message-entity-set-field): Ditto.
4298         (elmo-msgdb-make-message-entity): New function.
4299
4300 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4301
4302         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4303         to flag. (All other related portions are changed.)
4304         (elmo-folder-msgdb-create): Likewise.
4305         (elmo-generic-folder-append-messages): Use flag-table instead of
4306         seen-list.
4307         (elmo-folder-move-messages): Removed redundant process.
4308         (elmo-folder-synchronize): Likewise.
4309
4310         * elmo-msgdb.el (elmo-flag-table-get): New function.
4311         (elmo-flag-table-save): Fixed.
4312         (elmo-msgdb-length): New inline function.
4313         (elmo-msgdb-flag-table): New function.
4314         (elmo-msgdb-mark): Add optional argument new.
4315         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4316         (elmo-msgdb-seen-list): Ditto.
4317         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4318
4319
4320 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4321
4322         * elmo.el (elmo-message-set-mark): Abolish.
4323         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4324         (All related portions are changed.)
4325
4326         * elmo-msgdb.el (toplevel): Added comment.
4327         (elmo-load-msgdb): Added 4th element `path'.
4328         (elmo-msgdb-append): Follow the change above.
4329         (elmo-msgdb-clear): Ditto.
4330         (elmo-msgdb-delete-msgs): Ditto.
4331         (elmo-msgdb-get-path): New inline function.
4332         (elmo-msgdb-set-path): Ditto.
4333         (elmo-flag-table-filename): New variable.
4334         (elmo-flag-table-load): New function.
4335         (elmo-flag-table-set): Ditto.
4336         (elmo-flag-table-save): Ditto.
4337         (elmo-msgdb-get-field-value): Abolish.
4338         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4339
4340 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4341
4342         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4343         the folder has been deleted successfully.
4344         * elmo-imap4.el (elmo-folder-delete): Ditto.
4345         * elmo-archive.el (elmo-folder-delete): Ditto.
4346         * elmo-localdir.el (elmo-folder-delete): Ditto.
4347         * elmo-maildir.el (elmo-folder-delete): Ditto.
4348
4349 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4350
4351         * elmo-util.el (elmo-string-member-ignore-case): New function.
4352         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4353         (elmo-imap4-fetch-callback-1-subr): Likewise.
4354
4355 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4356
4357         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4358         the case of the name attribute "\Noselect".
4359
4360 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4361
4362         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4363
4364         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4365         flist, is not always a member of onum-alist.
4366
4367 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4368
4369         * elmo-version.el (elmo-version): Up to 2.11.3.
4370
4371 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4372
4373         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4374         copied from localdir's one.
4375
4376         * elmo-pipe.el (elmo-folder-rename): New method, rename
4377         destination folder with leaving source folder as it is.
4378
4379 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4380
4381         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4382         replace-regexp.
4383
4384 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4385
4386         * elmo-version.el (elmo-version): Up to 2.11.2.
4387
4388 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4389
4390         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4391         shimbun-open in case of "@".
4392         (elmo-folder-open-internal): Cope with shimbun = nil case.
4393         (elmo-folder-plugged-p): Ditto.
4394         (elmo-folder-list-subfolders): Make list for "@/" group.
4395
4396 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4397
4398         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4399         mailbox (e.g. for %~/something).
4400
4401 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4402
4403         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4404         Replace nested conditional with guard clauses.
4405
4406 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4407
4408         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4409         error [wl:11327].
4410
4411         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4412         print-depth.
4413
4414 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4415
4416         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4417         Replace nested conditional with guard clauses.
4418
4419 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4420
4421         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4422         (elmo-passwd-alist-save): Ditto.
4423         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4424
4425 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4426
4427         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4428         dir-name only if it is absolute path.
4429         (TODO: distinguish +/something and +something)
4430
4431 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4432
4433         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4434         path for "+~/something".
4435
4436 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4437
4438         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4439         as non-directory, cause error before rename-file.
4440         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4441         apropriately, mimic localdir's one.
4442         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4443
4444 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4445
4446         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4447
4448 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4449
4450         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4451
4452         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4453         
4454         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4455         is included in the global-mark or not.
4456
4457 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4458
4459         * utf7.el (toplevel): Avoid error when the function
4460         find-coding-system does not exist.
4461
4462 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4463
4464         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4465         cache even if the folder is plugged.
4466         (elmo-nntp-search-primitive): Do nothing when body search is
4467         invoked (although it is not used by the change above).
4468         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4469
4470 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4471
4472         * elmo-version.el (elmo-version): Up to 2.11.1.
4473
4474 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4475
4476         * elmo-archive.el: Specify charset.
4477
4478 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4479
4480         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4481         process buffer lives or not.
4482
4483         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4484         while flushing queues (It causes infinite loop).
4485
4486 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4487
4488         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4489
4490 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4491
4492         * utf7.el (toplevel): Check the ucs features dynamically.
4493         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4494
4495         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4496         folder is creatabe or not if it already exists.
4497
4498 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4499
4500         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4501
4502         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4503
4504         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4505         (elmo-imap4-read-response): Take care of garbage response.
4506
4507 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4508
4509         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4510         just return nil instead of error.
4511
4512 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4513
4514         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4515         search-key is "body".
4516
4517 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4518
4519         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4520         of elmo-string-matched-assoc to use match-data.
4521         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4522
4523 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4524
4525         * elmo-split.el (elmo-split->): New function.
4526         (elmo-split-<): Ditto.
4527
4528 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4529
4530         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4531         workaround for invalid message-id.
4532
4533 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4534
4535         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4536         return normal pop3 session or pop3 biff session.
4537
4538 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4539
4540         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4541         info part to the cur files when the new files already have it.
4542         (Adviced by Jared Rhine <jared@wordzoo.com>)
4543
4544 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4545
4546         * elmo-split.el (elmo-split-default-action): New variable.
4547         (elmo-split-subr): Use it if all other conditions are passed.
4548         Extend `fname' and rename it as `action'. (implemented
4549         Teranishi-san's idea in [wl:10800])
4550
4551 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4552
4553         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4554         * elmo-util.el: Ditto.
4555
4556 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4557
4558         * elmo.el (elmo-message-accessible-p): Renamed from
4559         elmo-message-cached-p and rewritten.
4560
4561 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4562
4563         * elmo.el (elmo-folder-list-flagged): New generic function.
4564         (elmo-folder-list-importants): New implementation.
4565         (elmo-folder-list-answereds): Ditto.
4566         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4567         Added 'digest'.
4568         (elmo-message-cached-p): New function.
4569         (elmo-message-set-flag): Ditto (no content).
4570         (elmo-message-unset-flag): Ditto.
4571         (elmo-folder-list-messages-mark-match): Abolish.
4572
4573         * elmo-util.el (elmo-regexp-opt): New function.
4574
4575         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4576         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4577         Added 'digest'.
4578         (elmo-msgdb-list-flagged): New function.
4579
4580         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4581         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4582         Added 'digest'.
4583
4584         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4585
4586 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4587
4588         * elmo-version.el (elmo-version): Up to 2.11.0.
4589
4590 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4591
4592         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4593         `elmo-file-cache-exists-p'; use proper mark that depends on
4594         `use-cache'.
4595         (elmo-msgdb-unset-flag): Ditto.
4596         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4597
4598         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4599         with 4th argument `use-cache'.
4600
4601 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4602
4603         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4604         (elmo-folder-mark-as-important): Ditto.
4605         (elmo-folder-unmark-read): Ditto.
4606         (elmo-folder-mark-as-read): Ditto.
4607         (elmo-folder-unmark-answered): Ditto.
4608         (elmo-folder-mark-as-answered): Ditto.
4609
4610         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4611         message status.
4612         (elmo-msgdb-mark): Likewise.
4613         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4614         (elmo-msgdb-unset-flag): Likewise.
4615
4616         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4617
4618 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4619
4620         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4621         `last:' filter.
4622
4623 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4624
4625         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4626         set spool-length to 0.
4627
4628 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4629
4630         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4631         (elmo-dop-queue-flush): Fixed last change.
4632
4633 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4634
4635         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4636         if require-msgdb slot is nil.
4637         (elmo-folder-list-importants): Likewise.
4638
4639 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4640
4641         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4642         mark is changed.
4643
4644         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4645         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4646         is changed.
4647
4648 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4649
4650         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4651
4652 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4653
4654         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4655
4656         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4657
4658 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4659
4660         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4661         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4662
4663 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4664
4665         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4666         the problem reported by Sean Rima [wl-en:180].
4667
4668 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4669
4670         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4671
4672         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4673
4674         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4675
4676         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4677
4678         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4679
4680         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4681
4682         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4683
4684 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4685
4686         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4687         status number.
4688
4689 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4690
4691         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4692         (elmo-folder-mark-as-read): Follow the API change.
4693         (elmo-message-set-cached): New function.
4694
4695         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4696
4697         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4698
4699         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4700         (elmo-folder-mark-as-important): Ditto.
4701         (elmo-folder-unmark-read): Ditto.
4702         (elmo-folder-mark-as-read): Ditto.
4703         (elmo-folder-unmark-answered): Ditto.
4704         (elmo-folder-mark-as-answered): Ditto.
4705
4706         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4707         (elmo-folder-unmark-important): Ditto.
4708         (elmo-folder-mark-as-read): Ditto.
4709         (elmo-folder-unmark-read): Ditto.
4710         (elmo-folder-mark-as-answered): Ditto.
4711         (elmo-folder-unmark-answered): Ditto.
4712
4713         * elmo-mark.el (toplevel): Removed some mark method definitions.
4714
4715         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4716         (elmo-map-folder-mark-as-answered): Ditto.
4717         (elmo-folder-unmark-important): Add :before qualifier.
4718         (elmo-folder-mark-as-important): Ditto.
4719         (elmo-folder-unmark-read): Ditto.
4720         (elmo-folder-mark-as-read): Ditto.
4721         (elmo-folder-unmark-answered): Define.
4722         (elmo-folder-mark-as-answered): Ditto.
4723
4724         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4725         (elmo-map-folder-unmark-answered): Ditto.
4726
4727         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4728
4729         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4730         (elmo-folder-mark-as-important): Ditto.
4731         (elmo-folder-unmark-read): Ditto.
4732         (elmo-folder-mark-as-read): Ditto.
4733         (elmo-folder-unmark-answered): Ditto.
4734         (elmo-folder-mark-as-answered): Ditto.
4735
4736         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4737         `mark'; evaluate mark condition.
4738         (elmo-msgdb-match-condition-internal): New function.
4739         (elmo-msgdb-match-condition): Call it; changed argument.
4740
4741         * elmo.el (elmo-folder-search): Follow the API change on
4742         `elmo-msgdb-match-condition'.
4743
4744 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4745
4746         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4747         original mark is non-nil.
4748
4749 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4750
4751         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4752         (elmo-map-folder-list-answereds): New method.
4753         (elmo-folder-list-unreads): Add :around qualifier.
4754         (elmo-folder-list-importants): Ditto.
4755         (elmo-folder-list-answereds): Ditto.
4756
4757 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4758
4759         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4760
4761         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4762         method if msgdb is not required.
4763         (elmo-filter-folder-list-importants): Don't treat global-mark.
4764
4765         * elmo.el (elmo-folder-list-importants): Ditto.
4766
4767         * elmo-net.el (elmo-folder-list-importants): Ditto.
4768
4769         * elmo-map.el (elmo-folder-list-importants): Ditto.
4770
4771         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4772
4773         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4774         (elmo-imap4-folder-list-any-plugged): New function.
4775         (elmo-imap4-search-internal-primitive): Use it.
4776
4777         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4778         only when require-msgdb slot is non-nil.
4779         (elmo-folder-close): Clear target folder's msgdb.
4780
4781 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4782
4783         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4784         (elmo-pop3-msgdb-create-by-header): Ditto.
4785         (elmo-pop3-msgdb-create-message): Ditto.
4786
4787         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4788
4789         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4790
4791         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4792
4793         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4794         (elmo-folder-msgdb-create): Ditto.
4795         (elmo-nntp-folder-msgdb-create): Ditto.
4796         (elmo-nntp-msgdb-create-by-header): Ditto.
4797         (elmo-nntp-msgdb-create-message): Ditto.
4798         (elmo-folder-list-unreads): Define.
4799
4800         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4801         (elmo-folder-append-messages): Ditto.
4802         (elmo-folder-list-unreads): Define.
4803         (elmo-folder-list-importants): Ditto.
4804         (elmo-folder-list-answereds): Ditto.
4805
4806         * elmo-net.el (elmo-folder-list-unreads): Define.
4807         (elmo-folder-list-importants): Ditto.
4808         (elmo-folder-list-answereds): Ditto.
4809         (elmo-folder-list-answereds-plugged): Ditto.
4810         (elmo-folder-msgdb-create): Follow the API change.
4811         (elmo-folder-msgdb-create-unplugged): Ditto.
4812         (elmo-folder-unmark-answered): Define.
4813         (elmo-folder-mark-as-answered-unplugged): Ditto.
4814         (elmo-folder-unmark-answered-unplugged): Ditto.
4815
4816         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4817         (elmo-msgdb-unread-uncached-mark): Ditto.
4818         (elmo-msgdb-unread-cached-mark): Ditto.
4819         (elmo-msgdb-read-uncached-mark): Ditto.
4820         (elmo-msgdb-answered-cached-mark): Ditto.
4821         (elmo-msgdb-answered-uncached-mark): Ditto.
4822         (elmo-msgdb-important-mark): Ditto.
4823         (elmo-msgdb-set-mark): Rewrite.
4824         (elmo-msgdb-count-marks): Rewrite.
4825         (elmo-msgdb-mark-alist-set): Abolish.
4826         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4827         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4828
4829         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4830         (elmo-folder-close): Define.
4831         (elmo-folder-msgdb-create): Follow the API change.
4832         (elmo-folder-list-unreads): Rewrite.
4833         (elmo-folder-mark-as-important): Ditto.
4834         (elmo-folder-unmark-important): Ditto.
4835         (elmo-folder-mark-as-read): Ditto.
4836         (elmo-folder-unmark-read): Ditto.
4837         (elmo-folder-mark-as-answered): Define.
4838         (elmo-folder-unmark-answered): Ditto.
4839
4840         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4841         (elmo-folder-append-messages): Ditto.
4842
4843         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4844
4845         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4846         (elmo-folder-list-importants): Ditto.
4847
4848         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4849         (elmo-folder-append-messages): Ditto.
4850
4851         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4852         change.
4853         (elmo-folder-msgdb-create-plugged): Ditto.
4854         (elmo-folder-append-messages): Ditto.
4855         (elmo-folder-list-answereds-plugged): Define.
4856         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4857         (elmo-folder-unmark-answered-plugged): Define.
4858         (elmo-folder-mark-as-answered-plugged): Ditto.
4859         (elmo-folder-search-requires-msgdb-p): Ditto.
4860
4861         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4862         (elmo-folder-initialize): Set it.
4863         (elmo-folder-msgdb): Define.
4864         (elmo-folder-check): Call elmo-folder-synchronize.
4865         (elmo-folder-close): Define.
4866         (elmo-folder-commit): Ditto.
4867         (elmo-folder-msgdb-create): Rewrite.
4868         (elmo-folder-list-unreads): Ditto.
4869         (elmo-folder-list-importants): Ditto.
4870         (elmo-folder-mark-as-read): Ditto.
4871         (elmo-folder-unmark-read): Ditto.
4872         (elmo-folder-mark-as-important): Ditto.
4873         (elmo-folder-unmark-important): Ditto.
4874         (elmo-folder-mark-as-answered): Define.
4875         (elmo-folder-unmark-answered): Ditto.
4876
4877         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4878         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4879         (elmo-dop-queue-method-name-alist): Likewise.
4880         (elmo-folder-mark-as-answered-dop): New inline function.
4881         (elmo-folder-unmark-answered-dop): Ditto.
4882         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4883
4884         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4885         (elmo-folder-msgdb-create): Ditto.
4886         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4887         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4888         (elmo-archive-parse-mmdf): Ditto.
4889
4890         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4891         (elmo-folder-list-unreads-internal): Ditto.
4892
4893         * elmo.el (elmo-folder-msgdb): Define as generic function.
4894         (elmo-folder-list-messages): Added argument `in-msgdb'.
4895         (elmo-folder-list-unreads): Define as generic function.
4896         (elmo-folder-list-importants): Ditto.
4897         (elmo-folder-list-answereds): Ditto.
4898         (elmo-folder-list-messages-with-global-mark): New function.
4899         (elmo-folder-msgdb-create): Removed mark arguments.
4900         (elmo-folder-unmark-answered): New generic function.
4901         (elmo-folder-mark-as-answered): Ditto.
4902         (elmo-folder-append-messages): Removed argunment `unread-marks'
4903         (elmo-folder-list-unreads-internal): Abolish.
4904         (elmo-folder-list-importants-internal): Ditto.
4905         (elmo-folder-search-requires-msgdb-p): New generic function.
4906         (elmo-folder-search-requires-msgdb-p-internal): New function.
4907         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4908         elmo-msgdb-load.
4909         (elmo-folder-search-fast): Added key 'mark'.
4910         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4911         instead of unread-marks argument.
4912         (elmo-folder-move-messages): Removed argunment `unread-marks'
4913         (elmo-folder-unmark-important): Define.
4914         (elmo-folder-mark-as-important): Ditto.
4915         (elmo-folder-unmark-read): Ditto.
4916         (elmo-folder-mark-as-read): Ditto.
4917         (elmo-folder-unmark-answered): Ditto.
4918         (elmo-folder-mark-as-answered): Ditto.
4919         (elmo-folder-replace-marks): Abolish.
4920         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4921         duplicates.
4922         (elmo-folder-synchronize): Removed mark arguments;
4923         return crosspost only number.
4924
4925 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4926
4927         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4928         Remove redundunt connectivity check.
4929
4930 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4931
4932         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4933         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4934
4935 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4936
4937         * pldap.el (ldap-decode-string): Return string as-is if
4938         `ldap-coding-system' is nil.
4939         (ldap-encode-string): Ditto.
4940         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4941         (ldap-default-host): Fixed docstring.
4942
4943 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4944
4945         * elmo-util.el (elmo-warning): Define as a macro which uses
4946         `display-warning' if it is defined as a function.
4947
4948         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4949         (elmo-split-equal): Use it.
4950         (elmo-split-match): Ditto.
4951         (elmo-split-message-entity): New buffer-local variable.
4952         (elmo-split-subr): Set it.
4953
4954         * elmo-version.el (elmo-version): Up to 2.9.15.
4955
4956 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4957
4958         * elmo-imap4.el (elmo-network-initialize-session):
4959         Check capability after starttls.
4960
4961 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4962
4963         * elmo-util.el (elmo-list-delete): Added optional argument
4964         DELETE-FUNCTION.
4965
4966         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4967
4968         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4969
4970         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4971
4972         * elmo-imap4.el (elmo-folder-initialize): Don't use
4973         elmo-imap4-default-mailbox.
4974
4975 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4976
4977         * elmo-split.el (toplevel): Use `product-provide'.
4978         (elmo-split): Checkdoc.
4979
4980 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4981
4982         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4983         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4984         the function `elmo-imap4-debug-1'.
4985
4986 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4987
4988         * elmo-split.el (elmo-split): Moved to run hooks and to show
4989         message from elmo-split-subr.
4990         (elmo-split-subr): Follow the change above.
4991
4992         * elmo-split.el (elmo-split-subr): New function (renamed from
4993         elmo-split-subr).
4994         (elmo-split): Changed to call elmo-split-subr by element of
4995         elmo-split-folder.
4996         (elmo-split-folder): Changed customization type to choice.
4997
4998 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4999
5000         * elmo-split.el (elmo-split-and): Fixed condition.
5001
5002 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5003
5004         * elmo-split.el: New file.
5005         (elmo-split): Fixed logic.
5006         Display "Test:" instead of "Folder:" when reharsal.
5007
5008         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5009         explicitly.
5010
5011         * elmo-version.el (elmo-version): Up to 2.9.14.
5012
5013         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5014         wl-expand-newtext).
5015
5016 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5017
5018         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5019         message with no message-id field.
5020
5021 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5022
5023         * elmo-version.el (elmo-version): Up to 2.9.13.
5024
5025         * elmo-dop.el (elmo-folder-status-dop): Fix.
5026
5027 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5028
5029         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5030
5031         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5032         changing default value of default-mime-charset.
5033         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5034
5035         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5036
5037         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5038         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5039         instead of elmo-dop-queue-method-name-alist to check merging queue.
5040         (elmo-folder-delete-messages-dop): Delete from queue if negative
5041         message number.
5042         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5043         file is already removed.
5044
5045 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5046
5047         * elmo-vars.el: Bind colon keywords for old Emacsen.
5048
5049 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5050
5051         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5052         against non-exsisting charset.
5053
5054 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5055
5056         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5057         Use eword-decode-and-unfold-unstructured-field-body.
5058
5059         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5060         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5061         exists to decode raw subject string.
5062         (toplevel): Require 'mime.
5063
5064         * elmo-version.el (elmo-version): Up to 2.9.12.
5065
5066 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5067
5068         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5069         (elmo-msgdb-set-mark): Ditto.
5070
5071         * elmo-version.el (elmo-version): Up to 2.9.11.
5072
5073 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5074
5075         * elmo-util.el (elmo-delete-match-files): New function.
5076
5077         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5078         instead of elmo-delete-directory.
5079
5080         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5081         elmo-hash-minimun-size as 63.
5082
5083         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5084         elmo-diff-unread is nil.
5085
5086         * elmo-imap4.el (elmo-folder-open): Fix.
5087
5088         * elmo.el (elmo-message-mark): Rewrite.
5089         (elmo-message-field): Ditto.
5090         (elmo-message-set-mark): Ditto.
5091         (elmo-folder-replace-marks): New function.
5092         (elmo-generic-folder-append-msgdb): Removed third argument for
5093         elmo-msgdb-append.
5094         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5095         (elmo-msgdb-load): New implementation.
5096
5097         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5098
5099         * elmo-util.el (elmo-list-insert): New implementation.
5100
5101         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5102         argument for elmo-msgdb-append.
5103         
5104
5105         * elmo-msgdb.el (elmo-load-msgdb): New function.
5106         (elmo-make-msgdb): Ditto.
5107         (elmo-msgdb-get-index): New inline function.
5108         (elmo-msgdb-set-index): Ditto.
5109         (elmo-msgdb-get-entity-hashtb): Ditto.
5110         (elmo-msgdb-get-mark-hashtb): Ditto.
5111         (elmo-msgdb-get-mark): Ditto.
5112         (elmo-msgdb-set-mark): Ditto.
5113         (elmo-msgdb-count-marks): Ditto.
5114         (elmo-msgdb-get-number): Ditto.
5115         (elmo-msgdb-get-field): Ditto.
5116         (elmo-msgdb-seen-list): Ditto.
5117         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5118         (elmo-msgdb-delete-msgs): Follow the changes above.
5119         (elmo-msgdb-overview-get-entity): Ditto.
5120         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5121         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5122         and rewritten.
5123         (elmo-msgdb-make-index): Likewise.
5124         (elmo-msgdb-append): Removed third argument.
5125         (elmo-msgdb-clear): Clear index as nil.
5126         (elmo-folder-set-info-hashtb): Removed.
5127         (elmo-folder-set-info-max-by-numdb): Ditto.
5128         (elmo-folder-info-make-hashtb): Ditto.
5129
5130         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5131
5132         * elmo-map.el (elmo-folder-pack-number): Ditto.
5133
5134 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5135
5136         * elmo-version.el (elmo-version): Up to 2.9.10.
5137
5138         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5139
5140         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5141
5142 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5143
5144         * elmo-utils.el (elmo-make-directory): Add option.
5145         Default file mode is 700.
5146
5147 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5148
5149         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5150
5151 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5152
5153         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5154         mime-charset.
5155
5156         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5157         and "smaller".
5158
5159 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5160
5161         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5162         (elmo-shimbun-folder-entity-hash): New function.
5163         (elmo-shimbun-folder-shimbun-header): Ditto.
5164         (elmo-shimbun-entity-to-header): Ditto.
5165         (elmo-shimbun-msgdb-to-headers): Removed.
5166         (elmo-shimbun-folder-setup): Ditto.
5167         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5168         for hash key.
5169         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5170         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5171         Removed useless local bind.
5172         (elmo-folder-open-internal): Don't call
5173         `elmo-shimbun-folder-setup'.
5174         (elmo-folder-close-internal): Clear entity-hash slot.
5175         (elmo-folder-clear): Ditto.
5176         (elmo-shimbun-msgdb-create-entity): Use
5177         `elmo-shimbun-folder-shimbun-header'.
5178         (elmo-map-message-fetch): Ditto.
5179         (elmo-shimbun-update-overview): Use overview entity instead of
5180         shimbun header to lookup id by references.
5181         (elmo-map-folder-list-message-locations): Use not only headers but
5182         also overviews to list locations.
5183
5184 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5185
5186         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5187         msgdb path.
5188
5189         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5190
5191 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5192
5193         * elmo-util.el (elmo-read-search-condition-internal): Give default
5194         value for date.
5195
5196 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5197
5198         * elmo-util.el (elmo-condition-parse-search-value): Accept
5199         YYYY-MM-DD format to search.
5200         * elmo-date.el (elmo-date-get-datevec): Likewise.
5201
5202 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5203
5204         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5205         debugging code.
5206
5207 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5208
5209         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5210         from t.
5211
5212         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5213
5214         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5215         case from `elmo-folder-exists-p'.
5216         (elmo-folder-exists-p): Removed.
5217         (elmo-folder-creatable-p) Ditto.
5218
5219         * elmo-net.el (elmo-folder-create): Defined.
5220         (elmo-folder-create-unplugged): New function.
5221         (elmo-folder-exists-p): Changed default value to nil from t.
5222
5223         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5224         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5225
5226         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5227         `elmo-create-folder-dop' and append queue
5228         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5229         (elmo-folder-create-dop-delayed): New function.
5230
5231         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5232
5233         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5234
5235         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5236         (elmo-folder-writable-p) : Ditto.
5237
5238         * elmo-version.el (elmo-version): Up to 2.9.9.
5239
5240 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5241
5242         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5243         `elmo-message-use-cache-p' returns nil.
5244         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5245         (ignore cache file and refer the substance in local folders)
5246
5247 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5248
5249         * elmo-version.el (elmo-version): Up to 2.9.8.
5250
5251 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5252
5253         * elmo-version.el (elmo-version): Up to 2.9.7.
5254
5255         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5256
5257 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5258
5259         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5260
5261 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5262
5263         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5264         from --early.
5265         (elmo-map-folder-list-message-locations): Reverse location list.
5266
5267 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5268
5269         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5270
5271 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5272
5273         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5274         as a key.
5275         (elmo-nntp-folder-list-subfolders): Follow the change above.
5276
5277 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5278
5279         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5280         name if authentication type is specified.
5281
5282 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5283
5284         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5285         variable.
5286         (elmo-default-nntp-stream-type): Ditto.
5287         (elmo-default-pop3-stream-type): Ditto.
5288
5289 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5290
5291         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5292
5293 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5294
5295         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5296         elmo-vars.el.
5297         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5298
5299         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5300         (elmo-maildir-folder-path): Ditto.
5301         (elmo-maildir-list): Ditto (abolished).
5302
5303 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5304
5305         * elmo-version.el (elmo-version): Up to 2.9.6.
5306
5307 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5308
5309         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5310         (elmo-maildir-folder-path): Ditto.
5311         (elmo-msgdb-directory): Ditto.
5312         (elmo-passwd-life-time): Ditto.
5313         (elmo-msgdb-extra-fields): Ditto.
5314         (elmo-enable-disconnected-operation): Ditto.
5315
5316 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5317
5318         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5319         other choices.
5320         (elmo-pop3-default-authenticate-type): Ditto.
5321
5322 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5323
5324         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5325         choices for custom.
5326         (elmo-pop3-default-authenticate-type): Ditto.
5327
5328 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5329
5330         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5331         mailbox to new-folder.
5332
5333 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5334
5335         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5336         less than new, set new as unread.
5337
5338         * elmo-util.el (elmo-string): Don't put text-property if nil.
5339
5340 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5341
5342         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5343         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5344
5345 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5346
5347         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5348         is nil on `completing-read'.
5349
5350 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5351
5352         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5353         for namespace part.
5354         (elmo-imap4-parse-namespace-subr): Ditto.
5355         (elmo-folder-list-subfolders): Append a delimiter when the specified
5356         folder path is a root with namespace and does not end with delimiter.
5357
5358 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5359
5360         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5361         was used.
5362
5363 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5364
5365         * elmo-util.el (elmo-save-buffer): The first argument of message
5366         is a format control string.
5367
5368 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5369
5370         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5371         `elmo-folder-diff').
5372         (elmo-diff-unread): Likewise.
5373
5374 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5375
5376         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5377         is t on `completing-read'.
5378
5379 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5380
5381         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5382         method of target folder with self mark-alist if MARK-ALIST is nil.
5383
5384 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5385
5386         * elmo-version.el (elmo-version): Up to 2.9.5.
5387
5388 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5389
5390         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5391         (elmo-dop-merge-funcs): Remove.
5392
5393 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5394
5395         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5396         Return t if PATH is directory, too.
5397         Use `dolist' instead of while loop.
5398
5399 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5400
5401         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5402         is deleted.
5403
5404 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5405
5406         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5407         return value to t.
5408         (elmo-folder-list-messages-unplugged): Return t if
5409         elmo-enable-disconnected-operation is nil.
5410
5411         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5412         `elmo-folder-list-messages-internal'.
5413
5414 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5415
5416         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5417         Change to looking-at `[23][0-9]+'.
5418         (elmo-network-initialize-session): Use 'error-msg'
5419         * elmo-net.el (elmo-network-open-session): Set unplugged
5420         if elmo-network-initialize-session returns 'elmo-open-err.
5421
5422 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5423
5424         * elmo-version.el (elmo-version): Up to 2.9.4.
5425
5426 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5427
5428         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5429         `elmo-folder-list-messages-internal'.
5430
5431 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5432
5433         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5434         (elmo-message-match-condition): New method.
5435         (elmo-folder-search-fast): New inline function.
5436         (elmo-msgdb-search): Removed.
5437
5438         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5439         target folder if it is unplugged.
5440         (elmo-folder-list-messages-internal): Return t if target folder is
5441         unplugged and itself is persistent; In this case, use list be
5442         searched already.
5443
5444         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5445         (elmo-msgdb-search-internal-primitive): Ditto.
5446         (elmo-msgdb-match-condition): New function.
5447         (elmo-msgdb-match-condition-primitive): Ditto.
5448
5449         * elmo-util.el (elmo-filter-condition-p): New macro.
5450
5451         * elmo-cache.el (elmo-folder-search): Removed.
5452
5453         * elmo-localdir.el (elmo-folder-search): Ditto.
5454
5455         * elmo-maildir.el (elmo-folder-search): Ditto.
5456
5457         * elmo-mark.el (elmo-folder-search): Ditto.
5458
5459         * elmo-nmz.el (elmo-folder-search): Ditto.
5460
5461         * elmo-sendlog.el (elmo-folder-search): Ditto.
5462
5463         * elmo-shimbun.el (elmo-folder-search): Ditto.
5464
5465         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5466         if folder is unplugged.
5467
5468         * elmo-nntp.el (elmo-folder-search): Likewise.
5469         (elmo-nntp-search-internal): New function.
5470
5471         * elmo-version.el (elmo-version): Up to 2.9.3.
5472
5473 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5474
5475         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5476
5477 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5478
5479         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5480
5481 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5482
5483         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5484
5485 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5486
5487         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5488         (elmo-map-folder-list-message-locations): Do drive letter conversion
5489         on Windows environment.
5490         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5491         (elmo-map-message-fetch): Ditto.
5492
5493 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5494
5495         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5496         (elmo-network-initialize-session): Ditto.
5497
5498 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5499
5500         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5501
5502         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5503
5504         * elmo-util.el (elmo-progress-clear): Ditto.
5505
5506         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5507         `DD-Mon-YYYY' type date.
5508
5509 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5510
5511         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5512         `elmo-date-make-sortable-string' instead of
5513         `timezone-make-date-sortable'.
5514
5515         * elmo-date.el (elmo-date-make-sortable-string): Use
5516         `timezone-make-time-string'.
5517
5518 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5519
5520         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5521
5522         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5523         `since'; Fix timezone.
5524
5525         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5526
5527         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5528
5529 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5530
5531         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5532
5533 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5534
5535         * elmo.el (elmo-generic-folder-append-messages): Make
5536         fetch-strategy with `use-cache' as 'maybe. Check return value of
5537         `elmo-message-fetch'.
5538         (elmo-message-fetch): Return return value of
5539         `elmo-message-fetch-with-cache-process'.
5540         (elmo-message-fetch-with-cache-process): Return non-nil if
5541         fetching was succeed. Load cache when fetching was failed and
5542         fetch-strategy-use-cache is 'maybe.
5543
5544         * elmo-util.el (elmo-file-cache-load): New function.
5545
5546         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5547         defun.
5548
5549         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5550         non-nil if fetching was succeed.
5551
5552         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5553
5554         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5555
5556         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5557         (elmo-message-fetch-with-cache-process): Likwise.
5558
5559         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5560
5561         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5562
5563         * elmo-version.el (elmo-version): Up to 2.9.2.
5564
5565 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5566
5567         * elmo.el (elmo-folder-delete): Delete msgdb path.
5568
5569         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5570
5571         * elmo-maildir.el (elmo-folder-delete): Ditto.
5572
5573         * elmo-localdir.el (elmo-folder-delete): Ditto.
5574
5575         * elmo-imap4.el (elmo-folder-delete): Ditto.
5576
5577 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5578
5579         * elmo.el (luna-define-class): Added `biff' slot.
5580
5581         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5582         (elmo-pop3-debug-inhibit-logging): Abolished.
5583         (elmo-network-close-session): Eliminated needless let.
5584         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5585         (elmo-pop3-send-command): Added `no-log' argument.
5586         (elmo-pop3-process-filter): Use `with-current-buffer'.
5587         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5588         if login failure.
5589         (elmo-pop3-auth-apop): Likewise.
5590         (elmo-network-authenticate-session): Likewise.
5591
5592         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5593         if biff folder.
5594
5595         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5596         string to determine protocol.
5597         (elmo-network-session-name-prefix): Abolished.
5598         (elmo-network-session-cache-key): Follow the change above.
5599         (elmo-network-open-session): Ditto.
5600
5601         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5602         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5603
5604         * elmo-version.el (elmo-version): Up to 2.9.1.
5605
5606         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5607         unmatch condition checking.
5608
5609         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5610         condition.
5611
5612 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5613
5614         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5615
5616 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5617
5618         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5619         test for while loop to execute at least one SEARCH command.
5620
5621 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5622
5623         * elmo-version.el (elmo-version): Up to 2.9.0.
5624
5625 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5626
5627         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5628         (elmo-archive-folder-path): Define.
5629         (elmo-folder-initialize): Setup `dir-name' slot.
5630         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5631         Use `dir-name' as prefix of each subfolders.
5632         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5633
5634 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5635
5636         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5637         (elmo-pipe-folder-list-target-messages): New internal function.
5638         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5639         `killed-list'.
5640         (elmo-pipe-folder-copied-list-load): New function.
5641         (elmo-pipe-folder-copied-list-save): Ditto.
5642         (elmo-folder-open-internal): Follow the change above.
5643         (elmo-folder-status): Fixed for copy.
5644
5645 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5646
5647         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5648
5649 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5650
5651         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5652         elmo-copy-file instead of elmo-add-name-to-file.
5653
5654         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5655
5656         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5657         "file://..." index.
5658
5659         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5660         of accept-process-output as 1.
5661         (elmo-pop3-read-contents): Ditto.
5662         (elmo-pop3-read-body): Ditto.
5663
5664 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5665
5666         * elmo-version.el (product-version-as-string): Remove define.
5667
5668 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5669
5670         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5671         (elmo-imap4-copy-messages): Chop number set using
5672         `elmo-imap4-number-set-chop-length'.
5673         (elmo-imap4-set-flag): Ditto.
5674         (elmo-imap4-search-internal-primitive): Ditto.
5675
5676 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5677
5678         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5679         `elmo-folder-make-temp-dir'
5680
5681         * elmo-vars.el (elmo-cache-directory): New variable.
5682         (elmo-cache-dir): Abolished.
5683         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5684
5685         * elmo-version.el (elmo-version): Up to 2.7.7.
5686
5687 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5688
5689         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5690         defcustom; Set default value as t.
5691
5692 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5693
5694         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5695         (ldap-search-program-arguments): Changed default value.
5696         (ldap-search-basic): Accept exit status 4.
5697         (ldap/field-body): Parse options.
5698         (ldap/collect-field): Ditto.
5699         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5700
5701         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5702         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5703         (elmo-imap4-accept-ok): Ditto.
5704         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5705         'notify-bye, only BYE error is reported.
5706         (elmo-folder-exists-p-plugged): Set no-error argument of
5707         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5708
5709         * elmo.el (elmo-imap4-bye-error): Changed message.
5710
5711         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5712         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5713         queues (It causes infinite loop).
5714
5715 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5716
5717         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5718         (RECENT UNSEEN MESSAGES) extension.
5719
5720 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5721
5722         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5723         Check number of overview fields.
5724
5725 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5726
5727         * elmo.el (elmo-folder-confirm-appends): Changed message.
5728         (elmo-folder-confirm-appends): Ditto.
5729
5730         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5731         `with-temp-buffer'.
5732         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5733
5734 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5735
5736         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5737         of elmo-folder-update-threshold is nil, which can be set by
5738         wl-summary-update-confirm-threshold.
5739
5740 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5741
5742         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5743         (elmo-nmz-index-alias-alist): Ditto.
5744         (elmo-map-folder-list-message-locations): Follow the change above.
5745
5746 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5747
5748         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5749
5750         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5751
5752         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5753
5754         * elmo-util.el (elmo-read): Ditto.
5755         (elmo-display-error): Ditto.
5756
5757         * elmo-vars.el (elmo-date-match): Ditto.
5758
5759         * pldap.el (ldap-coding-system): Ditto.
5760
5761         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5762         `elmo-inhibit-number-mapping' as nil.
5763
5764 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5765
5766         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5767         space delimiter for list response.
5768
5769 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5770
5771         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5772
5773 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5774
5775         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5776         (elmo-map-message-fetch): Fix.
5777         * elmo-map.el (elmo-folder-status): Fix for killed.
5778
5779 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5780
5781         * elmo-sendlog.el: New file.
5782         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5783
5784 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5785
5786         * acap.el (acap-logging-out): New buffer local variable.
5787         (acap-close): Set it.
5788         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5789         an error.
5790
5791 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5792
5793         * acap.el (acap-response-bye-p): New function.
5794         (acap-response-bye-message): Ditto.
5795         (acap-wait-for-response): If bye response is received, cause an error.
5796         (acap-parse-response): Make bye response when 'Bye' is received.
5797
5798 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5799
5800         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5801
5802 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5803
5804         * elmo-util.el (elmo-copy-file): Added argument
5805         `ok-if-already-exists'.
5806         (elmo-copy-file): Fixed typo.
5807
5808 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5809
5810         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5811
5812 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5813
5814         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5815
5816 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5817
5818         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5819         to killed-list.
5820
5821 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5822
5823         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5824         (elmo-folder-initialize): Fix for `copy'.
5825         (elmo-pipe-drain): Ditto.
5826         (elmo-folder-open-internal): Ditto.
5827         (elmo-folder-newsgroups): Fix.
5828
5829 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5830
5831         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5832         for each message.
5833
5834         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5835         recent value is returned from imap folder.
5836
5837         * elmo.el (elmo-folder-newsgroups): New generic function.
5838
5839         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5840         (elmo-folder-initialize): Set it.
5841         (elmo-folder-expand-msgdb-path): Use it.
5842         (elmo-folder-newsgroups): Define.
5843
5844         * elmo-filter.el (elmo-folder-newsgroups): Define.
5845
5846         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5847
5848         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5849
5850         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5851
5852 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5853
5854         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5855         user option.
5856         (elmo-shimbun-header-extra-field): New inline function.
5857         (elmo-shimbun-header-set-extra-field): Ditto.
5858         (elmo-shimbun-folder-header-hash-setup): Ditto.
5859         (elmo-shimbun-update-overview): Ditto.
5860         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5861         (elmo-shimbun-folder-setup): Use
5862         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5863         (elmo-shimbun-get-headers): Ditto.
5864         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5865         Insert `X-Shimbun-Id:' header if extra field is set.
5866         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5867         field's value instead of `shimbun-header-id'.
5868
5869         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5870         inline function.
5871         (elmo-msgdb-overview-entity-set-date): Ditto.
5872         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5873
5874 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5875
5876         * mmimap.el (mmimap-entity-section): Changed body node number from
5877         "0" to "1".
5878
5879 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5880
5881         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5882         `elmo-folder-delete-messages'.
5883
5884         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5885         (elmo-folder-initialize): Changed to expand alias into index path.
5886
5887         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5888         `elmo-mime-insert-header-from-buffer' with 6th arg
5889         `sorted-fields'.
5890
5891 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5892
5893         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5894
5895         * elmo.el (elmo-diff-new): New inline function.
5896         (elmo-diff-unread): Ditto.
5897         (elmo-diff-all): Ditto.
5898
5899         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5900         value from responseb.
5901         (elmo-imap4-folder-diff-plugged): Ditto.
5902         (elmo-imap4-server-diff-async): Added recent argument.
5903         (elmo-server-diff-async): Ditto.
5904         (elmo-imap4-folder-diff-plugged): Ditto.
5905
5906         * elmo-version.el (elmo-version): Up to 2.7.6.
5907
5908 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5909
5910         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5911         in quoted-stirng.
5912
5913 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5914
5915         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5916
5917         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5918
5919         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5920
5921         * elmo-multi.el (elmo-folder-initialize): Ditto.
5922
5923         * elmo-util.el (elmo-parse-token): New function.
5924         (elmo-parse-prefixed-element): Ditto.
5925
5926 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5927
5928         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5929         delete process.
5930         (elmo-imap4-accept-ok): Ditto.
5931
5932 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5933
5934         * mmimap.el (mime-imap-entity-header-string): Don't check first
5935         element of node-id is `0' (Follow last change).
5936
5937 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5938
5939         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5940         assigned irregular node-id to nested multipart section.
5941         (initialize-instance): Followed above change.
5942
5943 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5944
5945         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5946         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5947         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5948         `elmo-shimbun-get-headers');
5949         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5950         visible article on summary exists in headers).
5951         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5952
5953 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5954
5955         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5956         definition.
5957
5958 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5959
5960         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5961
5962 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5963
5964         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5965         header separator into loop condition.
5966
5967 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5968
5969         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5970         Return duplicate folder if it has subfolder.
5971
5972 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5973
5974         * elmo.el (elmo-make-folder): Add folder name error check.
5975
5976         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5977         (elmo-nntp-encode-group-string): New inline function.
5978         (elmo-nntp-decode-group-string): Ditto.
5979         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5980         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5981         Use `not' instead of `null';
5982         Use elmo-nntp-decode-group-string.
5983
5984         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5985
5986         * elmo-version.el (elmo-version): Up to 2.7.5.
5987
5988 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5989
5990         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5991         Hide progress gauge if `elmo-folder-move-messages' exits
5992         nonlocally.
5993
5994 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5995
5996         * elmo-imap4.el (elmo-folder-initialize): Use
5997         `elmo-imap4-encode-folder-string' for folder name.
5998
5999 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6000
6001         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6002         `done'.
6003
6004 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6005
6006         * elmo-util.el (elmo-progress-counter-alist): New internal
6007         variable.
6008         (elmo-progress-counter-value): New macro.
6009         (elmo-progress-counter-all-value): Ditto.
6010         (elmo-progress-counter-format): Ditto.
6011         (elmo-progress-counter-set-value): Ditto.
6012         (elmo-progress-set): New function.
6013         (elmo-progress-clear): Ditto.
6014         (elmo-progress-notify): Ditto.
6015
6016         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6017         counter.
6018
6019         * elmo.el (elmo-generic-folder-append-messages): Call
6020         `elmo-progress-notify'.
6021         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6022
6023         * elmo-archive.el (elmo-folder-append-messages): Call
6024         `elmo-progress-notify'.
6025
6026         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6027
6028         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6029
6030         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6031
6032 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6033
6034         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6035         'Create'.
6036         (elmo-message-encache-dop): Added argument `read'.
6037
6038         * elmo-shimbun.el (elmo-message-encache): Ditto.
6039
6040         * elmo-net.el (elmo-message-encache): Ditto.
6041
6042         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6043         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6044         elmo-imap4-seen-messages.
6045         (elmo-folder-msgdb-create-plugged): Initialize
6046         elmo-imap4-seen-messages;
6047         Set seen mark on elmo-imap4-seen-messages.
6048
6049         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6050
6051         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6052         elmo-folder-append-buffer.
6053         (elmo-folder-encache): Added optional argument `read'.
6054         (elmo-message-encache): Ditto.
6055
6056         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6057
6058         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6059
6060         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6061         if append buffer content succeds.
6062
6063 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6064
6065         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6066         elmo-display-progress.
6067
6068         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6069         Set 4th argument of mime-display-message.
6070         (elmo-mime-display-as-is): Ditto.
6071
6072 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6073
6074         * elmo-nmz.el (toplevel): Require 'mime-edit.
6075         (elmo-nmz-content-type-alist): Abolished.
6076         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6077         content is not a message.
6078         (elmo-map-message-fetch): Changed behavior exept for message content;
6079         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6080         content-type, Add From: and Subject: field.
6081
6082 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6083
6084         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6085         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6086         not a message.
6087
6088 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6089
6090         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6091         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6092
6093         * elmo-archive.el (elmo-folder-writable-p): Defined.
6094
6095         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6096
6097         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6098
6099         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6100
6101         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6102
6103         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6104
6105         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6106
6107         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6108
6109         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6110
6111 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6112
6113         * elmo-util.el (elmo-address-quote-specials): New function;
6114         Renamed from `wl-address-quote-specials'.
6115
6116 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6117
6118         * elmo-version.el (elmo-version): Up to 2.7.4.
6119
6120 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6121
6122         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6123
6124 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6125
6126         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6127         both compile-time and run-time to avoid byte-compile warning.
6128
6129 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6130
6131         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6132
6133 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6134
6135         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6136         option.
6137         (elmo-mime-display-as-is-internal): Use it.
6138
6139         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6140         if `read-passwd' is not defined.
6141
6142 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6143
6144         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6145         by original number.
6146         (elmo-folder-status): Call `elmo-folder-open-internal';
6147         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6148         (elmo-folder-close-internal): Set location-alist as nil.
6149         (elmo-folder-clear): Define.
6150         (elmo-folder-check): Don't set location-alist as nil.
6151
6152         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6153
6154 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6155
6156         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6157         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6158
6159         * mmimap.el (mime-imap-entity::requested): New slot.
6160         (mime-imap-location-fetch-entity-p): New generic function.
6161         (mime-decode-parameters): Define using `defun-maybe'.
6162         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6163         content-type structure.
6164         (mime-entity-body): Return empty body if
6165         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6166
6167         * elmo.el (elmo-message-displaying): New variable.
6168
6169         * elmo-mime.el (elmo-mime-message-display): Bind
6170         elmo-message-displaying as t.
6171
6172         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6173
6174 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6175
6176         * acap.el (acap-open): erase buffer before starting network process.
6177         (acap-store): Rewrite.
6178
6179 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6180
6181         * elmo-imap4.el (elmo-imap4-default-mailbox,
6182         elmo-imap4-default-server
6183         elmo-imap4-default-authenticate-type,
6184         elmo-imap4-default-user,
6185         elmo-imap4-default-port,
6186         elmo-imap4-default-stream-type,
6187         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6188
6189         * elmo-pop3.el (elmo-pop3-default-user,
6190         elmo-pop3-default-server,
6191         elmo-pop3-default-authenticate-type,
6192         elmo-pop3-default-port,
6193         elmo-pop3-default-stream-type,
6194         elmo-pop3-stream-type-alist): Ditto.
6195
6196         * elmo-nntp.el (elmo-nntp-default-server,
6197         elmo-nntp-default-user,
6198         elmo-nntp-default-port,
6199         elmo-nntp-default-stream-type,
6200         elmo-nntp-stream-type-alist): Ditto.
6201
6202         * elmo-vars.el: Follow changes above.
6203         (elmo-setting): New custom group; added 'elmo-setting group to
6204         above variables.
6205
6206         * elmo-version.el (elmo-version): Up to 2.7.3.
6207
6208         * acap.el (acap-parse-response): Don't delete process when BYE
6209         response (It causes hang-up on slow network environment).
6210         (toplevel): Added comment.
6211
6212 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6213
6214         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6215
6216         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6217         parsing NIL.
6218         (acap-parse-return-metadata): Ditto.
6219
6220         * slp.el: New file.
6221         (toplevel): Fixed typo.
6222
6223         * acap.el: New file.
6224         (acap-network-stream-open): Show "Connecting..." message.
6225         (acap-parse-response): Fixed problem for BYE untagged response.
6226         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6227         (toplevel): Added tiny comments.
6228
6229 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6230
6231         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6232         space delimiter for uidl response.
6233
6234 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6235
6236         * elmo-vars.el (elmo-use-semi): Eliminated.
6237
6238         * elmo-util.el (elmo-string-assoc-all): New function.
6239
6240 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6241
6242         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6243         property 'mime-preview-situation for `mime-preview-quit'.
6244
6245 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6246
6247         * elmo.el (elmo-message-fetch-with-cache-process): Call
6248         elmo-message-fetch-internal instead of causing an error when fetch
6249         strategy is 'entire but only 'section cache is available.
6250
6251 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6252
6253         * elmo-version.el (elmo-version): Up to 2.7.2.
6254
6255         * elmo.el (elmo-generic-folder-append-messages): Make
6256         fetch-strategy with `use-cache'.
6257
6258         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6259         (elmo-dop-queue-method-name): New macro.
6260
6261 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6262
6263         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6264         unbalanced parenthesis.
6265
6266 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6267
6268         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6269
6270 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6271
6272         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6273         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6274
6275 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6276
6277         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6278         local variables.
6279
6280 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6281
6282         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6283         (elmo-message-use-cache-p): Define.
6284         (elmo-folder-msgdb-create): Treat cache.
6285
6286 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6287
6288         * elmo-nntp.el (elmo-network-initialize-session): Call
6289         `elmo-nntp-send-mode-reader'.
6290         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6291
6292 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6293
6294         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6295         alist.
6296         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6297         assoc.
6298
6299         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6300         for `elmo-plugged-p'.
6301         (elmo-open-network-stream): Fixed stream-type argument.
6302
6303 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6304
6305         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6306         unknown archive type is specified.
6307
6308 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6309
6310         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6311
6312         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6313         while loading msgdb.
6314
6315         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6316         (elmo-folder-open-internal): Rewrite.
6317
6318 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6319
6320         * elmo-mime.el (elmo-mime-display-as-is-internal):
6321         Adjust buffer-multibyte status.
6322
6323 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6324
6325         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6326         of elmo-condition-find-key.
6327
6328         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6329         (elmo-condition-in-msgdb-p): Ditto.
6330         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6331         argument.
6332
6333 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6334
6335         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6336
6337 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6338
6339         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6340         label for elmo-display-progress.
6341
6342 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6343
6344         * elmo.el (elmo-folder-clear): New method.
6345         (elmo-folder-clear): Define.
6346         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6347
6348         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6349         (elmo-folder-clear): Define.
6350
6351         * elmo-map.el (elmo-folder-clear): Define.
6352
6353         * elmo-version.el (elmo-version): Up to 2.7.1.
6354
6355 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6356
6357         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6358         updates.
6359
6360 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6361
6362         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6363         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6364
6365 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6366
6367         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6368
6369         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6370         and re-written.
6371
6372         * elmo-imap4.el (elmo-folder-initialize): Use
6373         elmo-get-network-stream-type.
6374
6375         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6376
6377         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6378
6379 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6380
6381         * elmo.el (elmo-message-encache): Set unread argument for
6382         elmo-message-fetch.
6383
6384         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6385
6386         * elmo.el (elmo-net-port-info): New method.
6387
6388         * elmo-shimbun.el (elmo-net-port-info): Define.
6389         (elmo-message-encache): Ditto.
6390
6391         * elmo-net.el (elmo-net-port-info): Define as method.
6392
6393         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6394         unplugged status when elmo-enable-disconnected-operation is t.
6395
6396         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6397         of spool folder before checking new number.
6398
6399 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6400
6401         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6402         (elmo-network-setup-session): Ditto.
6403         (elmo-message-fetch-plugged): Ditto.
6404         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6405         (elmo-network-initialize-session): Ditto.
6406         (elmo-pop3-read-response): Abolish 3rd argument.
6407         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6408         (elmo-pop3-read-contents): Ditto.
6409         (elmo-pop3-read-body): Ditto.
6410         (elmo-folder-status): Call elmo-folder-close.
6411         (elmo-pop3-lock): Abolish.
6412         (elmo-pop3-unlock): Ditto.
6413         (elmo-pop3-locked-p): Ditto.
6414         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6415
6416 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6417
6418         * elmo-version.el (elmo-version): Up to 2.7.0.
6419
6420         * elmo-pop3.el (elmo-pop3-debug): New variable.
6421         (elmo-pop3-debug-inhibit-logging): Ditto.
6422         (elmo-pop3-debug): New function.
6423         (elmo-pop3-send-command): Call elmo-pop3-debug.
6424         (elmo-pop3-read-response): Added keep-lock optional argument;
6425         Don't unlock if keep-lock is non-nil.
6426         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6427         (elmo-network-authenticate-session): Bind
6428         elmo-pop3-debug-inhibit-logging as t.
6429         (elmo-network-setup-session): Call elmo-pop3-read-response with
6430         keep-lock argument.
6431         (elmo-pop3-read-msg): Ditto.
6432         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6433         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6434         (elmo-network-initialize-session): Call elmo-pop3-lock.
6435         (elmo-folder-close-internal): Don't clear location-alist slot.
6436         (elmo-folder-check): Clear location-alist slot.
6437
6438 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6439
6440         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6441         (elmo-pop3-send-command): Call elmo-pop3-lock.
6442         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6443         (elmo-pop3-read-contents): Ditto.
6444         (elmo-pop3-lock): New function.
6445         (elmo-pop3-unlock): Ditto.
6446         (elmo-pop3-locked-p): Ditto.
6447         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6448         returns t.
6449
6450 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6451
6452         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6453
6454         * elmo-util.el (elmo-file-field-primitive-condition-match):
6455         New inline function (Don't fetch file content if "first" or "last").
6456         (elmo-file-field-condition-match): Use
6457         elmo-file-field-primitive-condition-match.
6458
6459         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6460         "first".
6461
6462         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6463         (elmo-message-fetch-plugged): Fixed.
6464
6465         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6466
6467 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6468
6469         * elmo.el (elmo-folder-move-messages): Bind
6470         elmo-inhibit-display-retrieval-progress as t while moving messages.
6471
6472         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6473         New variable.
6474         (elmo-inhibit-display-retrieval-progress): Ditto.
6475
6476         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6477         for retrieval progress;
6478         Don't display progress when total buffer size is smaller than
6479         elmo-display-retrieval-progress-threshold.
6480         (elmo-message-fetch-plugged): Don't display progress when
6481         elmo-inhibit-display-retrieval-progress is non-nil.
6482
6483         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6484         for retrieval progress;
6485         Don't display progress when literal size is smaller than
6486         elmo-display-retrieval-progress-threshold.
6487         (elmo-imap4-message-fetch): Don't display progress when
6488         elmo-inhibit-display-retrieval-progress is non-nil.
6489
6490 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6491
6492         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6493         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6494         (elmo-imap4-message-fetch): Likewise.
6495
6496         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6497         (elmo-shimbun-index-range-alist): Ditto.
6498         (elmo-shimbun-use-entire-index): Abolish.
6499         (shimbun-mua-use-entire-index): Ditto.
6500         (elmo-shimbun-folder): Added new slot `range'.
6501         (elmo-folder-initialize): Setup slot `range'.
6502
6503 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6504
6505         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6506         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6507         (elmo-shimbun-get-headers): Use return value of
6508         `shimbun-article-expiration-days'.
6509         (elmo-folder-close-internal): Clean up last-check slot.
6510
6511         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6512         (elmo-pop3-total-size): New variable.
6513         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6514
6515         * elmo.el (elmo-folder-reserve-status-p): New method.
6516
6517         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6518         (elmo-shimbun-use-entire-index): New user option.
6519         (shimbun-elmo-mua): New class.
6520         (shimbun-mua-search-id): Define.
6521         (shimbun-mua-use-entire-index): Ditto.
6522         (elmo-shimbun-folder:last-check): New slot.
6523         (elmo-shimbun-headers-cache-header-list): Abolish.
6524         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6525         (elmo-shimbun-headers-cache-header-hash): Ditto.
6526         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6527         (elmo-shimbun-headers-cache-last-check): Ditto.
6528         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6529         (elmo-shimbun-headers-check-p): Rewrite.
6530         (elmo-shimbun-msgdb-to-headers): New function.
6531         (elmo-shimbun-get-headers): Rewrite.
6532         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6533         (elmo-folder-open-internal): Get headers only if
6534         `elmo-shimbun-headers-check-p' is non-nil.
6535         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6536         is non-nil.
6537         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6538         (elmo-quit): Removed.
6539
6540         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6541         function.
6542         (elmo-msgdb-overview-entity-set-extra): Ditto.
6543         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6544
6545         * elmo-map.el (elmo-folder-status): Don't call
6546         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6547         is non-nil.
6548
6549 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6550
6551         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6552         of `elmo-msgdb-search-internal-primitive' when condition's car is
6553         `and' or `or'.
6554
6555 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6556
6557         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6558
6559 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6560
6561         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6562         call `elmo-pipe-drain'.
6563
6564 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6565
6566         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6567         typo. (elmo-cache-folder -> elmo-mark-folder)
6568
6569 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6570
6571         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6572         `elmo-message-fetch'.
6573
6574 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6575
6576         * elmo-net.el (elmo-message-encache): Fixed typo.
6577         (elmo-message-fetch-unplugged): Changed call
6578         `elmo-message-fetch-internal' without argument `outbuf'.
6579
6580 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6581
6582         * elmo.el (elmo-message-encache): Define as generic function.
6583         (elmo-message-fetch-field): New generic function.
6584         (elmo-message-fetch-with-cache-process): Cause an error when
6585         fetch strategy is 'entire but only 'section cache is available.
6586         (toplevel): Fixed nmz folder definition.
6587
6588         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6589         (elmo-msgdb-resume-list-filename): Ditto.
6590         (elmo-queue-filename): Ditto.
6591         (elmo-enable-disconnected-operation): Changed default value to t.
6592
6593         * elmo-util.el (elmo-cache-path-section-p): New function.
6594         (elmo-file-cache-get): Use it.
6595         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6596         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6597         (elmo-dop-queue-save): Ditto.
6598
6599         * elmo-net.el (elmo-folder-status-unplugged): Call
6600         elmo-folder-status-dop.
6601         (elmo-folder-list-messages-unplugged): Implemented.
6602         (elmo-folder-delete-messages-unplugged): Define.
6603         (elmo-folder-msgdb-create): Define.
6604         (elmo-folder-msgdb-create-unplugged): Define.
6605         (elmo-folder-mark-as-read-unplugged): Ditto.
6606         (elmo-folder-unmark-read-unplugged): Ditto.
6607         (elmo-folder-mark-as-important-unplugged): Ditto.
6608         (elmo-folder-unmark-important-unplugged): Ditto.
6609         (elmo-message-encache): Ditto.
6610
6611         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6612         (elmo-dop-queue-save): Ditto.
6613
6614         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6615         `elmo-folder-msgdb-create'.
6616         (elmo-folder-append-buffer): Implemented unplugged operation.
6617         (elmo-folder-append-messages): Call parent method in unplugged status.
6618         (elmo-message-fetch-unplugged): Removed definition.
6619         (elmo-message-fetch-field): Implemented.
6620
6621         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6622         (elmo-dop-folder): Removed variable definition.
6623         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6624         (elmo-dop-queue-flush): Implemented.
6625         (elmo-dop-queue-merge): Removed definition (TODO).
6626         (elmo-dop-spool-folder): New function.
6627         (elmo-dop-spool-folder-append-buffer): Ditto.
6628         (elmo-dop-spool-folder-list-messages): Ditto.
6629         (elmo-dop-list-deleting-messages): Ditto.
6630         (elmo-folder-append-buffer-dop): Ditto.
6631         (elmo-folder-delete-messages-dop): Ditto.
6632         (elmo-message-encache-dop): New inline function.
6633         (elmo-create-folder-dop): Ditto.
6634         (elmo-folder-mark-as-read-dop): Ditto.
6635         (elmo-folder-unmark-read-dop): Ditto.
6636         (elmo-folder-mark-as-important-dop): Ditto.
6637         (elmo-folder-unmark-important-dop): Ditto.
6638         (elmo-folder-status-dop): Fixed.
6639         (elmo-folder-append-buffer-dop-delayed): New function.
6640         (elmo-folder-delete-messages-dop-delayed): Ditto.
6641         (elmo-dop-msgdb): Ditto.
6642
6643 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6644
6645         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6646
6647 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6648
6649         * elmo.el (elmo-folder-move-messages): Fixed problem when
6650         `dst-folder' is 'null.
6651
6652 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6653
6654         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6655         instead of current mark.
6656
6657         * elmo-multi.el (elmo-folder-list-importants-internal): No
6658         operation if importants is not list.
6659
6660         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6661         Return t if importants is not list.
6662
6663         * elmo-map.el (elmo-map-folder-list-importants): Define.
6664         (elmo-folder-list-importants-internal): Check return value of
6665         `elmo-map-folder-list-importants-internal'.
6666
6667         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6668
6669         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6670
6671         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6672
6673         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6674
6675 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6676
6677         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6678         (Patch is provided by <kita@coe.nttdata.co.jp>).
6679
6680 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6681
6682         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6683         mark folder.
6684
6685 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6686
6687         * elmo.el (elmo-message-fetch): Define.
6688         (elmo-message-fetch-with-cache-process): New generic method.
6689         (elmo-message-fetch-internal): New generic method.
6690         (elmo-folder-synchronize):
6691
6692         * elmo-archive.el (elmo-message-fetch-internal): Define.
6693         (elmo-message-fetch): Eliminated.
6694
6695         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6696         (elmo-message-fetch): Eliminated.
6697
6698         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6699         argument OUTBUF.
6700         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6701
6702         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6703         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6704
6705         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6706         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6707
6708         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6709
6710         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6711
6712         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6713
6714         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6715         (elmo-message-fetch-unplugged): New generic method.
6716         (elmo-message-fetch-internal): Remove cache process (Renamed from
6717         `elmo-message-fetch').
6718
6719         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6720         (elmo-message-fetch): Eliminated.
6721         (elmo-message-fetch-unplugged): Ditto.
6722
6723         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6724
6725 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6726
6727         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6728         of `to-be-deleted' from number-alist to number-list.
6729
6730 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6731
6732         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6733         (elmo-folder-mark-as-important): Ditto.
6734
6735 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6736
6737         * elmo.el (elmo-folder): Added process-duplicates slot.
6738
6739         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6740         (elmo-folder-unmark-read): Ditto.
6741         (elmo-folder-unmark-important): Ditto.
6742         (elmo-folder-mark-as-important): Ditto.
6743
6744         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6745         duplicated message processing.
6746
6747         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6748
6749 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6750
6751         * elmo-util.el (elmo-list-subdirectories-1): New function.
6752         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6753         (elmo-mapcar-list-of-list): New function.
6754
6755         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6756         `elmo-mapcar-list-of-list' instead of `mapcar'.
6757
6758         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6759
6760         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6761         `elmo-have-link-count'. Return the fully qualified folder name.
6762
6763 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6764
6765         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6766         (elmo-shimbun-headers-cache): New internal variable.
6767         (elmo-shimbun-headers-cache-header-list): New inline function.
6768         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6769         (elmo-shimbun-headers-cache-header-hash): Ditto.
6770         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6771         (elmo-shimbun-headers-cache-last-check): Ditto.
6772         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6773         (elmo-shimbun-lapse-seconds): Ditto.
6774         (elmo-shimbun-headers-cache-check-p): Ditto.
6775         (elmo-shimbun-get-headers): New function.
6776         (elmo-folder-open-internal): Call it.
6777         (elmo-quit): Define (Clear headers-cache).
6778
6779 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6780
6781         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6782
6783         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6784         (elmo-msgdb-flist-save): Ditto.
6785
6786         * elmo-shimbun.el (elmo-folder-list-subfolders):
6787         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6788         (elmo-folder-exists-p): Ditto.
6789
6790         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6791         argument for `shimbun-header-insert'.
6792
6793 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6794
6795         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6796         at first time.
6797
6798         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6799         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6800
6801 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6802
6803         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6804         (elmo-folder-plugged-p): Define.
6805         (elmo-folder-set-plugged): Ditto.
6806         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6807         (elmo-folder-list-messages-internal): Return t if unplugged.
6808         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6809
6810         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6811         when elmo-folder-list-messages-internal method of children returns t.
6812
6813         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6814         pair is nil.
6815         (elmo-folder-open-internal): Don't update if unplugged status.
6816
6817 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6818
6819         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6820         new message.
6821
6822 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6823
6824         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6825
6826         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6827         saving.
6828
6829 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6830
6831         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6832
6833         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6834         (elmo-folder-open-internal): Set up headers slot.
6835         (elmo-folder-check): Call elmo-folder-close-internal and
6836         elmo-folder-open-internal.
6837         (elmo-folder-close-internal): Clean up headers slot.
6838
6839 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6840
6841         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6842         exactly folder list.
6843         (elmo-folder-append-messages): Fixed append archive with prefix.
6844
6845         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6846         make temp files with start-number.
6847
6848         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6849
6850 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6851
6852         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6853         argument `visible-only'.
6854         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6855         instead of `if'.
6856
6857         * elmo-pop3.el (elmo-folder-open-internal): Check
6858         `elmo-inhibit-number-mapping' is non-nil.
6859
6860         * elmo-pipe.el (elmo-folder-status): Fixed.
6861
6862 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6863
6864         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6865
6866         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6867         (elmo-folder-open-internal): Setup `header-hash' slot.
6868         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6869         information.
6870         (elmo-map-message-fetch): Ditto.
6871
6872 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6873
6874         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6875         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6876         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6877         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6878
6879         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6880
6881 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6882
6883         * sb-airs.el: Added footer.
6884
6885         * shimbun.el (shimbun-article): Define as luna-method.
6886
6887         * sb-tcup.el: New file.
6888
6889         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6890         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6891
6892 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6893
6894         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6895         (shimbun-get-headers): Ditto.
6896
6897         * elmo.el: Moved obsolete variable definitions from
6898         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6899
6900         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6901         groups.
6902
6903         * shimbun.el: New file.
6904
6905         * elmo-shimbun.el: New file.
6906
6907         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6908         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6909         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6910         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6911
6912 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6913
6914         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6915         hierarchy is t.
6916
6917 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6918
6919         * elmo.el (elmo-folder-msgdb): Define as macro.
6920         (elmo-folder-open): Added argument `load-msgdb'.
6921         (elmo-generic-folder-open): Ditto.
6922         (elmo-folder-encache): New function.
6923
6924         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6925
6926         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6927
6928         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6929         Eliminated argument FOLDER and added argument MSGDB.
6930         (elmo-dop-queue-load): Moved from elmo-dop.el.
6931         (elmo-dop-queue-save): Ditto.
6932
6933         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6934
6935         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6936
6937         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6938         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6939         (elmo-filter-folder-list-importants-internal): Ditto.
6940
6941         * elmo-map.el (elmo-folder-pack-number): Ditto.
6942
6943         * elmo-mime.el (elmo-mime-message-display): Ditto.
6944
6945         * elmo.el (elmo-generic-folder-commit): Ditto.
6946         (elmo-folder-list-unreads): Ditto.
6947         (elmo-folder-list-importants): Ditto.
6948         (elmo-generic-folder-commit): Ditto.
6949         (elmo-message-set-mark): Ditto.
6950         (elmo-generic-folder-append-msgdb): Ditto.
6951         (elmo-folder-synchronize): Ditto.
6952         (elmo-folder-messages): Ditto.
6953         (elmo-init): Call elmo-dop-queue-load.
6954         (elmo-folder-list-messages): Ditto.
6955
6956         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6957         (elmo-nntp-folder-process-crosspost): Ditto.
6958         (elmo-folder-list-unreads-internal): Ditto.
6959
6960         * elmo-dop.el: Removed old functions.
6961
6962 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6963
6964         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6965         `folder' to `msgdb'.
6966
6967 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6968
6969         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6970         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6971
6972         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6973         case-fold-search.
6974
6975 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6976
6977         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6978         defined.
6979
6980         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6981         (mmimap-parse-parameters-from-list): Define as alias for
6982         `mime-decode-parameter-plist' if it is defined as function.
6983         (mmimap-make-mime-entity): Added argument `number'.
6984         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6985         as 0.
6986         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6987
6988         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6989
6990         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6991
6992         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6993
6994 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6995
6996         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6997
6998         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6999         when elmo-imap4-default-authenticate-type is nil.
7000         (elmo-folder-list-subfolders): Ditto
7001         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7002         (elmo-imap4-fetch-callback-1-subr): Renamed from
7003         `elmo-imap4-fetch-callback-1' and define as inline function.
7004         (elmo-imap4-fetch-callback-1):
7005         Renamed from `elmo-imap4-fetch-callback'.
7006         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7007
7008         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7009         msgdb path (To keep compatibility with main trunk).
7010
7011         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7012
7013         * elmo-util.el (elmo-make-file-cache): Moved position of
7014         some macros.
7015
7016         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7017         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7018         instead of `elmo-pop3-inhibit-uidl'.
7019         (elmo-folder-exists-p): Ditto.
7020         (elmo-pop3-folder-list-messages): Ditto.
7021
7022         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7023         instead of `elmo-pop3-inhibit-uidl'.
7024         (elmo-folder-status): Ditto.
7025
7026         * elmo-dop.el (elmo-dop-folder): New variable.
7027         (elmo-dop-lock-message): Eliminated.
7028         (elmo-dop-unlock-message): Ditto.
7029         (elmo-dop-lock-list-load): Ditto.
7030         (elmo-dop-lock-list-save): Ditto.
7031         (elmo-dop-delete-folder): Ditto.
7032         (elmo-dop-rename-folder): Ditto.
7033
7034         * elmo.el: Removed incomplete commentary.
7035
7036 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7037
7038         * elmo.el (toplevel): Require 'elmo-version first;
7039         for little `recursive-load-depth' settings.
7040         Fix "ends here" comment.
7041
7042 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7043
7044         * elmo-util.el (toplevel): Require 'poem;
7045         Some functions are moved from elmo-cache.el.
7046
7047         * elmo-net.el (toplevel): Require 'elmo-cache.
7048
7049         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7050
7051         * elmo.el (toplevel): Ditto.
7052
7053         * elmo-cache.el: Rewrite with luna;
7054         Some functions are moved to elmo-util.el.
7055
7056         * elmo-internal.el (elmo-internal-folder-list): New variable.
7057         (elmo-internal-folder-initialize): Rewrite.
7058         (elmo-folder-list-subfolders): Ditto.
7059
7060         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7061         (elmo-cache-collect-sub-directories): Ditto.
7062
7063 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7064
7065         * elmo-version.el (elmo-version): Up to 2.5.8.
7066
7067         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7068
7069         * elmo-util.el (elmo-list-insert): New function.
7070
7071 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7072
7073         * elmo.el (elmo-init): New function.
7074         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7075
7076         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7077         (Renamed from `elmo-localdir-header-chop-length').
7078
7079         * elmo-pop3.el (elmo-pop3-use-cache,
7080         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7081
7082         * elmo-nntp.el (elmo-message-fetch): Define.
7083         (elmo-message-fetch-unplugged): Ditto.
7084         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7085         (elmo-nntp-use-cache): Ditto.
7086         (elmo-nntp-max-number-precedes-list-active): Ditto.
7087
7088         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7089
7090         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7091         `elmo-msgdb-insert-file-header'.
7092         Use `elmo-msgdb-file-header-chop-length'.
7093
7094         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7095         `elmo-vars.el'.
7096
7097         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7098         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7099         `elmo-msgdb-insert-file-header'.
7100
7101         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7102         Use new variable;
7103         Define obsolete variables with `elmo-define-obsolete-variable',
7104
7105         * elmo-util.el (elmo-warning-buffer-name): New constant.
7106         (elmo-warning): New function.
7107         (elmo-obsolete-variable-alist): New variable.
7108         (elmo-obsolete-variable-show-warnings): New variable.
7109         (elmo-define-obsolete-variable): New function.
7110         (elmo-resque-obsolete-variable): Ditto.
7111         (elmo-resque-obsolete-variables): Ditto.
7112
7113 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7114
7115         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7116         Eliminated.
7117
7118         * elmo-pop3.el, elmo-nntp.el: Use custom.
7119
7120 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7121
7122         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7123         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7124
7125 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7126
7127         * Luna-fy Kenichi OKADA's following changes.
7128         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7129         `nohide'.
7130         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7131
7132 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7133
7134         * elmo-util.el (elmo-display-progress): Prefer
7135         `progress-feedback-with-label' to `lprogress-display'.
7136
7137 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7138
7139         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7140
7141 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7142
7143         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7144         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7145         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7146         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7147         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7148         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7149         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7150         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7151         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7152         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7153         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7154         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7155         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7156
7157 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7158
7159         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7160         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7161
7162 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7163
7164         * elmo.el (elmo-folder-process-crosspost): New generic method.
7165         (elmo-folder-writable-p): Ditto.
7166         (elmo-folder-message-appendable-p): Eliminated.
7167         (elmo-generic-folder-append-msgdb): Rewrite.
7168         (elmo-newsgroups-hashtb): New internal variable.
7169         (elmo-crosspost-message-set): Eliminated.
7170         (elmo-crosspost-message-delete): Ditto.
7171         (elmo-setup-subscribed-newsgroups): New function.
7172         (elmo-crosspost-message-alist-modified): New internal variable.
7173         (elmo-crosspost-message-alist-load): New function (Renamed from
7174         `wl-crosspost-alist-load').
7175         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7176         `wl-crosspost-alist-save').
7177
7178         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7179
7180         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7181         `unreads'.
7182         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7183         elmo-newsgroups-hashtb).
7184         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7185         `elmo-nntp-folder-update-crosspost-message-alist'.
7186         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7187         `elmo-nntp-groups-hashtb'.
7188         (elmo-nntp-make-groups-hashtb): Eliminated.
7189         (elmo-nntp-parse-newsgroups): New function (Renamed from
7190         `wl-parse-newsgroups').
7191         (elmo-folder-creatable-p, elmo-folder-writable-p,
7192         elmo-folder-close-internal, elmo-folder-mark-as-read,
7193         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7194         Define.
7195         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7196
7197         * elmo-net.el (elmo-message-fetch): Check buffer size.
7198
7199         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7200
7201         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7202
7203         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7204         before `close' command.
7205
7206         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7207         `mark-alist' (All other related portions are changed).
7208
7209 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7210
7211         * elmo-util.el (elmo-create-hash-size): Eliminated.
7212         (elmo-make-hash) Make a hash with `one less than a power of two'
7213         length.
7214
7215         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7216         (elmo-hash-maximum-size): Changed value.
7217
7218 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7219
7220         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7221         (elmo-mime-message-display-as-is): Ditto.
7222
7223 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7224
7225         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7226         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7227
7228 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7229
7230         * elmo-mark.el: New file.
7231
7232         * elmo-internal.el: Rewrite (Almost empty).
7233
7234 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7235
7236         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7237         (mime-imap-entity-header-string): Ditto.
7238         (mmimap-entity-section): Rewrite.
7239
7240 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7241
7242         * elmo-nmz.el: New file.
7243
7244         * elmo-pipe.el: Rewrite with luna.
7245
7246 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7247
7248         * elmo-archive.el: Rewrite with luna.
7249
7250         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7251         (elmo-folder-list-importants-internal): Ditto.
7252
7253 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * elmo-archive.el (elmo-archive-version): Abolish.
7256         (toplevel) Removed `boso' comment.
7257
7258 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7259
7260         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7261         elmo-msgdb-add-msgs-to-seen-list-subr;
7262         Changed argument seen-marks to unread-marks.
7263
7264         * elmo-nntp.el: Rewrite with luna.
7265
7266 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7267
7268         * elmo-filter.el: Rewrite with luna.
7269
7270 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7271
7272         * elmo-pop3.el: Rewrite with luna.
7273
7274 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7275
7276         * elmo-multi.el: Rewrite with luna.
7277
7278         * elmo-vars.el (elmo-use-killed-list): Abolish.
7279         All other related portions are changed.
7280         (elmo-filename-replace-string-alist): Renamed from
7281         elmo-msgid-replace-string-alist.
7282
7283 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7284
7285         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7286
7287         * elmo-map.el: New file.
7288         * elmo-maildir.el: Rewrite with luna.
7289
7290 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7291
7292         * elmo.el: Changed meaning of `elmo-folder-commit'.
7293         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7294
7295 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7296
7297         * elmo.el (elmo-folder-append-buffer): New function.
7298         (Renamed from `elmo-append-msg')
7299
7300 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7301
7302         * elmo-mime.el: New file.
7303
7304 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7305
7306         * elmo-cache.el: Rewrite.
7307
7308 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7309
7310         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7311
7312 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7313
7314         * elmo-vars.el (elmo): New group.
7315         (elmo-strict-diff-folder-regexp): New variable.
7316
7317         * elmo-util.el (elmo-call-func): Abolish.
7318         (elmo-folder-get-type): Ditto.
7319         (elmo-*-get-spec): Ditto.
7320         (elmo-*-spec-*): Ditto.
7321         (elmo-imap4-identical-name-space-p): Ditto.
7322         (elmo-folder-identical-system-p): Ditto.
7323         (elmo-folder-direct-copy-alist): Ditto.
7324         (elmo-folder-direct-copy-p): Ditto.
7325
7326         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7327         (elmo-folder-initialize): Define.
7328         (elmo-folder-get-primitive-list): Ditto.
7329
7330         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7331         (elmo-folder-initialize): Define.
7332         Renamed `elmo-network-session-host-internal' to
7333         `elmo-network-session-server-internal'.
7334
7335         * elmo-multi.el (elmo-multi-folder): New luna class.
7336         (elmo-folder-initialize): Define.
7337         (elmo-folder-get-primitive-list): Ditto.
7338         (elmo-folder-contains-type): Ditto.
7339         (elmo-message-use-cache-p): Ditto.
7340
7341         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7342         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7343
7344         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7345         (elmo-folder-initialize): Define.
7346
7347         * elmo-filter.el (elmo-filter-folder): New luna class.
7348         (elmo-folder-initialize): Define.
7349         (elmo-folder-get-primitive-list): Ditto.
7350         (elmo-folder-contains-type): Ditto.
7351
7352 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7353
7354         * elmo-imap4.el: Rewrite with luna.
7355
7356         * mmimap.el: New file.
7357
7358         * mmelmo.el, mmelmo-imap4.el: Removed.
7359
7360         * elmo-net.el: Ditto.
7361
7362         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7363         (elmo-folder-initialize): Define.
7364
7365         * elmo-archive.el (elmo-archive-folder): New luna class.
7366         (elmo-folder-initialize): Define.
7367
7368         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7369         `elmo-folder-msgdb-path'.
7370         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7371         `elmo-make-folder'.
7372
7373 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7374
7375         * elmo.el: New file.
7376
7377         * elmo2.el: Renamed to elmo.el.
7378
7379 \f
7380 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7381
7382         * elmo-cache.el (elmo-cache-expire-by-size): Count
7383         a disk usage for a cache file entry in KB even when
7384         its kind is a directory.
7385
7386 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7387
7388         * elmo-version.el (elmo-version): Up to 2.5.7.
7389
7390 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7391
7392         * elmo-version.el (elmo-version): Up to 2.5.6.
7393
7394 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7395
7396         * elmo-version.el (elmo-version): Up to 2.5.5.
7397
7398 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7399
7400         * elmo-imap4.el (elmo-network-authenticate-session):
7401         Fixed a logic for response checking.
7402
7403 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7404
7405         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7406         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7407         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7408         `sasl-mechanisms'.
7409
7410         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7411         for `starttls-open-stream' and `starttls-negotiate'.
7412
7413         * elmo-nntp.el: Remove autoload settings for
7414         `starttls-open-stream' and `starttls-negotiate'.
7415
7416         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7417         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7418         `luna-define-class' with `eval-and-compile'.
7419
7420 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7421
7422         * elmo-util.el (elmo-read-search-condition-internal):
7423         Require an element of table for searching field.
7424
7425 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7426
7427         * elmo-version.el (elmo-version): Up to 2.5.4.
7428
7429 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7430
7431         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7432
7433 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7434
7435         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7436
7437 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7438
7439         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7440         before greeting.
7441
7442 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7443
7444         * elmo-imap4.el (elmo-imap4-delete-folder):
7445         Send "close" before "delete" (Use commented out line).
7446         (elmo-imap4-rename-folder): Ditto.
7447
7448         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7449         folder string itself.
7450         (elmo-dop-list-deleted): New function.
7451         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7452         killed.
7453
7454         * elmo-util.el (elmo-string-rassoc-all): New function.
7455
7456 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7457
7458         * elmo-version.el (elmo-version): Up to 2.5.3.
7459
7460         * elmo-net.el (elmo-network-get-session): Changed logic for
7461         checking process status.
7462
7463         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7464         process is nil;
7465         Changed logic for checking process status.
7466
7467 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7468
7469         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7470         before greeting.
7471         (elmo-network-setup-session): Set UIDL hash size according to
7472         the length of list response.
7473         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7474         according to the length of list response;
7475         Return the length of list response.
7476         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7477
7478 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7479
7480         * elmo-imap4.el (toplevel): Require 'ssl.
7481         Add autoload 'starttls.
7482         * elmo-pop3.el (toplevel): Ditto.
7483         * elmo-nntp.el (toplevel): Ditto.
7484
7485 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7486
7487         * elmo-imap4.el (toplevel): defun at compile time.
7488         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7489         sasl-next-step, sasl-step-data, sasl-step-set-data.
7490         * elmo-pop3.el (toplevel): Ditto.
7491
7492 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7493
7494         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7495
7496 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7497
7498         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7499         if error.
7500         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7501         and `elmo-pop-auth-apop'.
7502
7503 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7504
7505         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7506
7507 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7508
7509         * elmo-pop3.el (elmo-network-authenticate-session): Split
7510         encoded response value.
7511
7512 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7513
7514         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7515         `elmo-pop3-force-login'.
7516         Redefine `sasl-mechanisms'.
7517         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7518
7519 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7520
7521         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7522         Delete `elmo-imap4-authenticator-alist'.
7523         (elmo-imap4-auth-cram-md5): Delete.
7524         (elmo-imap4-auth-digest-md5): Delete.
7525
7526 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7527
7528         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7529         (elmo-pop3-auth-scram-md5): Ditto.
7530         (elmo-pop3-auth-cram-md5): Ditto.
7531
7532 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7533
7534         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7535         Delete `elmo-pop3-authenticator-alist'.
7536
7537 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7538
7539         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7540         new SASL API.
7541         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7542
7543 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7544
7545         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7546
7547 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7548
7549         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7550         Fixed problem when `elmo-pop3-use-uidl' is nil.
7551         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7552
7553 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7554
7555         * elmo-version.el (elmo-version): Up to 2.5.2.
7556
7557 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7558
7559         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7560         New function.
7561         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7562         (elmo-pop3-msgdb-create-as-numlist): Use it.
7563
7564         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7565         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7566
7567         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7568         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7569
7570 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7571
7572         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7573         when elmo-mark-as-read is called with second argument nil.
7574
7575 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7576
7577         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7578         Moved to elmo-util.el.
7579
7580         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7581         Moved from elmo-pipe.el
7582
7583         * elmo-archive.el (elmo-archive-call-process): Enclose with
7584         static-if.
7585
7586         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7587         "RFC822" (because RFC822.PEEK is obsolete).
7588         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7589
7590 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7591
7592         * elmo-archive.el (elmo-archive-call-process): Don't check for
7593         the exit status when Nemacs is running.
7594
7595 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7596
7597         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7598         'plain.
7599
7600         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7601         (elmo-pop3-get-spec): Set default of auth to 'user.
7602
7603         * elmo-imap4.el (elmo-imap4-session-check):
7604         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7605         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7606         (elmo-imap4-auth-login): New function; Revival.
7607         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7608         `elmo-imap4-auth-login'.
7609
7610 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7611
7612         * elmo2.el (toplevel): Move `product-provide' declare.
7613         * mmelmo.el (toplevel): Ditto.
7614
7615 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7616
7617         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7618
7619 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7620
7621         * elmo-util.el (elmo-folder-get-store-type): New function.
7622         (elmo-folder-direct-copy-p): Use it.
7623
7624 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7625
7626         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7627         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7628         and result of `elmo-imap4-use-flag-p'.
7629         (elmo-imap4-fetch-callback-1): Set mark according to
7630         the result of `elmo-imap4-use-flag-p'.
7631
7632 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7633
7634         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7635         (elmo-generic-list-folder-unread): Ditto.
7636         (elmo-folder-get-info): Ditto.
7637         (elmo-folder-set-info-max-by-numdb): Ditto.
7638         (elmo-folder-get-info-max): Ditto.
7639         (elmo-folder-get-info-length): Ditto.
7640         (elmo-folder-get-info-unread): Ditto.
7641         (elmo-folder-info-make-hashtb): Ditto.
7642
7643         * elmo2.el: Removed above functions.
7644
7645 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7646
7647         * elmo-imap4.el (toplevel): Require 'ssl.
7648         Add autoload 'starttls.
7649         * elmo-pop3.el (toplevel): Ditto.
7650         * elmo-nntp.el (toplevel): Ditto.
7651
7652 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7653
7654         * elmo-imap4.el (toplevel): defun at compile time.
7655         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7656         sasl-next-step, sasl-step-data, sasl-step-set-data.
7657         * elmo-pop3.el (toplevel): Ditto.
7658
7659 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7660
7661         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7662
7663 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7664
7665         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7666         if error.
7667         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7668         and `elmo-pop-auth-apop'.
7669
7670 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7671
7672         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7673
7674 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7675
7676         * elmo-pop3.el (elmo-network-authenticate-session): Split
7677         encoded response value.
7678
7679 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7680
7681         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7682         `elmo-pop3-force-login'.
7683         Redefine `sasl-mechanisms'.
7684         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7685
7686 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7687
7688         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7689         Delete `elmo-imap4-authenticator-alist'.
7690         (elmo-imap4-auth-cram-md5): Delete.
7691         (elmo-imap4-auth-digest-md5): Delete.
7692
7693 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7694
7695         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7696         (elmo-pop3-auth-scram-md5): Ditto.
7697         (elmo-pop3-auth-cram-md5): Ditto.
7698
7699 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7700
7701         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7702         Delete `elmo-pop3-authenticator-alist'.
7703
7704 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7705
7706         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7707         new SASL API.
7708         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7709
7710 \f
7711 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7712
7713         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7714
7715 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7716
7717         * elmo-nntp.el (elmo-nntp-get-folders-info):
7718         Fixed problem when '\' character is contained in user-id.
7719         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7720
7721 \f
7722 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7723
7724         * elmo-imap4.el (elmo-imap4-delete-folder):
7725         Send "close" before "delete" (Use commented out line).
7726         (elmo-imap4-rename-folder): Ditto.
7727
7728         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7729         folder string itself.
7730         (elmo-dop-list-deleted): New function.
7731         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7732         killed.
7733
7734         * elmo-util.el (elmo-string-rassoc-all): New function.
7735
7736         * elmo-version.el (elmo-version): Up to 2.5.1.
7737
7738 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7739
7740         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7741
7742         * elmo-internal.el (elmo-internal-search): Fix last change.
7743
7744 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7745
7746         * elmo-internal.el (elmo-internal-search): Rewrite.
7747         (Fixed problem which is pointed out by Akihiro MOTOKI
7748         <motoki@da.jp.nec.com>)
7749
7750         * elmo-version.el (elmo-version): Up to 2.5.0.
7751
7752 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7753
7754         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7755
7756 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7757
7758         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7759         non-nil, make hierarchy.
7760
7761 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7762
7763         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7764         `elmo-pop3-use-uidl' must be bound to nil.
7765         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7766
7767 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7768
7769         * elmo-util.el (elmo-copy-file): Don't cause an error after
7770         `add-name-to-file' failed.
7771
7772         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7773         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7774
7775 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7776
7777         * elmo-version.el (elmo-version): Up to 2.3.93.
7778
7779 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7780
7781         * elmo-util.el (elmo-flatten): New function.
7782
7783 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7784
7785         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7786         sync Author header.
7787         * elmo-cache.el (toplevel): Ditto.
7788         * elmo-database.el (toplevel): Ditto.
7789         * elmo-date.el (toplevel): Ditto.
7790         * elmo-dop.el (toplevel): Ditto.
7791         * elmo-filter.el (toplevel): Ditto.
7792         * elmo-imap4.el (toplevel): Ditto.
7793         * elmo-internal.el (toplevel): Ditto.
7794         * elmo-localdir.el (toplevel): Ditto.
7795         * elmo-localnews.el (toplevel): Ditto.
7796         * elmo-maildir.el (toplevel): Ditto.
7797         * elmo-msgdb.el (toplevel): Ditto.
7798         * elmo-multi.el (toplevel): Ditto.
7799         * elmo-net.el (toplevel): Ditto.
7800         * elmo-nntp.el (toplevel): Ditto.
7801         * elmo-pipe.el (toplevel): Ditto.
7802         * elmo-pop3.el (toplevel): Ditto.
7803         * elmo-util.el (toplevel): Ditto.
7804         * elmo-vars.el (toplevel): Ditto.
7805         * elmo2.el (toplevel): Ditto.
7806         * mmelmo-imap4.el (toplevel): Ditto.
7807         * mmelmo.el (toplevel): Ditto.
7808
7809         * elmo-version.el (elmo-version): Move to top.
7810
7811         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7812         * elmo-imap4.el (toplevel): Ditto.
7813         * elmo-localdir.el (toplevel): Ditto.
7814         * elmo-msgdb.el (toplevel): Ditto.
7815         * elmo-nntp.el (toplevel): Ditto.
7816         * elmo-pop3.el (toplevel): Ditto.
7817         * elmo-version.el (toplevel): Ditto.
7818
7819         * elmo-localnews.el (toplevel): Added Keyword header.
7820
7821 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7822
7823         * elmo-version.el (product-version-as-string): Defined using
7824         `defun-maybe'.
7825         (toplevel): Use it.
7826
7827         * elmo-localdir.el (toplevel): Updated copyright notice.
7828         * elmo-version.el (toplevel): Ditto.
7829         * elmo-msgdb.el (toplevel): Ditto.
7830         * elmo-imap4.el (toplevel): Ditto.
7831         * elmo-nntp.el (toplevel): Ditto.
7832         * elmo-pop3.el (toplevel): Ditto.
7833
7834 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7835
7836         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7837         messages.
7838
7839         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7840         parameter value (It sometimes contains raw kanji).
7841
7842 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7843
7844         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7845         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7846
7847 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7848
7849         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7850
7851 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7852
7853         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7854         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7855
7856 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7857
7858         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7859         value if selecting folder succceeded.
7860         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7861
7862 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7863
7864         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7865         representation.
7866
7867         * elmo-util.el (elmo-string-matched-member): New function.
7868
7869 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7870
7871         * elmo-util.el (elmo-unintern): New macro.
7872         (elmo-number-set-member): Fixed docstring.
7873
7874         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7875         tag token.
7876
7877 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7878
7879         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7880         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7881
7882 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7883
7884         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7885         `no-error'.
7886         Added docstring.
7887         Return non-nil if selecting folder succeeded.
7888         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7889
7890 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7891
7892         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7893         `file-name-completion' returns t.
7894         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7895         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7896         directory if it does not exist.
7897         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7898         for iteration.
7899
7900 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7901
7902         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7903         enclosure (It's harmful in unplugged status).
7904
7905         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7906
7907         * mmelmo-1.el: Removed.
7908
7909         * mmelmo-2.el: Ditto.
7910
7911         * mmelmo-imap4-1.el: Ditto.
7912
7913         * mmelmo-imap4-2.el: Ditto.
7914
7915         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7916
7917         * mmelmo.el: Merged mmelmo-2.el.
7918
7919         * elmo-version.el (elmo-version): Up to 2.3.92.
7920
7921 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7922
7923         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7924         elmo-update-number): Remove last period in "...done." message.
7925         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7926         Ditto.
7927         * elmo-cache.el (elmo-cache-expire-by-size,
7928         elmo-cache-get-sorted-cache-file-list,
7929         elmo-cache-msgdb-create-as-numlist): Ditto.
7930         * elmo-dop.el (elmo-dop-save-pending-messages,
7931         (elmo-dop-flush-pending-append-operations): Ditto.
7932         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7933         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7934         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7935         (elmo-localdir-pack-number): Ditto.
7936         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7937         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7938         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7939         mime-write-entity-content): Ditto.
7940         * pldap.el (ldap-search-basic): Ditto.
7941
7942 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7943
7944         * elmo-version.el (elmo-version): Up to 2.3.91.
7945
7946         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7947         Only when filter is 'last'.
7948
7949         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7950         (elmo-condition-parse-search-value): Use it.
7951         (elmo-read-search-condition-internal): Quote value only when
7952         it is not an atom.
7953
7954 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7955
7956         * elmo2.el (elmo-generic-folder-diff): Fix.
7957
7958 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7959
7960         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7961         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7962         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7963         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7964         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7965         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7966
7967 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7968
7969         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7970         extra-fields.
7971
7972 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7973
7974         * elmo-version.el (elmo-version): Up to 2.3.90.
7975
7976         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7977         (elmo-imap4-list-folder-important): Ditto.
7978
7979 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7980
7981         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7982
7983 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7984
7985         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7986
7987 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7988
7989         * elmo-nntp.el (elmo-network-initialize-session):
7990         Add starttls negotiation.
7991
7992 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7993
7994         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7995         response.
7996         (elmo-network-setup-session): Define.
7997         Call `elmo-nntp-send-mode-reader' when session opened.
7998
7999 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8000
8001         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8002
8003 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8004
8005         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8006         an invalid SPACE character ahead of `SEARCH' command.  Move
8007         a valid SPACE character following `SEARCH' from conditional
8008         `format' arguments to control-strings.
8009
8010 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8011
8012         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8013         was succeeded.
8014
8015         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8016
8017 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8018
8019         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8020         `w32-get-true-file-link-count' as t.
8021
8022         * elmo-imap4.el (elmo-imap4-read): Abolished.
8023         (Renamed to `elmo-read' and moved to elmo-util.el)
8024         All other related portions are changed.
8025
8026         * elmo-util.el (elmo-read): New function.
8027         (elmo-condition-parse-search-value): Use it.
8028
8029 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8030
8031         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8032
8033         * elmo-nntp.el (elmo-nntp-session): Define.
8034         (elmo-nntp-setting): Abolished.
8035         All other related portions are changed.
8036         (elmo-nntp-get-server-command): Changed argument.
8037         (elmo-nntp-set-server-command): Ditto.
8038         (elmo-nntp-xover-p): Ditto.
8039         (elmo-nntp-set-xover): Ditto.
8040         (elmo-nntp-listgroup-p): Ditto.
8041         (elmo-nntp-set-listgroup): Ditto.
8042         (elmo-nntp-list-active-p): Ditto.
8043         (elmo-nntp-set-list-active): Ditto.
8044         (elmo-nntp-xhdr-p): Ditto.
8045         (elmo-nntp-set-xhdr): Ditto.
8046         (elmo-nntp-flush-connection): Abolished.
8047         (elmo-nntp-get-connection): Abolished.
8048         (elmo-nntp-get-session): New function.
8049         (elmo-network-initialize-session): Defined.
8050         (elmo-network-authenticate-session): Ditto.
8051         (elmo-nntp-send-mode-reader): Changed argument.
8052         (elmo-nntp-send-command): Changed argument.
8053         All other related portions are changed.
8054         (elmo-nntp-read-response): Ditto.
8055         (elmo-nntp-read-raw-response): Ditto.
8056         (elmo-nntp-read-contents): Ditto.
8057         (elmo-nntp-read-body): Ditto.
8058         (elmo-nntp-goto-folder): Abolished.
8059         (elmo-nntp-select-group): New function.
8060         All other related portions are changed.
8061         (This function substitutes `elmo-nntp-goto-folder')
8062         (elmo-nntp-msgdb-create-by-header): Rewrite.
8063         (elmo-nntp-get-overview): Eliminated.
8064         (elmo-nntp-get-message): Ditto.
8065         (elmo-nntp-open-connection) Abolished.
8066         (elmo-nntp-read-msg): Rewrite.
8067         (elmo-nntp-post): Ditto.
8068         (elmo-nntp-send-data): Abolished.
8069         (elmo-nntp-send-buffer): New function.
8070         (elmo-nntp-send-data-line): Define as inline function.
8071         (elmo-nntp-get-folders-info-prepare): Use session as key.
8072         (elmo-nntp-groups-read-response): Changed argument.
8073         (elmo-nntp-retrieve-headers): Ditto.
8074         (elmo-nntp-msgdb-create-message): Ditto.
8075
8076         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8077         when searching by 'since' or 'before'.
8078
8079 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8080
8081         * elmo-version.el (toplevel): Use product-version-as-string for set
8082         verstion-string, if defined.
8083
8084 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8085
8086         * elmo-util.el: Doc fixes.
8087
8088 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8089
8090         * elmo-archive.el (toplevel): Use product-provide.
8091         * elmo-cache.el (toplevel): Ditto.
8092         * elmo-database.el (toplevel): Ditto.
8093         * elmo-date.el (toplevel): Ditto.
8094         * elmo-dop.el (toplevel): Ditto.
8095         * elmo-filter.el (toplevel): Ditto.
8096         * elmo-imap4.el (toplevel): Ditto.
8097         * elmo-internal.el (toplevel): Ditto.
8098         * elmo-localdir.el (toplevel): Ditto.
8099         * elmo-localnews.el (toplevel): Ditto.
8100         * elmo-maildir.el (toplevel): Ditto.
8101         * elmo-msgdb.el (toplevel): Ditto.
8102         * elmo-multi.el (toplevel): Ditto.
8103         * elmo-net.el (toplevel): Ditto.
8104         * elmo-nntp.el (toplevel): Ditto.
8105         * elmo-pipe.el (toplevel): Ditto.
8106         * elmo-pop3.el (toplevel): Ditto.
8107         * elmo-util.el (toplevel): Ditto.
8108         * elmo-vars.el (toplevel): Ditto.
8109         * elmo2.el (toplevel): Ditto.
8110         * mmelmo-1.el (toplevel): Ditto.
8111         * mmelmo-2.el (toplevel): Ditto.
8112         * mmelmo-imap4-1.el (toplevel): Ditto.
8113         * mmelmo-imap4-2.el (toplevel): Ditto.
8114         * mmelmo-imap4.el (toplevel): Ditto.
8115         * mmelmo.el (toplevel): Ditto.
8116
8117 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8118
8119         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8120         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8121
8122 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8123
8124         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8125         before splitting.
8126         (elmo-multi-split-number-alist): Ditto.
8127
8128 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8129
8130         * elmo-version.el: New file.  Use product.el.
8131         * elmo2.el: Add (require 'elmo-version).
8132         * elmo-vars.el (elmo-appname, elmo-version): Move to
8133         elmo-version.el
8134
8135 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8136
8137         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8138         `elmo-msgdb-expand-path'.
8139         (elmo-msgdb-load): Ditto.
8140         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8141         (elmo-generic-list-folder-unread): Rewrite.
8142         (elmo-generic-list-folder-important): Changed argument.
8143         (elmo-list-folder-unread): Ditto.
8144         (elmo-list-folder-important): Ditto.
8145         (elmo-folder-diff): Rewrite.
8146         (elmo-generic-folder-diff): New function.
8147         (elmo-multi-get-number-alist-list): Abolished
8148         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8149         (elmo-multi-folder-diff): Moved to elmo-multi.el
8150         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8151
8152         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8153         `elmo-msgdb-expand-path'.
8154         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8155         (elmo-pop3-read-msg): Ditto.
8156         (elmo-pop3-delete-msgs): Ditto.
8157         (elmo-pop3-folder-diff): New alias.
8158
8159         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8160         `elmo-msgdb-expand-path'.
8161         (elmo-pipe-list-folder-unread): Changed arguments.
8162         (elmo-pipe-list-folder-important): Ditto.
8163         (elmo-pipe-folder-diff): New alias.
8164
8165         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8166         `elmo-msgdb-expand-path'.
8167         (elmo-nntp-max-of-folder): Ditto.
8168         (elmo-nntp-msgdb-create): Ditto.
8169         (elmo-nntp-delete-msgs): Ditto.
8170         (elmo-nntp-folder-diff): New alias.
8171
8172         * elmo-multi.el (elmo-multi-folder-diff): New function.
8173         (elmo-multi-split-mark-alist): Ditto.
8174         (elmo-multi-split-number-alist): Ditto.
8175         (elmo-multi-mark-alist-list): Abolished (Renamed to
8176         elmo-multi-split-mark-alist).
8177         (elmo-multi-list-folder-unread): Rewrite.
8178         (elmo-multi-list-folder-important): Ditto.
8179         (elmo-multi-list-folder): Set `spec' as 1st argument for
8180         `elmo-msgdb-expand-path'.
8181         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8182         instead of `elmo-multi-get-number-alist-list'.
8183
8184         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8185         If 1st argument is not string, treat as spec.
8186         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8187         `elmo-msgdb-expand-path'.
8188         (elmo-msgdb-flist-load): Ditto.
8189         (elmo-msgdb-flist-save): Ditto.
8190         (elmo-msgdb-delete-path): Ditto.
8191         (elmo-msgdb-rename-path): Ditto.
8192
8193         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8194         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8195         (elmo-maildir-delete-mark-msgs): Ditto.
8196         (elmo-maildir-msgdb-create): Ditto.
8197         (elmo-maildir-read-msg): Ditto.
8198         (elmo-maildir-delete-msgs): Ditto.
8199         (elmo-maildir-list-folder-subr): Ditto.
8200         (elmo-maildir-search): Ditto.
8201         (elmo-maildir-get-msg-filename): Ditto.
8202         (elmo-maildir-pack-number): Ditto.
8203         (elmo-maildir-folder-diff): New alias.
8204
8205         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8206
8207         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8208         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8209         (elmo-localdir-folder-diff): New alias.
8210
8211         * elmo-internal.el (elmo-internal-list-folder-subr):
8212         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8213         (elmo-internal-list-folder-by-location): Ditto.
8214         (elmo-internal-msgdb-create): Ditto.
8215         (elmo-internal-delete-msgs): Ditto.
8216         (elmo-internal-read-msg): Ditto.
8217         (elmo-internal-folder-diff): New alias.
8218
8219         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8220         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8221         `elmo-msgdb-expand-path'.
8222         (elmo-imap4-list-folder-unread): Changed arguments.
8223         (elmo-imap4-list-folder-important): Ditto.
8224
8225         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8226         (elmo-filter-list-folder-important): Ditto.
8227         (elmo-filter-folder-diff): New function.
8228
8229         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8230
8231         * elmo-cache.el (elmo-cache-list-folder):
8232         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8233         (elmo-cache-copy-msgs): Ditto.
8234         (elmo-cache-folder-diff): New alias.
8235
8236         * elmo-archive.el (elmo-archive-list-folder-subr):
8237         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8238         (elmo-archive-get-archive-name): Ditto.
8239         (elmo-archive-create-file): Ditto.
8240         (elmo-archive-append-msg): Ditto.
8241         (elmo-archive-copy-msgs): Ditto.
8242         (elmo-archive-copy-msgs-froms): Ditto.
8243         (elmo-archive-get-msg-filename): Ditto.
8244         (elmo-archive-folder-diff): New alias.
8245
8246 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8247
8248         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8249         (elmo-pop3-stream-type-alist): New variable.
8250         (elmo-nntp-stream-type-alist): New variable.
8251
8252         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8253         (elmo-kill-buffer): Ditto.
8254         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8255         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8256         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8257         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8258         (elmo-imap4-get-spec): Take into account
8259         `elmo-imap4-stream-type-alist'.
8260
8261 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8262
8263         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8264         (elmo-nntp-list-folders-get-cache): Ditto.
8265
8266 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8267
8268         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8269         character before 'uid'.
8270
8271 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8272
8273         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8274
8275         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8276
8277         * elmo-util.el (elmo-number-set-member): New function.
8278         (elmo-number-set-append-list): Ditto.
8279         (elmo-number-set-append): Ditto.
8280
8281         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8282         Use `elmo-number-set-member'.
8283         (elmo-living-messages): Ditto.
8284         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8285         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8286
8287         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8288         (elmo-imap4-add-to-cont-list): Abolished.
8289         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8290         instead of elmo-imap4-add-to-cont-list.
8291
8292         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8293         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8294
8295         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8296
8297 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8298
8299         * elmo-util.el (elmo-condition-parse-search-value):
8300         Fixed date parsing.
8301
8302 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8303
8304         * elmo-util.el (elmo-condition-find-key-internal): New function.
8305         (elmo-condition-find-key): Ditto.
8306
8307         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8308         (elmo-msgdb-search-internal): Ditto.
8309         (elmo-msgdb-search): Ditto.
8310
8311 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8312
8313         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8314         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8315
8316         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8317         (elmo-nntp-search-primitive): Fixed problem when condition is
8318         'unmatch'.
8319
8320         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8321
8322         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8323         (elmo-nntp-xhdr-p): New macro.
8324         (elmo-nntp-set-xhdr): Ditto.
8325         (elmo-nntp-parse-xhdr-response): New function.
8326         (elmo-nntp-retrieve-field): Ditto.
8327         (elmo-nntp-search-primitive): Ditto.
8328         (elmo-nntp-search): Implemented.
8329
8330         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8331
8332         * elmo-archive.el (elmo-archive-search): Set all number list to
8333         `elmo-archive-field-condition-match'
8334
8335         * elmo-localdir.el (elmo-localdir-search): Likewise.
8336
8337         * elmo-maildir.el (elmo-maildir-search): Likewise.
8338
8339 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8340
8341         * elmo-msgdb.el (elmo-living-messages): New function.
8342         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8343         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8344         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8345         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8346         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8347         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8348         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8349         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8350         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8351         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8352         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8353
8354 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8355
8356         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8357
8358         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8359
8360         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8361
8362         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8363         arguments for `SEARCH' command.
8364         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8365         All other related portions are changed.
8366
8367         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8368
8369         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8370         (elmo-list-folder-unread): Rewrite.
8371         (elmo-list-folder-important): Ditto.
8372
8373         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8374         (elmo-condition-parse-error): New inline function.
8375         (elmo-read-search-condition): New function.
8376         (elmo-read-search-condition-internal): Ditto.
8377         (elmo-parse-search-condition): Rewrite.
8378         (elmo-condition-parse): New function.
8379         (elmo-condition-parse-or-expr): Ditto.
8380         (elmo-condition-parse-and-expr): Ditto.
8381         (elmo-condition-parse-primitive): Ditto.
8382         (elmo-condition-parse-search-value): Ditto.
8383         (elmo-buffer-field-primitive-condition-match): Ditto.
8384         (elmo-buffer-field-condition-match): Rewrite.
8385         (elmo-file-field-condition-match): Ditto.
8386
8387         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8388         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8389
8390         * elmo-internal.el (elmo-internal-search): Set `number' and
8391         `number-list' argument of `elmo-file-field-condition-match'.
8392
8393         * elmo-maildir.el (elmo-maildir-search): Ditto.
8394
8395         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8396         `msgdb' as argument instead of `mark-alist'.
8397         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8398         `overview'.
8399
8400         * elmo-multi.el: Likewise.
8401
8402         * elmo-pipe.el: Likewise.
8403
8404         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8405         (elmo-imap4-search-internal): Rewrite.
8406         (elmo-imap4-search): Ditto.
8407
8408         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8409         (elmo-filter-list-folder-unread): Ditto.
8410         (elmo-filter-list-folder-important): Ditto.
8411         (elmo-filter-search): Rewrite.
8412
8413         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8414         `number-list' argument of `elmo-file-field-condition-match'.
8415         (elmo-cache-search): Ditto.
8416
8417         * elmo-localdir.el: Likewise.
8418
8419         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8420         number-list and pass it to `elmo-buffer-field-condition-match'.
8421         (elmo-archive-field-condition-match): Pass `number-list' to
8422         `elmo-archive-field-condition-match'
8423
8424 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8425
8426         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8427         `listgroup'.
8428
8429         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8430         (elmo-folder-diff-async-callback-data): Ditto.
8431         (elmo-folder-diff-async): New function.
8432
8433         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8434         (elmo-network-session-cache-key): Use it as a prefix of the session
8435         name.
8436         (elmo-network-open-session): Ditto.
8437
8438         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8439         (elmo-imap4-status-callback-data): Ditto.
8440         (elmo-imap4-server-diff-async-callback): New variable.
8441         (elmo-imap4-server-diff-async-callback-data): Ditto.
8442         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8443         `elmo-imap4-status-callback-data'.
8444         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8445         `elmo-imap4-status-callback-data' as nil.
8446         (elmo-imap4-server-diff): Ditto.
8447         (elmo-imap4-server-diff-async-callback-1): New function.
8448         (elmo-imap4-server-diff-async): Ditto.
8449         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8450
8451 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8452
8453         * elmo-util.el (elmo-list-delete): Doc fix.
8454         (elmo-delete-lists): Abolish.
8455         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8456         instead of `elmo-delete-lists'.
8457
8458 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8459
8460         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8461         before `sort'.
8462
8463 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8464
8465         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8466         `elmo-imap4-literal-subr'.
8467         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8468         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8469
8470 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8471
8472         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8473         (elmo-archive-list-folder): Fix.
8474         (elmo-archive-max-of-folder): Fix.
8475
8476 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8477
8478         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8479          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8480         (elmo-localdir-append-msg): Ditto.
8481         (elmo-localdir-list-folder): Fix for `nonsort'.
8482         (elmo-localdir-list-folder-subr): Fix for `killed'.
8483         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8484         (elmo-maildir-list-folder-subr): Ditto.
8485         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8486         (elmo-archive-list-folder-subr): Ditto.
8487         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8488         (elmo-internal-list-folder-subr): Ditto.
8489
8490 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8491
8492         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8493
8494 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8495
8496         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8497
8498 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8499
8500         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8501         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8502
8503         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8504         before greeting.
8505         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8506         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8507
8508 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8509
8510         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8511
8512         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8513         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8514         before STORE command.
8515
8516 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8517
8518         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8519
8520         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8521         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8522         of `response'.
8523         (elmo-imap4-list-folders): Removed unused local variable.
8524         (elmo-network-initialize-session): Ditto.
8525         (elmo-imap4-delete-msg-by-id): Ditto.
8526         (elmo-imap4-parse-fetch): Ditto.
8527         (elmo-imap4-copy-msgs): Ditto.
8528         Use `dst-spec' instead of `dst-folder'.
8529         (elmo-network-authenticate-session): Check authenticate type `plain'.
8530
8531 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8532
8533         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8534         garbage checking.
8535         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8536         `elmo-imap4-response-value'.
8537         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8538
8539 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8540
8541         * elmo-imap4.el (elmo-imap4-send-command):
8542         Cause elmo-imap4-bye-error when current response is BYE.
8543         (elmo-imap4-arrival-filter): Changed greeting response value.
8544
8545         * elmo2.el (elmo-imap4-bye-error): Define.
8546
8547         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8548         (elmo-imap4-server-diff): Ditto.
8549         (elmo-imap4-response-bye-p): New macro.
8550         (elmo-imap4-response-error-text): Get text from BYE response.
8551         (elmo-imap4-read-response): Return if BYE response.
8552         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8553         (elmo-imap4-folder-exists-p): Ditto.
8554         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8555         (elmo-imap4-parse-bye): New function.
8556         (elmo-imap4-parse-response): Remove needless let.
8557         Call `elmo-imap4-parse-bye'.
8558
8559 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8560
8561         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8562         the mailbox does not exist.
8563         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8564
8565 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8566
8567         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8568
8569 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8570
8571         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8572
8573         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8574         (elmo-network-initialize-session-buffer): Defined.
8575
8576         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8577         Abolished.
8578         (mmelmo-imap4-get-mime-entity): Rewrite.
8579
8580         * elmo2.el (elmo-error): Capitalize error message.
8581
8582         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8583         (elmo-network-session-buffer): New macro.
8584         (elmo-network-open-session): Use it.
8585
8586         * elmo-imap4.el: Rewrite.
8587
8588 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8589
8590         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8591
8592 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8593
8594         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8595         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8596         (elmo-imap4-create-msgdb-from-overview-string): Use
8597         `elmo-msgdb-create-overview-from-buffer'.
8598
8599 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8600
8601         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8602         (elmo-imap4-default-hierarchy-delimiter): New variable.
8603         (elmo-imap4-list-folders): Use it.
8604
8605 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8606
8607         * elmo-net.el (elmo-network-open-session): Add user and
8608         stream-type for process-buffer name.
8609
8610         * elmo-pop3.el (elmo-network-initialize-session): Call
8611         buffer-disable-undo.
8612
8613         * elmo-imap4.el (elmo-network-initialize-session):
8614         Set current-buffer as an argument for `buffer-disable-undo'.
8615
8616         * elmo-pop3.el (elmo-network-close-session): Don't use
8617         `process-live-p'.
8618
8619         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8620         Set default as 'user.
8621
8622         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8623
8624         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8625         and `elmo-imap4-flush-connection'.
8626
8627         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8628         (elmo-pop3-get-spec): Assume auth as symbol.
8629         (elmo-open-network-stream): Moved to `elmo-net'.
8630
8631         * elmo-pop3.el (toplevel): Require 'elmo-net.
8632         Define `sasl-cram-md5' to silence byte compilier.
8633         (elmo-pop3-connection-cache) Abolished.
8634         (elmo-pop3-authenticator-alist) New variable.
8635         (elmo-pop3-session): Define.
8636         (elmo-pop3-connection-get-process): Abolished.
8637         (elmo-pop3-connection-get-buffer): Ditto.
8638         (elmo-pop3-close-connection): Ditto.
8639         (elmo-pop3-flush-connection): Ditto.
8640         (elmo-pop3-get-connection): Ditto.
8641         (elmo-pop3-get-session): New function.
8642         (Replacement for `elmo-pop3-get-connection').
8643         All other related modules are changed.
8644         (elmo-network-close-session): Define.
8645         (elmo-pop3-send-command): Abolished argument `buffer'.
8646         All other related modules are changed.
8647         (elmo-pop3-read-response): Likewise.
8648         (elmo-pop3-open-connection): Abolished.
8649         (elmo-pop3-auth-user): New function.
8650         (elmo-pop3-auth-apop): Ditto.
8651         (elmo-pop3-auth-cram-md5): Ditto.
8652         (elmo-pop3-auth-scram-md5): Ditto.
8653         (elmo-pop3-auth-digest-md5): Ditto.
8654         (elmo-network-initialize-session): Define.
8655         (elmo-network-authenticate-session): Ditto.
8656         (elmo-network-setup-session): Ditto.
8657
8658         * elmo-imap4.el (toplevel): Require 'elmo-net.
8659         (elmo-imap4-session): Define.
8660         (elmo-imap4-connection-cache): Abolished.
8661         (elmo-imap4-password-key): Ditto.
8662         (elmo-imap4-flush-connection): Ditto.
8663         (elmo-imap4-get-connection): Ditto.
8664         All other related modules are changed.
8665         (elmo-imap4-get-session): New function
8666         (Replacement for `elmo-imap4-get-connection').
8667         (elmo-imap4-read-response): Abolished argument `buffer'.
8668         All other related modules are changed.
8669         (elmo-imap4-send-command): Likewise.
8670         (elmo-imap4-select-folder): Abolished.
8671         All other related modules are changed.
8672         (elmo-imap4-select-mailbox): New function.
8673         (Replacement for `elmo-imap4-select-folder').
8674         (elmo-imap4-auth-login): Simplify.
8675         (Assume current buffer as process buffer)
8676         (elmo-imap4-auth-cram-md5): Ditto.
8677         (elmo-imap4-auth-digest-md5): Ditto.
8678         (elmo-imap4-login): Ditto.
8679         (elmo-imap4-open-connection): Abolished.
8680         (elmo-imap4-open-connection-1): Abolished.
8681         (elmo-network-initialize-sessoin): Define.
8682         (elmo-network-authenticate-session): Ditto.
8683         (elmo-network-setup-session): Ditto.
8684
8685         * elmo-net.el: New module.
8686
8687 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8688
8689         * elmo-util.el (elmo-define-error): New function.
8690
8691         * elmo2.el (elmo-error): Define.
8692         (elmo-open-error): Define.
8693         (elmo-authenticate-error): Define.
8694
8695         * elmo-imap4.el (elmo-imap4-error): Abolish.
8696         (elmo-imap4-error-type): Abolish.
8697         (elmo-imap4-error-process): Abolish.
8698         (elmo-imap4-error-message): Abolish
8699         (elmo-imap4-list-folders): Don't quote lambda.
8700         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8701         (elmo-imap4-parse-namespace): Ditto.
8702         (elmo-imap4-open-connection): Rewrite.
8703         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8704         (elmo-imap4-get-connection): Abolish local variable `result'.
8705
8706 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8707
8708         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8709         wrong-type-argument error when auth is nil.
8710
8711 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8712
8713         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8714         (elmo-default-nntp-stream-type): Ditto.
8715         (elmo-default-pop3-stream-type): Ditto.
8716         (elmo-network-stream-type-alist): Ditto.
8717         (elmo-default-imap4-ssl): Abolished.
8718         (elmo-default-nntp-ssl): Ditto.
8719         (elmo-default-pop3-ssl): Ditto.
8720
8721         * elmo-util.el: (toplevel): Removed needless requires.
8722         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8723         (elmo-open-network-stream): Open network stream according to
8724         the value of `elmo-network-stream-type-alist'.
8725         (elmo-get-network-stream-type): New function.
8726         (elmo-network-stream-type-spec-string): New macro.
8727         (elmo-network-stream-type-symbol): Ditto.
8728         (elmo-network-stream-type-function): Ditto.
8729
8730         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8731         network-stream-type. All other related portions are changed.
8732         (elmo-pop3-open-connection): Ditto.
8733
8734         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8735         network-stream-type. All other related portions are changed.
8736
8737         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8738         network-stream-type.All other related portions are changed.
8739         (elmo-imap4-error): New macro.
8740         (elmo-imap4-error-type): Ditto.
8741         (elmo-imap4-error-process): Ditto.
8742         (elmo-imap4-error-message): Ditto.
8743         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8744         (elmo-imap4-auth-cram-md5): Ditto.
8745         (elmo-imap4-auth-digest-md5): Ditto.
8746         (elmo-imap4-login): Ditto.
8747         (elmo-imap4-open-connection): Remove password entry if authentication
8748         was in vain.
8749         (elmo-imap4-user-at-host): Abolished.
8750         (elmo-imap4-password-key): New buffer local variable.
8751         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8752         using protocol, port, auth and stream-type.
8753
8754         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8755
8756 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8757
8758         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8759
8760         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8761
8762         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8763         (elmo-imap4-authenticator-alist): New variable.
8764         (elmo-imap4-open-connection-1): Rename from
8765         elmo-imap4-open-connection.
8766         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8767         only wraps elmo-imap4-open-connection-1.
8768         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8769         user-at-host.
8770         (elmo-imap4-auth-login): New function.
8771         (elmo-imap4-auth-cram-md5): New function.
8772         (elmo-imap4-auth-digest-md5): New function.
8773         (elmo-imap4-login): New function.
8774
8775 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8776
8777         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8778         function `error'.
8779
8780 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8781
8782         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8783
8784 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8785
8786         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8787
8788 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8789
8790         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8791         for server responses, quote `*' regardless of where it appears.
8792
8793 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8794
8795         * elmo-maildir.el (elmo-maildir-commit): New alias.
8796
8797 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8798
8799         * elmo-util.el (elmo-display-progress):
8800                 Use `progress-feedback-with-label'.
8801
8802 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8803
8804         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8805         (elmo-imap4-non-atom-char-regex): Ditto.
8806         (elmo-imap4-non-text-char-regex): Ditto.
8807         (elmo-imap4-literal-threshold): Ditto.
8808         (elmo-imap4-atom-p): New function.
8809         (elmo-imap4-quotable-p): Ditto.
8810         (elmo-imap4-nil): Ditto.
8811         (elmo-imap4-atom): Ditto.
8812         (elmo-imap4-quoted): Ditto.
8813         (elmo-imap4-literal-subr): Ditto.
8814         (elmo-imap4-literal): Ditto.
8815         (elmo-imap4-buffer-literal): Ditto.
8816         (elmo-imap4-string-subr): Ditto.
8817         (elmo-imap4-string): Ditto.
8818         (elmo-imap4-buffer-string): Ditto.
8819         (elmo-imap4-astring-subr): Ditto.
8820         (elmo-imap4-astring): Ditto.
8821         (elmo-imap4-buffer-astring): Ditto.
8822         (elmo-imap4-nstring): Ditto.
8823         (elmo-imap4-buffer-nstring): Ditto.
8824         (elmo-imap4-mailbox): New alias.
8825         (elmo-imap4-field-body): Ditto.
8826         (elmo-imap4-userid): Ditto.
8827         (elmo-imap4-password): Ditto.
8828         (elmo-imap4-format-quoted): New function.
8829         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8830         arguments and handle "atom", "quoted" and "literal" string here.
8831         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8832         `elmo-imap4-send-command'.
8833         (elmo-imap4-folder-exists-p): Likewise.
8834         (elmo-imap4-create-folder): Likewise.
8835         (elmo-imap4-delete-folder): Likewise.
8836         (elmo-imap4-rename-folder): Likewise.
8837         (elmo-imap4-max-of-folder): Likewise.
8838         (elmo-imap4-check-validity): Likewise.
8839         (elmo-imap4-sync-validity): Likewise.
8840         (elmo-imap4-server-diff): Likewise.
8841         (elmo-imap4-select-folder): Likewise.
8842         (elmo-imap4-copy-msgs): Likewise.
8843         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8844         (elmo-imap4-mark-set-on-msgs): Likewise.
8845         (elmo-imap4-read-part): Likewise.
8846         (elmo-imap4-read-msg): Likewise.
8847         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8848         `elmo-imap4-password' for `elmo-imap4-send-command'.
8849         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8850         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8851         `elmo-imap4-buffer-literal'.
8852         (elmo-imap4-append-msg): Likewise.
8853
8854         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8855         `delete' for removing dead connection from the connection cache.
8856         Move deletion of the process buffer after that.
8857         (elmo-imap4-list): Change `defsubst' to `defun'.
8858         (elmo-imap4-commit): Make error message verbose.
8859         (elmo-imap4-search): Ditto.
8860         (elmo-imap4-list): Ditto.
8861         (elmo-imap4-select-folder): Ditto.
8862         (elmo-imap4-copy-msgs): Ditto.
8863         (elmo-imap4-delete-msg-by-id): Ditto.
8864         (elmo-imap4-append-msg-by-id): Ditto.
8865         (elmo-imap4-append-msg): Ditto.
8866
8867 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8868
8869         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8870         when dired is used on XEmacs.
8871
8872 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8873
8874         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8875         instead of `append'.
8876         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8877         `elmo-plugged-p' directly.
8878         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8879         of `elmo-plugged-p' directly.
8880
8881         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8882         Eliminate unused variable.  Use `memq' for checking a process status.
8883         Use `cons' instead of `append' for updating the connection cache.
8884         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8885         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8886
8887 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8888
8889         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8890         `elmo-imap4-read-point' exactly.
8891
8892         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8893         the local variable `folder' to `mailbox'.
8894         Rename the argument `fld' to `folder'.
8895
8896 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8897
8898         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8899         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8900
8901 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8902
8903         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8904         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8905         (elmo-pop3-uidl-number-hash): Ditto.
8906         (elmo-pop3-size-hash): Ditto.
8907         (elmo-pop3-uidl-done): Ditto.
8908         (elmo-pop3-list-done): Ditto.
8909         (elmo-pop3-connection-get-process): New defmacro.
8910         (elmo-pop3-connection-get-buffer): Ditto.
8911         (elmo-pop3-close-connection): Delete buffer and process.
8912         (elmo-pop3-flush-connection): Don't delete buffer and process.
8913         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8914         Setup UIDL and size hash.
8915         (elmo-pop3-send-command-no-erase): Deleted
8916         (elmo-pop3-send-command): Added optional argument `no-erase'.
8917         (elmo-pop3-parse-uidl-response): New function.
8918         (elmo-pop3-parse-list-response): Set size hash.
8919         (elmo-pop3-list-location): New function.
8920         (elmo-pop3-list-by-uidl-subr): Ditto.
8921         (elmo-pop3-list-by-list): Ditto.
8922         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8923         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8924         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8925         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8926         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8927         Use uidl.
8928         (elmo-pop3-uidl-to-number): New function.
8929         (elmo-pop3-number-to-uidl): Ditto.
8930         (elmo-pop3-number-to-size): Ditto.
8931         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8932         Set number by use of uidl.
8933         (elmo-pop3-msgdb-create-message): Likewise.
8934         Set size, loc-alist in msgdb.
8935         (elmo-pop3-read-msg): Set number by use of uidl.
8936         Added optional argument `msgdb'.
8937         (elmo-pop3-delete-msg): Ditto.
8938         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8939         (elmo-pop3-commit): Close connection.
8940
8941         * elmo-pipe.el (elmo-pipe-max-of-folder):
8942         Bind `elmo-pop3-use-uidl' as nil.
8943         (elmo-pipe-drain): Ditto.
8944         Call `elmo-commit'.
8945
8946         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8947         (elmo-msgdb-overview-entity-set-size): New defsubst.
8948
8949 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8950
8951         * elmo-vars.el (elmo-use-killed-list): New variable
8952         (Renamed from `elmo-nntp-use-killed-list').
8953         (elmo-nntp-use-killed-list): Eliminated.
8954
8955         * elmo-msgdb.el (elmo-msgdb-expand-path):
8956         Changed expanding msgdb path for elmo-multi.
8957
8958         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8959         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8960         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8961         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8962         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8963         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8964         (toplevel): Deleted time-stamp line.
8965
8966         * elmo2.el (elmo-clear-killed ): Defined as function
8967         (Abolished defining as a backend function).
8968         All other related modules are changed.
8969
8970 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8971
8972         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8973
8974 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8975
8976         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8977
8978 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8979
8980         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8981
8982 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8983
8984         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8985         asynchronous folder check.
8986
8987         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8988
8989         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8990         `elmo-nntp-use-killed-list'.
8991         (elmo-nntp-list-folder): Use killed list.
8992         (elmo-nntp-max-of-folder): Ditto.
8993         (elmo-nntp-msgdb-create): Set killed list.
8994
8995         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8996
8997         * elmo2.el (elmo-clear-killed): New backend function.
8998         All other related modules are changed.
8999
9000 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9001
9002         * elmo-util.el (elmo-imap4-spec-folder): Use
9003         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9004         All callers changed.
9005
9006 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9007
9008         * mmelmo-2.el (initialize-instance):
9009         Use `mime-buffer-entity-buffer-internal' instead of
9010         `mime-entity-buffer'.
9011
9012         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9013         (mime-entity-body): Implemented.
9014         (mime-goto-header-start-point): Deleted.
9015         (mime-goto-body-end-point): Ditto.
9016         (mime-entity-point-min): Ditto.
9017         (mime-entity-point-max): Ditto.
9018         (mime-entity-children): Ditto.
9019         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9020         instead of `mime-entity-buffer'.
9021         (mime-entity-header-buffer): Ditto.
9022         (mime-entity-body-buffer): Ditto.
9023         (mime-write-entity-content): Ditto.
9024
9025         * pldap.el (ldap-static-if): New macro.
9026         (toplevel): Use it instead of `static-if'.
9027
9028 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9029
9030         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9031         included in `attrs' argument.
9032
9033 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9034
9035         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9036
9037         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9038         (ldap-ldif-safe-init-char-regexp): Ditto.
9039         (ldap-ldif-safe-string-regexp): Ditto.
9040         (ldap/ldif-safe-string-p): New macro.
9041         (ldap/ldif-insert-field): Ditto.
9042         (ldap-modify): Use it.
9043         (ldap-add): Ditto.
9044         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9045         (ldap-decode-attribute): Decode only when `attr' is consp.
9046         (ldap-delete): Bind `ret'.
9047         (toplevel): Require 'cl at compile time.
9048         Removed (require 'poe) and (require 'std11).
9049         (pldap-version): Eliminated.
9050         (ldap-search-basic): Removed auth and dn binding.
9051         (ldap-ldif-field-name-regexp): New constant.
9052         (ldap-ldif-field-head-regexp): Ditto.
9053         (ldap-ldif-next-field-head-regexp): Ditto.
9054         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9055         (ldap/field-end): New function.
9056         (ldap/field-body): Use it.
9057         (ldap/collect-field): Ditto.
9058         (ldap-search-basic): Use `ldap/field-body'.
9059
9060 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9061
9062         * pldap.el (ldap-default-attribute-encoder): New user option.
9063         (ldap/field-body): Decode base64 string.
9064         (ldap/collect-field): Ditto.
9065         (ldap-encode-attribute): New function.
9066         (ldap-add-entries): Use it.
9067         (ldap-modify-entries): Ditto.
9068         (ldap-search-entries): Enclosed decoding function with
9069         `with-temp-buffer' and set as unibyte.
9070         (ldap-search-basic): Set process buffer as unibyte.
9071
9072         * elmo-util.el (elmo-folder-identical-system-p):
9073         Eliminated name space checking.
9074
9075         * pldap.el: New module.
9076         toplevel: Changed condition to detect built-in ldap feature.
9077         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9078         (ldap-add): Added error handling.
9079         (ldap-modify): Ditto.
9080         (ldap-delete): Ditto.
9081
9082 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9083
9084         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9085         Initialize local variables with `let'.  Inline a temporary
9086         variable for the progress percentage.  Sort `setq' to reduce
9087         function call in the while-loop.
9088
9089         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9090         into the conditional branch.
9091
9092 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9093
9094         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9095         Move a conditional out of the while-loop.
9096
9097 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9098
9099         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9100         elmo-msgdb-overview-get-entity-by-number.
9101         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9102         throw.
9103
9104 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9105
9106         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9107         the local variable for a packed number self descriptively.
9108
9109 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9110
9111         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9112         * elmo-localdir.el (elmo-localdir-pack-number): Use
9113         `elmo-msgdb-overview-get-entity' instead of
9114         `elmo-msgdb-overview-get-entity-by-number'.
9115         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9116         (elmo-msgdb-search-overview-entity): Removed.
9117         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9118         by message-id or number.
9119         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9120         instead of `elmo-msgdb-overview-get-entity-by-number'.
9121
9122 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9123
9124         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9125         non-nil, use hash table for overview.
9126         (elmo-hash-maximum-size): New variable.
9127         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9128         (elmo-msgdb-make-overview-hashtb): New function.
9129         (elmo-msgdb-clear-overview-hashtb): New function.
9130         (elmo-clear-hash-val): New macro.
9131         All other related modules are changed.
9132
9133 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9134
9135         * elmo2.el (elmo-move-msgs): If there's other message with
9136         same message-id, don't use cache.
9137
9138 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9139
9140         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9141         number is already packed.
9142
9143 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9144
9145         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9146
9147 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9148
9149         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9150         All other related modules are changed.
9151
9152 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9153
9154         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9155         of refiling failure on Maildir.
9156
9157 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9158
9159         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9160         decoded mime-charset with cache.
9161         (elmo-msgdb-overview-entity-get-from): Ditto.
9162         (elmo-msgdb-overview-entity-get-subject): Ditto.
9163         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9164
9165 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9166
9167         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9168         (elmo-remove-passwd): Fill password with 0 before erase.
9169         * elmo-vars.el (elmo-passwd-life-time): New variable.
9170
9171 \f
9172 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9173
9174         * elmo-cache.el (elmo-buffer-cache-add):
9175         Set message cache buffer as unibyte.
9176
9177 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9178
9179         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9180         become nil.
9181
9182 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9183
9184         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9185         when display is finished.
9186         (elmo-nntp-msgdb-create): Ditto.
9187         (elmo-nntp-groups-read-response): Ditto.
9188         (elmo-nntp-retrieve-headers): Ditto.
9189         (elmo-nntp-msgdb-create-message): Ditto.
9190         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9191         (elmo-pop3-msgdb-create-message): Ditto.
9192
9193 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9194
9195         * elmo-maildir.el (elmo-maildir-msgdb-create):
9196         Use `elmo-msgdb-sort-by-date'.
9197
9198 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9199
9200         * elmo2.el (elmo-read-msg-no-cache):
9201         Eliminated arguments after `outbuf'.
9202         Don't use cache even if it exists.
9203         (elmo-read-msg): Don't pass arguments after `outbuf' to
9204         `elmo-read-msg-no-cache'.
9205
9206 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9207
9208         * elmo-archive.el (elmo-archive-list-folders):
9209         Use `file-name-directory' if base folder does not exist.
9210
9211 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9212
9213         * elmo-archive.el (elmo-archive-list-folders): Don't use
9214         `file-name-directory'.
9215
9216 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9217
9218         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9219         If `force' is non-nil, try flushing all operation queues.
9220
9221 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9222
9223         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9224         as-binary-process.
9225
9226 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9227
9228         * elmo-util.el (elmo-display-progress): Fixed.
9229
9230 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9231
9232         * elmo-util.el (elmo-display-progress): New function.
9233         All other related modules are changed.