1 2010-01-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
3 * elmo-util.el (elmo-set-work-buf): Revert `save-excursion' for
6 2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
8 * acap.el (acap-parse-response): Fix comment-out style. Use three
9 semicolons, that should start at the left margin.
10 See. also (Info-goto-node "(elisp)Comment Tips").
11 * elmo.el (toplevel, elmo-message-match-condition)
12 (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
14 * elmo-archive.el (elmo-archive-suffix-alist)
15 (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
16 (elmo-archive-method-list)
17 (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
19 * elmo-imap4.el (toplevel)
20 (elmo-imap4-send-command, elmo-imap4-check-validity)
21 (elmo-imap4-fetch-callback-1-subr)
22 (elmo-network-initialize-session, elmo-server-diff-async)
23 (elmo-imap4-folder-diff-plugged): Ditto
24 * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
25 * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
26 * elmo-net.el (elmo-network-close-session): Ditto.
27 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
28 (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
29 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
30 * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
31 (elmo-number-set-delete)
32 (elmo-cache-get-oldest-cache-file-entity): Ditto.
34 2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
36 * elmo-version.el (elmo-version): Up to 2.15.8.
38 * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
39 `with-current-buffer' instead of `save-excursion' (for suppress
42 * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
43 instead of `int-to-string'.
44 * elmo-archive.el (elmo-archive-message-fetch-internal)
45 (elmo-archive-folder-message-make-temp-files)
46 (elmo-archive-folder-append-buffer)
47 (elmo-folder-delete-messages-internal)
48 (elmo-archive-msgdb-create-entity)
49 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
50 * elmo-util.el (elmo-cache-expire-by-age): Ditto.
51 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
52 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
53 * elmo-imap4.el (elmo-imap4-make-number-set-list)
54 (elmo-folder-list-subfolders): Ditto.
55 * elmo-localdir.el (elmo-message-file-name)
56 (elmo-folder-message-make-temp-files)
57 (elmo-localdir-msgdb-create-entity)
58 (elmo-folder-append-messages-*-localdir)
59 (elmo-folder-pack-numbers): Ditto.
60 * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
61 * elmo-map.el (elmo-location-map-key): Ditto.
62 * elmo-nntp.el (elmo-nntp-folder-postfix)
63 (elmo-nntp-folder-list-subfolders)
64 (elmo-nntp-folder-msgdb-create): Ditto.
66 * elmo.el (elmo-crosspost-message-alist-save): Don't use
67 `function' for `lambda'.
68 * elmo-archive.el (elmo-archive-folder-list-subfolders)
69 (elmo-folder-append-messages-*-archive)
70 (elmo-folder-delete-messages-internal): Ditto.
71 * elmo-date.el (elmo-replace-in-string): Ditto.
72 * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
73 (elmo-folder-list-flagged): Ditto.
74 * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
75 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
76 * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
78 2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
80 * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
81 `elmo-dop-spool-folder' was used before it was defined"; Use
84 * pldap.el (ldap/ldif-safe-string-p): macro to function.
85 * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
87 * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
88 `mapcar'; Suppress compile warning.
89 * elmo-imap4.el (elmo-network-initialize-session-buffer)
90 (elmo-imap4-search-internal-primitive): Ditto.
91 * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
92 * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
94 * elmo-imap4.el (elmo-imap4-parse-address-list)
95 (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
96 (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
97 (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
98 `(string-to-char " ")' instead of `? ', `?\ '.
100 2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
102 * pldap.el (ldap-search-entries): Don't use `function' for lambda.
103 (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
104 (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
105 `function' for lambda.
107 * modb-standard.el (modb-standard-cleanup-stale-entities): Use
108 `string-to-number' instead of `string-to-int'.
110 * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
111 instead of `save-excursion' (for suppress compile warnings).
112 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
113 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
114 (elmo-nntp-post): Ditto.
116 2009-08-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
118 * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
119 Mule-UCS (to-utf-16).
120 (utf7-utf-16-coding-system): Change preference when Mule-UCS on
123 2009-07-11 Taiki SUGAWARA <buzz.taiki@gmail.com>
125 * utf7.el (utf7-find-coding-system-without-bom): New Function.
126 (utf7-utf-16-coding-system): use no-BOM coding system.
127 (utf7-get-u16char-converter): remove workaround for BOM.
129 2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
131 * elmo-util.el (elmo-union): New function, make a union of two lists.
133 * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
134 mime-view when displaying malformed base64 attach.
136 * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
137 (removed duplicated code)
139 * modb-standard.el (modb-standard-cleanup-stale-entities): New
140 function, Remove stale entities from elmo's cache.
142 2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
144 * elmo-version.el (elmo-version): Up to 2.15.7.
146 2009-03-22 Tetsurou Okazaki <okazaki@be.to>
148 * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
149 default value to `--auto-update'.
151 2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
153 * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
154 Add `elmo-pop3-read-point' barrier.
156 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
158 * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
159 goto the previous end-point insead of the head-point, and use
160 `search-forward' instead of `re-search-forward'.
162 2008-06-30 Tetsurou Okazaki <okazaki@be.to>
164 * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
166 2008-06-30 Don Bashford <Don.Bashford@stjude.org>
168 * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
169 case-insensitive fashion.
171 2008-03-30 Tetsurou Okazaki <okazaki@be.to>
173 * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
175 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
177 * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
178 `eval-and-compile' for suppress compile warnings.
180 * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
181 instead of `defun-maybe'
183 * elmo-util.el: Add (eval-when-compile (require 'static)).
185 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
187 * mmimap.el: Remove (require 'static).
190 * elmo-flag.el: Move ';;; Code:' comment.
191 * elmo-imap4.el: Ditto.
192 * elmo-net.el: Ditto.
194 * elmo-version.el (product-provide): Fix comment.
196 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
198 * slp.el: Add (eval-when-compile (require 'cl)).
199 * elmo-date.el: Ditto.
200 * elmo-pop3.el: Ditto.
201 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
203 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
205 * modb.el (elmo-msgdb-match-condition-primitive): Use
206 `string-to-number' instead of `string-to-int'.
208 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
209 (elmo-msgdb-message-match-condition)
210 (elmo-msgdb-create-message-entity-from-buffer): Use
211 `string-to-number' instead of `string-to-int'.
213 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
214 instead of `string-to-int'.
216 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
217 instead of `string-to-int'.
219 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
220 `string-to-number' instead of `string-to-int'.
222 * elmo-nntp.el (elmo-nntp-make-msglist)
223 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
224 (elmo-nntp-create-msgdb-from-overview-string)
225 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
226 (elmo-nntp-search-primitive): Use `string-to-number' instead of
229 * elmo-net.el (elmo-net-folder-set-parameters): Use
230 `string-to-number' instead of `string-to-int'.
232 * elmo-localdir.el (elmo-localdir-list-subr): Use
233 `string-to-number' instead of `string-to-int'.
235 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
236 `string-to-number' instead of `string-to-int'.
238 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
239 instead of `string-to-int'.
241 * elmo-archive.el (elmo-archive-list-folder-subr): Use
242 `string-to-number' instead of `string-to-int'.
244 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
246 * elmo-util.el (elmo-get-passwd): Fix typo.
248 * elmo-nntp.el (elmo-nntp-get-server-command)
249 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
250 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
251 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
252 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
254 * elmo-imap4.el (elmo-imap4-debug)
255 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
256 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
257 (elmo-imap4-response-value, elmo-imap4-response-error-text)
258 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
259 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
260 (elmo-imap4-identical-system-p): New backquote style.
262 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
264 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
265 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
266 (elmo-dop-queue-arguments): Ditto.
268 * elmo-date.el (elmo-match-substring): New backquote style.
269 (elmo-match-string, elmo-match-buffer): Ditto.
270 (elmo-date-make-sortable-string): Ditto.
272 * elmo-archive.el (elmo-archive-get-method):New backquote style.
273 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
275 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
278 * elmo-net.el (elmo-network-stream-type-spec-string): New
280 (elmo-network-stream-type-symbol): Ditto.
281 (elmo-network-stream-type-feature): Ditto.
282 (elmo-network-stream-type-function): Ditto.
283 (elmo-network-session-buffer): Ditto.
285 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
286 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
287 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
288 (elmo-bind-directory, elmo-set-work-buf): Ditto.
290 * elmo.el (elmo-folder-send): New backquote style.
292 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
294 * pldap.el (ldap-static-if): New backquote style.
295 (ldap/ldif-safe-string-p): Ditto.
296 (ldap/ldif-insert-field): Ditto.
298 * elmo-version.el (elmo-version): Up to 2.15.6.
300 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
302 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
303 messages with \Deleted flag.
304 (elmo-folder-delete-messages-plugged): Ask before sending expunge
305 command if there are messages with \Deleted flag.
307 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
309 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
310 http://seclists.org/bugtraq/2007/Apr/0018.html
311 (Suggested by Tatsuya Kinoshita)
313 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
315 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
316 with \Noselect attribute.
318 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
320 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
321 hierarchical folder structure with UW-imapd.
323 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
325 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
326 when the LOGINDISABLED capability is advertised.
328 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
330 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
332 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
334 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
336 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
337 if the message entity is exists.
339 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
341 * elmo-util.el (elmo-msgdb-insert-file-header): Call
342 `elmo-delete-cr-buffer'.
344 * elmo-localdir.el (elmo-message-fetch-internal): Use
345 `insert-file-contents-as-raw-text' instead of
346 `insert-file-contents-as-binary'.
348 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
350 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
352 * elmo-imap4.el (elmo-network-initialize-session): Check to
353 retrieve a whole greeting message.
355 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
357 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
359 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
361 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
362 (elmo-progress-notify): Use it instead of `plist-get'.
364 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
366 * elmo.el (elmo-generic-folder-append-messages): Remove unused
369 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
371 * elmo-pipe.el (elmo-folder-set-plugged): Define.
373 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
375 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
376 (elmo-spam-list-spam-messages): Check it option.
378 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
380 * elmo-util.el (elmo-with-progress-display): Return the value
381 of the last form in `body'.
383 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
385 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
386 `elmo-progress-counter' as t when a query callback returns nil.
387 (elmo-progress-clear): New function.
388 (elmo-progress-done): Split into `elmo-progress-clear'.
389 (elmo-progress-notify): Update a total slot when it is nil.
390 (elmo-with-progress-display): Call `elmo-progress-clear' in
391 unwind-protect and move calling `elmo-progress-done' to outside.
393 * elmo-imap4.el (elmo-imap4-find-next-line): Call
394 `elmo-progress-notify' with :total parameter instead of
395 `elmo-progress-counter-set-total'.
397 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
399 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
401 (elmo-progress-start): Avoid updating `elmo-progress-counter'
402 when a query callback returns nil. Return a progress counter
403 instead of t whenever a start callback was called.
405 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
407 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
408 (elmo-imap4-send-command): Use it.
409 (elmo-network-initialize-session): Ditto.
410 (elmo-network-setup-session): Ditto.
411 (elmo-folder-msgdb-create-plugged): Ditto.
413 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
415 * elmo-util.el (elmo-progress-done): Fix a miss refer to
416 `elmo-progress-counter'.
418 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
420 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
421 (elsp-bsfilter-list-spam-filter): New function.
422 (elsp-bsfilter-start-list-spam): Ditto.
423 (elsp-bsfilter-read-list-spam): Ditto.
424 (elmo-spam-list-spam-messages): Use async process to display
425 progress message by each message.
427 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
429 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
430 of flushing previously inserted message contents.
432 * elmo-imap4.el (elmo-folder-search): Fix return value.
434 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
436 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
437 of reporter is enable or not.
439 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
441 * elmo-util.el (elmo-list-bigger-diff): Abolish.
442 (elmo-display-progress): Ditto.
443 (elmo-progress-counter-alist): Ditto.
444 (elmo-progress-set): Ditto.
445 (elmo-progress-clear): Ditto.
446 (elmo-progress-counter-all-value): Rename to
447 `elmo-progress-counter-total'.
448 (elmo-progress-counter-format): Rename to
449 `elmo-progress-counter-action'.
450 (elmo-progress-counter): New internal variable.
451 (elmo-progress-callback-function): Ditto.
452 (elmo-progress-counter-label): New function.
453 (elmo-progress-counter-set-total): Ditto.
454 (elmo-progress-counter-set-action): Ditto.
455 (elmo-progress-call-callback): Ditto.
456 (elmo-progress-start): Ditto.
457 (elmo-progress-done): Ditto.
458 (elmo-progress-notify): Rewrite.
459 (elmo-with-progress-display): Remove first argument
460 `condition'. Add optional argument `var' in `spec'.
462 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
463 (elmo-display-retrieval-progress-threshold): Ditto.
464 (elmo-inhibit-display-retrieval-progress): Ditto.
466 * Replace all pair of `elmo-progress-set' and
467 `elmo-progress-clear' into `elmo-with-progress-display'.
469 * Replace to call `elmo-display-progress' into pair of
470 `elmo-progress-notify' and `elmo-with-progress-display'.
472 * elmo-version.el (elmo-version): Up to 2.15.5.
474 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
476 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
479 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
481 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
482 cleanup-forms [wl:14027].
484 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
486 * elmo-flag.el (elmo-global-flag-set-internal): Use
487 `elmo-copy-file' by priority when the message is a file.
489 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
491 * elmo.el: Fix typo: disptch -> dispatch.
493 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
495 * elmo.el (elmo-file-tag): New class.
496 (elmo-append-messages-disptch-table): New constant.
497 (elmo-folder-type-p): New function.
498 (elmo-folder-append-messages): Redefine as function.
500 * elmo-null.el (elmo-folder-append-messages): Renamed from
501 `elmo-folder-append-messages'.
503 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
504 (elmo-folder-append-messages-*-maildir): Renamed from
505 `elmo-folder-append-messages'.
507 * elmo-localdir.el (elmo-localdir-folder): Inherit
509 (elmo-folder-append-messages-*-localdir): Renamed from
510 `elmo-folder-append-messages'.
512 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
513 from `elmo-folder-append-messages'.
515 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
516 `elmo-folder-append-messages'.
518 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
520 (elmo-folder-append-messages-*-filter): Ditto.
522 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
524 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
525 (elmo-folder-append-messages-*-pipe): Renamed from
526 `elmo-folder-append-messages'.
528 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
530 * elmo-file.el (elmo-file-folder): Ditto.
532 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
534 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
535 from `elmo-folder-append-messages'
537 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
539 * elmo-map.el (elmo-location-map-setup): Change an argument
540 `locations' to optional.
541 (elmo-location-map-clear): Abolish.
542 (elmo-folder-clear): Follow the API change.
544 * elmo-pop3.el (elmo-folder-clear): Ditto.
546 * elmo-pop3.el (toplevel): Require elmo-map.
547 (elmo-pop3-folder): Inherit elmo-location-map and abolish
548 location-alist slot (All other related portions are changed).
549 (elmo-pop3-folder-use-uidl): New function.
550 (elmo-folder-msgdb-create): Don't sort message entities.
551 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
552 (elmo-pop3-number-to-size): Convert return value to number.
553 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
556 * elmo-map.el: Use `location-map' as a variable name for instance
558 (elmo-location-map-setup): Return location alist.
559 (elmo-location-map-update): Ditto.
561 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
563 * elmo-map.el (elmo-location-map): New class; split location and
564 number mapping from elmo-map-folder (All other related portions
567 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
570 * elmo-version.el (elmo-version): Up to 2.15.4.
572 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
574 * elmo-vars.el (elmo-use-hardlink): New user option.
576 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
579 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
581 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
582 instead of `*-internal'. Use `elmo-with-progress-display'.
584 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
586 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
587 `elmo-spam-process-messages-as-mbox'.
589 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
591 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
593 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
594 argument BUFFER of `call-process'.
596 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
598 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
600 (elsp-bsfilter-list-spam-files): Ditto.
602 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
604 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
605 (elmo-spam-bsfilter-max-messages-per-process): New use option.
606 (elmo-spam-bsfilter-debug): Fix a group.
607 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
609 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
610 (elsp-bsfilter-list-spam-files): New function.
611 (elmo-spam-list-spam-messages): Define.
612 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
613 (elmo-spam-bsfilter-register-messages): New function.
614 (elmo-spam-register-spam-messages): Define.
615 (elmo-spam-register-good-messages): Ditto.
617 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
619 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
622 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
624 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
625 hash table to test whether a location is exists.
627 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
629 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
630 even if some error occurred.
632 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
633 meaningless unwind-protect.
635 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
636 start-number correctly.
637 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
638 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
640 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
642 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
643 (elmo-folder-initialize): Use it.
644 (elmo-global-flag-replace-referrer): New function.
646 * elmo.el (toplevel): Added autoload setting for
647 `elmo-global-flag-replace-referrer'.
648 (elmo-folder-rename): Rewrite the last change use
649 `elmo-global-flag-replace-referrer'.
651 * elmo-pipe.el (elmo-folder-rename): Call
652 `elmo-global-flag-replace-referrer'.
654 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
656 * elmo.el (elmo-folder-rename): Set meta data for global flags
659 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
661 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
663 (elmo-folder-close): Ditto.
664 (elmo-filter-folder-number-list-loaded-p): New function.
665 (elmo-filter-folder-number-list): Check whether loaded or not.
666 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
667 of `elmo-filter-folder-number-list-internal'.
668 (elmo-folder-delete-messages): Ditto.
669 (elmo-folder-length): Check whether number-list is loaded or not.
671 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
673 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
674 field `real field' into each element of list.
675 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
676 (elmo-msgdb-message-entity-field): Ditto.
677 (modb-entity-ml-info-real-fields): New function.
679 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
681 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
682 `elmo-msgdb-extra-fields'.
684 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
686 * elmo-util.el (elmo-passwd-alist-load): Move point to min
687 position before read.
689 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
691 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
692 (elmo-global-flags-initialize): Ditto.
694 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
696 * elmo-archive.el (toplevel): Don't require emu, std11
699 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
702 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
704 * elmo.el (elmo-folder-confirm-appends): Display folder name.
706 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
708 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
711 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
713 * elmo-maildir.el (elmo-maildir-list-location): Reduce
714 `elmo-get-last-modification-time' call.
716 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
718 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
720 (elmo-maildir-set-mark): Ditto.
721 (elmo-maildir-delete-mark): Ditto.
723 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
725 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
726 optional argument `separators'.
728 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
730 * elmo.el (cache-changed): Abolish.
731 (status-changed): New signal.
732 (elmo-message-killed-p): New generic function and define for
734 (elmo-folder-recover-messages): Ditto.
735 (elmo-message-set-cached): Emit signal `status-changed' instead of
737 (elmo-message-status): New macro.
738 (elmo-message-status-folder): Ditto.
739 (elmo-message-status-number): Ditto.
740 (elmo-message-status-set-flags): Ditto.
741 (elmo-message-status-set-killed): Ditto.
742 (elmo-message-status-flags): New function.
743 (elmo-message-status-cached-p): Ditto.
744 (elmo-message-status-killed-p): Ditto.
746 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
747 `status-changed' instead of `cache-changed'.
748 (elmo-folder-recover-messages): Define.
749 (elmo-message-killed-p): Ditto.
751 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
752 `status-changed' instead of `cache-changed'.
754 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
755 (elmo-message-killed-p): Define.
756 (elmo-folder-recover-messages): Ditto.
758 * elmo-version.el (elmo-version): Up to 2.15.3.
760 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
762 * elmo-signal.el (elmo-signal-bindings): Use cons to append
764 (elmo-define-signal-handler): Add docstring.
765 (elmo-define-signal-filter): Ditto.
767 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
769 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
771 * elmo-util.el (elmo-flatten): Don't use recursive call.
773 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
775 (elmo-folder-message-make-temp-files): Use `number-to-string'
776 instead of `int-to-string'.
778 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
780 * elmo-search.el (elmo-folder-delete-messages): Define.
782 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
784 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
786 (elmo-mailing-list-count-spec-list): Ditto.
788 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
791 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
793 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
796 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
798 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
799 (elmo-mailing-list-count-spec-list): Ditto.
801 * elmo-util.el (elmo-map-until-success): New function.
802 (elmo-string-match-substring): Ditto.
803 (elmo-find-list-match-value): Ditto.
805 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
807 (modb-entity-extract-ml-info-from-subject): Ditto.
808 (modb-entity-extract-ml-info-from-return-path): Ditto.
809 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
810 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
811 (modb-entity-extract-ml-info-from-mailman): Ditto.
812 (modb-entity-extract-mailing-list-info-functions): Ditto.
813 (modb-entity-extract-mailing-list-info): Rewrite with
814 `elmo-find-list-match-value'.
816 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
818 * elmo-net.el (elmo-network-session-retry-count): New user option.
819 (elmo-network-session-buffer-name): New internal function.
820 (elmo-network-session-buffer-create): Ditto.
821 (elmo-network-open-session): Retry open network session
822 `elmo-network-session-retry-count' times.
824 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
826 * elmo-util.el (elmo-list-filter): Rewritten.
828 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
830 * elmo-util.el (elmo-string-member): Allow symbol element in list.
832 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
834 * elmo-search.el (elmo-make-search-engine): Use prefix
835 `elmo-search-' for require symbol instead of `else-'.
836 (elmo-search-engine-extprog): New class.
837 (elmo-search-engine-do-search): Remove nil from argument
838 list. Added argument pattern to evaluate element as function.
839 (elmo-search-engine-local-file): Derived from
840 `elmo-search-engine-extprog'.
841 (elmo-search-engine-create-message-entity): Check existance of file.
842 (elmo-search-engine-fetch-message): Ditto.
843 (elmo-search-namazu-index): Follow the API change.
844 (elmo-search-grep-target): Ditto.
846 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
848 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
849 characters of working buffer.
851 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
852 Does not bind `default-mime-charset'.
853 (elmo-msgdb-create-message-entity-from-buffer): Removed
854 unnecessary local bind.
856 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
858 (modb-entity-extract-mailing-list-info-functions): Added it.
860 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
862 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
863 when number and message-id are non-nil.
865 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
867 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
868 conditional steatment.
869 (elmo-pop3-auth-apop): Likewise.
870 (elmo-network-authenticate-session): Likewise.
872 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
874 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
875 symbol `fill-column'.
876 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
879 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
880 (elmo-decoded-field-body): Ditto.
882 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
884 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
885 `tokens' to `params'.
887 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
889 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
892 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
894 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
897 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
899 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
900 Set default value as nil.
901 (toplevel): Register search engines by
902 `elmo-search-register-engine' if there are not defined.
904 * elmo.el (autoload): Added autoload setting for
905 `elmo-search-register-engine'.
907 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
909 * elmo.el (toplevel): `[' is redefined as the prefix of the search
910 folder instead of nmz folder.
911 (elmo-nmz-default-index-path): Added obsolete variable setting.
912 (elmo-nmz-index-alias-alist): Ditto.
913 (elmo-nmz-use-drive-letter): Ditto.
915 * elmo-search.el (elmo-search-register-engine): New function.
917 * elmo-nmz.el: Removed.
919 * elmo-version.el (elmo-version): Up to 2.15.2.
921 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
923 * elmo-search.el: New file.
925 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
927 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
928 condition `larger' and `smaller'.
930 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
932 * elmo-util.el (elmo-safe-filename): Rewrite to replace
933 `"' (double quote) into "_Q_".
935 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
937 * elmo-net.el (elmo-net-quote-chars): Abolish.
938 (elmo-net-format-quoted): Ditto.
940 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
942 * elmo.el (elmo-get-folder-function): New variable.
943 (elmo-get-folder): New function.
944 (elmo-folder-rename): Call `elmo-make-folder' with specified
947 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
949 (elmo-split-subr): Ditto.
951 * elmo-multi.el (elmo-folder-initialize): Ditto.
953 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
955 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
956 (elmo-flag-get-folder): Ditto.
958 * elmo-filter.el (elmo-folder-initialize): Ditto.
960 * elmo-access.el (elmo-folder-initialize): Ditto.
961 (elmo-access-folder-update-children): Ditto.
963 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
964 (elmo-dop-queue-flush): Ditto.
965 (elmo-folder-append-buffer-dop-delayed): Ditto.
966 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
969 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
970 instead of `elmo-make-folder'.
971 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
972 destination folder instead of send `elmo-folder-rename-internal'.
974 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
975 slot of subfolder instead of create it.
977 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
979 * elmo-util.el (elmo-collect-separators): New function.
980 (elmo-collect-separators-internal): Ditto.
981 (elmo-collect-trail-separators): Ditto.
982 (elmo-parse-separated-tokens): Ditto.
983 (elmo-parse-separated-tokens-internal): Ditto.
984 (elmo-quote-syntactical-element): Ditto.
986 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
987 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
989 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
990 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
991 (elmo-nntp-folder-list-subfolders): Quote a user name.
993 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
994 (elmo-net-parse-network): Abolish.
995 (elmo-net-folder-set-parameters): New function.
996 (elmo-folder-initialize): Follow the above change.
998 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
999 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1000 (elmo-folder-list-subfolders): Use
1001 `elmo-quote-syntactical-element' instead of
1002 `elmo-net-format-quoted' to quote mailbox and user name.
1004 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1006 * elmo-util.el (elmo-token-valid-p): New function.
1007 (elmo-parse-token): Add optional argument `requirement'.
1008 (elmo-parse-prefixed-element): Likewise.
1010 * elmo-net.el (elmo-net-quote-chars): Renamed from
1011 `elmo-net-quote-chars-regexp'.
1012 (elmo-net-format-quoted): Add optional argument `extra-chars'.
1014 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1015 by info document. Check token `uidl' is started an alphabet.
1017 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1018 by info document. Check token `user' is started an alphabet.
1020 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1021 (elmo-folder-list-subfolders): Quote user.
1023 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1025 * elmo-util.el (elmo-quoted-specials-list): New constant.
1026 (elmo-quoted-token): New function.
1028 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1029 (elmo-net-format-quoted): New function.
1030 (elmo-net-parse-network): Ditto.
1031 (elmo-folder-initialize): Use it.
1033 * elmo-nntp.el (elmo-folder-initialize): Use
1034 `elmo-net-parse-network' to parse network specification instead of
1035 `elmo-folder-initialize#elmo-net'.
1037 * elmo-pop3.el (elmo-folder-initialize): Ditto.
1039 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1040 (elmo-folder-list-subfolders): Quote folder name by
1041 `elmo-net-format-quoted'.
1043 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1045 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1046 (elmo-folder-search): Use it.
1048 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1050 * modb-standard.el (modb-standard-loaded-message-id): Use
1051 `elmo-msgdb-message-entity-field'.
1053 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1055 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1058 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
1060 * elmo-util.el (elmo-set-auto-coding): New function.
1061 (elmo-object-load): Use it.
1063 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1065 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1066 (elmo-time<): Define as alias of `elmo-time-less-p'.
1067 (elmo-time-to-datevec): New function.
1069 * elmo-date.el (elmo-time-to-days): New function.
1071 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1073 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1076 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1078 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1081 * elmo-util.el (elmo-map-recursive): New function.
1083 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1084 (modb-entity-encode-string-recursive): Ditto.
1086 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
1088 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1089 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1090 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1091 compare sequence number when last modified time is nil.
1093 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1095 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1097 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1099 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
1101 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1102 modification time of the file.
1104 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1106 * elmo-util.el (elmo-condition-optimize): Discriminated against
1107 preserved fields, extra fields and the other weight.
1109 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1111 * modb-entity.el (initialize-instance): Define.
1112 (modb-entity-handler-mime-charset): New internal function.
1113 (modb-standard-entity-set-field): Use it.
1114 (elmo-msgdb-message-entity-field): Ditto.
1115 (elmo-msgdb-message-entity-field): Ditto.
1117 * modb.el (elmo-msgdb-match-condition): Rewrite with
1118 `elmo-condition-match'.
1119 (elmo-msgdb-match-condition-primitive): New function.
1121 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1122 arguments `flags' and `numbers'.
1123 (elmo-msgdb-match-condition-primitive): Abolished (merged to
1124 `elmo-msgdb-message-match-condition').
1125 (modb-buffer-entity-handler): New class.
1127 * elmo.el (elmo-folder-search): Optimize condition to use
1128 `elmo-condition-optimize'.
1129 (elmo-message-buffer-match-condition): New function.
1130 (elmo-message-match-condition): Use
1131 `elmo-message-buffer-match-condition' instead of
1132 `elmo-buffer-field-condition-match'.
1134 * elmo-util.el (elmo-condition-match): New function.
1135 (elmo-condition-optimize): Ditto.
1136 (elmo-buffer-field-primitive-condition-match): Abolish.
1137 (elmo-buffer-field-condition-match): Ditto.
1139 * elmo-archive.el (elmo-archive-field-condition-match): Use
1140 `elmo-message-buffer-match-condition' instead of
1141 `elmo-buffer-field-condition-match'.
1143 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1145 * elmo-flag.el (elmo-global-flags-initialize): Check the
1146 existence of the flag directory.
1148 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1150 * elmo-access.el (elmo-folder-initialize): Call
1151 `elmo-multi-connect-signals'.
1153 * elmo-pipe.el (elmo-folder-close): Define.
1155 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1158 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1161 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1164 * elmo-multi.el (elmo-message-entity): Don't use return value of
1165 `elmo-message-entity-set-number'.
1167 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1169 * modb.el (modb-generic): Added slot `mime-charset'.
1171 * modb-standard.el (modb-standard): Added slot `overview-handler'.
1172 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1173 and `modb-entity-handler-dump-parameters'.
1174 (modb-standard-default-entity-handler): Abolish.
1175 (elmo-msgdb-message-entity-handler): Save created handler by
1178 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1179 (modb-entity-handler-list-parameters): New method.
1180 (modb-entity-handler-equal-p): New function.
1181 (modb-entity-handler-dump-parameters): Ditto.
1182 (modb-entity-parse-address-string): Encode return value.
1183 (modb-entity-make-address-string): Decode argument value.
1184 (modb-entity-decode-string-recursive): New function.
1185 (modb-entity-encode-string-recursive): Ditto.
1186 (modb-standard-entity-normalizer): Set to encode field value.
1187 (modb-standard-entity-specializer): Follow the above change.
1188 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1189 mime-charset of handler.
1190 (elmo-msgdb-message-entity-field): Ditto.
1191 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1193 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1195 * elmo.el (elmo-folder): Added slot `mime-charset'.
1196 (elmo-make-folder): Added argument `mime-charset'.
1197 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1200 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1201 (elmo-make-msgdb): Likewise.
1203 * elmo-internal.el (elmo-internal-folder-initialize): Call
1204 `luna-make-entity' with :mime-charset parameter.
1206 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1208 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1209 encoded words in `from' and `subject' field.
1211 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1213 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1214 (elmo-msgdb-match-condition): Get handler from entity instead of
1217 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1218 (modb-standard-load-entity): Treat new file format.
1219 (modb-standard-save-entity-1): Save as new file format.
1220 (modb-standard-save-entity): Split messages into section here.
1221 (elmo-msgdb-message-field): Follow the API change.
1222 (modb-standard-default-entity-handler): New internal variable.
1223 (elmo-msgdb-message-entity-handler): Define.
1225 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1227 (modb-entity-field-extractor-alist): New user option.
1228 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1229 added argument `type'.
1230 (elmo-msgdb-copy-message-entity): Add optional argument
1232 (modb-set-field-converter): New function.
1233 (modb-convert-field-value): Ditto.
1234 (modb-entity-string-decoder): Ditto.
1235 (modb-entity-string-encoder): Ditto.
1236 (modb-entity-parse-date-string): Ditto.
1237 (modb-entity-make-date-string): Ditto.
1238 (modb-entity-mime-decoder): Ditto.
1239 (modb-entity-mime-encoder): Ditto.
1240 (modb-entity-address-list-decoder): Ditto.
1241 (modb-entity-address-list-encoder): Ditto.
1242 (modb-entity-parse-address-string): Ditto.
1243 (modb-entity-make-address-string): Ditto.
1244 (modb-entity-create-field-indices): Ditto.
1245 (modb-legacy-entity-field-slots): New constant.
1246 (modb-legacy-entity-field-indices): Ditto.
1247 (modb-legacy-entity-normalizer): New variable.
1248 (modb-legacy-entity-specializer): Ditto.
1249 (modb-legacy-entity-field-index): New macro.
1250 (modb-legacy-entity-set-field): New function.
1251 (modb-legacy-make-message-entity): Rewrite.
1252 (elmo-msgdb-create-message-entity-from-buffer): Use
1253 `elmo-msgdb-get-references-from-buffer'. Use
1254 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1255 Use `modb-legacy-entity-set-field' instead of
1256 `elmo-msgdb-message-entity-set-field'.
1257 (elmo-msgdb-message-entity-field): Rewrite.
1258 (elmo-msgdb-message-entity-set-field): Ditto.
1259 (elmo-msgdb-copy-message-entity): Make new entity by
1260 `make-handler' if it specified.
1261 (elmo-msgdb-message-match-condition): Define a method of
1262 `modb-entity-handler' and follow the API change.
1263 (modb-standard-entity-handler): New class.
1264 (modb-entity-extract-ml-info-from-x-sequence): New function.
1265 (modb-entity-extract-ml-info-from-subject): Ditto.
1266 (modb-entity-extract-ml-info-from-return-path): Ditto.
1267 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1268 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1269 (modb-entity-extract-mailing-list-info): Ditto.
1270 (modb-entity-extract-mailing-list-info-functions): New variable.
1272 * elmo.el (elmo-message-field): Add optional argument `type'.
1274 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1275 from `modb-entity.el'.
1277 * elmo-util.el (elmo-object-load): Decode by coding-system from
1278 `set-auto-coding-function'.
1279 (elmo-object-save): Use `detect-mime-charset-region' and add
1280 coding cookie if encode.
1281 (elmo-msgdb-get-references-from-buffer): New function.
1282 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1284 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1286 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1287 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1288 instead of `shimbun-make-header' and follow the API change.
1289 (elmo-shimbun-update-overview): Follow the API change.
1290 (elmo-map-folder-list-message-locations): Ditto.
1292 * elmo-pipe.el (elmo-message-field): Ditto.
1294 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1297 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1299 * elmo-multi.el (elmo-message-field): Ditto.
1301 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1302 (elmo-msgdb-sort-by-date): Ditto.
1303 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1304 `elmo-message-entity-field'.
1305 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1307 (elmo-msgdb-overview-entity-get-from): Ditto.
1308 (elmo-msgdb-overview-entity-get-subject): Ditto.
1309 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1310 (elmo-msgdb-overview-entity-get-date): Ditto.
1311 (elmo-msgdb-overview-entity-get-to): Ditto.
1312 (elmo-msgdb-overview-entity-get-cc): Ditto.
1314 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1315 (elmo-mime-collect-message/partial-pieces): Ditto.
1317 * elmo-filter.el (elmo-message-field): Ditto.
1319 * elmo-date.el (elmo-datevec-to-time): New function.
1320 (elmo-time-parse-date-string): Ditto.
1321 (elmo-time-make-date-string): Ditto.
1322 (elmo-time<): Ditto.
1324 * elmo-version.el (elmo-version): Up to 2.15.1.
1326 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1328 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1329 member of elmo-local-flags.
1331 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1333 * elmo-version.el (elmo-version): Up to 2.15.0.
1335 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1337 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1338 `ignore-msgdb' is non-nil.
1340 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1342 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1343 (elmo-condition-in-msgdb-p): Ditto.
1344 (elmo-file-field-primitive-condition-match): Ditto.
1345 (elmo-file-field-condition-match): Ditto.
1347 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1349 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1351 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1352 subdirectories here.
1353 (elmo-global-flags-initialize): New function.
1355 * elmo.el (toplevel): Added autoload setting for
1356 `elmo-global-flags-initialize'.
1358 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1360 * elmo.el (message-number-changed): Define new signal.
1361 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1362 message-number-changed signal.
1363 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1364 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1365 Respect `elmo-pack-number-check-strict'.
1367 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1369 * elmo-signal.el (elmo-connect-signal): Document.
1370 (elmo-emit-signal): Ditto.
1371 (elmo-emit-signal): It should pass source argument to filter and
1372 handler, not slot-source.
1374 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1376 * modb.el (elmo-msgdb-update-entity): New API and define generic
1379 * modb-standard.el (elmo-msgdb-update-entity): Define.
1381 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1382 API and define generic implement.
1384 * elmo.el (update-overview): New singnal.
1386 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1387 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1388 (elmo-message-entity-parent): Define.
1390 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1393 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1395 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1397 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1399 * elmo.el (elmo-folder-synchronize): Sort the return value of
1402 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1405 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1407 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1408 `default-enable-multibyte-characters'.
1409 (elmo-object-load): Use `with-temp-buffer' instead of
1410 `elmo-set-work-buf'.
1411 (elmo-object-save): Ditto.
1412 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1413 `elmo-set-work-buf'.
1414 (elmo-decoded-field-body): Ditto.
1416 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1418 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1419 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1421 * elmo-version.el (elmo-version): Up to 2.13.3.
1423 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1425 * elmo-util.el (elmo-list-diff): Fix the last change.
1426 Reverse order of result lists.
1428 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1430 * modb-standard.el (elmo-msgdb-set-flag): Use
1431 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1432 (elmo-msgdb-unset-flag): Ditto.
1434 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1437 * elmo-util.el (elmo-list-diff): Rewrite.
1438 (elmo-list-diff-nonsortable): New function.
1440 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1442 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1443 `elmo-multibypte-buffer-name'. All referers are updated.
1445 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1447 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1448 (elmo-mime-entity-fragment-p): New function.
1449 (mime-elmo-buffer-entity): Added slot `reassembled'.
1450 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1451 (elmo-message-mime-entity-internal): New function (renamed from
1452 `elmo-message-mime-entity').
1453 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1454 (elmo-mime-make-reassembled-mime-entity): New function.
1455 (elmo-message-reassembled-mime-entity): Ditto.
1456 (elmo-mime-collect-message/partial-pieces): Ditto.
1458 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1460 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1462 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1463 (elmo-with-enable-multibyte): New macro.
1465 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1467 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1469 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1471 (elmo-filter-connect-signals): Follow the above change.
1473 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1475 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1477 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1478 that only the first flag is used.
1480 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1482 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1485 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1487 * elmo-signal.el: New file.
1489 * elmo.el (toplevel): Require elmo-signal.
1490 (flag-changing, flag-changed, cache-changed): New signal.
1491 (elmo-folder): Remove slog `handlers'.
1492 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1493 `elmo-folder-notify-event'.
1494 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1495 (elmo-folder-unset-flag): Ditto.
1496 (elmo-event-handler): Abolish.
1497 (elmo-event-handler-flag-changed): Ditto.
1498 (elmo-event-handler-cache-changed): Ditto.
1499 (elmo-folder-add-handler): Ditto.
1500 (elmo-folder-remove-handler): Ditto.
1501 (elmo-folder-notify-event): Ditto.
1503 * elmo-pipe.el (toplevel): Require elmo-signal.
1504 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1505 (elmo-pipe-connect-signals): New function.
1506 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1507 (elmo-folder-set-flag): Ditto.
1508 (elmo-folder-unset-flag): Ditto.
1509 (elmo-message-set-cached): Ditto.
1511 * elmo-multi.el (toplevel): Require elmo-signal.
1512 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1513 (elmo-multi-connect-signals): New function.
1514 (elmo-multi-map-numbers): Ditto.
1515 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1516 (elmo-message-fetch): Ditto.
1517 (elmo-folder-set-flag): Ditto.
1518 (elmo-folder-unset-flag): Ditto.
1520 * elmo-filter.el (toplevel): Require elmo-signal.
1521 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1522 (elmo-filter-connect-signals): New function.
1523 (elmo-filter-add-flag-count): Ditto.
1524 (elmo-message-fetch): Does not call
1525 `elmo-filter-folder-countup-message-flags' and
1526 `elmo-folder-notify-event'.
1527 (elmo-message-set-cached): Ditto.
1528 (elmo-folder-set-flag): Ditto.
1529 (elmo-folder-unset-flag): Ditto.
1531 * elmo-version.el (elmo-version): Up to 2.13.2.
1533 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1535 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1538 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1540 * elmo-filter.el (elmo-message-set-cached): Call
1541 `elmo-folder-notify-event' with event `cache-changed'.
1543 * elmo-multi.el (elmo-message-set-cached): Ditto.
1545 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1547 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1549 * elmo.el (elmo-folder-encache): Abolish.
1551 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1553 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1554 (elmo-folder-next-message-number-dop): Return appropriate negative
1557 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1559 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1560 clearing pending operations.
1561 (elmo-folder-next-message-number-dop): Return appropriate negative
1564 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1566 * elmo.el (toplevel): Added autoload setting for `md5'.
1567 (elmo-msgdb-path-encode-threshold): New user option.
1568 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1569 longer than `elmo-msgdb-path-encode-threshold'.
1571 * elmo-flag.el (elmo-global-mark-migrate): Use
1572 `elmo-folder-expand-msgdb-path' instead of
1573 `elmo-folder-msgdb-path'.
1575 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1577 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1578 element of the difference is nil.
1580 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1582 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1583 to the check logic of file systems which are weak in colon character.
1585 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1587 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1589 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1591 * elmo-maildir.el (elmo-maildir-move-file): New function.
1592 (elmo-folder-append-buffer): Use it.
1593 (elmo-folder-append-messages): Ditto.
1594 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1596 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1597 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1599 * elmo-maildir.el (elmo-maildir-separator): New user option.
1600 (elmo-maildir-adjust-separator): New macro.
1601 (elmo-maildir-list-location): Use it.
1602 (elmo-maildir-update-current): Ditto.
1603 (elmo-maildir-set-mark): Ditto.
1604 (elmo-maildir-delete-mark): Ditto.
1605 (These changes are based on Hiroya Murata's patch [wl: 13437])
1607 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1609 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1611 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1613 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1614 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1615 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1617 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1619 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1620 Use `with-temp-buffer'.
1622 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1624 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1626 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1627 `wl-read-search-condition').
1628 (elmo-read-search-condition-internal): Likewise.
1630 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1631 (elmo-flag-valid-p): New function.
1632 (elmo-folder-initialize): Check flag name is valid.
1634 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1636 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1637 delimiter to obtain root mailbox itself.
1639 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1641 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1644 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1646 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1649 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1651 * elmo-shimbun.el (toplevel): Require cl at compile.
1653 * elmo-nntp.el (toplevel): Ditto.
1655 * elmo-nmz.el (toplevel): Ditto.
1657 * elmo-multi.el (toplevel): Ditto.
1659 * elmo-file.el (toplevel): Ditto.
1661 * elmo-dop.el (toplevel): Ditto.
1663 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1665 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1667 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1670 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1671 size of elmo-message-fetch-internal is 0 byte.
1673 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1675 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1677 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1679 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1682 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1684 * elmo-maildir.el (elmo-map-message-fetch): Call
1685 `elmo-map-folder-set-flag'.
1687 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1688 (elmo-message-fetch): Merge from
1689 `elmo-message-fetch-with-cache-process'.
1691 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1692 (elmo-message-fetch): Define.
1694 * elmo-nntp.el (elmo-message-fetch): Renamed from
1695 `elmo-message-fetch-with-cache-process'.
1697 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1698 (elmo-message-fetch): Define.
1700 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1703 * elmo-shimbun.el (shimbun-mua-search-id): Use
1704 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1705 (elmo-shimbun-folder-shimbun-header): Ditto.
1706 (elmo-shimbun-get-headers): Ditto.
1707 (elmo-shimbun-update-overview): Ditto.
1709 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1711 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1712 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1714 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1716 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1718 (elmo-message-fetch-string): Fixed argument.
1720 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1722 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1723 exchange order of arguments `section' and `unread'.
1724 (elmo-message-encache): Follow the API change.
1725 (elmo-message-match-condition): Ditto.
1726 (elmo-generic-folder-append-messages): Ditto.
1727 (elmo-message-fetch-string): New function.
1729 * elmo-split.el (elmo-split-subr): Ditto.
1731 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1733 * elmo-pipe.el (elmo-message-fetch): Ditto.
1735 * elmo-multi.el (elmo-message-fetch): Ditto.
1737 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1739 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1741 * elmo-filter.el (elmo-message-fetch): Ditto.
1743 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1745 * elmo-imap4.el (mime-imap-location-section-body): Use
1746 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1747 follow the API change.
1749 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1751 * elmo-access.el: New file.
1753 * elmo-null.el: Ditto.
1755 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1757 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1759 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1760 (elmo-network-session): New attribute `last-accessed'.
1761 (elmo-network-get-session): Discard network cache if elapsed time
1762 since last-accessed is larger than elmo-network-session-idle-timeout.
1764 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1766 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1767 and added `number', `require-entireness'.
1768 (elmo-find-fetch-strategy): Rewrite.
1769 (elmo-message-fetch): Unset `unread' flag when argument unread is
1772 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1774 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1775 (elmo-message-fetch): Notify event `flag-changed'.
1777 * elmo-pipe.el: Likewise.
1779 * elmo-mime.el (elmo-mime-entity): New class.
1780 (elmo-mime-entity-display-p): New generic function.
1781 (elmo-mime-entity-display): Ditto.
1782 (elmo-mime-entity-display-as-is): Ditto.
1783 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1785 (elmo-make-mime-message-location): Removed.
1786 (elmo-mime-message-display): Ditto.
1787 (elmo-mime-display-as-is): Ditto.
1788 (elmo-message-mime-entity): New function.
1790 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1792 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1794 (elmo-message-fetch): Re-count flagged message number and notify
1795 event `flag-changed'.
1797 * elmo-version.el (elmo-version): Up to 2.13.1.
1799 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1801 * elmo-filter.el (elmo-message-field): Define.
1802 (elmo-message-set-field): Ditto.
1804 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1806 * elmo.el (elmo-message-set-cached): Call
1807 `elmo-folder-notify-event' with cache-changed.
1808 (elmo-event-handler-cache-changed): New generic function.
1810 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1812 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1813 instead of elmo-add-name-to-file.
1814 (elmo-folder-append-messages): Ditto.
1816 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1818 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1820 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1822 * elmo-version.el (elmo-version): Up to 2.13.0.
1824 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1827 * modb-standard.el (modb-standard-economize-entity-size): Changed
1828 default value to `t'.
1830 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1833 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1834 after parsing greeting string.
1836 2004-11-23 Daishi Kato <daishi@axlight.com>
1838 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1840 (elmo-spam-spamoracle-call): Use it.
1842 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1844 * elmo.el (elmo-message-accessible-p): Message in dop spool
1847 2004-11-23 Daishi Kato <daishi@axlight.com>
1849 * elsp-spamoracle.el: New file.
1851 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1853 * elmo.el (elmo-message-flags-for-append): New function.
1854 (elmo-generic-folder-append-messages): Use it.
1856 * elmo-split.el (elmo-split-subr): Ditto.
1858 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1859 `flags' and use elmo-folder-append-buffer instead of
1860 write-region-as-binary.
1861 (elmo-dop-filter-pending-messages): New function.
1862 (elmo-folder-append-buffer-dop): Call
1863 elmo-dop-spool-folder-append-buffer with `flag'.
1864 (elmo-folder-set-flag-dop): Filter messages by
1865 elmo-dop-filter-pending-messages.
1866 (elmo-folder-unset-flag-dop): Ditto.
1867 (elmo-folder-append-buffer-dop-delayed): Use
1868 elmo-message-flags-for-append to get flags of the message and
1871 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1873 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1875 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1877 * elmo.el (elmo-folder): Added handlers slot.
1878 (elmo-event-handler): New class.
1879 (elmo-event-handler-flag-changed): New API.
1880 (elmo-folder-add-handler): New function.
1881 (elmo-folder-remove-handler): Ditto.
1882 (elmo-folder-notify-event): Ditto.
1883 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1885 (elmo-folder-unset-flag): Ditto.
1887 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1888 (elmo-folder-unset-flag): Ditto.
1890 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1891 (elmo-folder-unset-flag): Ditto.
1893 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1894 (elmo-folder-unset-flag): Ditto.
1896 * elmo-version.el (elmo-version): Up to 2.11.33.
1898 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1900 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1902 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1904 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1906 * elmo-flag.el (elmo-folder-unset-flag): Define.
1907 (elmo-global-flag-detach): Do process when the flag is not target
1910 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1912 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1914 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1916 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1918 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1920 (elmo-folder-delete-messages): Detach messages before delete
1921 messages from target folder.
1922 (elmo-folder-detach-messages): Set updated number-list to slot.
1924 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1926 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1928 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1930 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1932 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1934 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1936 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1938 (elmo-folder-delete-messages): Define.
1939 (elmo-folder-move-messages): Don't call
1940 `elmo-folder-detach-messages'.
1941 (elmo-folder-synchronize): Rewrite.
1942 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1944 * elmo-util.el (elmo-last): New function.
1945 (elmo-set-list): Ditto.
1946 (elmo-number-set-delete-list): Ditto.
1947 (elmo-number-set-delete): Ditto.
1949 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1951 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1952 `elmo-folder-delete-messages' and don't delete location map.
1953 (elmo-folder-detach-messages): Define.
1955 * elmo-imap4.el (elmo-folder-delete): Use
1956 `elmo-folder-delete-messages-internal' instead of
1957 `elmo-folder-delete-messages'.
1959 * elmo-filter.el (elmo-folder-delete-messages): Call
1960 `elmo-folder-detach-messages'.
1961 (elmo-folder-detach-messages): Don't call
1962 `elmo-folder-detach-messages' for target folder.
1964 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1965 message deletion is succeeded.
1967 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1969 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1970 from `elmo-folder-delete-messages'.
1972 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1974 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1976 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1978 * elmo-version.el (elmo-version): Up to 2.11.32.
1980 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1982 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1983 (elmo-global-flag-list): Added obsolete variable setting.
1985 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1987 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1988 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1989 `elmo-mime-display-header-analysis' is nil.
1991 * elmo-flag.el (elmo-global-flags): Renamed from
1992 `elmo-global-flag-list' (All other related portions are changed).
1993 (elmo-local-flags): New variable.
1994 (elmo-local-flag-p): New function.
1995 (elmo-global-flag-set-internal): Cause an error when flag is not
1998 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
2000 * elmo-util.el (elmo-concat-path): Treat empty path.
2002 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2004 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2006 (elmo-split-address-match): Ditto.
2007 (elmo-split-equal): Ditto.
2008 (elmo-split-match): Ditto.
2010 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
2012 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2013 (elmo-generic-folder-append-messages): If src message exists but
2014 has no flag, pass (read) for the FLAG argument of
2015 `elmo-folder-append-buffer'. Otherwise, pass nil.
2017 * elmo-split.el (elmo-split-subr): Likewise.
2019 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2021 * elmo-multi.el (elmo-message-flags): Ditto.
2023 * elmo-filter.el (elmo-message-flags): Ditto.
2025 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2026 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2027 pass (read) for the FLAG argument of elmo-folder-append-buffer.
2029 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
2031 * elmo-split.el (elmo-split-rule): Update comment.
2032 (elmo-split-address-equal): Allow 2nd argument to be a list.
2033 (elmo-split-address-match): Ditto.
2034 (elmo-split-equal): Ditto.
2035 (elmo-split-match): Ditto.
2037 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
2039 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2040 (elmo-folder-append-msgdb): Don't treat `read'.
2041 (elmo-message-flags): Don't return `read'.
2043 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2044 (elmo-folder-unset-read-delayed): Ditto.
2046 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2048 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
2050 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2053 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2055 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2058 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
2060 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2062 (elmo-msgdb-save): Bind inhibit-quit.
2063 (modb-standard-message-entity): Ditto.
2065 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2067 * elmo-database.el: No need to require elmo-msgdb.
2069 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2071 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2072 instead of `elmo-list-subdirectories'.
2074 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2076 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2078 (elmo-folder-exists-p): "[" is empty.
2079 (elmo-folder-list-subfolders): Define.
2080 (elmo-folder-have-subfolder-p): Ditto.
2082 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
2084 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2086 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
2088 * elmo-filter.el (elmo-folder-local-p): Define.
2090 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2092 * modb-standard.el (modb-standard-loaded-message-id): Return nil
2093 when entity is garbaged.
2094 (modb-standard-save-entity-1): Don't modify the original entity.
2096 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
2098 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2100 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2102 * elmo.el (elmo-strict-folder-diff): Use
2103 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2105 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2107 * modb.el (elmo-msgdb-flag-available-p): New generic function.
2108 (elmo-msgdb-message-number): Ditto.
2109 (elmo-msgdb-message-field): Ditto.
2111 * modb-standard.el (modb-standard-economize-entity-size): New user
2113 (modb-standard-loaded-message-id): New inline function.
2114 (modb-standard-load-entity): Use it.
2115 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2116 throw message-id string away.
2117 (elmo-msgdb-flag-available-p): Define.
2118 (elmo-msgdb-message-number): Ditto.
2119 (elmo-msgdb-message-field): Ditto.
2121 * modb-legacy.el (modb-legacy-flag-list): Fix typo
2122 (suppoted -> supported).
2123 (modb-legacy-supported-flag-p): Ditto.
2124 (elmo-msgdb-set-flag): Ditto.
2125 (elmo-msgdb-unset-flag): Ditto.
2126 (elmo-msgdb-flag-available-p): Define.
2128 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2129 is `t', treat it as legacy entity.
2131 * elmo.el (elmo-message-flag-available-p): New generic function.
2132 (elmo-message-number): Ditto.
2133 (elmo-message-field): Use `elmo-msgdb-message-field'.
2135 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2137 * elmo-pipe.el (elmo-message-flag-available-p): Define.
2138 (elmo-message-number): Ditto.
2140 * elmo-multi.el (elmo-message-number): Define.
2141 (elmo-message-flag-available-p): Ditto.
2143 * elmo-filter.el (elmo-message-flag-available-p): Define.
2144 (elmo-message-number): Ditto.
2146 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2147 (elmo-folder-initialize): Load `max-number'.
2148 (elmo-folder-commit): Save it.
2149 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2150 (elmo-global-flag-set-internal): Set up max-number slot.
2152 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2154 * elmo-version.el (elmo-version): Up to 2.11.31.
2156 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
2158 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2159 unibyte string of the current buffer for the argument of `md5'
2160 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2162 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2164 * modb-legacy.el (modb-legacy-flag-list): New constant.
2165 (modb-legacy-suppoted-flag-p): New internal function.
2166 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2167 (elmo-msgdb-unset-flag): Ditto.
2169 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
2171 * elmo.el (elmo-make-folder): Remove text properties for prefix.
2173 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2176 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2178 * elmo-multi.el (elmo-folder-count-flags): Changed return value
2179 (follow the API change).
2181 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2183 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2185 * modb-standard.el (modb-standard-digest-flags): Abolish.
2186 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2188 * elmo-vars.el (elmo-digest-flags): New variable.
2189 (elmo-preserved-flags): Moved from elmo-flag.el.
2191 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2192 (elmo-imap4-flag-to-imap-criteria): Ditto.
2193 (elmo-imap4-folder-list-flagged): Use it.
2195 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2197 * elmo.el (elmo-folder-count-flags): Changed return value.
2199 * elmo-flag.el (elmo-preserved-flags): New variable.
2200 (elmo-get-global-flags): Use it.
2202 * modb-standard.el (modb-standard-digest-flags): New variable.
2203 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2204 Changed behavior of `any'.
2206 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2207 which are defined the Internet draft
2208 (draft-melnikov-imap-keywords-03.txt).
2209 (elmo-imap4-flags-to-imap): New function.
2210 (elmo-folder-append-buffer): Use it.
2212 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2215 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2216 avoid the bug of Emacs 21.3.
2218 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2220 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2221 function find-coding-system does not exist.
2223 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2225 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2228 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2230 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2233 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2235 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2236 (elmo-network-close-session): Follow the changes in
2237 `elmo-pop3-read-response'.
2238 (elmo-pop3-auth-user): Ditto.
2239 (elmo-pop3-auth-apop): Ditto.
2240 (elmo-network-initialize-session): Ditto.
2241 (elmo-network-authenticate-session): Ditto.
2242 (elmo-network-setup-session): Ditto.
2243 (elmo-folder-status): Ditto.
2244 (elmo-message-fetch-plugged): Ditto.
2245 (elmo-pop3-delete-msg): Ditto.
2247 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2249 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2252 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2254 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2256 (elmo-bind-directory): Ditto.
2258 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2260 * elmo.el (elmo-folder-append-messages): Note on return value.
2261 * elmo-archive.el (elmo-folder-append-messages): Don't return
2262 message numbers which could not be appended.
2264 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2266 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2268 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2270 * elmo-version.el (elmo-version): Up to 2.11.30.
2272 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2274 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2277 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2279 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2280 (elmo-multi-split-numbers): Add elmo-folder object into each
2281 element of return value at first.
2282 (elmo-folder-delete-messages): Follow the above change.
2283 (elmo-folder-detach-messages): Ditto.
2285 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2286 number which is synchronized in target folder.
2288 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2290 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2291 Change default value to symbol `all'.
2292 (elmo-map-message-fetch): Change condition to update overview
2295 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2297 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2298 behavior to update overview.
2299 (elmo-shimbun-update-overview-folder-list): Note it.
2301 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2303 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2306 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2308 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2309 buffer-disable-undo, it is unnecessary.
2310 (elmo-spam-register-good-messages): Ditto.
2312 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2315 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2317 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2319 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2320 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2321 elmo-set-buffer-multibyte.
2322 (elmo-object-load): Ditto.
2323 (elmo-save-buffer): Ditto.
2324 (elmo-delete-char): Ditto.
2325 (elmo-file-field-primitive-condition-match): Ditto.
2326 (elmo-mime-string): Ditto.
2328 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2329 (elmo-archive-field-condition-match): Ditto.
2331 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2333 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2335 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2336 (elmo-nntp-msgdb-create-message): Ditto.
2338 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2340 * elmo.el (elmo-message-match-condition): Ditto.
2341 (elmo-message-match-condition): Ditto.
2343 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2346 * elmo-version.el (elmo-version): Up to 2.11.29.
2348 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2349 (elsp-header): New backend.
2351 * elmo-util.el (elmo-decoded-field-body): New function.
2353 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2355 * elmo-version.el (elmo-version): Up to 2.11.28.
2357 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2359 * elmo-filter.el: Rewrite.
2361 * elmo-version.el (elmo-version): Up to 2.11.27.
2363 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2365 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2366 msgdb path for the localdir folder with absolute path.
2368 * utf7.el: Synch up with latest gnus/utf7.el;
2369 Modified for latest Emacs.
2371 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2373 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2374 shimbun backend couldn't open.
2376 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2378 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2379 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2380 when a destination folder is a filter folder.
2382 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2384 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2385 (elmo-generic-folder-append-messages): Call elmo-message-flags
2386 with argument `msgid'.
2388 * elmo-split.el (elmo-split-subr): Ditto.
2390 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2392 * elmo-multi.el (elmo-message-flags): Ditto.
2394 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2396 * elmo.el (elmo-folder): Add new slot `flag-table'.
2397 (elmo-folder-flag-table): New API.
2398 (elmo-folder-close-flag-table): Ditto.
2399 (elmo-folder-preserve-flags): New function.
2400 (elmo-generic-folder-append-messages): Use
2401 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2402 Flag of a non-registered message, it sets to nil.
2403 Does not set flag to flag-table.
2405 * elmo-maildir.el (elmo-folder-append-buffer): Use
2406 `elmo-folder-preserve-flags'.
2407 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2408 `elmo-folder-close-flag-table'.
2410 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2411 (elmo-archive-folder-append-buffer): Use
2412 `elmo-folder-preserve-flags'.
2414 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2416 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2418 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2419 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2420 `elmo-folder-close-flag-table'.
2422 * elmo-version.el (elmo-version): Up to 2.11.26.
2424 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2426 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2428 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2429 md5's 4th and 5th argument (non-existent in flim one).
2431 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2433 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2434 message, It sets to nil.
2436 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2438 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2441 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2443 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2445 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2447 * elmo-util.el (elmo-uniq-sorted-list): New function.
2448 (elmo-make-number-list): Ditto.
2449 (elmo-number-set-to-number-list): Use elmo-make-number-list
2450 and don't use nreverse.
2452 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2454 * elmo-version.el (elmo-version): Up to 2.11.25.
2456 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2458 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2459 field not exists in message, Use md5 message digest of header.
2461 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2463 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2464 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2465 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2466 * elmo-split.el (elmo-split-subr): Check return value of
2467 elmo-folder-append-buffer.
2469 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2470 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2472 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2475 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2477 * elmo-split.el (elmo-split-subr): Append message with flag.
2479 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2480 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2481 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2483 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2485 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2486 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2487 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2489 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2491 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2492 with a function call of `process-buffer'. All callers are updated.
2493 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2494 Remove redundant `set-buffer' in a while loop.
2496 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2498 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2501 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2503 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2504 elsp-spamfilter-register-buffer-internal with current buffer.
2505 (elmo-spam-register-spam-buffer): Ditto.
2506 (elmo-spam-register-good-buffer): Ditto.
2508 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2510 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2511 if it is not contained in the response(A workaround for courier-imap).
2513 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2515 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2518 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2520 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2523 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2525 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2528 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2530 (elmo-msgdb-message-match-condition): Follow the change above.
2532 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2534 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2537 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2539 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2541 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2543 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2545 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2547 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2550 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2552 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2554 (elmo-file-command-argument): Undo last change for cygwin.
2555 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2557 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2559 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2561 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2562 value returned from elmo-file-find is nil.
2564 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2566 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2569 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2570 instead of insert-file-contents-as-binary.
2571 (elmo-message-set-field): New generic function.
2573 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2574 behavior change on `split-string'.
2576 * elmo-file.el (elmo-file-find): New function.
2577 (elmo-file-command): New user option.
2578 (elmo-file-command-argument): Ditto.
2579 (elmo-file-fetch-max-size): Ditto.
2580 (elmo-file-detect-format): New function.
2581 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2582 Use elmo-file-detect-format.
2583 (elmo-map-folder-list-message-locations): Don't treat directories.
2585 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2587 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2588 (elmo-passwd-alist-clear): Shred password before clear.
2589 (elmo-remove-passwd): Remove all mached pair.
2591 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2593 * elmo.el (elmo-folder-synchronize): Fix description of the return
2596 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2598 * elmo.el (elmo-message-fetch-bodystructure): New method.
2599 (elmo-message-fetch-bodystructure): Define default.
2601 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2602 elmo-message-fetch-bodystructure.
2603 (elmo-message-fetch-bodystructure): Define.
2605 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2607 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2609 * elmo-filter.el (elmo-message-folder): Define.
2611 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2613 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2614 elmo-delete-cr-buffer.
2616 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2618 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2620 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2622 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2623 type seems to be a text.
2625 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2627 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2628 (elmo-spam-register-good-buffer): Ditto.
2629 (elmo-spam-spamassassin-register-messages): Ditto.
2631 * elmo-util.el (elmo-string-member-ignore-case): Define with
2634 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2636 * elmo.el (elmo-folder-type): Undo last change.
2638 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2640 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2643 * elmo-file.el: New file.
2645 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2647 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2649 (elmo-spam-spamassassin-register-messages): New inline function.
2650 (elmo-spam-register-spam-messages): Define.
2651 (elmo-spam-register-good-messages): Ditto.
2653 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2656 * elmo.el (toplevel): Added autoload setting for
2657 `elmo-get-global-flags'.
2658 (elmo-message-has-global-flag-p): New function.
2659 (elmo-message-set-global-flags): Ditto.
2660 (elmo-folder-type): Improvement for name: format.
2662 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2663 availability of keyword flags.
2664 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2665 (elmo-folder-list-flagged-plugged): Renamed from
2666 elmo-folder-list-flagged-unplugged.
2667 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2668 accept any flag as keyword flag.
2669 (elmo-folder-set-flag-plugged): Accept keyword flags.
2670 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2672 * elmo-flag.el (elmo-get-global-flags): New function.
2674 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2677 * elmo-version.el (elmo-version): Up to 2.11.24.
2679 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2681 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2682 elmo-multiple-field-body instead of std11-field-body to check all
2685 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2687 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2690 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2692 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2693 unintern is unbound.
2695 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2697 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2698 Protect from infinite loop.
2700 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2702 * elsp-bogofilter.el
2703 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2704 (elmo-spam-bogofilter-register-messages): New internal function.
2705 (elmo-spam-register-spam-messages): Define.
2706 (elmo-spam-register-good-messages): Ditto.
2708 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2710 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2711 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2712 (elmo-spam-bogofilter-call): Fixed the last change.
2713 (elmo-spam-bogofilter-arguments): Ditto.
2715 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2716 Follow the options change of latest bogofilter.
2718 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2719 (elmo-spam-bogofilter-good-switch): Ditto.
2720 (elmo-spam-bogofilter-arguments-alist): New user option.
2721 (elmo-spam-bogofilter-debug): Ditto.
2722 (elmo-spam-bogofilter-call): Renamed from
2723 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2724 is non-nil, insert output in buffer for debug.
2725 (elmo-spam-bogofilter-arguments): New macro.
2726 (elmo-spam-buffer-spam-p): Use it.
2727 (elsp-bogofilter-register-buffer): Ditto.
2729 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2731 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2734 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2736 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2738 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2739 (elmo-spam-bsfilter-program): Set default value as full path for
2741 (elmo-spam-bsfilter-debug): New user option.
2742 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2743 non-nil, insert output in buffer for debug. Fix treating of
2746 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2748 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2749 `elmo-maildir-flag-specs' element instead of one.
2750 (elmo-map-folder-unset-flag): Ditto.
2751 (Reported by Ken Makimura <macky@astem.or.jp>)
2753 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2754 (elmo-folder-unset-flag-plugged): Ditto.
2756 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2758 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2759 to `reads' slot only if `in-msgdb' is nil.
2761 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2763 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2764 and complement argument list.
2766 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2768 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2769 instead of elmo-folder-list-flagged.
2771 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2773 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2775 * elsp-bsfilter.el: New file.
2777 * elmo-pipe.el (elmo-folder-list-unreads,
2778 elmo-folder-list-answereds,
2779 elmo-folder-list-importants,
2780 elmo-folder-flag-as-important,
2781 elmo-folder-unflag-important,
2782 elmo-folder-flag-as-read,
2783 elmo-folder-unflag-read,
2784 elmo-folder-flag-as-answered,
2785 elmo-folder-unflag-answered): Remove.
2786 (elmo-folder-set-flag): Define.
2787 (elmo-folder-unset-flag): Ditto.
2789 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2790 (elmo-folder-set-flag): Define.
2791 (elmo-folder-unset-flag): Ditto.
2792 (elmo-folder-list-unreads): Remove.
2793 (elmo-folder-list-flagged): Define.
2795 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2796 (elmo-folder-list-unreads,
2797 elmo-folder-list-importants,
2798 elmo-folder-list-answereds,
2799 elmo-folder-list-unreads-plugged,
2800 elmo-folder-list-importants-plugged,
2801 elmo-folder-list-answereds-plugged): Remove.
2802 (elmo-folder-list-flagged-plugged): New method.
2803 (elmo-folder-unflag-important,
2804 elmo-folder-flag-as-important,
2805 elmo-folder-unflag-read,
2806 elmo-folder-flag-as-read,
2807 elmo-folder-unflag-answered,
2808 elmo-folder-flag-as-answered,
2809 elmo-folder-flag-as-read-unplugged,
2810 elmo-folder-unflag-read-unplugged,
2811 elmo-folder-flag-as-important-unplugged,
2812 elmo-folder-unflag-important-unplugged,
2813 elmo-folder-flag-as-answered-unplugged,
2814 elmo-folder-unflag-answered-unplugged): Remove.
2815 (elmo-folder-set-flag): Define.
2816 (elmo-folder-unset-flag): Ditto.
2817 (elmo-folder-set-flag-unplugged): Ditto.
2818 (elmo-folder-unset-flag-unplugged): Ditto.
2820 * elmo-multi.el (elmo-folder-list-unreads,
2821 elmo-folder-list-answereds,
2822 elmo-folder-list-importants,
2823 elmo-folder-flag-as-important,
2824 elmo-folder-unflag-important,
2825 elmo-folder-flag-as-read,
2826 elmo-folder-unflag-read,
2827 elmo-folder-flag-as-answered,
2828 elmo-folder-unflag-answered): Remove.
2829 (elmo-folder-set-flag): Define.
2830 (elmo-folder-unset-flag): Ditto.
2832 * elmo-map.el (elmo-map-folder-unflag-important,
2833 elmo-map-folder-flag-as-important,
2834 elmo-map-folder-unflag-read,
2835 elmo-map-folder-flag-as-read,
2836 elmo-map-folder-unflag-answered,
2837 elmo-map-folder-flag-as-answered): Remove.
2838 (elmo-map-folder-set-flag): New method.
2839 (elmo-map-folder-unset-flag): Ditto.
2840 (elmo-map-folder-list-unreads,
2841 elmo-map-folder-list-importants,
2842 elmo-map-folder-list-answereds): Remove.
2843 (elmo-folder-list-flagged-internal): Define.
2844 (elmo-map-folder-list-flagged): New method.
2846 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2847 (elmo-map-folder-list-unreads,
2848 elmo-map-folder-list-importants,
2849 elmo-map-folder-list-flagged): Remove.
2850 (elmo-map-folder-list-flagged): Define.
2851 (elmo-map-folder-flag-as-important,
2852 elmo-map-folder-unflag-important,
2853 elmo-map-folder-flag-as-read,
2854 elmo-map-folder-unflag-read,
2855 elmo-map-folder-flag-as-answered,
2856 elmo-map-folder-unflag-answered): Remove.
2857 (elmo-maildir-set-mark-messages): New internal function.
2858 (elmo-map-folder-set-flag): Define.
2859 (elmo-map-folder-unset-flag): Ditto.
2861 * elmo.el (toplevel): Added autoload setting for
2862 `elmo-folder-list-global-flag-messages'.
2863 (elmo-folder-list-unreads,
2864 elmo-folder-list-importants,
2865 elmo-folder-list-answereds): Remove.
2866 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2867 Return a list whitch merged with messages have global flag.
2868 (elmo-folder-list-flagged-internal): New method.
2869 (elmo-folder-unflag-important,
2870 elmo-folder-flag-as-important,
2871 elmo-folder-unflag-read,
2872 elmo-folder-flag-as-read,
2873 elmo-folder-unflag-answered,
2874 elmo-folder-flag-as-answered): Remove.
2875 (elmo-folder-set-flag): New method.
2876 (elmo-folder-unset-flag): Ditto.
2877 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2878 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2880 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2881 (elmo-folder-list-unreads-plugged,
2882 elmo-folder-list-importants-plugged,
2883 elmo-folder-list-answereds-plugged,
2884 elmo-folder-list-flagged-unplugged,
2885 elmo-folder-unflag-important-plugged,
2886 elmo-folder-flag-as-important-plugged,
2887 elmo-folder-unflag-read-plugged,
2888 elmo-folder-flag-as-read-plugged,
2889 elmo-folder-unflag-answered-plugged,
2890 elmo-folder-flag-as-answered-plugged): Remove.
2891 (elmo-folder-set-flag-plugged,
2892 elmo-folder-unset-flag-plugged): Define.
2894 * elmo-flag.el (elmo-folder-initialize): Register to
2895 `elmo-global-flag-list' if flag is not global.
2896 (elmo-folder-append-messages): Set flag to source messages.
2898 * elmo-filter.el (elmo-filter-folder-list-unreads,
2899 elmo-folder-list-unreads,
2900 elmo-filter-folder-list-importants,
2901 elmo-folder-list-importants,
2902 elmo-folder-flag-as-read,
2903 elmo-folder-unflag-read,
2904 elmo-folder-flag-as-important,
2905 elmo-folder-unflag-important,
2906 elmo-folder-flag-as-answered,
2907 elmo-folder-unflag-answered): Remove.
2908 (elmo-folder-set-flag): Define.
2909 (elmo-folder-unset-flag): Ditto.
2911 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2912 elmo-folder-unflag-read-dop,
2913 elmo-folder-flag-as-important-dop,
2914 elmo-folder-unflag-important-dop,
2915 elmo-folder-flag-as-answered-dop,
2916 elmo-folder-unflag-answered-dop): Remove.
2917 (elmo-folder-set-flag-dop,
2918 elmo-folder-unset-flag-dop,
2919 elmo-folder-set-important-delayed,
2920 elmo-folder-unset-important-delayed,
2921 elmo-folder-set-read-delayed,
2922 elmo-folder-unset-read-delayed,
2923 elmo-folder-set-answered-delayed,
2924 elmo-folder-unset-answered-delayed): New function.
2925 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2926 (elmo-dop-queue-method-name-alist): Ditto.
2928 * elmo-version.el (elmo-version): Up to 2.11.23.
2930 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2932 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2934 * elsp-sa.el: New file.
2936 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2938 * modb-standard.el (modb-standard-message-entity): New function.
2939 (elmo-msgdb-message-entity): Use it.
2941 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2943 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2944 behavior when one-level is nil.
2946 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2948 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2950 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2952 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2954 (elmo-generic-folder-diff): Ditto.
2956 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2957 (elmo-folder-update-number): Ditto.
2959 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2960 (elmo-folder-next-message-number-dop): Ditto.
2962 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2964 * elmo-filter.el (elmo-folder-msgdb-create): Use
2965 `elmo-message-entity' and `elmo-message-flags' instead of
2966 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2968 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2970 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2973 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2975 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2977 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2979 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2981 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2983 * elmo-version.el (elmo-version): Up to 2.11.22.
2985 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2987 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2989 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2991 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2992 if the message dose not exist.
2994 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2996 * elmo-version.el (elmo-version): Up to 2.11.21.
2998 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3000 * modb-standard.el (toplevel): Don't require mime.
3002 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3004 * elsp-bogofilter.el (toplevel): Don't require path-util.
3005 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3006 (elmo-spam-bogofilter-header): Abolish.
3007 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3008 (elmo-spam-bogofilter-args): New user option.
3009 (elsp-bogofilter-call-bogofilter): New internal function.
3010 (elmo-spam-buffer-spam-p): Use it.
3011 (elsp-bogofilter-register-buffer): Renamed from
3012 `elmo-spam-bogofilter-register-buffer';
3013 Use `elsp-bogofilter-call-bogofilter'.
3014 (elmo-spam-register-spam-buffer): Follow the change above.
3015 (elmo-spam-register-good-buffer): Ditto.
3017 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3019 * modb-standard.el (elmo-msgdb-append-entity): If entity or
3020 message-id is nil do nothing.
3022 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
3024 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3026 (elmo-imap4-session): Removed use-flag slot.
3027 (elmo-imap4-session-select-mailbox): Undo last change.
3028 (elmo-folder-use-flag-p): Use
3029 elmo-imap4-disuse-server-flag-mailbox-regexp.
3031 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3033 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3034 (elmo-imap4-session-select-mailbox): Set it up.
3035 (elmo-folder-use-flag-p): Return value of use-flag slot.
3037 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3039 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3041 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3043 * modb-entity.el (elmo-message-entity-handler): Likewise.
3045 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
3047 * elmo.el (toplevel): Remove setting of autoloding for
3048 elmo-global-flag-initialize.
3049 (elmo-init): Don't call elmo-global-flag-initialize.
3050 (toplevel): Added autoload setting for elmo-global-mark-migrate.
3052 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3053 (elmo-global-mark-migrate): Don't call it.
3054 (elmo-global-mark-upgrade): Ditto.
3056 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
3058 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3059 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3061 * elmo-vars.el (elmo-init-hook): New user option.
3063 * elmo.el (elmo-init): Run the elmo-init-hook.
3065 * elmo-flag.el (elmo-global-mark-migrate): New function.
3067 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3069 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3070 Undo last change (move to elmo-msgdb-unset-flag).
3071 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3074 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3076 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3078 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3079 (elmo-msgdb-unset-flag): Ditto.
3081 2003-11-05 Andreas Fuchs <asf@boinkor.net>
3083 * elmo-split.el (elmo-split): Return split message count.
3085 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3087 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3090 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3092 * elmo.el (elmo-folder-unflag-important): Call
3093 `elmo-global-flag-detach' with 4th argument delete-if-none that is
3096 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3098 (elmo-global-flag-detach): Delete the message from flag folder, if
3099 `delete-if-none' is a symbol `always'.
3101 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3103 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3104 `elmo-spam-spamfilter-decode-buffer'.
3105 (elsp-spamfilter-register-buffer-internal): New internal function.
3106 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3107 (elmo-spam-register-spam-buffer): Ditto.
3108 (elmo-spam-register-good-buffer): Ditto.
3110 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3112 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3113 (elmo-spam-register-spam-buffer): Follow the API change.
3114 (elmo-spam-register-good-buffer): Ditto.
3116 * elmo-split.el (toplevel): Require elmo-spam when copmile.
3117 (elmo-split-spam-p): Added argument plist; Call
3118 `elmo-spam-buffer-spam-p' with new argument register.
3120 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3122 (elmo-spam-message-spam-p): Ditto.
3123 (elmo-spam-register-spam-buffer): Added optional argument
3125 (elmo-spam-register-good-buffer): Ditto.
3126 (elmo-spam-register-spam-messages): Ditto.
3127 (elmo-spam-register-good-messages): Ditto.
3129 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3131 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3132 register into good corpus.
3133 (elmo-spam-register-good-buffer): Fixed to register into bad
3136 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3138 * elmo-version.el (elmo-version): Up to 2.11.20.
3140 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3143 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3144 flag without depending on \Recent flag.
3146 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3148 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3149 (elmo-spam-modified-p): Defined.
3150 (elmo-spam-save-status): Set `modified' slot to nil.
3151 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3152 (elmo-spam-register-good-buffer): Ditto.
3154 * elmo-spam.el (elmo-spam-modified-p): New API.
3156 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3158 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3159 duplicate definition.
3161 * elmo-util.el (elmo-unfold-field-body): New function.
3162 (elmo-msgdb-get-message-id-from-buffer): Use it.
3164 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3165 Fixed the last change; Use elmo-unfold-field-body.
3167 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3169 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3172 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3174 * elmo-spam.el (elmo-spam-save-status): New API.
3176 * elsp-spamfilter.el: New file.
3178 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3180 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3182 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3184 * elmo-split.el (elmo-split-spam-p): New function.
3186 * elmo-spam.el: New file.
3188 * elsp-bogofilter.el: Ditto.
3190 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3192 * elmo.el (elmo-folder-next-message-number): New API.
3193 (elmo-folder-next-message-number): Define.
3194 (elmo-message-field): Don't check folder length.
3196 * elmo-net.el (elmo-folder-next-message-number): Define.
3197 (elmo-folder-next-message-number-unplugged): Define.
3199 * elmo-map.el (elmo-folder-next-message-number): Define.
3200 (elmo-folder-delete-messages): Clear hash value.
3202 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3204 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3205 (elmo-folder-delete-messages-dop-delayed): Always return t.
3207 * elmo-version.el (elmo-version): Up to 2.11.19.
3209 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3211 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3214 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3215 identical cons cell into the mark-alist and the hash table.
3217 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3219 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3220 elmo-folder-list-messages with argument `visible-only' as t.
3222 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3223 (elmo-folder-msgdb-create): Check the target folder.
3225 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3227 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3228 `permanentflag' instead of `flags'.
3229 (elmo-folder-open): Ditto.
3230 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3231 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3232 (elmo-folder-use-flag-p): Always return t.
3233 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3234 `permanentflags' does not exist.
3235 (elmo-folder-open): Ditto.
3237 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3239 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3241 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3243 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3244 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3246 (elmo-folder-open): Ditto.
3247 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3248 slot of the session includes the flag.
3249 (elmo-imap4-session-flag-available-p): New function.
3250 (elmo-imap4-folder-list-flagged): Ditto.
3251 (elmo-folder-list-unreads-plugged): Use it.
3252 (elmo-folder-list-importants-plugged): Ditto.
3253 (elmo-folder-list-answereds-plugged): Ditto.
3254 (elmo-imap4-search-internal-primitive): Ditto.
3255 (elmo-imap4-folder-list-any-plugged,
3256 elmo-imap4-folder-list-digest-plugged): Abolish.
3258 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3261 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3263 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3265 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3267 * elmo-util.el (elmo-get-hash-val): Simplify.
3268 (elmo-set-hash-val): Rewrite.
3270 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3272 * elmo.el (elmo-folder-list-messages): Append killed messages into
3273 result if `visible-only' is nil and `in-msgdb' is non-nil.
3275 * elmo-util.el (elmo-uniq-list): Added optional argument
3278 * modb.el (elmo-msgdb-flag-count): New API.
3280 * modb-standard.el (modb-standard): Added slot flag-count.
3281 (modb-standard-countup-flags): New function.
3282 (modb-standard-load-flag): Call it.
3283 (elmo-msgdb-append): Ditto.
3284 (elmo-msgdb-clear): Clear slot flag-count.
3285 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3286 (elmo-msgdb-unset-flag): Treat `all' flag and call
3287 modb-standard-countup-flags.
3288 (elmo-msgdb-flag-count): Define.
3289 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3290 (elmo-msgdb-delete-messages): Ditto.
3292 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3293 (elmo-msgdb-flag-count): Define.
3295 * elmo.el (elmo-folder-list-messages): Undo last change.
3296 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3297 (elmo-folder-kill-messages): Unset all flags to numbers.
3299 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3300 elmo-folder-kill-messages.
3302 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3303 (elmo-nntp-folder-delete-messages): Abolish.
3305 * elmo-version.el (elmo-version): Up to 2.11.18.
3307 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3309 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3310 (elmo-folder-kill-messages-range): New function.
3311 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3312 instead of elmo-folder-kill-messages-before.
3314 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3316 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3317 elmo-imap4-current-msgdb to decide entity handler.
3319 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3321 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3323 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3325 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3326 (elmo-msgdb-overview-entity-set-number,
3327 elmo-msgdb-overview-entity-get-references,
3328 elmo-msgdb-overview-entity-set-references,
3329 elmo-msgdb-overview-entity-get-from-no-decode,
3330 elmo-msgdb-overview-entity-get-from,
3331 elmo-msgdb-overview-entity-set-from,
3332 elmo-msgdb-overview-entity-get-subject,
3333 elmo-msgdb-overview-entity-get-subject-no-decode,
3334 elmo-msgdb-overview-entity-set-subject,
3335 elmo-msgdb-overview-entity-get-date,
3336 elmo-msgdb-overview-entity-set-date,
3337 elmo-msgdb-overview-entity-get-to,
3338 elmo-msgdb-overview-entity-get-cc,
3339 elmo-msgdb-overview-entity-get-size,
3340 elmo-msgdb-overview-entity-set-size,
3341 elmo-msgdb-overview-entity-get-extra,
3342 elmo-msgdb-overview-entity-set-extra,
3343 elmo-msgdb-overview-entity-get-extra-field,
3344 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3345 (elmo-msgdb-make-index): Use
3346 `elmo-msgdb-overview-entity-get-number-internal'.
3347 (elmo-msgdb-clear-index): Ditto.
3348 (elmo-msgdb-append-entity): Ditto;
3349 Use `elmo-msgdb-overview-entity-get-id-internal'.
3351 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3352 elmo-msgdb-overview-entity-set-number,
3353 elmo-msgdb-overview-entity-get-references,
3354 elmo-msgdb-overview-entity-set-references,
3355 elmo-msgdb-overview-entity-get-from-no-decode,
3356 elmo-msgdb-overview-entity-get-from,
3357 elmo-msgdb-overview-entity-set-from,
3358 elmo-msgdb-overview-entity-get-subject,
3359 elmo-msgdb-overview-entity-get-subject-no-decode,
3360 elmo-msgdb-overview-entity-set-subject,
3361 elmo-msgdb-overview-entity-get-date,
3362 elmo-msgdb-overview-entity-set-date,
3363 elmo-msgdb-overview-entity-get-to,
3364 elmo-msgdb-overview-entity-get-cc,
3365 elmo-msgdb-overview-entity-get-size,
3366 elmo-msgdb-overview-entity-set-size,
3367 elmo-msgdb-overview-entity-get-extra,
3368 elmo-msgdb-overview-entity-set-extra,
3369 elmo-msgdb-overview-entity-get-extra-field,
3370 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3371 and rewrote for backward compatibility.
3373 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3375 * elmo.el (elmo-message-entity-number,
3376 elmo-message-entity-set-number,
3377 elmo-message-entity-field,
3378 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3380 * elmo-msgdb.el (elmo-message-entity-number,
3381 elmo-message-entity-set-number,
3382 elmo-message-entity-field,
3383 elmo-message-entity-set-field): Moved from elmo.el.
3385 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3387 * elmo.el (toplevel): Changed definition orders.
3389 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3391 * modb.el (elmo-msgdb-search): New API .
3392 (elmo-msgdb-match-condition): Ditto.
3394 * modb-standard.el (elmo-msgdb-search): Define.
3396 * modb-legacy.el (elmo-msgdb-search): Ditto.
3398 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3399 from elmo-msgdb-match-condition-internal.
3401 * elmo.el (elmo-folder-search-fast): Abolish.
3402 (elmo-folder-search): Use elmo-msgdb-search and
3403 elmo-with-progress-display.
3405 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3408 * elmo.el (elmo-folder): Remove slot message-modified and
3410 (elmo-folder-set-message-modified): Abolish.
3411 (elmo-generic-folder-commit): Follow the change above.
3412 (elmo-folder-synchronize): Ditto.
3414 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3416 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3418 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3420 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3422 * modb-standard.el (modb-standard-make-message-entity,
3423 elmo-msgdb-make-message-entity,
3424 elmo-msgdb-create-message-entity-from-buffer,
3425 elmo-msgdb-message-entity-number,
3426 elmo-msgdb-message-entity-set-number,
3427 elmo-msgdb-message-entity-field,
3428 elmo-msgdb-message-entity-set-field,
3429 elmo-msgdb-copy-message-entity,
3430 elmo-msgdb-match-condition-internal): Remove.
3432 * modb-entity.el: New file (again).
3434 * modb.el (toplevel): Require modb-entity.
3435 (elmo-msgdb-message-entity-handler): New method.
3437 * modb-standard.el (modb-standard-entity-id): Use
3438 elmo-message-entity-handler.
3439 (modb-standard-load-entity): Ditto.
3440 (elmo-msgdb-append-entity): Ditto.
3441 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3443 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3444 elmo-msgdb-decoded-cache-hashtb,
3445 (modb-legacy-make-message-entity,
3446 elmo-msgdb-make-message-entity,
3447 elmo-msgdb-create-message-entity-from-buffer,
3448 elmo-msgdb-message-entity-number,
3449 elmo-msgdb-message-entity-set-number,
3450 elmo-msgdb-message-entity-field,
3451 elmo-msgdb-message-entity-set-field,
3452 elmo-msgdb-copy-message-entity,
3453 elmo-msgdb-match-condition-internal,
3454 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3456 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3457 (elmo-message-entity-set-number): Ditto.
3458 (elmo-message-entity-field): Ditto.
3459 (elmo-message-entity-set-field): Ditto.
3461 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3463 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3465 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3467 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3468 (elmo-nntp-msgdb-create-message): Ditto.
3470 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3471 (elmo-folder-msgdb-create): Add unread flag.
3473 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3475 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3477 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3479 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3481 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3482 elmo-msgdb-messge-entity-handler.
3483 * elmo-version.el (elmo-version): Up to 2.11.17.
3485 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3487 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3490 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3492 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3494 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3495 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3496 (elmo-msgdb-flag-table): Ditto.
3497 (elmo-msgdb-sort-by-date): Ditto.
3499 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3501 * modb-standard.el (toplevel): Require mime.
3502 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3503 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3504 elmo-msgdb-message-entity-number.
3505 (elmo-msgdb-append-entity): Ditto.
3506 (elmo-msgdb-create-message-entity-from-file): Remove.
3507 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3508 corresponds to the entity.
3509 (elmo-msgdb-message-entity-number): Do nothing currently.
3510 (elmo-msgdb-message-entity-field): Ditto.
3511 (elmo-msgdb-message-entity-set-field): Ditto.
3512 (elmo-msgdb-copy-message-entity): Ditto.
3513 (elmo-msgdb-match-condition-internal): Ditto.
3515 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3517 (elmo-msgdb-create-message-entity-from-file): Remove.
3519 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3521 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3523 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3525 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3527 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3528 (elmo-msgdb-message-entity-field): Ditto.
3529 (elmo-msgdb-message-entity-number): Ditto.
3531 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3533 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3534 Fixed how to set extra field into entity.
3535 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3538 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3539 Fixed how to set extra field into entity.
3540 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3543 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3545 * modb.el (elmo-message-entity-db): New function.
3546 (elmo-msgdb-make-message-entity): New API.
3547 (elmo-msgdb-message-entity-number): Ditto.
3548 (elmo-msgdb-message-entity-set-number): Ditto.
3549 (elmo-msgdb-message-entity-field): Ditto.
3550 (elmo-msgdb-message-entity-set-field): Ditto.
3551 (elmo-msgdb-copy-message-entity): Ditto.
3552 (elmo-msgdb-create-message-entity-from-file): Ditto.
3553 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3554 (elmo-msgdb-match-condition-internal): Ditto.
3556 * modb-standard.el (modb-legacy): Require modb-legacy.
3557 (modb-standard-make-message-entity): New inline function.
3558 (elmo-msgdb-make-message-entity): Define.
3559 (elmo-msgdb-create-message-entity-from-file): Ditto.
3560 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3561 (elmo-msgdb-message-entity-field): Ditto.
3562 (elmo-msgdb-message-entity-set-field): Ditto.
3563 (elmo-msgdb-copy-message-entity): Ditto.
3564 (elmo-msgdb-match-condition-internal): Ditto.
3566 * modb-legacy.el: Don't require modb-entity.
3567 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3568 (elmo-msgdb-match-condition-primitive): Ditto.
3569 (elmo-msgdb-get-decoded-cache): Ditto.
3570 (elmo-msgdb-overview-entity-get-id): Ditto.
3571 (elmo-msgdb-overview-entity-get-number): Ditto.
3572 (elmo-msgdb-overview-entity-set-number): Ditto.
3573 (elmo-msgdb-overview-entity-get-references): Ditto.
3574 (elmo-msgdb-overview-entity-set-references): Ditto.
3575 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3576 (elmo-msgdb-overview-entity-get-from): Ditto.
3577 (elmo-msgdb-overview-entity-set-from): Ditto.
3578 (elmo-msgdb-overview-entity-get-subject): Ditto.
3579 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3580 (elmo-msgdb-overview-entity-set-subject): Ditto.
3581 (elmo-msgdb-overview-entity-get-date): Ditto.
3582 (elmo-msgdb-overview-entity-set-date): Ditto.
3583 (elmo-msgdb-overview-entity-get-to): Ditto.
3584 (elmo-msgdb-overview-entity-get-cc): Ditto.
3585 (elmo-msgdb-overview-entity-get-size): Ditto.
3586 (elmo-msgdb-overview-entity-set-size): Ditto.
3587 (elmo-msgdb-overview-entity-get-extra): Ditto.
3588 (elmo-msgdb-overview-entity-set-extra): Ditto.
3589 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3590 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3591 (elmo-msgdb-number-load): Ditto.
3592 (elmo-msgdb-overview-load): Ditto.
3593 (elmo-msgdb-mark-load): Ditto.
3594 (elmo-msgdb-number-save): Ditto.
3595 (elmo-msgdb-mark-save): Ditto.
3596 (elmo-msgdb-overview-save): Ditto.
3597 (modb-legacy-make-message-entity): New inline function.
3598 (elmo-msgdb-insert-file-header): Ditto.
3599 (elmo-msgdb-make-message-entity): Define.
3600 (elmo-msgdb-create-message-entity-from-file): Ditto.
3601 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3602 (elmo-msgdb-message-entity-number): Ditto.
3603 (elmo-msgdb-message-entity-set-number): Ditto.
3604 (elmo-msgdb-message-entity-field): Ditto.
3605 (elmo-msgdb-message-entity-set-field): Ditto.
3606 (elmo-msgdb-copy-message-entity): Ditto.
3607 (elmo-msgdb-match-condition-internal): Ditto.
3609 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3610 (elmo-message-copy-entity): Rewrite.
3611 (elmo-message-entity-number): Ditto.
3612 (elmo-message-entity-set-number): Ditto.
3613 (elmo-message-entity-field): Use elmo-message-entity-db.
3614 (elmo-message-entity-set-field): Ditto.
3615 (elmo-message-field): Rewrite.
3617 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3619 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3621 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3622 elmo-message-entity-field.
3623 (elmo-shimbun-folder-shimbun-header): Ditto.
3624 (elmo-shimbun-entity-to-header): Ditto.
3625 (elmo-folder-msgdb-create): Ditto.
3626 (elmo-shimbun-msgdb-create-entity): Ditto;
3627 Use elmo-msgdb-create-message-entity-from-buffer.
3628 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3629 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3631 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3632 elmo-msgdb-create-message-entity-from-file and
3633 elmo-message-entity-field.
3635 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3636 elmo-message-entity-number.
3637 (elmo-pop3-msgdb-create-message): Use
3638 elmo-msgdb-create-message-entity-from-buffer,
3639 elmo-message-entity-set-field, elmo-message-entity-number and
3640 elmo-message-entity-set-number.
3642 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3643 the API change in elmo-msgdb-make-message-entity.
3644 (elmo-nntp-msgdb-create-message): Use
3645 elmo-msgdb-create-message-entity-from-buffer.
3647 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3648 elmo-message-entity-field and
3649 elmo-msgdb-create-message-entity-from-file.
3651 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3652 (elmo-msgdb-get-field): Abolish.
3653 (elmo-msgdb-get-number): Rewrite.
3654 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3655 (elmo-msgdb-flag-table): Ditto.
3656 (elmo-msgdb-get-last-message-id,
3657 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3658 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3659 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3660 (elmo-msgdb-create-overview-from-buffer,
3661 elmo-msgdb-overview-get-parent-entity): Abolish.
3663 * elmo-mime.el (elmo-mime-display-as-is): Use
3664 elmo-message-entity-field.
3666 * elmo-map.el (elmo-folder-pack-numbers): Use
3667 elmo-message-entity-set-number.
3669 * elmo-maildir.el (elmo-folder-msgdb-create):
3670 elmo-msgdb-create-message-entity-from-file instead of
3671 elmo-msgdb-create-overview-entity-from-file.
3673 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3675 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3676 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3678 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3679 elmo-messge-entity-field and elmo-message-entity-number.
3680 (elmo-imap4-fetch-callback-1): Call
3681 elmo-msgdb-create-message-entity-from-buffer instead of
3682 elmo-msgdb-create-overview-from-buffer.
3683 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3684 (elmo-find-fetch-strategy): Likewise.
3686 * elmo-flag.el (elmo-folder-msgdb-create): Call
3687 elmo-localdir-msgdb-create-entity with argument msgdb.
3689 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3690 and elmo-message-entity-set-number.
3692 * elmo-cache.el (elmo-folder-msgdb-create): Use
3693 elmo-message-entity-field.
3694 (elmo-folder-msgdb-create): Call
3695 elmo-msgdb-create-message-entity-from-file instead of
3696 elmo-msgdb-create-overview-entity-from-file.
3698 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3699 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3700 instead of elmo-msgdb-create-overview-from-buffer.
3701 (elmo-archive-msgdb-create-entity): Ditto.
3702 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3703 elmo-message-entity-field.
3704 (elmo-archive-parse-mmdf): Ditto.
3706 * modb-entity.el: Removed.
3708 * elmo-version.el (elmo-version): Up to 2.11.16.
3710 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3712 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3714 (elmo-folder-flag-as-answered): Ditto.
3716 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3718 * modb-standard.el: New file.
3720 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3721 elmo-msgdb-convert-type is `sync'.
3723 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3724 (elmo-msgdb-convert-type): New user option.
3726 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3727 (elmo-load-msgdb): Auto detect saved type.
3729 * elmo-version.el (elmo-version): Up to 2.11.15.
3731 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3733 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3735 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3736 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3737 with argument `delete-if-none' when dst-folder is 'null.
3739 * elmo-flag.el (elmo-folder-append-messages): Defined.
3740 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3742 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3744 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3746 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3748 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3749 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3750 (elmo-folder-commit): Ditto.
3752 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3754 * elmo-flag.el: New file.
3756 * elmo-mark.el: Removed.
3758 * modb-legacy.el (modb-legacy-new-mark,
3759 modb-legacy-unread-uncached-mark,
3760 modb-legacy-unread-cached-mark,
3761 modb-legacy-read-uncached-mark,
3762 modb-legacy-answered-cached-mark,
3763 modb-legacy-answered-uncached-mark,
3764 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3765 All other related portions are changed.
3767 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3768 (elmo-folder-list-messages-with-global-mark): Abolish.
3769 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3770 (elmo-folder-flag-as-important): Ditto.
3771 (elmo-folder-unflag-read): Ditto.
3772 (elmo-folder-flag-as-read): Ditto.
3773 (elmo-folder-unflag-answered): Ditto.
3774 (elmo-folder-flag-as-answered): Ditto.
3775 (elmo-message-encache): Return the cache path.
3776 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3777 (elmo-message-set-flag): Transitional implementation.
3778 (elmo-message-unset-flag): Ditto.
3779 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3780 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3781 (elmo-init): Call elmo-global-flag-initialize.
3782 (toplevel): Added autoload settings for elmo-flag.
3784 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3786 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3787 (elmo-file-cache-delete): Don't treat global-mark.
3789 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3791 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3793 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3794 `elmo-global-flags-set'.
3796 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3798 (elmo-folder-unflag-read): Ditto.
3799 (elmo-folder-unflag-important): Ditto.
3800 (elmo-folder-flag-as-important): Ditto.
3801 (elmo-folder-unflag-answered): Ditto.
3802 (elmo-folder-flag-as-answered): Ditto.
3804 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3805 `elmo-global-flags-set'.
3806 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3808 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3810 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3812 (elmo-folder-flag-as-important): Ditto.
3813 (elmo-folder-unflag-important): Ditto.
3814 (elmo-folder-flag-as-important): Ditto.
3815 (elmo-folder-unflag-read): Ditto.
3816 (elmo-folder-flag-as-read): Ditto.
3817 (elmo-folder-unflag-answered): Ditto.
3818 (elmo-folder-flag-as-answered): Ditto.
3820 * elmo-multi.el (elmo-folder-list-importants): Don't call
3821 elmo-folder-list-messages-with-global-mark.
3822 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3823 (elmo-folder-unflag-important): Ditto.
3824 (elmo-folder-flag-as-read): Ditto.
3825 (elmo-folder-unflag-read): Ditto.
3826 (elmo-folder-flag-as-answered): Ditto.
3827 (elmo-folder-unflag-answered): Ditto.
3829 * elmo-msgdb.el (elmo-msgdb-new-mark,
3830 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3831 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3832 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3833 (Moved to modb-legacy.el).
3834 (elmo-flag-table-get): Treat important flag too.
3836 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3838 (elmo-map-folder-flag-as-important): Ditto.
3839 (elmo-map-folder-unflag-read): Ditto.
3840 (elmo-map-folder-flag-as-read): Ditto.
3841 (elmo-map-folder-unflag-answered): Ditto.
3842 (elmo-map-folder-flag-as-answered): Ditto.
3843 (elmo-folder-unflag-important): Ditto.
3844 (elmo-folder-flag-as-important): Ditto.
3845 (elmo-folder-unflag-read): Ditto.
3846 (elmo-folder-flag-as-read): Ditto.
3847 (elmo-folder-unflag-answered): Ditto.
3848 (elmo-folder-flag-as-answered): Ditto.
3850 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3851 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3853 (elmo-map-folder-unflag-important): Ditto.
3854 (elmo-map-folder-flag-as-read): Ditto.
3855 (elmo-map-folder-unflag-read): Ditto.
3856 (elmo-map-folder-flag-as-answered): Ditto.
3857 (elmo-map-folder-unflag-answered): Ditto.
3859 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3860 `elmo-global-flags-set'.
3861 (elmo-global-flags-set): Added autoload setting.
3863 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3866 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3867 `elmo-msgdb-global-mark-set'.
3868 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3869 Call `elmo-global-flags-set'.
3870 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3872 (elmo-folder-flag-as-important-plugged): Ditto.
3873 (elmo-folder-unflag-read-plugged): Ditto.
3874 (elmo-folder-flag-as-read-plugged): Ditto.
3875 (elmo-folder-unflag-answered-plugged): Ditto.
3876 (elmo-folder-flag-as-answered-plugged): Ditto.
3877 (elmo-global-flags-set): Added autoload setting.
3879 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3881 (elmo-folder-unflag-read): Ditto.
3882 (elmo-folder-flag-as-important): Ditto.
3883 (elmo-folder-unflag-important): Ditto.
3884 (elmo-folder-flag-as-answered): Ditto.
3885 (elmo-folder-unflag-answered): Ditto.
3887 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3888 change of `mark'->`flag'.
3889 (elmo-dop-queue-method-name-alist): Ditto.
3890 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3891 (elmo-folder-unflag-read-dop): Ditto.
3892 (elmo-folder-flag-as-important-dop): Ditto.
3893 (elmo-folder-unflag-important-dop): Ditto.
3894 (elmo-folder-flag-as-answered-dop): Ditto.
3895 (elmo-folder-unflag-answered-dop): Ditto.
3897 * elmo-cache.el (elmo-folder-msgdb-create): Call
3898 `elmo-global-flags-set'.
3900 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3901 Call `elmo-global-flags-set'.
3902 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3903 elmo-archive-parse-mmdf with argument `folder'.
3904 (elmo-archive-parse-mmdf): Added argument `folder';
3905 Call `elmo-global-flags-set'.
3907 * elmo-version.el (elmo-version): Up to 2.11.14.
3909 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3911 * modb.el (elmo-msgdb-length): Define.
3913 * elmo.el (elmo-make-folder): Fixed.
3914 (elmo-generic-folder-append-messages): Follow the API change.
3916 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3919 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3921 * modb.el: New file.
3923 * modb-entity.el: Ditto.
3925 * modb-legacy.el: Ditto.
3927 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3928 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3929 of `elmo-msgdb-overview-get-entity'.
3930 (elmo-msgdb-get-field): Ditto.
3931 (elmo-msgdb-merge): Moved to `elmo.el'.
3932 (elmo-msgdb-length): Removed; redefine as modb method.
3933 (elmo-msgdb-change-mark): Abolish.
3934 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3935 (elmo-msgdb-match-condition): Don't use mark.
3936 (elmo-msgdb-overview-get-entity): Abolish.
3937 Split modb part into `modb*.el'.
3939 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3941 * elmo-shimbun.el (shimbun-mua-search-id): Use
3942 `elmo-msgdb-message-entity' instead of
3943 `elmo-msgdb-overview-get-entity'.
3944 (elmo-shimbun-folder-shimbun-header): Ditto.
3945 (elmo-shimbun-get-headers): Ditto.
3946 (elmo-shimbun-update-overview): Ditto.
3948 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3950 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3952 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3953 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3955 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3956 `elmo-msgdb-mark-to-flags'.
3958 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3959 `elmo-msgdb-set-path'.
3961 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3963 * elmo-version.el (elmo-version): Up to 2.11.13.
3965 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3967 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3970 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3972 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3975 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3977 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3978 instead of `elmo-msgdb-get-cached'.
3979 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3981 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3982 (elmo-msgdb-set-cached): Ditto.
3983 (elmo-msgdb-set-flag): Rewrite.
3984 (elmo-msgdb-unset-flag): Ditto.
3986 * elmo-msgdb.el: Rewrite with luna.
3988 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3989 (elmo-folder-msgdb): Follow the change above.
3990 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3991 (elmo-folder-unmark-important): Follow the API change.
3992 (elmo-folder-mark-as-important): Ditto.
3993 (elmo-folder-unmark-read): Ditto.
3994 (elmo-folder-mark-as-read): Ditto.
3995 (elmo-folder-unmark-answered): Ditto.
3996 (elmo-folder-mark-as-answered): Ditto.
3997 (elmo-folder-clear): Likewise.
3999 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4000 instead of `elmo-msgdb-load' (renamed).
4002 * elmo-version.el (elmo-version): Up to 2.11.12.
4004 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4006 * elmo.el (elmo-generic-folder-append-messages): Follow the API
4008 (elmo-message-mark): Abolish.
4009 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4010 instead of `elmo-msgdb-change-mark'.
4012 * elmo-pipe.el (elmo-message-mark): Abolish.
4014 * elmo-multi.el (elmo-message-mark): Ditto.
4016 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4017 (elmo-msgdb-unread-uncached-mark): Ditto.
4018 (elmo-msgdb-unread-cached-mark): Ditto.
4019 (elmo-msgdb-read-uncached-mark): Ditto.
4020 (elmo-msgdb-answered-cached-mark): Ditto.
4021 (elmo-msgdb-answered-uncached-mark): Ditto.
4022 (elmo-msgdb-important-mark): Ditto.
4023 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4025 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4027 (elmo-flag-table-load): Changed flag to list of flag.
4028 (elmo-flag-table-set): If flags is nil, set read flag.
4029 (elmo-flag-table-get): Return derived flags from global mark,
4030 cache status and saved flags.
4031 (elmo-msgdb-flag-table): Follow the change above.
4032 (elmo-msgdb-out-of-date-messages): New function.
4034 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4036 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4038 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4040 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4041 (elmo-nntp-msgdb-create-message): Ditto.
4043 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4045 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4047 (elmo-folder-msgdb-create): Follow the API change.
4049 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4050 (elmo-folder-append-messages): Ditto.
4052 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4053 (elmo-folder-append-buffer): Ditto.
4055 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4057 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4059 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4060 (elmo-archive-parse-mmdf): Ditto.
4062 * elmo-version.el (elmo-version): Up to 2.11.11.
4064 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4066 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4069 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4071 * elmo-pipe.el (elmo-message-flags): Defined.
4073 * elmo-multi.el (elmo-message-flags): Ditto.
4075 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4077 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4078 `elmo-msgdb-delete-msgs'.
4080 * elmo.el (elmo-folder-count-flags): Don't use
4081 `elmo-msgdb-get-mark-alist'.
4082 (elmo-folder-detach-messages): Follow the API change.
4084 * elmo.el (elmo-folder-list-messages): Append killed messages into
4085 result if `visible-only' is nil.
4087 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4089 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4090 (elmo-folder-update-number): Likewise.
4092 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4093 (elmo-pop3-sort-msgdb-by-original-number): Use
4094 `elmo-msgdb-sort-entities'.
4096 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4097 (elmo-msgdb-sort-by-date): Use it.
4098 (elmo-msgdb-overview-sort-by-date): Abolish.
4100 * elmo-dop.el (elmo-folder-status-dop): Fixed.
4102 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4103 (elmo-msgdb-flags): New function.
4104 (elmo-msgdb-merge): Use elmo-msgdb-append.
4106 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4109 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4111 * elmo-dop.el (elmo-folder-status-dop): Use
4112 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4114 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4116 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4118 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4120 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4122 * elmo-util.el (elmo-with-progress-display): New macro.
4124 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4126 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4128 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4129 `elmo-folder-list-message-entities' instead of
4130 `elmo-msgdb-get-overview'.
4131 (elmo-map-folder-list-message-locations): Ditto.
4133 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4134 methods instead of treat directly).
4135 (elmo-msgdb-clear): Ditto.
4136 (elmo-msgdb-delete-msgs): Ditto.
4137 (elmo-msgdb-sort-by-date): Ditto.
4139 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4141 (elmo-nntp-folder-msgdb-create): Follow the API change.
4143 * elmo-version.el (elmo-version): Up to 2.11.10.
4145 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4147 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4148 (elmo-msgdb-flags-to-mark): Ditto.
4149 (elmo-msgdb-append-entity): Ditto.
4151 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4152 Use `elmo-msgdb-append-entity' instead of construct msgdb.
4153 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4154 (elmo-archive-parse-mmdf): Ditto.
4156 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4158 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4160 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4162 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4164 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4166 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4168 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4170 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4172 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4173 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4176 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4177 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4178 instead of directly construction.
4179 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4180 instead of construct msgdb.
4182 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4183 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4184 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4185 instead of construct msgdb.
4187 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4189 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4190 when field is from or subject.
4192 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4194 * elmo-multi.el (elmo-message-entity-parent): Define.
4195 (elmo-folder-search): Rewrite.
4197 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4199 * elmo-multi.el (elmo-message-cached-p): Define.
4201 * elmo.el (elmo-message-cached-p): New method.
4202 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4203 (elmo-message-flags): New method.
4204 (elmo-message-flagged-p): New function.
4206 * elmo-version.el (elmo-version): Up to 2.11.9.
4208 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4210 * elmo-version.el (elmo-version): Up to 2.11.8.
4212 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4214 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4216 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4218 * elmo.el (elmo-folder-detach-messages): Undo last change.
4220 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4222 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4224 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4225 only when src folder type is pop3.
4227 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4229 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4230 elmo-msgdb-overview-entity-get-number instead of
4231 elmo-message-entity-number.
4233 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4235 * elmo-version.el (elmo-version): Up to 2.11.7.
4237 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4239 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4242 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4243 (elmo-msgdb-merge): New function.
4244 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4245 (elmo-msgdb-make-index): Rewrite.
4247 * elmo-version.el (elmo-version): Up to 2.11.6.
4249 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4250 use it as a the path for loading message entities.
4252 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4254 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4256 * elmo-filter.el (elmo-folder-set-message-modified): Set
4257 message-modified slot of itself if it does not require target msgdb.
4259 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4260 if folder length is zero.
4261 (elmo-mime-display-as-is): Ditto.
4263 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4265 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4267 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4269 * elmo.el (elmo-folder-set-message-modified): New method.
4270 (elmo-generic-folder-commit): Use it.
4271 (elmo-folder-synchronize): Ditto.
4273 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4274 (elmo-folder-commit): Remove duplicate definition.
4276 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4278 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4280 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4282 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4283 (elmo-strict-folder-diff): Ditto.
4284 (elmo-folder-set-info-max-by-numdb): Simplify.
4286 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4287 elmo-msgdb-list-messages.
4289 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4290 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4292 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4294 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4295 visible-only is non-nil.
4296 (elmo-folder-confirm-appends): Changed message.
4297 (elmo-folder-synchronize): Added argument disable-killed.
4299 * elmo-multi.el (elmo-folder-synchronize): Added argument
4302 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4304 * elmo-version.el (elmo-version): Up to 2.11.5.
4306 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4309 * elmo-util.el (elmo-list-filter): Simplify.
4311 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4312 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4313 (elmo-generic-folder-diff): Abolish argument.
4314 (elmo-msgdb-load): Don't use number-alist.
4316 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4318 * elmo-pipe.el (elmo-folder-diff): Ditto.
4320 * elmo-nmz.el (elmo-folder-diff): Ditto.
4322 * elmo-net.el (elmo-folder-diff): Ditto.
4324 * elmo-maildir.el (elmo-folder-diff): Ditto.
4326 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4328 * elmo-multi.el (elmo-folder-diff): Ditto
4329 (elmo-multi-folder-diff): Rewrite.
4331 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4333 * elmo-pipe.el (elmo-folder-msgdb): Define.
4335 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4337 * elmo.el (elmo-message-set-cached): Define as a method.
4339 * elmo-pipe.el (elmo-message-set-cached): Define.
4340 (elmo-find-fetch-strategy): Ditto.
4342 * elmo-multi.el (elmo-message-set-cached): Define.
4343 (elmo-find-fetch-strategy): Rewrite.
4345 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4347 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4349 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4351 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4352 instead of number-alist.
4354 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4355 mark nor message-id when msgdb of source folder is not loaded.
4357 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4359 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4361 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4363 * elmo.el (elmo-folder-length): Don't require msgdb.
4365 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4367 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4368 (elmo-message-field): Ditto.
4370 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4371 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4373 (elmo-map-folder-list-answereds): Define.
4374 (elmo-maildir-list-location): Treat 'R' info.
4375 (elmo-folder-msgdb-create): Treat flag-table.
4376 (elmo-folder-append-messages): Save flag-table.
4378 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4380 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4381 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4383 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4385 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4387 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4388 'read when mark is null.
4390 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4392 * elmo-version.el (elmo-version): Up to 2.11.4.
4394 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4396 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4397 (elmo-folder-mark-as-answered): Ditto.
4399 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4401 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4402 (elmo-pop3-get-session): Make msgdb directory after session.
4403 (elmo-folder-exists-p): Check exactly at the first time even when the
4404 elmo-pop3-exists-exactly is nil.
4406 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4407 (elmo-folder-list-messages): Define instead of
4408 elmo-folder-list-messages-internal.
4409 (elmo-folder-check): Check destination folder.
4410 (elmo-folder-synchronize): Drain the pipe.
4412 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4413 when msgdb is not loaded.
4415 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4417 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4418 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4421 * elmo.el (elmo-folder-kill-messages-before): New function.
4422 (elmo-folder-kill-messages): Ditto.
4423 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4425 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4426 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4427 killed not by synchronize (e.g. scoring).
4429 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4431 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4433 (elmo-folder-search): Follow the change above.
4435 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4436 into the candidates of search field.
4438 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4440 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4441 (elmo-msgdb-unset-flag): Ditto.
4443 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4445 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4447 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4448 (elmo-folder-commit): Define.
4449 (elmo-folder-synchronize): Ditto.
4450 (elmo-folder-list-flagged): Ditto.
4451 (elmo-folder-commit): Ditto.
4452 (elmo-folder-length): Ditto.
4453 (elmo-folder-count-flags): Ditto.
4454 (elmo-message-mark): Ditto.
4455 (elmo-message-field): Ditto.
4456 (elmo-message-entity): Ditto.
4457 (elmo-message-folder): Ditto.
4459 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4461 * elmo.el (elmo-message-field): Define as a method.
4463 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4464 (elmo-message-field): Define.
4466 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4467 (elmo-folder-list-importants): Ditto.
4468 (elmo-folder-list-answereds): Ditto.
4470 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4472 (elmo-folder-mark-as-read): Ditto.
4473 (elmo-folder-unmark-read): Ditto.
4474 (elmo-folder-mark-as-answered): Ditto.
4475 (elmo-folder-unmark-answered): Ditto.
4476 (elmo-folder-list-flagged): Define.
4477 (elmo-folder-commit): Ditto.
4478 (elmo-folder-length): Ditto.
4479 (elmo-folder-count-flags): Ditto.
4481 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4483 * elmo.el (elmo-folder-detach-messages): New method.
4484 (elmo-folder-move-messages): Use it.
4485 (elmo-folder-synchronize): Ditto.
4487 * elmo-multi.el (elmo-folder-detach-messages): Define.
4489 * elmo.el (elmo-message-copy-entity): New function.
4490 (elmo-message-entity-set-number): Ditto.
4491 (elmo-message-mark): Define as method.
4493 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4494 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4495 (elmo-message-entity): Fixed last change.
4496 (elmo-message-mark): Define.
4497 (elmo-folder-msgdb-create): Abolish.
4498 (elmo-multi-folder-append-msgdb): Ditto.
4499 (elmo-multi-folder-diff): Fixed.
4500 (elmo-multi-split-number-alist): Removed.
4501 (elmo-multi-split-mark-alist): Removed.
4502 (elmo-folder-list-messages): Define.
4503 (elmo-folder-list-messages-internal): Removed.
4505 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4506 local file messages.
4507 (elmo-folder-msgdb-create): Fixed read mark.
4509 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4511 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4514 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4516 * elmo.el (elmo-folder-list-message-entities): Define as inline
4518 (elmo-folder-messages): Abolish.
4520 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4522 (elmo-folder-synchronize): Define.
4523 (elmo-message-entity): Define.
4525 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4527 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4528 elmo-imap4-session-select-mailbox.
4530 * elmo.el (elmo-folder-move-messages): Don't display any message.
4532 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4534 (elmo-imap4-session-check): Don't wait CHECK response.
4535 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4537 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4539 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4541 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4543 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4545 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4548 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4549 (elmo-folder-list-message-entities): Added argument in-msgdb and
4551 (elmo-folder-synchronize): Define as a method.
4553 * elmo-nntp.el (elmo-folder-initialize): Don't use
4554 elmo-nntp-default-user if zero-length username is specified
4557 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4559 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4560 server name in case with username.
4561 (XXX: this is ad-hoc fix against username includes "@", it
4562 should be solved fundamentally)
4564 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4566 * elmo-nntp.el (elmo-nntp-debug): New function.
4567 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4568 (elmo-network-authenticate-session): Hide auth-info from the log.
4570 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4571 user name if it is equal to elmo-nntp-default-user.
4573 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4575 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4576 instead of shimbun-server-internal;
4577 Use shimbun-current-group instead of shimbun-current-group-internal.
4578 (elmo-folder-plugged-p): Use shimbun-server instead of
4579 shimbun-server-internal.
4580 (elmo-folder-set-plugged): Ditto.
4581 (elmo-net-port-info): Ditto.
4582 (elmo-folder-check): Ditto.
4583 (elmo-folder-expand-msgdb-path): Ditto.
4584 (elmo-folder-list-subfolders): Ditto.
4586 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4588 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4589 Convert field-name to lower case.
4590 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4592 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4594 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4595 `message' and `error' take format string.
4597 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4599 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4601 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4603 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4604 recursive call (can't byte compile on emacs 20.7).
4606 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4608 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4609 (elmo-folder-list-message-entities): New API.
4610 (elmo-message-entity): Ditto.
4611 (elmo-message-entity-parent): Ditto.
4612 (elmo-folder-do-each-message-entity): Ditto.
4613 (elmo-message-entity-number): Ditto.
4614 (elmo-message-entity-field): Ditto.
4615 (elmo-message-entity-set-field): Ditto.
4616 (elmo-folder-count-flags): Ditto.
4617 (elmo-folder-length): Ditto.
4619 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4622 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4623 (elmo-msgdb-count-marks): Abolish.
4624 (elmo-msgdb-make-entity): Ditto.
4625 (elmo-msgdb-do-each-entity): Ditto.
4626 (elmo-msgdb-message-entity): New inline function.
4627 (elmo-msgdb-message-entity-field): Ditto.
4628 (elmo-msgdb-message-entity-set-field): Ditto.
4629 (elmo-msgdb-make-message-entity): New function.
4631 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4633 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4634 to flag. (All other related portions are changed.)
4635 (elmo-folder-msgdb-create): Likewise.
4636 (elmo-generic-folder-append-messages): Use flag-table instead of
4638 (elmo-folder-move-messages): Removed redundant process.
4639 (elmo-folder-synchronize): Likewise.
4641 * elmo-msgdb.el (elmo-flag-table-get): New function.
4642 (elmo-flag-table-save): Fixed.
4643 (elmo-msgdb-length): New inline function.
4644 (elmo-msgdb-flag-table): New function.
4645 (elmo-msgdb-mark): Add optional argument new.
4646 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4647 (elmo-msgdb-seen-list): Ditto.
4648 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4651 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4653 * elmo.el (elmo-message-set-mark): Abolish.
4654 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4655 (All related portions are changed.)
4657 * elmo-msgdb.el (toplevel): Added comment.
4658 (elmo-load-msgdb): Added 4th element `path'.
4659 (elmo-msgdb-append): Follow the change above.
4660 (elmo-msgdb-clear): Ditto.
4661 (elmo-msgdb-delete-msgs): Ditto.
4662 (elmo-msgdb-get-path): New inline function.
4663 (elmo-msgdb-set-path): Ditto.
4664 (elmo-flag-table-filename): New variable.
4665 (elmo-flag-table-load): New function.
4666 (elmo-flag-table-set): Ditto.
4667 (elmo-flag-table-save): Ditto.
4668 (elmo-msgdb-get-field-value): Abolish.
4669 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4671 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4673 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4674 the folder has been deleted successfully.
4675 * elmo-imap4.el (elmo-folder-delete): Ditto.
4676 * elmo-archive.el (elmo-folder-delete): Ditto.
4677 * elmo-localdir.el (elmo-folder-delete): Ditto.
4678 * elmo-maildir.el (elmo-folder-delete): Ditto.
4680 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4682 * elmo-util.el (elmo-string-member-ignore-case): New function.
4683 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4684 (elmo-imap4-fetch-callback-1-subr): Likewise.
4686 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4688 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4689 the case of the name attribute "\Noselect".
4691 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4693 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4695 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4696 flist, is not always a member of onum-alist.
4698 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4700 * elmo-version.el (elmo-version): Up to 2.11.3.
4702 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4704 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4705 copied from localdir's one.
4707 * elmo-pipe.el (elmo-folder-rename): New method, rename
4708 destination folder with leaving source folder as it is.
4710 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4712 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4715 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4717 * elmo-version.el (elmo-version): Up to 2.11.2.
4719 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4721 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4722 shimbun-open in case of "@".
4723 (elmo-folder-open-internal): Cope with shimbun = nil case.
4724 (elmo-folder-plugged-p): Ditto.
4725 (elmo-folder-list-subfolders): Make list for "@/" group.
4727 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4729 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4730 mailbox (e.g. for %~/something).
4732 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4734 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4735 Replace nested conditional with guard clauses.
4737 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4739 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4742 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4745 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4747 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4748 Replace nested conditional with guard clauses.
4750 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4752 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4753 (elmo-passwd-alist-save): Ditto.
4754 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4756 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4758 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4759 dir-name only if it is absolute path.
4760 (TODO: distinguish +/something and +something)
4762 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4764 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4765 path for "+~/something".
4767 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4769 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4770 as non-directory, cause error before rename-file.
4771 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4772 apropriately, mimic localdir's one.
4773 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4775 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4777 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4779 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4781 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4783 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4785 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4786 is included in the global-mark or not.
4788 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4790 * utf7.el (toplevel): Avoid error when the function
4791 find-coding-system does not exist.
4793 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4795 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4796 cache even if the folder is plugged.
4797 (elmo-nntp-search-primitive): Do nothing when body search is
4798 invoked (although it is not used by the change above).
4799 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4801 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4803 * elmo-version.el (elmo-version): Up to 2.11.1.
4805 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4807 * elmo-archive.el: Specify charset.
4809 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4811 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4812 process buffer lives or not.
4814 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4815 while flushing queues (It causes infinite loop).
4817 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4819 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4821 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4823 * utf7.el (toplevel): Check the ucs features dynamically.
4824 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4826 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4827 folder is creatabe or not if it already exists.
4829 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4831 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4833 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4835 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4836 (elmo-imap4-read-response): Take care of garbage response.
4838 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4840 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4841 just return nil instead of error.
4843 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4845 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4846 search-key is "body".
4848 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4850 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4851 of elmo-string-matched-assoc to use match-data.
4852 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4854 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4856 * elmo-split.el (elmo-split->): New function.
4857 (elmo-split-<): Ditto.
4859 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4861 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4862 workaround for invalid message-id.
4864 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4866 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4867 return normal pop3 session or pop3 biff session.
4869 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4871 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4872 info part to the cur files when the new files already have it.
4873 (Adviced by Jared Rhine <jared@wordzoo.com>)
4875 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4877 * elmo-split.el (elmo-split-default-action): New variable.
4878 (elmo-split-subr): Use it if all other conditions are passed.
4879 Extend `fname' and rename it as `action'. (implemented
4880 Teranishi-san's idea in [wl:10800])
4882 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4884 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4885 * elmo-util.el: Ditto.
4887 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4889 * elmo.el (elmo-message-accessible-p): Renamed from
4890 elmo-message-cached-p and rewritten.
4892 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4894 * elmo.el (elmo-folder-list-flagged): New generic function.
4895 (elmo-folder-list-importants): New implementation.
4896 (elmo-folder-list-answereds): Ditto.
4897 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4899 (elmo-message-cached-p): New function.
4900 (elmo-message-set-flag): Ditto (no content).
4901 (elmo-message-unset-flag): Ditto.
4902 (elmo-folder-list-messages-mark-match): Abolish.
4904 * elmo-util.el (elmo-regexp-opt): New function.
4906 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4907 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4909 (elmo-msgdb-list-flagged): New function.
4911 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4912 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4915 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4917 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4919 * elmo-version.el (elmo-version): Up to 2.11.0.
4921 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4923 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4924 `elmo-file-cache-exists-p'; use proper mark that depends on
4926 (elmo-msgdb-unset-flag): Ditto.
4927 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4929 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4930 with 4th argument `use-cache'.
4932 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4934 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4935 (elmo-folder-mark-as-important): Ditto.
4936 (elmo-folder-unmark-read): Ditto.
4937 (elmo-folder-mark-as-read): Ditto.
4938 (elmo-folder-unmark-answered): Ditto.
4939 (elmo-folder-mark-as-answered): Ditto.
4941 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4943 (elmo-msgdb-mark): Likewise.
4944 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4945 (elmo-msgdb-unset-flag): Likewise.
4947 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4949 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4951 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4954 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4956 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4957 set spool-length to 0.
4959 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4961 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4962 (elmo-dop-queue-flush): Fixed last change.
4964 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4966 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4967 if require-msgdb slot is nil.
4968 (elmo-folder-list-importants): Likewise.
4970 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4972 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4975 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4976 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4979 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4981 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4983 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4985 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4987 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4989 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4991 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4992 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4994 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4996 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4997 the problem reported by Sean Rima [wl-en:180].
4999 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5001 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5003 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5005 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5007 * elmo-map.el (elmo-folder-unmark-read): Ditto.
5009 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5011 * elmo-net.el (elmo-folder-unmark-read): Ditto.
5013 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5015 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
5017 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5020 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5022 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5023 (elmo-folder-mark-as-read): Follow the API change.
5024 (elmo-message-set-cached): New function.
5026 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5028 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5030 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5031 (elmo-folder-mark-as-important): Ditto.
5032 (elmo-folder-unmark-read): Ditto.
5033 (elmo-folder-mark-as-read): Ditto.
5034 (elmo-folder-unmark-answered): Ditto.
5035 (elmo-folder-mark-as-answered): Ditto.
5037 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5038 (elmo-folder-unmark-important): Ditto.
5039 (elmo-folder-mark-as-read): Ditto.
5040 (elmo-folder-unmark-read): Ditto.
5041 (elmo-folder-mark-as-answered): Ditto.
5042 (elmo-folder-unmark-answered): Ditto.
5044 * elmo-mark.el (toplevel): Removed some mark method definitions.
5046 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5047 (elmo-map-folder-mark-as-answered): Ditto.
5048 (elmo-folder-unmark-important): Add :before qualifier.
5049 (elmo-folder-mark-as-important): Ditto.
5050 (elmo-folder-unmark-read): Ditto.
5051 (elmo-folder-mark-as-read): Ditto.
5052 (elmo-folder-unmark-answered): Define.
5053 (elmo-folder-mark-as-answered): Ditto.
5055 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5056 (elmo-map-folder-unmark-answered): Ditto.
5058 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5060 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5061 (elmo-folder-mark-as-important): Ditto.
5062 (elmo-folder-unmark-read): Ditto.
5063 (elmo-folder-mark-as-read): Ditto.
5064 (elmo-folder-unmark-answered): Ditto.
5065 (elmo-folder-mark-as-answered): Ditto.
5067 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5068 `mark'; evaluate mark condition.
5069 (elmo-msgdb-match-condition-internal): New function.
5070 (elmo-msgdb-match-condition): Call it; changed argument.
5072 * elmo.el (elmo-folder-search): Follow the API change on
5073 `elmo-msgdb-match-condition'.
5075 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5077 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5078 original mark is non-nil.
5080 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5082 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5083 (elmo-map-folder-list-answereds): New method.
5084 (elmo-folder-list-unreads): Add :around qualifier.
5085 (elmo-folder-list-importants): Ditto.
5086 (elmo-folder-list-answereds): Ditto.
5088 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
5090 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5092 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5093 method if msgdb is not required.
5094 (elmo-filter-folder-list-importants): Don't treat global-mark.
5096 * elmo.el (elmo-folder-list-importants): Ditto.
5098 * elmo-net.el (elmo-folder-list-importants): Ditto.
5100 * elmo-map.el (elmo-folder-list-importants): Ditto.
5102 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5104 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5105 (elmo-imap4-folder-list-any-plugged): New function.
5106 (elmo-imap4-search-internal-primitive): Use it.
5108 * elmo-filter.el (elmo-folder-check): Synchronize original folder
5109 only when require-msgdb slot is non-nil.
5110 (elmo-folder-close): Clear target folder's msgdb.
5112 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5114 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5115 (elmo-pop3-msgdb-create-by-header): Ditto.
5116 (elmo-pop3-msgdb-create-message): Ditto.
5118 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5120 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5122 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5124 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5125 (elmo-folder-msgdb-create): Ditto.
5126 (elmo-nntp-folder-msgdb-create): Ditto.
5127 (elmo-nntp-msgdb-create-by-header): Ditto.
5128 (elmo-nntp-msgdb-create-message): Ditto.
5129 (elmo-folder-list-unreads): Define.
5131 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5132 (elmo-folder-append-messages): Ditto.
5133 (elmo-folder-list-unreads): Define.
5134 (elmo-folder-list-importants): Ditto.
5135 (elmo-folder-list-answereds): Ditto.
5137 * elmo-net.el (elmo-folder-list-unreads): Define.
5138 (elmo-folder-list-importants): Ditto.
5139 (elmo-folder-list-answereds): Ditto.
5140 (elmo-folder-list-answereds-plugged): Ditto.
5141 (elmo-folder-msgdb-create): Follow the API change.
5142 (elmo-folder-msgdb-create-unplugged): Ditto.
5143 (elmo-folder-unmark-answered): Define.
5144 (elmo-folder-mark-as-answered-unplugged): Ditto.
5145 (elmo-folder-unmark-answered-unplugged): Ditto.
5147 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5148 (elmo-msgdb-unread-uncached-mark): Ditto.
5149 (elmo-msgdb-unread-cached-mark): Ditto.
5150 (elmo-msgdb-read-uncached-mark): Ditto.
5151 (elmo-msgdb-answered-cached-mark): Ditto.
5152 (elmo-msgdb-answered-uncached-mark): Ditto.
5153 (elmo-msgdb-important-mark): Ditto.
5154 (elmo-msgdb-set-mark): Rewrite.
5155 (elmo-msgdb-count-marks): Rewrite.
5156 (elmo-msgdb-mark-alist-set): Abolish.
5157 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5158 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5160 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5161 (elmo-folder-close): Define.
5162 (elmo-folder-msgdb-create): Follow the API change.
5163 (elmo-folder-list-unreads): Rewrite.
5164 (elmo-folder-mark-as-important): Ditto.
5165 (elmo-folder-unmark-important): Ditto.
5166 (elmo-folder-mark-as-read): Ditto.
5167 (elmo-folder-unmark-read): Ditto.
5168 (elmo-folder-mark-as-answered): Define.
5169 (elmo-folder-unmark-answered): Ditto.
5171 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5172 (elmo-folder-append-messages): Ditto.
5174 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5176 * elmo-map.el (elmo-folder-list-unreads): Ditto.
5177 (elmo-folder-list-importants): Ditto.
5179 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5180 (elmo-folder-append-messages): Ditto.
5182 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5184 (elmo-folder-msgdb-create-plugged): Ditto.
5185 (elmo-folder-append-messages): Ditto.
5186 (elmo-folder-list-answereds-plugged): Define.
5187 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5188 (elmo-folder-unmark-answered-plugged): Define.
5189 (elmo-folder-mark-as-answered-plugged): Ditto.
5190 (elmo-folder-search-requires-msgdb-p): Ditto.
5192 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5193 (elmo-folder-initialize): Set it.
5194 (elmo-folder-msgdb): Define.
5195 (elmo-folder-check): Call elmo-folder-synchronize.
5196 (elmo-folder-close): Define.
5197 (elmo-folder-commit): Ditto.
5198 (elmo-folder-msgdb-create): Rewrite.
5199 (elmo-folder-list-unreads): Ditto.
5200 (elmo-folder-list-importants): Ditto.
5201 (elmo-folder-mark-as-read): Ditto.
5202 (elmo-folder-unmark-read): Ditto.
5203 (elmo-folder-mark-as-important): Ditto.
5204 (elmo-folder-unmark-important): Ditto.
5205 (elmo-folder-mark-as-answered): Define.
5206 (elmo-folder-unmark-answered): Ditto.
5208 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5209 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5210 (elmo-dop-queue-method-name-alist): Likewise.
5211 (elmo-folder-mark-as-answered-dop): New inline function.
5212 (elmo-folder-unmark-answered-dop): Ditto.
5213 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5215 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5216 (elmo-folder-msgdb-create): Ditto.
5217 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5218 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5219 (elmo-archive-parse-mmdf): Ditto.
5221 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5222 (elmo-folder-list-unreads-internal): Ditto.
5224 * elmo.el (elmo-folder-msgdb): Define as generic function.
5225 (elmo-folder-list-messages): Added argument `in-msgdb'.
5226 (elmo-folder-list-unreads): Define as generic function.
5227 (elmo-folder-list-importants): Ditto.
5228 (elmo-folder-list-answereds): Ditto.
5229 (elmo-folder-list-messages-with-global-mark): New function.
5230 (elmo-folder-msgdb-create): Removed mark arguments.
5231 (elmo-folder-unmark-answered): New generic function.
5232 (elmo-folder-mark-as-answered): Ditto.
5233 (elmo-folder-append-messages): Removed argunment `unread-marks'
5234 (elmo-folder-list-unreads-internal): Abolish.
5235 (elmo-folder-list-importants-internal): Ditto.
5236 (elmo-folder-search-requires-msgdb-p): New generic function.
5237 (elmo-folder-search-requires-msgdb-p-internal): New function.
5238 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5240 (elmo-folder-search-fast): Added key 'mark'.
5241 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5242 instead of unread-marks argument.
5243 (elmo-folder-move-messages): Removed argunment `unread-marks'
5244 (elmo-folder-unmark-important): Define.
5245 (elmo-folder-mark-as-important): Ditto.
5246 (elmo-folder-unmark-read): Ditto.
5247 (elmo-folder-mark-as-read): Ditto.
5248 (elmo-folder-unmark-answered): Ditto.
5249 (elmo-folder-mark-as-answered): Ditto.
5250 (elmo-folder-replace-marks): Abolish.
5251 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5253 (elmo-folder-synchronize): Removed mark arguments;
5254 return crosspost only number.
5256 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5258 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5259 Remove redundunt connectivity check.
5261 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5263 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5264 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5266 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5268 * pldap.el (ldap-decode-string): Return string as-is if
5269 `ldap-coding-system' is nil.
5270 (ldap-encode-string): Ditto.
5271 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5272 (ldap-default-host): Fixed docstring.
5274 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5276 * elmo-util.el (elmo-warning): Define as a macro which uses
5277 `display-warning' if it is defined as a function.
5279 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5280 (elmo-split-equal): Use it.
5281 (elmo-split-match): Ditto.
5282 (elmo-split-message-entity): New buffer-local variable.
5283 (elmo-split-subr): Set it.
5285 * elmo-version.el (elmo-version): Up to 2.9.15.
5287 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5289 * elmo-imap4.el (elmo-network-initialize-session):
5290 Check capability after starttls.
5292 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5294 * elmo-util.el (elmo-list-delete): Added optional argument
5297 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5299 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5301 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5303 * elmo-imap4.el (elmo-folder-initialize): Don't use
5304 elmo-imap4-default-mailbox.
5306 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5308 * elmo-split.el (toplevel): Use `product-provide'.
5309 (elmo-split): Checkdoc.
5311 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5313 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5314 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5315 the function `elmo-imap4-debug-1'.
5317 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5319 * elmo-split.el (elmo-split): Moved to run hooks and to show
5320 message from elmo-split-subr.
5321 (elmo-split-subr): Follow the change above.
5323 * elmo-split.el (elmo-split-subr): New function (renamed from
5325 (elmo-split): Changed to call elmo-split-subr by element of
5327 (elmo-split-folder): Changed customization type to choice.
5329 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5331 * elmo-split.el (elmo-split-and): Fixed condition.
5333 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5335 * elmo-split.el: New file.
5336 (elmo-split): Fixed logic.
5337 Display "Test:" instead of "Folder:" when reharsal.
5339 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5342 * elmo-version.el (elmo-version): Up to 2.9.14.
5344 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5347 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5349 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5350 message with no message-id field.
5352 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5354 * elmo-version.el (elmo-version): Up to 2.9.13.
5356 * elmo-dop.el (elmo-folder-status-dop): Fix.
5358 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5360 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5362 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5363 changing default value of default-mime-charset.
5364 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5366 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5368 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5369 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5370 instead of elmo-dop-queue-method-name-alist to check merging queue.
5371 (elmo-folder-delete-messages-dop): Delete from queue if negative
5373 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5374 file is already removed.
5376 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5378 * elmo-vars.el: Bind colon keywords for old Emacsen.
5380 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5382 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5383 against non-exsisting charset.
5385 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5387 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5388 Use eword-decode-and-unfold-unstructured-field-body.
5390 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5391 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5392 exists to decode raw subject string.
5393 (toplevel): Require 'mime.
5395 * elmo-version.el (elmo-version): Up to 2.9.12.
5397 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5399 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5400 (elmo-msgdb-set-mark): Ditto.
5402 * elmo-version.el (elmo-version): Up to 2.9.11.
5404 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5406 * elmo-util.el (elmo-delete-match-files): New function.
5408 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5409 instead of elmo-delete-directory.
5411 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5412 elmo-hash-minimun-size as 63.
5414 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5415 elmo-diff-unread is nil.
5417 * elmo-imap4.el (elmo-folder-open): Fix.
5419 * elmo.el (elmo-message-mark): Rewrite.
5420 (elmo-message-field): Ditto.
5421 (elmo-message-set-mark): Ditto.
5422 (elmo-folder-replace-marks): New function.
5423 (elmo-generic-folder-append-msgdb): Removed third argument for
5425 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5426 (elmo-msgdb-load): New implementation.
5428 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5430 * elmo-util.el (elmo-list-insert): New implementation.
5432 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5433 argument for elmo-msgdb-append.
5436 * elmo-msgdb.el (elmo-load-msgdb): New function.
5437 (elmo-make-msgdb): Ditto.
5438 (elmo-msgdb-get-index): New inline function.
5439 (elmo-msgdb-set-index): Ditto.
5440 (elmo-msgdb-get-entity-hashtb): Ditto.
5441 (elmo-msgdb-get-mark-hashtb): Ditto.
5442 (elmo-msgdb-get-mark): Ditto.
5443 (elmo-msgdb-set-mark): Ditto.
5444 (elmo-msgdb-count-marks): Ditto.
5445 (elmo-msgdb-get-number): Ditto.
5446 (elmo-msgdb-get-field): Ditto.
5447 (elmo-msgdb-seen-list): Ditto.
5448 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5449 (elmo-msgdb-delete-msgs): Follow the changes above.
5450 (elmo-msgdb-overview-get-entity): Ditto.
5451 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5452 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5454 (elmo-msgdb-make-index): Likewise.
5455 (elmo-msgdb-append): Removed third argument.
5456 (elmo-msgdb-clear): Clear index as nil.
5457 (elmo-folder-set-info-hashtb): Removed.
5458 (elmo-folder-set-info-max-by-numdb): Ditto.
5459 (elmo-folder-info-make-hashtb): Ditto.
5461 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5463 * elmo-map.el (elmo-folder-pack-number): Ditto.
5465 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5467 * elmo-version.el (elmo-version): Up to 2.9.10.
5469 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5471 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5473 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5475 * elmo-utils.el (elmo-make-directory): Add option.
5476 Default file mode is 700.
5478 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5480 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5482 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5484 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5487 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5490 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5492 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5493 (elmo-shimbun-folder-entity-hash): New function.
5494 (elmo-shimbun-folder-shimbun-header): Ditto.
5495 (elmo-shimbun-entity-to-header): Ditto.
5496 (elmo-shimbun-msgdb-to-headers): Removed.
5497 (elmo-shimbun-folder-setup): Ditto.
5498 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5500 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5501 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5502 Removed useless local bind.
5503 (elmo-folder-open-internal): Don't call
5504 `elmo-shimbun-folder-setup'.
5505 (elmo-folder-close-internal): Clear entity-hash slot.
5506 (elmo-folder-clear): Ditto.
5507 (elmo-shimbun-msgdb-create-entity): Use
5508 `elmo-shimbun-folder-shimbun-header'.
5509 (elmo-map-message-fetch): Ditto.
5510 (elmo-shimbun-update-overview): Use overview entity instead of
5511 shimbun header to lookup id by references.
5512 (elmo-map-folder-list-message-locations): Use not only headers but
5513 also overviews to list locations.
5515 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5517 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5520 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5522 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5524 * elmo-util.el (elmo-read-search-condition-internal): Give default
5527 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5529 * elmo-util.el (elmo-condition-parse-search-value): Accept
5530 YYYY-MM-DD format to search.
5531 * elmo-date.el (elmo-date-get-datevec): Likewise.
5533 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5535 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5538 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5540 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5543 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5545 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5546 case from `elmo-folder-exists-p'.
5547 (elmo-folder-exists-p): Removed.
5548 (elmo-folder-creatable-p) Ditto.
5550 * elmo-net.el (elmo-folder-create): Defined.
5551 (elmo-folder-create-unplugged): New function.
5552 (elmo-folder-exists-p): Changed default value to nil from t.
5554 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5555 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5557 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5558 `elmo-create-folder-dop' and append queue
5559 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5560 (elmo-folder-create-dop-delayed): New function.
5562 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5564 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5566 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5567 (elmo-folder-writable-p) : Ditto.
5569 * elmo-version.el (elmo-version): Up to 2.9.9.
5571 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5573 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5574 `elmo-message-use-cache-p' returns nil.
5575 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5576 (ignore cache file and refer the substance in local folders)
5578 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5580 * elmo-version.el (elmo-version): Up to 2.9.8.
5582 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5584 * elmo-version.el (elmo-version): Up to 2.9.7.
5586 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5588 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5590 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5592 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5594 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5596 (elmo-map-folder-list-message-locations): Reverse location list.
5598 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5600 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5602 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5604 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5606 (elmo-nntp-folder-list-subfolders): Follow the change above.
5608 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5610 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5611 name if authentication type is specified.
5613 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5615 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5617 (elmo-default-nntp-stream-type): Ditto.
5618 (elmo-default-pop3-stream-type): Ditto.
5620 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5622 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5624 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5626 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5628 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5630 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5631 (elmo-maildir-folder-path): Ditto.
5632 (elmo-maildir-list): Ditto (abolished).
5634 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5636 * elmo-version.el (elmo-version): Up to 2.9.6.
5638 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5640 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5641 (elmo-maildir-folder-path): Ditto.
5642 (elmo-msgdb-directory): Ditto.
5643 (elmo-passwd-life-time): Ditto.
5644 (elmo-msgdb-extra-fields): Ditto.
5645 (elmo-enable-disconnected-operation): Ditto.
5647 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5649 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5651 (elmo-pop3-default-authenticate-type): Ditto.
5653 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5655 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5657 (elmo-pop3-default-authenticate-type): Ditto.
5659 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5661 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5662 mailbox to new-folder.
5664 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5666 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5667 less than new, set new as unread.
5669 * elmo-util.el (elmo-string): Don't put text-property if nil.
5671 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5673 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5674 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5676 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5678 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5679 is nil on `completing-read'.
5681 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5683 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5685 (elmo-imap4-parse-namespace-subr): Ditto.
5686 (elmo-folder-list-subfolders): Append a delimiter when the specified
5687 folder path is a root with namespace and does not end with delimiter.
5689 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5691 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5694 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5696 * elmo-util.el (elmo-save-buffer): The first argument of message
5697 is a format control string.
5699 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5701 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5702 `elmo-folder-diff').
5703 (elmo-diff-unread): Likewise.
5705 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5707 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5708 is t on `completing-read'.
5710 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5712 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5713 method of target folder with self mark-alist if MARK-ALIST is nil.
5715 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5717 * elmo-version.el (elmo-version): Up to 2.9.5.
5719 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5721 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5722 (elmo-dop-merge-funcs): Remove.
5724 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5726 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5727 Return t if PATH is directory, too.
5728 Use `dolist' instead of while loop.
5730 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5732 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5735 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5737 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5739 (elmo-folder-list-messages-unplugged): Return t if
5740 elmo-enable-disconnected-operation is nil.
5742 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5743 `elmo-folder-list-messages-internal'.
5745 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5747 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5748 Change to looking-at `[23][0-9]+'.
5749 (elmo-network-initialize-session): Use 'error-msg'
5750 * elmo-net.el (elmo-network-open-session): Set unplugged
5751 if elmo-network-initialize-session returns 'elmo-open-err.
5753 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5755 * elmo-version.el (elmo-version): Up to 2.9.4.
5757 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5759 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5760 `elmo-folder-list-messages-internal'.
5762 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5764 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5765 (elmo-message-match-condition): New method.
5766 (elmo-folder-search-fast): New inline function.
5767 (elmo-msgdb-search): Removed.
5769 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5770 target folder if it is unplugged.
5771 (elmo-folder-list-messages-internal): Return t if target folder is
5772 unplugged and itself is persistent; In this case, use list be
5775 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5776 (elmo-msgdb-search-internal-primitive): Ditto.
5777 (elmo-msgdb-match-condition): New function.
5778 (elmo-msgdb-match-condition-primitive): Ditto.
5780 * elmo-util.el (elmo-filter-condition-p): New macro.
5782 * elmo-cache.el (elmo-folder-search): Removed.
5784 * elmo-localdir.el (elmo-folder-search): Ditto.
5786 * elmo-maildir.el (elmo-folder-search): Ditto.
5788 * elmo-mark.el (elmo-folder-search): Ditto.
5790 * elmo-nmz.el (elmo-folder-search): Ditto.
5792 * elmo-sendlog.el (elmo-folder-search): Ditto.
5794 * elmo-shimbun.el (elmo-folder-search): Ditto.
5796 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5797 if folder is unplugged.
5799 * elmo-nntp.el (elmo-folder-search): Likewise.
5800 (elmo-nntp-search-internal): New function.
5802 * elmo-version.el (elmo-version): Up to 2.9.3.
5804 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5806 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5808 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5810 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5812 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5814 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5816 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5818 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5819 (elmo-map-folder-list-message-locations): Do drive letter conversion
5820 on Windows environment.
5821 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5822 (elmo-map-message-fetch): Ditto.
5824 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5826 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5827 (elmo-network-initialize-session): Ditto.
5829 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5831 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5833 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5835 * elmo-util.el (elmo-progress-clear): Ditto.
5837 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5838 `DD-Mon-YYYY' type date.
5840 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5842 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5843 `elmo-date-make-sortable-string' instead of
5844 `timezone-make-date-sortable'.
5846 * elmo-date.el (elmo-date-make-sortable-string): Use
5847 `timezone-make-time-string'.
5849 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5851 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5853 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5854 `since'; Fix timezone.
5856 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5858 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5860 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5862 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5864 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5866 * elmo.el (elmo-generic-folder-append-messages): Make
5867 fetch-strategy with `use-cache' as 'maybe. Check return value of
5868 `elmo-message-fetch'.
5869 (elmo-message-fetch): Return return value of
5870 `elmo-message-fetch-with-cache-process'.
5871 (elmo-message-fetch-with-cache-process): Return non-nil if
5872 fetching was succeed. Load cache when fetching was failed and
5873 fetch-strategy-use-cache is 'maybe.
5875 * elmo-util.el (elmo-file-cache-load): New function.
5877 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5880 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5881 non-nil if fetching was succeed.
5883 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5885 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5887 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5888 (elmo-message-fetch-with-cache-process): Likwise.
5890 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5892 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5894 * elmo-version.el (elmo-version): Up to 2.9.2.
5896 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5898 * elmo.el (elmo-folder-delete): Delete msgdb path.
5900 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5902 * elmo-maildir.el (elmo-folder-delete): Ditto.
5904 * elmo-localdir.el (elmo-folder-delete): Ditto.
5906 * elmo-imap4.el (elmo-folder-delete): Ditto.
5908 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5910 * elmo.el (luna-define-class): Added `biff' slot.
5912 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5913 (elmo-pop3-debug-inhibit-logging): Abolished.
5914 (elmo-network-close-session): Eliminated needless let.
5915 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5916 (elmo-pop3-send-command): Added `no-log' argument.
5917 (elmo-pop3-process-filter): Use `with-current-buffer'.
5918 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5920 (elmo-pop3-auth-apop): Likewise.
5921 (elmo-network-authenticate-session): Likewise.
5923 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5926 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5927 string to determine protocol.
5928 (elmo-network-session-name-prefix): Abolished.
5929 (elmo-network-session-cache-key): Follow the change above.
5930 (elmo-network-open-session): Ditto.
5932 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5933 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5935 * elmo-version.el (elmo-version): Up to 2.9.1.
5937 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5938 unmatch condition checking.
5940 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5943 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5945 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5947 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5949 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5950 test for while loop to execute at least one SEARCH command.
5952 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5954 * elmo-version.el (elmo-version): Up to 2.9.0.
5956 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5958 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5959 (elmo-archive-folder-path): Define.
5960 (elmo-folder-initialize): Setup `dir-name' slot.
5961 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5962 Use `dir-name' as prefix of each subfolders.
5963 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5965 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5967 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5968 (elmo-pipe-folder-list-target-messages): New internal function.
5969 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5971 (elmo-pipe-folder-copied-list-load): New function.
5972 (elmo-pipe-folder-copied-list-save): Ditto.
5973 (elmo-folder-open-internal): Follow the change above.
5974 (elmo-folder-status): Fixed for copy.
5976 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5978 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5980 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5982 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5983 elmo-copy-file instead of elmo-add-name-to-file.
5985 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5987 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5990 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5991 of accept-process-output as 1.
5992 (elmo-pop3-read-contents): Ditto.
5993 (elmo-pop3-read-body): Ditto.
5995 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5997 * elmo-version.el (product-version-as-string): Remove define.
5999 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6001 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6002 (elmo-imap4-copy-messages): Chop number set using
6003 `elmo-imap4-number-set-chop-length'.
6004 (elmo-imap4-set-flag): Ditto.
6005 (elmo-imap4-search-internal-primitive): Ditto.
6007 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
6009 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6010 `elmo-folder-make-temp-dir'
6012 * elmo-vars.el (elmo-cache-directory): New variable.
6013 (elmo-cache-dir): Abolished.
6014 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6016 * elmo-version.el (elmo-version): Up to 2.7.7.
6018 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6020 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6021 defcustom; Set default value as t.
6023 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
6025 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6026 (ldap-search-program-arguments): Changed default value.
6027 (ldap-search-basic): Accept exit status 4.
6028 (ldap/field-body): Parse options.
6029 (ldap/collect-field): Ditto.
6030 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6032 * elmo-imap4.el (elmo-imap4-process-bye): New function.
6033 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6034 (elmo-imap4-accept-ok): Ditto.
6035 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6036 'notify-bye, only BYE error is reported.
6037 (elmo-folder-exists-p-plugged): Set no-error argument of
6038 `elmo-imap4-session-select-mailbox' as 'notify-bye.
6040 * elmo.el (elmo-imap4-bye-error): Changed message.
6042 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6043 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6044 queues (It causes infinite loop).
6046 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
6048 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6049 (RECENT UNSEEN MESSAGES) extension.
6051 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
6053 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6054 Check number of overview fields.
6056 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6058 * elmo.el (elmo-folder-confirm-appends): Changed message.
6059 (elmo-folder-confirm-appends): Ditto.
6061 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6063 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6065 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6067 * elmo.el (elmo-folder-confirm-appends): Check whether the value
6068 of elmo-folder-update-threshold is nil, which can be set by
6069 wl-summary-update-confirm-threshold.
6071 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
6073 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6074 (elmo-nmz-index-alias-alist): Ditto.
6075 (elmo-map-folder-list-message-locations): Follow the change above.
6077 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6079 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6081 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6083 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6085 * elmo-util.el (elmo-read): Ditto.
6086 (elmo-display-error): Ditto.
6088 * elmo-vars.el (elmo-date-match): Ditto.
6090 * pldap.el (ldap-coding-system): Ditto.
6092 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6093 `elmo-inhibit-number-mapping' as nil.
6095 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
6097 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6098 space delimiter for list response.
6100 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6102 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6104 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6106 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6107 (elmo-map-message-fetch): Fix.
6108 * elmo-map.el (elmo-folder-status): Fix for killed.
6110 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6112 * elmo-sendlog.el: New file.
6113 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6115 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6117 * acap.el (acap-logging-out): New buffer local variable.
6118 (acap-close): Set it.
6119 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6122 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6124 * acap.el (acap-response-bye-p): New function.
6125 (acap-response-bye-message): Ditto.
6126 (acap-wait-for-response): If bye response is received, cause an error.
6127 (acap-parse-response): Make bye response when 'Bye' is received.
6129 2001-11-23 Kenichi OKADA <okada@opaopa.org>
6131 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6133 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6135 * elmo-util.el (elmo-copy-file): Added argument
6136 `ok-if-already-exists'.
6137 (elmo-copy-file): Fixed typo.
6139 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6141 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6143 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6145 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6147 2001-11-20 Kenichi OKADA <okada@opaopa.org>
6149 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6152 2001-11-19 Kenichi OKADA <okada@opaopa.org>
6154 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6155 (elmo-folder-initialize): Fix for `copy'.
6156 (elmo-pipe-drain): Ditto.
6157 (elmo-folder-open-internal): Ditto.
6158 (elmo-folder-newsgroups): Fix.
6160 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
6162 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6165 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6166 recent value is returned from imap folder.
6168 * elmo.el (elmo-folder-newsgroups): New generic function.
6170 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6171 (elmo-folder-initialize): Set it.
6172 (elmo-folder-expand-msgdb-path): Use it.
6173 (elmo-folder-newsgroups): Define.
6175 * elmo-filter.el (elmo-folder-newsgroups): Define.
6177 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6179 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6181 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6183 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6185 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6187 (elmo-shimbun-header-extra-field): New inline function.
6188 (elmo-shimbun-header-set-extra-field): Ditto.
6189 (elmo-shimbun-folder-header-hash-setup): Ditto.
6190 (elmo-shimbun-update-overview): Ditto.
6191 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6192 (elmo-shimbun-folder-setup): Use
6193 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6194 (elmo-shimbun-get-headers): Ditto.
6195 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6196 Insert `X-Shimbun-Id:' header if extra field is set.
6197 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6198 field's value instead of `shimbun-header-id'.
6200 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6202 (elmo-msgdb-overview-entity-set-date): Ditto.
6203 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6205 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6207 * mmimap.el (mmimap-entity-section): Changed body node number from
6210 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6212 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6213 `elmo-folder-delete-messages'.
6215 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6216 (elmo-folder-initialize): Changed to expand alias into index path.
6218 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6219 `elmo-mime-insert-header-from-buffer' with 6th arg
6222 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6224 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6226 * elmo.el (elmo-diff-new): New inline function.
6227 (elmo-diff-unread): Ditto.
6228 (elmo-diff-all): Ditto.
6230 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6231 value from responseb.
6232 (elmo-imap4-folder-diff-plugged): Ditto.
6233 (elmo-imap4-server-diff-async): Added recent argument.
6234 (elmo-server-diff-async): Ditto.
6235 (elmo-imap4-folder-diff-plugged): Ditto.
6237 * elmo-version.el (elmo-version): Up to 2.7.6.
6239 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6241 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6244 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6246 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6248 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6250 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6252 * elmo-multi.el (elmo-folder-initialize): Ditto.
6254 * elmo-util.el (elmo-parse-token): New function.
6255 (elmo-parse-prefixed-element): Ditto.
6257 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6259 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6261 (elmo-imap4-accept-ok): Ditto.
6263 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6265 * mmimap.el (mime-imap-entity-header-string): Don't check first
6266 element of node-id is `0' (Follow last change).
6268 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6270 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6271 assigned irregular node-id to nested multipart section.
6272 (initialize-instance): Followed above change.
6274 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6276 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6277 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6278 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6279 `elmo-shimbun-get-headers');
6280 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6281 visible article on summary exists in headers).
6282 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6284 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6286 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6289 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6291 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6293 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6295 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6296 header separator into loop condition.
6298 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6300 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6301 Return duplicate folder if it has subfolder.
6303 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6305 * elmo.el (elmo-make-folder): Add folder name error check.
6307 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6308 (elmo-nntp-encode-group-string): New inline function.
6309 (elmo-nntp-decode-group-string): Ditto.
6310 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6311 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6312 Use `not' instead of `null';
6313 Use elmo-nntp-decode-group-string.
6315 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6317 * elmo-version.el (elmo-version): Up to 2.7.5.
6319 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6321 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6322 Hide progress gauge if `elmo-folder-move-messages' exits
6325 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6327 * elmo-imap4.el (elmo-folder-initialize): Use
6328 `elmo-imap4-encode-folder-string' for folder name.
6330 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6332 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6335 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6337 * elmo-util.el (elmo-progress-counter-alist): New internal
6339 (elmo-progress-counter-value): New macro.
6340 (elmo-progress-counter-all-value): Ditto.
6341 (elmo-progress-counter-format): Ditto.
6342 (elmo-progress-counter-set-value): Ditto.
6343 (elmo-progress-set): New function.
6344 (elmo-progress-clear): Ditto.
6345 (elmo-progress-notify): Ditto.
6347 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6350 * elmo.el (elmo-generic-folder-append-messages): Call
6351 `elmo-progress-notify'.
6352 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6354 * elmo-archive.el (elmo-folder-append-messages): Call
6355 `elmo-progress-notify'.
6357 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6359 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6361 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6363 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6365 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6367 (elmo-message-encache-dop): Added argument `read'.
6369 * elmo-shimbun.el (elmo-message-encache): Ditto.
6371 * elmo-net.el (elmo-message-encache): Ditto.
6373 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6374 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6375 elmo-imap4-seen-messages.
6376 (elmo-folder-msgdb-create-plugged): Initialize
6377 elmo-imap4-seen-messages;
6378 Set seen mark on elmo-imap4-seen-messages.
6380 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6382 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6383 elmo-folder-append-buffer.
6384 (elmo-folder-encache): Added optional argument `read'.
6385 (elmo-message-encache): Ditto.
6387 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6389 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6391 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6392 if append buffer content succeds.
6394 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6396 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6397 elmo-display-progress.
6399 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6400 Set 4th argument of mime-display-message.
6401 (elmo-mime-display-as-is): Ditto.
6403 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6405 * elmo-nmz.el (toplevel): Require 'mime-edit.
6406 (elmo-nmz-content-type-alist): Abolished.
6407 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6408 content is not a message.
6409 (elmo-map-message-fetch): Changed behavior exept for message content;
6410 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6411 content-type, Add From: and Subject: field.
6413 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6415 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6416 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6419 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6421 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6422 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6424 * elmo-archive.el (elmo-folder-writable-p): Defined.
6426 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6428 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6430 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6432 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6434 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6436 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6438 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6440 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6442 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6444 * elmo-util.el (elmo-address-quote-specials): New function;
6445 Renamed from `wl-address-quote-specials'.
6447 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6449 * elmo-version.el (elmo-version): Up to 2.7.4.
6451 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6453 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6455 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6457 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6458 both compile-time and run-time to avoid byte-compile warning.
6460 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6462 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6464 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6466 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6468 (elmo-mime-display-as-is-internal): Use it.
6470 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6471 if `read-passwd' is not defined.
6473 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6475 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6477 (elmo-folder-status): Call `elmo-folder-open-internal';
6478 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6479 (elmo-folder-close-internal): Set location-alist as nil.
6480 (elmo-folder-clear): Define.
6481 (elmo-folder-check): Don't set location-alist as nil.
6483 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6485 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6487 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6488 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6490 * mmimap.el (mime-imap-entity::requested): New slot.
6491 (mime-imap-location-fetch-entity-p): New generic function.
6492 (mime-decode-parameters): Define using `defun-maybe'.
6493 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6494 content-type structure.
6495 (mime-entity-body): Return empty body if
6496 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6498 * elmo.el (elmo-message-displaying): New variable.
6500 * elmo-mime.el (elmo-mime-message-display): Bind
6501 elmo-message-displaying as t.
6503 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6505 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6507 * acap.el (acap-open): erase buffer before starting network process.
6508 (acap-store): Rewrite.
6510 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6512 * elmo-imap4.el (elmo-imap4-default-mailbox,
6513 elmo-imap4-default-server
6514 elmo-imap4-default-authenticate-type,
6515 elmo-imap4-default-user,
6516 elmo-imap4-default-port,
6517 elmo-imap4-default-stream-type,
6518 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6520 * elmo-pop3.el (elmo-pop3-default-user,
6521 elmo-pop3-default-server,
6522 elmo-pop3-default-authenticate-type,
6523 elmo-pop3-default-port,
6524 elmo-pop3-default-stream-type,
6525 elmo-pop3-stream-type-alist): Ditto.
6527 * elmo-nntp.el (elmo-nntp-default-server,
6528 elmo-nntp-default-user,
6529 elmo-nntp-default-port,
6530 elmo-nntp-default-stream-type,
6531 elmo-nntp-stream-type-alist): Ditto.
6533 * elmo-vars.el: Follow changes above.
6534 (elmo-setting): New custom group; added 'elmo-setting group to
6537 * elmo-version.el (elmo-version): Up to 2.7.3.
6539 * acap.el (acap-parse-response): Don't delete process when BYE
6540 response (It causes hang-up on slow network environment).
6541 (toplevel): Added comment.
6543 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6545 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6547 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6549 (acap-parse-return-metadata): Ditto.
6552 (toplevel): Fixed typo.
6554 * acap.el: New file.
6555 (acap-network-stream-open): Show "Connecting..." message.
6556 (acap-parse-response): Fixed problem for BYE untagged response.
6557 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6558 (toplevel): Added tiny comments.
6560 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6562 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6563 space delimiter for uidl response.
6565 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6567 * elmo-vars.el (elmo-use-semi): Eliminated.
6569 * elmo-util.el (elmo-string-assoc-all): New function.
6571 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6573 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6574 property 'mime-preview-situation for `mime-preview-quit'.
6576 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6578 * elmo.el (elmo-message-fetch-with-cache-process): Call
6579 elmo-message-fetch-internal instead of causing an error when fetch
6580 strategy is 'entire but only 'section cache is available.
6582 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6584 * elmo-version.el (elmo-version): Up to 2.7.2.
6586 * elmo.el (elmo-generic-folder-append-messages): Make
6587 fetch-strategy with `use-cache'.
6589 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6590 (elmo-dop-queue-method-name): New macro.
6592 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6594 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6595 unbalanced parenthesis.
6597 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6599 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6601 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6603 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6604 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6606 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6608 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6611 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6613 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6614 (elmo-message-use-cache-p): Define.
6615 (elmo-folder-msgdb-create): Treat cache.
6617 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6619 * elmo-nntp.el (elmo-network-initialize-session): Call
6620 `elmo-nntp-send-mode-reader'.
6621 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6623 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6625 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6627 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6630 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6631 for `elmo-plugged-p'.
6632 (elmo-open-network-stream): Fixed stream-type argument.
6634 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6636 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6637 unknown archive type is specified.
6639 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6641 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6643 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6644 while loading msgdb.
6646 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6647 (elmo-folder-open-internal): Rewrite.
6649 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6651 * elmo-mime.el (elmo-mime-display-as-is-internal):
6652 Adjust buffer-multibyte status.
6654 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6656 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6657 of elmo-condition-find-key.
6659 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6660 (elmo-condition-in-msgdb-p): Ditto.
6661 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6664 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6666 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6668 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6670 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6671 label for elmo-display-progress.
6673 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6675 * elmo.el (elmo-folder-clear): New method.
6676 (elmo-folder-clear): Define.
6677 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6679 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6680 (elmo-folder-clear): Define.
6682 * elmo-map.el (elmo-folder-clear): Define.
6684 * elmo-version.el (elmo-version): Up to 2.7.1.
6686 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6688 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6691 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6693 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6694 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6696 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6698 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6700 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6703 * elmo-imap4.el (elmo-folder-initialize): Use
6704 elmo-get-network-stream-type.
6706 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6708 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6710 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6712 * elmo.el (elmo-message-encache): Set unread argument for
6715 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6717 * elmo.el (elmo-net-port-info): New method.
6719 * elmo-shimbun.el (elmo-net-port-info): Define.
6720 (elmo-message-encache): Ditto.
6722 * elmo-net.el (elmo-net-port-info): Define as method.
6724 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6725 unplugged status when elmo-enable-disconnected-operation is t.
6727 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6728 of spool folder before checking new number.
6730 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6732 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6733 (elmo-network-setup-session): Ditto.
6734 (elmo-message-fetch-plugged): Ditto.
6735 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6736 (elmo-network-initialize-session): Ditto.
6737 (elmo-pop3-read-response): Abolish 3rd argument.
6738 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6739 (elmo-pop3-read-contents): Ditto.
6740 (elmo-pop3-read-body): Ditto.
6741 (elmo-folder-status): Call elmo-folder-close.
6742 (elmo-pop3-lock): Abolish.
6743 (elmo-pop3-unlock): Ditto.
6744 (elmo-pop3-locked-p): Ditto.
6745 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6747 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6749 * elmo-version.el (elmo-version): Up to 2.7.0.
6751 * elmo-pop3.el (elmo-pop3-debug): New variable.
6752 (elmo-pop3-debug-inhibit-logging): Ditto.
6753 (elmo-pop3-debug): New function.
6754 (elmo-pop3-send-command): Call elmo-pop3-debug.
6755 (elmo-pop3-read-response): Added keep-lock optional argument;
6756 Don't unlock if keep-lock is non-nil.
6757 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6758 (elmo-network-authenticate-session): Bind
6759 elmo-pop3-debug-inhibit-logging as t.
6760 (elmo-network-setup-session): Call elmo-pop3-read-response with
6762 (elmo-pop3-read-msg): Ditto.
6763 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6764 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6765 (elmo-network-initialize-session): Call elmo-pop3-lock.
6766 (elmo-folder-close-internal): Don't clear location-alist slot.
6767 (elmo-folder-check): Clear location-alist slot.
6769 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6771 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6772 (elmo-pop3-send-command): Call elmo-pop3-lock.
6773 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6774 (elmo-pop3-read-contents): Ditto.
6775 (elmo-pop3-lock): New function.
6776 (elmo-pop3-unlock): Ditto.
6777 (elmo-pop3-locked-p): Ditto.
6778 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6781 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6783 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6785 * elmo-util.el (elmo-file-field-primitive-condition-match):
6786 New inline function (Don't fetch file content if "first" or "last").
6787 (elmo-file-field-condition-match): Use
6788 elmo-file-field-primitive-condition-match.
6790 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6793 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6794 (elmo-message-fetch-plugged): Fixed.
6796 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6798 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6800 * elmo.el (elmo-folder-move-messages): Bind
6801 elmo-inhibit-display-retrieval-progress as t while moving messages.
6803 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6805 (elmo-inhibit-display-retrieval-progress): Ditto.
6807 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6808 for retrieval progress;
6809 Don't display progress when total buffer size is smaller than
6810 elmo-display-retrieval-progress-threshold.
6811 (elmo-message-fetch-plugged): Don't display progress when
6812 elmo-inhibit-display-retrieval-progress is non-nil.
6814 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6815 for retrieval progress;
6816 Don't display progress when literal size is smaller than
6817 elmo-display-retrieval-progress-threshold.
6818 (elmo-imap4-message-fetch): Don't display progress when
6819 elmo-inhibit-display-retrieval-progress is non-nil.
6821 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6823 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6824 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6825 (elmo-imap4-message-fetch): Likewise.
6827 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6828 (elmo-shimbun-index-range-alist): Ditto.
6829 (elmo-shimbun-use-entire-index): Abolish.
6830 (shimbun-mua-use-entire-index): Ditto.
6831 (elmo-shimbun-folder): Added new slot `range'.
6832 (elmo-folder-initialize): Setup slot `range'.
6834 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6836 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6837 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6838 (elmo-shimbun-get-headers): Use return value of
6839 `shimbun-article-expiration-days'.
6840 (elmo-folder-close-internal): Clean up last-check slot.
6842 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6843 (elmo-pop3-total-size): New variable.
6844 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6846 * elmo.el (elmo-folder-reserve-status-p): New method.
6848 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6849 (elmo-shimbun-use-entire-index): New user option.
6850 (shimbun-elmo-mua): New class.
6851 (shimbun-mua-search-id): Define.
6852 (shimbun-mua-use-entire-index): Ditto.
6853 (elmo-shimbun-folder:last-check): New slot.
6854 (elmo-shimbun-headers-cache-header-list): Abolish.
6855 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6856 (elmo-shimbun-headers-cache-header-hash): Ditto.
6857 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6858 (elmo-shimbun-headers-cache-last-check): Ditto.
6859 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6860 (elmo-shimbun-headers-check-p): Rewrite.
6861 (elmo-shimbun-msgdb-to-headers): New function.
6862 (elmo-shimbun-get-headers): Rewrite.
6863 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6864 (elmo-folder-open-internal): Get headers only if
6865 `elmo-shimbun-headers-check-p' is non-nil.
6866 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6868 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6869 (elmo-quit): Removed.
6871 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6873 (elmo-msgdb-overview-entity-set-extra): Ditto.
6874 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6876 * elmo-map.el (elmo-folder-status): Don't call
6877 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6880 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6882 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6883 of `elmo-msgdb-search-internal-primitive' when condition's car is
6886 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6888 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6890 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6892 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6893 call `elmo-pipe-drain'.
6895 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6897 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6898 typo. (elmo-cache-folder -> elmo-mark-folder)
6900 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6902 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6903 `elmo-message-fetch'.
6905 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6907 * elmo-net.el (elmo-message-encache): Fixed typo.
6908 (elmo-message-fetch-unplugged): Changed call
6909 `elmo-message-fetch-internal' without argument `outbuf'.
6911 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6913 * elmo.el (elmo-message-encache): Define as generic function.
6914 (elmo-message-fetch-field): New generic function.
6915 (elmo-message-fetch-with-cache-process): Cause an error when
6916 fetch strategy is 'entire but only 'section cache is available.
6917 (toplevel): Fixed nmz folder definition.
6919 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6920 (elmo-msgdb-resume-list-filename): Ditto.
6921 (elmo-queue-filename): Ditto.
6922 (elmo-enable-disconnected-operation): Changed default value to t.
6924 * elmo-util.el (elmo-cache-path-section-p): New function.
6925 (elmo-file-cache-get): Use it.
6926 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6927 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6928 (elmo-dop-queue-save): Ditto.
6930 * elmo-net.el (elmo-folder-status-unplugged): Call
6931 elmo-folder-status-dop.
6932 (elmo-folder-list-messages-unplugged): Implemented.
6933 (elmo-folder-delete-messages-unplugged): Define.
6934 (elmo-folder-msgdb-create): Define.
6935 (elmo-folder-msgdb-create-unplugged): Define.
6936 (elmo-folder-mark-as-read-unplugged): Ditto.
6937 (elmo-folder-unmark-read-unplugged): Ditto.
6938 (elmo-folder-mark-as-important-unplugged): Ditto.
6939 (elmo-folder-unmark-important-unplugged): Ditto.
6940 (elmo-message-encache): Ditto.
6942 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6943 (elmo-dop-queue-save): Ditto.
6945 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6946 `elmo-folder-msgdb-create'.
6947 (elmo-folder-append-buffer): Implemented unplugged operation.
6948 (elmo-folder-append-messages): Call parent method in unplugged status.
6949 (elmo-message-fetch-unplugged): Removed definition.
6950 (elmo-message-fetch-field): Implemented.
6952 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6953 (elmo-dop-folder): Removed variable definition.
6954 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6955 (elmo-dop-queue-flush): Implemented.
6956 (elmo-dop-queue-merge): Removed definition (TODO).
6957 (elmo-dop-spool-folder): New function.
6958 (elmo-dop-spool-folder-append-buffer): Ditto.
6959 (elmo-dop-spool-folder-list-messages): Ditto.
6960 (elmo-dop-list-deleting-messages): Ditto.
6961 (elmo-folder-append-buffer-dop): Ditto.
6962 (elmo-folder-delete-messages-dop): Ditto.
6963 (elmo-message-encache-dop): New inline function.
6964 (elmo-create-folder-dop): Ditto.
6965 (elmo-folder-mark-as-read-dop): Ditto.
6966 (elmo-folder-unmark-read-dop): Ditto.
6967 (elmo-folder-mark-as-important-dop): Ditto.
6968 (elmo-folder-unmark-important-dop): Ditto.
6969 (elmo-folder-status-dop): Fixed.
6970 (elmo-folder-append-buffer-dop-delayed): New function.
6971 (elmo-folder-delete-messages-dop-delayed): Ditto.
6972 (elmo-dop-msgdb): Ditto.
6974 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6976 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6978 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6980 * elmo.el (elmo-folder-move-messages): Fixed problem when
6981 `dst-folder' is 'null.
6983 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6985 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6986 instead of current mark.
6988 * elmo-multi.el (elmo-folder-list-importants-internal): No
6989 operation if importants is not list.
6991 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6992 Return t if importants is not list.
6994 * elmo-map.el (elmo-map-folder-list-importants): Define.
6995 (elmo-folder-list-importants-internal): Check return value of
6996 `elmo-map-folder-list-importants-internal'.
6998 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7000 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7002 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7004 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7006 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
7008 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7009 (Patch is provided by <kita@coe.nttdata.co.jp>).
7011 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7013 * elmo.el (elmo-folder-synchronize): Don't check important mark in
7016 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7018 * elmo.el (elmo-message-fetch): Define.
7019 (elmo-message-fetch-with-cache-process): New generic method.
7020 (elmo-message-fetch-internal): New generic method.
7021 (elmo-folder-synchronize):
7023 * elmo-archive.el (elmo-message-fetch-internal): Define.
7024 (elmo-message-fetch): Eliminated.
7026 * elmo-localdir.el (elmo-message-fetch-internal): Define.
7027 (elmo-message-fetch): Eliminated.
7029 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7031 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7033 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7034 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7036 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7037 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7039 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7041 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7043 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7045 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7046 (elmo-message-fetch-unplugged): New generic method.
7047 (elmo-message-fetch-internal): Remove cache process (Renamed from
7048 `elmo-message-fetch').
7050 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7051 (elmo-message-fetch): Eliminated.
7052 (elmo-message-fetch-unplugged): Ditto.
7054 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7056 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7058 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7059 of `to-be-deleted' from number-alist to number-list.
7061 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7063 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7064 (elmo-folder-mark-as-important): Ditto.
7066 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
7068 * elmo.el (elmo-folder): Added process-duplicates slot.
7070 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7071 (elmo-folder-unmark-read): Ditto.
7072 (elmo-folder-unmark-important): Ditto.
7073 (elmo-folder-mark-as-important): Ditto.
7075 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7076 duplicated message processing.
7078 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7080 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7082 * elmo-util.el (elmo-list-subdirectories-1): New function.
7083 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7084 (elmo-mapcar-list-of-list): New function.
7086 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7087 `elmo-mapcar-list-of-list' instead of `mapcar'.
7089 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7091 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7092 `elmo-have-link-count'. Return the fully qualified folder name.
7094 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
7096 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7097 (elmo-shimbun-headers-cache): New internal variable.
7098 (elmo-shimbun-headers-cache-header-list): New inline function.
7099 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7100 (elmo-shimbun-headers-cache-header-hash): Ditto.
7101 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7102 (elmo-shimbun-headers-cache-last-check): Ditto.
7103 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7104 (elmo-shimbun-lapse-seconds): Ditto.
7105 (elmo-shimbun-headers-cache-check-p): Ditto.
7106 (elmo-shimbun-get-headers): New function.
7107 (elmo-folder-open-internal): Call it.
7108 (elmo-quit): Define (Clear headers-cache).
7110 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
7112 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7114 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7115 (elmo-msgdb-flist-save): Ditto.
7117 * elmo-shimbun.el (elmo-folder-list-subfolders):
7118 Use `shimbun-groups' instead of `shimbun-groups-internal'.
7119 (elmo-folder-exists-p): Ditto.
7121 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7122 argument for `shimbun-header-insert'.
7124 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
7126 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7129 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7130 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7132 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
7134 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7135 (elmo-folder-plugged-p): Define.
7136 (elmo-folder-set-plugged): Ditto.
7137 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7138 (elmo-folder-list-messages-internal): Return t if unplugged.
7139 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7141 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7142 when elmo-folder-list-messages-internal method of children returns t.
7144 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7146 (elmo-folder-open-internal): Don't update if unplugged status.
7148 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
7150 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7153 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
7155 * elmo-util.el (elmo-file-cache-save): Ignore errors.
7157 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7160 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
7162 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7164 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7165 (elmo-folder-open-internal): Set up headers slot.
7166 (elmo-folder-check): Call elmo-folder-close-internal and
7167 elmo-folder-open-internal.
7168 (elmo-folder-close-internal): Clean up headers slot.
7170 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7172 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7173 exactly folder list.
7174 (elmo-folder-append-messages): Fixed append archive with prefix.
7176 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7177 make temp files with start-number.
7179 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7181 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7183 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7184 argument `visible-only'.
7185 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7188 * elmo-pop3.el (elmo-folder-open-internal): Check
7189 `elmo-inhibit-number-mapping' is non-nil.
7191 * elmo-pipe.el (elmo-folder-status): Fixed.
7193 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7195 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7197 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7198 (elmo-folder-open-internal): Setup `header-hash' slot.
7199 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7201 (elmo-map-message-fetch): Ditto.
7203 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7205 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7206 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7207 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7208 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7210 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7212 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7214 * sb-airs.el: Added footer.
7216 * shimbun.el (shimbun-article): Define as luna-method.
7218 * sb-tcup.el: New file.
7220 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7221 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7223 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7225 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7226 (shimbun-get-headers): Ditto.
7228 * elmo.el: Moved obsolete variable definitions from
7229 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7231 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7234 * shimbun.el: New file.
7236 * elmo-shimbun.el: New file.
7238 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7239 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7240 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7241 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7243 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7245 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7248 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7250 * elmo.el (elmo-folder-msgdb): Define as macro.
7251 (elmo-folder-open): Added argument `load-msgdb'.
7252 (elmo-generic-folder-open): Ditto.
7253 (elmo-folder-encache): New function.
7255 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7257 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7259 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7260 Eliminated argument FOLDER and added argument MSGDB.
7261 (elmo-dop-queue-load): Moved from elmo-dop.el.
7262 (elmo-dop-queue-save): Ditto.
7264 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7266 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7268 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7269 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7270 (elmo-filter-folder-list-importants-internal): Ditto.
7272 * elmo-map.el (elmo-folder-pack-number): Ditto.
7274 * elmo-mime.el (elmo-mime-message-display): Ditto.
7276 * elmo.el (elmo-generic-folder-commit): Ditto.
7277 (elmo-folder-list-unreads): Ditto.
7278 (elmo-folder-list-importants): Ditto.
7279 (elmo-generic-folder-commit): Ditto.
7280 (elmo-message-set-mark): Ditto.
7281 (elmo-generic-folder-append-msgdb): Ditto.
7282 (elmo-folder-synchronize): Ditto.
7283 (elmo-folder-messages): Ditto.
7284 (elmo-init): Call elmo-dop-queue-load.
7285 (elmo-folder-list-messages): Ditto.
7287 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7288 (elmo-nntp-folder-process-crosspost): Ditto.
7289 (elmo-folder-list-unreads-internal): Ditto.
7291 * elmo-dop.el: Removed old functions.
7293 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7295 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7296 `folder' to `msgdb'.
7298 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7300 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7301 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7303 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7306 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7308 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7311 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7312 (mmimap-parse-parameters-from-list): Define as alias for
7313 `mime-decode-parameter-plist' if it is defined as function.
7314 (mmimap-make-mime-entity): Added argument `number'.
7315 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7317 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7319 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7321 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7323 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7325 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7327 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7329 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7330 when elmo-imap4-default-authenticate-type is nil.
7331 (elmo-folder-list-subfolders): Ditto
7332 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7333 (elmo-imap4-fetch-callback-1-subr): Renamed from
7334 `elmo-imap4-fetch-callback-1' and define as inline function.
7335 (elmo-imap4-fetch-callback-1):
7336 Renamed from `elmo-imap4-fetch-callback'.
7337 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7339 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7340 msgdb path (To keep compatibility with main trunk).
7342 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7344 * elmo-util.el (elmo-make-file-cache): Moved position of
7347 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7348 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7349 instead of `elmo-pop3-inhibit-uidl'.
7350 (elmo-folder-exists-p): Ditto.
7351 (elmo-pop3-folder-list-messages): Ditto.
7353 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7354 instead of `elmo-pop3-inhibit-uidl'.
7355 (elmo-folder-status): Ditto.
7357 * elmo-dop.el (elmo-dop-folder): New variable.
7358 (elmo-dop-lock-message): Eliminated.
7359 (elmo-dop-unlock-message): Ditto.
7360 (elmo-dop-lock-list-load): Ditto.
7361 (elmo-dop-lock-list-save): Ditto.
7362 (elmo-dop-delete-folder): Ditto.
7363 (elmo-dop-rename-folder): Ditto.
7365 * elmo.el: Removed incomplete commentary.
7367 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7369 * elmo.el (toplevel): Require 'elmo-version first;
7370 for little `recursive-load-depth' settings.
7371 Fix "ends here" comment.
7373 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7375 * elmo-util.el (toplevel): Require 'poem;
7376 Some functions are moved from elmo-cache.el.
7378 * elmo-net.el (toplevel): Require 'elmo-cache.
7380 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7382 * elmo.el (toplevel): Ditto.
7384 * elmo-cache.el: Rewrite with luna;
7385 Some functions are moved to elmo-util.el.
7387 * elmo-internal.el (elmo-internal-folder-list): New variable.
7388 (elmo-internal-folder-initialize): Rewrite.
7389 (elmo-folder-list-subfolders): Ditto.
7391 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7392 (elmo-cache-collect-sub-directories): Ditto.
7394 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7396 * elmo-version.el (elmo-version): Up to 2.5.8.
7398 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7400 * elmo-util.el (elmo-list-insert): New function.
7402 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7404 * elmo.el (elmo-init): New function.
7405 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7407 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7408 (Renamed from `elmo-localdir-header-chop-length').
7410 * elmo-pop3.el (elmo-pop3-use-cache,
7411 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7413 * elmo-nntp.el (elmo-message-fetch): Define.
7414 (elmo-message-fetch-unplugged): Ditto.
7415 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7416 (elmo-nntp-use-cache): Ditto.
7417 (elmo-nntp-max-number-precedes-list-active): Ditto.
7419 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7421 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7422 `elmo-msgdb-insert-file-header'.
7423 Use `elmo-msgdb-file-header-chop-length'.
7425 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7428 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7429 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7430 `elmo-msgdb-insert-file-header'.
7432 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7434 Define obsolete variables with `elmo-define-obsolete-variable',
7436 * elmo-util.el (elmo-warning-buffer-name): New constant.
7437 (elmo-warning): New function.
7438 (elmo-obsolete-variable-alist): New variable.
7439 (elmo-obsolete-variable-show-warnings): New variable.
7440 (elmo-define-obsolete-variable): New function.
7441 (elmo-resque-obsolete-variable): Ditto.
7442 (elmo-resque-obsolete-variables): Ditto.
7444 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7446 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7449 * elmo-pop3.el, elmo-nntp.el: Use custom.
7451 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7453 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7454 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7456 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7458 * Luna-fy Kenichi OKADA's following changes.
7459 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7461 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7463 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7465 * elmo-util.el (elmo-display-progress): Prefer
7466 `progress-feedback-with-label' to `lprogress-display'.
7468 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7470 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7472 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7474 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7475 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7476 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7477 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7478 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7479 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7480 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7481 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7482 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7483 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7484 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7485 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7486 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7488 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7490 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7491 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7493 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7495 * elmo.el (elmo-folder-process-crosspost): New generic method.
7496 (elmo-folder-writable-p): Ditto.
7497 (elmo-folder-message-appendable-p): Eliminated.
7498 (elmo-generic-folder-append-msgdb): Rewrite.
7499 (elmo-newsgroups-hashtb): New internal variable.
7500 (elmo-crosspost-message-set): Eliminated.
7501 (elmo-crosspost-message-delete): Ditto.
7502 (elmo-setup-subscribed-newsgroups): New function.
7503 (elmo-crosspost-message-alist-modified): New internal variable.
7504 (elmo-crosspost-message-alist-load): New function (Renamed from
7505 `wl-crosspost-alist-load').
7506 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7507 `wl-crosspost-alist-save').
7509 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7511 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7513 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7514 elmo-newsgroups-hashtb).
7515 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7516 `elmo-nntp-folder-update-crosspost-message-alist'.
7517 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7518 `elmo-nntp-groups-hashtb'.
7519 (elmo-nntp-make-groups-hashtb): Eliminated.
7520 (elmo-nntp-parse-newsgroups): New function (Renamed from
7521 `wl-parse-newsgroups').
7522 (elmo-folder-creatable-p, elmo-folder-writable-p,
7523 elmo-folder-close-internal, elmo-folder-mark-as-read,
7524 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7526 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7528 * elmo-net.el (elmo-message-fetch): Check buffer size.
7530 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7532 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7534 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7535 before `close' command.
7537 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7538 `mark-alist' (All other related portions are changed).
7540 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7542 * elmo-util.el (elmo-create-hash-size): Eliminated.
7543 (elmo-make-hash) Make a hash with `one less than a power of two'
7546 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7547 (elmo-hash-maximum-size): Changed value.
7549 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7551 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7552 (elmo-mime-message-display-as-is): Ditto.
7554 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7556 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7557 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7559 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7561 * elmo-mark.el: New file.
7563 * elmo-internal.el: Rewrite (Almost empty).
7565 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7567 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7568 (mime-imap-entity-header-string): Ditto.
7569 (mmimap-entity-section): Rewrite.
7571 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7573 * elmo-nmz.el: New file.
7575 * elmo-pipe.el: Rewrite with luna.
7577 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7579 * elmo-archive.el: Rewrite with luna.
7581 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7582 (elmo-folder-list-importants-internal): Ditto.
7584 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7586 * elmo-archive.el (elmo-archive-version): Abolish.
7587 (toplevel) Removed `boso' comment.
7589 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7591 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7592 elmo-msgdb-add-msgs-to-seen-list-subr;
7593 Changed argument seen-marks to unread-marks.
7595 * elmo-nntp.el: Rewrite with luna.
7597 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7599 * elmo-filter.el: Rewrite with luna.
7601 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7603 * elmo-pop3.el: Rewrite with luna.
7605 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7607 * elmo-multi.el: Rewrite with luna.
7609 * elmo-vars.el (elmo-use-killed-list): Abolish.
7610 All other related portions are changed.
7611 (elmo-filename-replace-string-alist): Renamed from
7612 elmo-msgid-replace-string-alist.
7614 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7616 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7618 * elmo-map.el: New file.
7619 * elmo-maildir.el: Rewrite with luna.
7621 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7623 * elmo.el: Changed meaning of `elmo-folder-commit'.
7624 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7626 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7628 * elmo.el (elmo-folder-append-buffer): New function.
7629 (Renamed from `elmo-append-msg')
7631 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7633 * elmo-mime.el: New file.
7635 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7637 * elmo-cache.el: Rewrite.
7639 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7641 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7643 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7645 * elmo-vars.el (elmo): New group.
7646 (elmo-strict-diff-folder-regexp): New variable.
7648 * elmo-util.el (elmo-call-func): Abolish.
7649 (elmo-folder-get-type): Ditto.
7650 (elmo-*-get-spec): Ditto.
7651 (elmo-*-spec-*): Ditto.
7652 (elmo-imap4-identical-name-space-p): Ditto.
7653 (elmo-folder-identical-system-p): Ditto.
7654 (elmo-folder-direct-copy-alist): Ditto.
7655 (elmo-folder-direct-copy-p): Ditto.
7657 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7658 (elmo-folder-initialize): Define.
7659 (elmo-folder-get-primitive-list): Ditto.
7661 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7662 (elmo-folder-initialize): Define.
7663 Renamed `elmo-network-session-host-internal' to
7664 `elmo-network-session-server-internal'.
7666 * elmo-multi.el (elmo-multi-folder): New luna class.
7667 (elmo-folder-initialize): Define.
7668 (elmo-folder-get-primitive-list): Ditto.
7669 (elmo-folder-contains-type): Ditto.
7670 (elmo-message-use-cache-p): Ditto.
7672 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7673 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7675 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7676 (elmo-folder-initialize): Define.
7678 * elmo-filter.el (elmo-filter-folder): New luna class.
7679 (elmo-folder-initialize): Define.
7680 (elmo-folder-get-primitive-list): Ditto.
7681 (elmo-folder-contains-type): Ditto.
7683 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7685 * elmo-imap4.el: Rewrite with luna.
7687 * mmimap.el: New file.
7689 * mmelmo.el, mmelmo-imap4.el: Removed.
7691 * elmo-net.el: Ditto.
7693 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7694 (elmo-folder-initialize): Define.
7696 * elmo-archive.el (elmo-archive-folder): New luna class.
7697 (elmo-folder-initialize): Define.
7699 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7700 `elmo-folder-msgdb-path'.
7701 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7704 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7706 * elmo.el: New file.
7708 * elmo2.el: Renamed to elmo.el.
7711 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7713 * elmo-cache.el (elmo-cache-expire-by-size): Count
7714 a disk usage for a cache file entry in KB even when
7715 its kind is a directory.
7717 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7719 * elmo-version.el (elmo-version): Up to 2.5.7.
7721 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7723 * elmo-version.el (elmo-version): Up to 2.5.6.
7725 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7727 * elmo-version.el (elmo-version): Up to 2.5.5.
7729 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7731 * elmo-imap4.el (elmo-network-authenticate-session):
7732 Fixed a logic for response checking.
7734 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7736 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7737 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7738 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7741 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7742 for `starttls-open-stream' and `starttls-negotiate'.
7744 * elmo-nntp.el: Remove autoload settings for
7745 `starttls-open-stream' and `starttls-negotiate'.
7747 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7748 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7749 `luna-define-class' with `eval-and-compile'.
7751 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7753 * elmo-util.el (elmo-read-search-condition-internal):
7754 Require an element of table for searching field.
7756 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7758 * elmo-version.el (elmo-version): Up to 2.5.4.
7760 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7762 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7764 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7766 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7768 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7770 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7773 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7775 * elmo-imap4.el (elmo-imap4-delete-folder):
7776 Send "close" before "delete" (Use commented out line).
7777 (elmo-imap4-rename-folder): Ditto.
7779 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7780 folder string itself.
7781 (elmo-dop-list-deleted): New function.
7782 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7785 * elmo-util.el (elmo-string-rassoc-all): New function.
7787 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7789 * elmo-version.el (elmo-version): Up to 2.5.3.
7791 * elmo-net.el (elmo-network-get-session): Changed logic for
7792 checking process status.
7794 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7796 Changed logic for checking process status.
7798 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7800 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7802 (elmo-network-setup-session): Set UIDL hash size according to
7803 the length of list response.
7804 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7805 according to the length of list response;
7806 Return the length of list response.
7807 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7809 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7811 * elmo-imap4.el (toplevel): Require 'ssl.
7812 Add autoload 'starttls.
7813 * elmo-pop3.el (toplevel): Ditto.
7814 * elmo-nntp.el (toplevel): Ditto.
7816 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7818 * elmo-imap4.el (toplevel): defun at compile time.
7819 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7820 sasl-next-step, sasl-step-data, sasl-step-set-data.
7821 * elmo-pop3.el (toplevel): Ditto.
7823 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7825 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7827 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7829 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7831 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7832 and `elmo-pop-auth-apop'.
7834 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7836 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7838 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7840 * elmo-pop3.el (elmo-network-authenticate-session): Split
7841 encoded response value.
7843 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7845 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7846 `elmo-pop3-force-login'.
7847 Redefine `sasl-mechanisms'.
7848 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7850 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7852 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7853 Delete `elmo-imap4-authenticator-alist'.
7854 (elmo-imap4-auth-cram-md5): Delete.
7855 (elmo-imap4-auth-digest-md5): Delete.
7857 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7859 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7860 (elmo-pop3-auth-scram-md5): Ditto.
7861 (elmo-pop3-auth-cram-md5): Ditto.
7863 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7865 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7866 Delete `elmo-pop3-authenticator-alist'.
7868 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7870 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7872 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7874 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7876 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7878 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7880 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7881 Fixed problem when `elmo-pop3-use-uidl' is nil.
7882 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7884 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7886 * elmo-version.el (elmo-version): Up to 2.5.2.
7888 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7890 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7892 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7893 (elmo-pop3-msgdb-create-as-numlist): Use it.
7895 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7896 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7898 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7899 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7901 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7903 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7904 when elmo-mark-as-read is called with second argument nil.
7906 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7908 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7909 Moved to elmo-util.el.
7911 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7912 Moved from elmo-pipe.el
7914 * elmo-archive.el (elmo-archive-call-process): Enclose with
7917 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7918 "RFC822" (because RFC822.PEEK is obsolete).
7919 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7921 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7923 * elmo-archive.el (elmo-archive-call-process): Don't check for
7924 the exit status when Nemacs is running.
7926 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7928 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7931 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7932 (elmo-pop3-get-spec): Set default of auth to 'user.
7934 * elmo-imap4.el (elmo-imap4-session-check):
7935 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7936 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7937 (elmo-imap4-auth-login): New function; Revival.
7938 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7939 `elmo-imap4-auth-login'.
7941 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7943 * elmo2.el (toplevel): Move `product-provide' declare.
7944 * mmelmo.el (toplevel): Ditto.
7946 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7948 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7950 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7952 * elmo-util.el (elmo-folder-get-store-type): New function.
7953 (elmo-folder-direct-copy-p): Use it.
7955 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7957 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7958 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7959 and result of `elmo-imap4-use-flag-p'.
7960 (elmo-imap4-fetch-callback-1): Set mark according to
7961 the result of `elmo-imap4-use-flag-p'.
7963 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7965 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7966 (elmo-generic-list-folder-unread): Ditto.
7967 (elmo-folder-get-info): Ditto.
7968 (elmo-folder-set-info-max-by-numdb): Ditto.
7969 (elmo-folder-get-info-max): Ditto.
7970 (elmo-folder-get-info-length): Ditto.
7971 (elmo-folder-get-info-unread): Ditto.
7972 (elmo-folder-info-make-hashtb): Ditto.
7974 * elmo2.el: Removed above functions.
7976 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7978 * elmo-imap4.el (toplevel): Require 'ssl.
7979 Add autoload 'starttls.
7980 * elmo-pop3.el (toplevel): Ditto.
7981 * elmo-nntp.el (toplevel): Ditto.
7983 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7985 * elmo-imap4.el (toplevel): defun at compile time.
7986 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7987 sasl-next-step, sasl-step-data, sasl-step-set-data.
7988 * elmo-pop3.el (toplevel): Ditto.
7990 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7992 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7994 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7996 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7998 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7999 and `elmo-pop-auth-apop'.
8001 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8003 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8005 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8007 * elmo-pop3.el (elmo-network-authenticate-session): Split
8008 encoded response value.
8010 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8012 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8013 `elmo-pop3-force-login'.
8014 Redefine `sasl-mechanisms'.
8015 * elmo-vars.el (elmo-pop3-force-login): Ditto.
8017 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8019 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8020 Delete `elmo-imap4-authenticator-alist'.
8021 (elmo-imap4-auth-cram-md5): Delete.
8022 (elmo-imap4-auth-digest-md5): Delete.
8024 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8026 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8027 (elmo-pop3-auth-scram-md5): Ditto.
8028 (elmo-pop3-auth-cram-md5): Ditto.
8030 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8032 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8033 Delete `elmo-pop3-authenticator-alist'.
8035 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8037 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8039 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8042 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
8044 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8046 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
8048 * elmo-nntp.el (elmo-nntp-get-folders-info):
8049 Fixed problem when '\' character is contained in user-id.
8050 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8053 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
8055 * elmo-imap4.el (elmo-imap4-delete-folder):
8056 Send "close" before "delete" (Use commented out line).
8057 (elmo-imap4-rename-folder): Ditto.
8059 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8060 folder string itself.
8061 (elmo-dop-list-deleted): New function.
8062 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8065 * elmo-util.el (elmo-string-rassoc-all): New function.
8067 * elmo-version.el (elmo-version): Up to 2.5.1.
8069 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
8071 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8073 * elmo-internal.el (elmo-internal-search): Fix last change.
8075 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
8077 * elmo-internal.el (elmo-internal-search): Rewrite.
8078 (Fixed problem which is pointed out by Akihiro MOTOKI
8079 <motoki@da.jp.nec.com>)
8081 * elmo-version.el (elmo-version): Up to 2.5.0.
8083 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8085 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8087 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8089 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8090 non-nil, make hierarchy.
8092 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
8094 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8095 `elmo-pop3-use-uidl' must be bound to nil.
8096 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8098 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
8100 * elmo-util.el (elmo-copy-file): Don't cause an error after
8101 `add-name-to-file' failed.
8103 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8104 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8106 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
8108 * elmo-version.el (elmo-version): Up to 2.3.93.
8110 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
8112 * elmo-util.el (elmo-flatten): New function.
8114 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
8116 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8118 * elmo-cache.el (toplevel): Ditto.
8119 * elmo-database.el (toplevel): Ditto.
8120 * elmo-date.el (toplevel): Ditto.
8121 * elmo-dop.el (toplevel): Ditto.
8122 * elmo-filter.el (toplevel): Ditto.
8123 * elmo-imap4.el (toplevel): Ditto.
8124 * elmo-internal.el (toplevel): Ditto.
8125 * elmo-localdir.el (toplevel): Ditto.
8126 * elmo-localnews.el (toplevel): Ditto.
8127 * elmo-maildir.el (toplevel): Ditto.
8128 * elmo-msgdb.el (toplevel): Ditto.
8129 * elmo-multi.el (toplevel): Ditto.
8130 * elmo-net.el (toplevel): Ditto.
8131 * elmo-nntp.el (toplevel): Ditto.
8132 * elmo-pipe.el (toplevel): Ditto.
8133 * elmo-pop3.el (toplevel): Ditto.
8134 * elmo-util.el (toplevel): Ditto.
8135 * elmo-vars.el (toplevel): Ditto.
8136 * elmo2.el (toplevel): Ditto.
8137 * mmelmo-imap4.el (toplevel): Ditto.
8138 * mmelmo.el (toplevel): Ditto.
8140 * elmo-version.el (elmo-version): Move to top.
8142 * elmo-cache.el (toplevel): Fixed multiple Author header format.
8143 * elmo-imap4.el (toplevel): Ditto.
8144 * elmo-localdir.el (toplevel): Ditto.
8145 * elmo-msgdb.el (toplevel): Ditto.
8146 * elmo-nntp.el (toplevel): Ditto.
8147 * elmo-pop3.el (toplevel): Ditto.
8148 * elmo-version.el (toplevel): Ditto.
8150 * elmo-localnews.el (toplevel): Added Keyword header.
8152 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
8154 * elmo-version.el (product-version-as-string): Defined using
8158 * elmo-localdir.el (toplevel): Updated copyright notice.
8159 * elmo-version.el (toplevel): Ditto.
8160 * elmo-msgdb.el (toplevel): Ditto.
8161 * elmo-imap4.el (toplevel): Ditto.
8162 * elmo-nntp.el (toplevel): Ditto.
8163 * elmo-pop3.el (toplevel): Ditto.
8165 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
8167 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8170 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8171 parameter value (It sometimes contains raw kanji).
8173 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8175 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8176 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8178 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8180 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8182 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8184 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8185 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8187 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8189 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8190 value if selecting folder succceeded.
8191 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8193 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8195 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8198 * elmo-util.el (elmo-string-matched-member): New function.
8200 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8202 * elmo-util.el (elmo-unintern): New macro.
8203 (elmo-number-set-member): Fixed docstring.
8205 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8208 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8210 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8211 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8213 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8215 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8218 Return non-nil if selecting folder succeeded.
8219 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8221 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8223 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8224 `file-name-completion' returns t.
8225 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8226 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8227 directory if it does not exist.
8228 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8231 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8233 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8234 enclosure (It's harmful in unplugged status).
8236 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8238 * mmelmo-1.el: Removed.
8240 * mmelmo-2.el: Ditto.
8242 * mmelmo-imap4-1.el: Ditto.
8244 * mmelmo-imap4-2.el: Ditto.
8246 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8248 * mmelmo.el: Merged mmelmo-2.el.
8250 * elmo-version.el (elmo-version): Up to 2.3.92.
8252 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8254 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8255 elmo-update-number): Remove last period in "...done." message.
8256 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8258 * elmo-cache.el (elmo-cache-expire-by-size,
8259 elmo-cache-get-sorted-cache-file-list,
8260 elmo-cache-msgdb-create-as-numlist): Ditto.
8261 * elmo-dop.el (elmo-dop-save-pending-messages,
8262 (elmo-dop-flush-pending-append-operations): Ditto.
8263 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8264 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8265 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8266 (elmo-localdir-pack-number): Ditto.
8267 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8268 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8269 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8270 mime-write-entity-content): Ditto.
8271 * pldap.el (ldap-search-basic): Ditto.
8273 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8275 * elmo-version.el (elmo-version): Up to 2.3.91.
8277 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8278 Only when filter is 'last'.
8280 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8281 (elmo-condition-parse-search-value): Use it.
8282 (elmo-read-search-condition-internal): Quote value only when
8285 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8287 * elmo2.el (elmo-generic-folder-diff): Fix.
8289 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8291 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8292 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8293 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8294 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8295 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8296 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8298 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8300 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8303 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8305 * elmo-version.el (elmo-version): Up to 2.3.90.
8307 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8308 (elmo-imap4-list-folder-important): Ditto.
8310 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8312 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8314 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8316 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8318 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8320 * elmo-nntp.el (elmo-network-initialize-session):
8321 Add starttls negotiation.
8323 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8325 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8327 (elmo-network-setup-session): Define.
8328 Call `elmo-nntp-send-mode-reader' when session opened.
8330 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8332 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8334 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8336 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8337 an invalid SPACE character ahead of `SEARCH' command. Move
8338 a valid SPACE character following `SEARCH' from conditional
8339 `format' arguments to control-strings.
8341 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8343 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8346 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8348 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8350 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8351 `w32-get-true-file-link-count' as t.
8353 * elmo-imap4.el (elmo-imap4-read): Abolished.
8354 (Renamed to `elmo-read' and moved to elmo-util.el)
8355 All other related portions are changed.
8357 * elmo-util.el (elmo-read): New function.
8358 (elmo-condition-parse-search-value): Use it.
8360 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8362 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8364 * elmo-nntp.el (elmo-nntp-session): Define.
8365 (elmo-nntp-setting): Abolished.
8366 All other related portions are changed.
8367 (elmo-nntp-get-server-command): Changed argument.
8368 (elmo-nntp-set-server-command): Ditto.
8369 (elmo-nntp-xover-p): Ditto.
8370 (elmo-nntp-set-xover): Ditto.
8371 (elmo-nntp-listgroup-p): Ditto.
8372 (elmo-nntp-set-listgroup): Ditto.
8373 (elmo-nntp-list-active-p): Ditto.
8374 (elmo-nntp-set-list-active): Ditto.
8375 (elmo-nntp-xhdr-p): Ditto.
8376 (elmo-nntp-set-xhdr): Ditto.
8377 (elmo-nntp-flush-connection): Abolished.
8378 (elmo-nntp-get-connection): Abolished.
8379 (elmo-nntp-get-session): New function.
8380 (elmo-network-initialize-session): Defined.
8381 (elmo-network-authenticate-session): Ditto.
8382 (elmo-nntp-send-mode-reader): Changed argument.
8383 (elmo-nntp-send-command): Changed argument.
8384 All other related portions are changed.
8385 (elmo-nntp-read-response): Ditto.
8386 (elmo-nntp-read-raw-response): Ditto.
8387 (elmo-nntp-read-contents): Ditto.
8388 (elmo-nntp-read-body): Ditto.
8389 (elmo-nntp-goto-folder): Abolished.
8390 (elmo-nntp-select-group): New function.
8391 All other related portions are changed.
8392 (This function substitutes `elmo-nntp-goto-folder')
8393 (elmo-nntp-msgdb-create-by-header): Rewrite.
8394 (elmo-nntp-get-overview): Eliminated.
8395 (elmo-nntp-get-message): Ditto.
8396 (elmo-nntp-open-connection) Abolished.
8397 (elmo-nntp-read-msg): Rewrite.
8398 (elmo-nntp-post): Ditto.
8399 (elmo-nntp-send-data): Abolished.
8400 (elmo-nntp-send-buffer): New function.
8401 (elmo-nntp-send-data-line): Define as inline function.
8402 (elmo-nntp-get-folders-info-prepare): Use session as key.
8403 (elmo-nntp-groups-read-response): Changed argument.
8404 (elmo-nntp-retrieve-headers): Ditto.
8405 (elmo-nntp-msgdb-create-message): Ditto.
8407 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8408 when searching by 'since' or 'before'.
8410 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8412 * elmo-version.el (toplevel): Use product-version-as-string for set
8413 verstion-string, if defined.
8415 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8417 * elmo-util.el: Doc fixes.
8419 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8421 * elmo-archive.el (toplevel): Use product-provide.
8422 * elmo-cache.el (toplevel): Ditto.
8423 * elmo-database.el (toplevel): Ditto.
8424 * elmo-date.el (toplevel): Ditto.
8425 * elmo-dop.el (toplevel): Ditto.
8426 * elmo-filter.el (toplevel): Ditto.
8427 * elmo-imap4.el (toplevel): Ditto.
8428 * elmo-internal.el (toplevel): Ditto.
8429 * elmo-localdir.el (toplevel): Ditto.
8430 * elmo-localnews.el (toplevel): Ditto.
8431 * elmo-maildir.el (toplevel): Ditto.
8432 * elmo-msgdb.el (toplevel): Ditto.
8433 * elmo-multi.el (toplevel): Ditto.
8434 * elmo-net.el (toplevel): Ditto.
8435 * elmo-nntp.el (toplevel): Ditto.
8436 * elmo-pipe.el (toplevel): Ditto.
8437 * elmo-pop3.el (toplevel): Ditto.
8438 * elmo-util.el (toplevel): Ditto.
8439 * elmo-vars.el (toplevel): Ditto.
8440 * elmo2.el (toplevel): Ditto.
8441 * mmelmo-1.el (toplevel): Ditto.
8442 * mmelmo-2.el (toplevel): Ditto.
8443 * mmelmo-imap4-1.el (toplevel): Ditto.
8444 * mmelmo-imap4-2.el (toplevel): Ditto.
8445 * mmelmo-imap4.el (toplevel): Ditto.
8446 * mmelmo.el (toplevel): Ditto.
8448 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8450 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8451 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8453 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8455 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8457 (elmo-multi-split-number-alist): Ditto.
8459 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8461 * elmo-version.el: New file. Use product.el.
8462 * elmo2.el: Add (require 'elmo-version).
8463 * elmo-vars.el (elmo-appname, elmo-version): Move to
8466 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8468 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8469 `elmo-msgdb-expand-path'.
8470 (elmo-msgdb-load): Ditto.
8471 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8472 (elmo-generic-list-folder-unread): Rewrite.
8473 (elmo-generic-list-folder-important): Changed argument.
8474 (elmo-list-folder-unread): Ditto.
8475 (elmo-list-folder-important): Ditto.
8476 (elmo-folder-diff): Rewrite.
8477 (elmo-generic-folder-diff): New function.
8478 (elmo-multi-get-number-alist-list): Abolished
8479 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8480 (elmo-multi-folder-diff): Moved to elmo-multi.el
8481 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8483 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8484 `elmo-msgdb-expand-path'.
8485 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8486 (elmo-pop3-read-msg): Ditto.
8487 (elmo-pop3-delete-msgs): Ditto.
8488 (elmo-pop3-folder-diff): New alias.
8490 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8491 `elmo-msgdb-expand-path'.
8492 (elmo-pipe-list-folder-unread): Changed arguments.
8493 (elmo-pipe-list-folder-important): Ditto.
8494 (elmo-pipe-folder-diff): New alias.
8496 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8497 `elmo-msgdb-expand-path'.
8498 (elmo-nntp-max-of-folder): Ditto.
8499 (elmo-nntp-msgdb-create): Ditto.
8500 (elmo-nntp-delete-msgs): Ditto.
8501 (elmo-nntp-folder-diff): New alias.
8503 * elmo-multi.el (elmo-multi-folder-diff): New function.
8504 (elmo-multi-split-mark-alist): Ditto.
8505 (elmo-multi-split-number-alist): Ditto.
8506 (elmo-multi-mark-alist-list): Abolished (Renamed to
8507 elmo-multi-split-mark-alist).
8508 (elmo-multi-list-folder-unread): Rewrite.
8509 (elmo-multi-list-folder-important): Ditto.
8510 (elmo-multi-list-folder): Set `spec' as 1st argument for
8511 `elmo-msgdb-expand-path'.
8512 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8513 instead of `elmo-multi-get-number-alist-list'.
8515 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8516 If 1st argument is not string, treat as spec.
8517 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8518 `elmo-msgdb-expand-path'.
8519 (elmo-msgdb-flist-load): Ditto.
8520 (elmo-msgdb-flist-save): Ditto.
8521 (elmo-msgdb-delete-path): Ditto.
8522 (elmo-msgdb-rename-path): Ditto.
8524 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8525 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8526 (elmo-maildir-delete-mark-msgs): Ditto.
8527 (elmo-maildir-msgdb-create): Ditto.
8528 (elmo-maildir-read-msg): Ditto.
8529 (elmo-maildir-delete-msgs): Ditto.
8530 (elmo-maildir-list-folder-subr): Ditto.
8531 (elmo-maildir-search): Ditto.
8532 (elmo-maildir-get-msg-filename): Ditto.
8533 (elmo-maildir-pack-number): Ditto.
8534 (elmo-maildir-folder-diff): New alias.
8536 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8538 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8539 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8540 (elmo-localdir-folder-diff): New alias.
8542 * elmo-internal.el (elmo-internal-list-folder-subr):
8543 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8544 (elmo-internal-list-folder-by-location): Ditto.
8545 (elmo-internal-msgdb-create): Ditto.
8546 (elmo-internal-delete-msgs): Ditto.
8547 (elmo-internal-read-msg): Ditto.
8548 (elmo-internal-folder-diff): New alias.
8550 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8551 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8552 `elmo-msgdb-expand-path'.
8553 (elmo-imap4-list-folder-unread): Changed arguments.
8554 (elmo-imap4-list-folder-important): Ditto.
8556 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8557 (elmo-filter-list-folder-important): Ditto.
8558 (elmo-filter-folder-diff): New function.
8560 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8562 * elmo-cache.el (elmo-cache-list-folder):
8563 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8564 (elmo-cache-copy-msgs): Ditto.
8565 (elmo-cache-folder-diff): New alias.
8567 * elmo-archive.el (elmo-archive-list-folder-subr):
8568 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8569 (elmo-archive-get-archive-name): Ditto.
8570 (elmo-archive-create-file): Ditto.
8571 (elmo-archive-append-msg): Ditto.
8572 (elmo-archive-copy-msgs): Ditto.
8573 (elmo-archive-copy-msgs-froms): Ditto.
8574 (elmo-archive-get-msg-filename): Ditto.
8575 (elmo-archive-folder-diff): New alias.
8577 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8579 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8580 (elmo-pop3-stream-type-alist): New variable.
8581 (elmo-nntp-stream-type-alist): New variable.
8583 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8584 (elmo-kill-buffer): Ditto.
8585 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8586 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8587 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8588 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8589 (elmo-imap4-get-spec): Take into account
8590 `elmo-imap4-stream-type-alist'.
8592 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8594 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8595 (elmo-nntp-list-folders-get-cache): Ditto.
8597 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8599 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8600 character before 'uid'.
8602 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8604 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8606 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8608 * elmo-util.el (elmo-number-set-member): New function.
8609 (elmo-number-set-append-list): Ditto.
8610 (elmo-number-set-append): Ditto.
8612 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8613 Use `elmo-number-set-member'.
8614 (elmo-living-messages): Ditto.
8615 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8616 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8618 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8619 (elmo-imap4-add-to-cont-list): Abolished.
8620 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8621 instead of elmo-imap4-add-to-cont-list.
8623 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8624 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8626 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8628 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8630 * elmo-util.el (elmo-condition-parse-search-value):
8633 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8635 * elmo-util.el (elmo-condition-find-key-internal): New function.
8636 (elmo-condition-find-key): Ditto.
8638 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8639 (elmo-msgdb-search-internal): Ditto.
8640 (elmo-msgdb-search): Ditto.
8642 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8644 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8645 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8647 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8648 (elmo-nntp-search-primitive): Fixed problem when condition is
8651 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8653 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8654 (elmo-nntp-xhdr-p): New macro.
8655 (elmo-nntp-set-xhdr): Ditto.
8656 (elmo-nntp-parse-xhdr-response): New function.
8657 (elmo-nntp-retrieve-field): Ditto.
8658 (elmo-nntp-search-primitive): Ditto.
8659 (elmo-nntp-search): Implemented.
8661 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8663 * elmo-archive.el (elmo-archive-search): Set all number list to
8664 `elmo-archive-field-condition-match'
8666 * elmo-localdir.el (elmo-localdir-search): Likewise.
8668 * elmo-maildir.el (elmo-maildir-search): Likewise.
8670 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8672 * elmo-msgdb.el (elmo-living-messages): New function.
8673 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8674 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8675 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8676 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8677 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8678 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8679 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8680 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8681 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8682 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8683 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8685 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8687 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8689 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8691 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8693 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8694 arguments for `SEARCH' command.
8695 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8696 All other related portions are changed.
8698 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8700 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8701 (elmo-list-folder-unread): Rewrite.
8702 (elmo-list-folder-important): Ditto.
8704 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8705 (elmo-condition-parse-error): New inline function.
8706 (elmo-read-search-condition): New function.
8707 (elmo-read-search-condition-internal): Ditto.
8708 (elmo-parse-search-condition): Rewrite.
8709 (elmo-condition-parse): New function.
8710 (elmo-condition-parse-or-expr): Ditto.
8711 (elmo-condition-parse-and-expr): Ditto.
8712 (elmo-condition-parse-primitive): Ditto.
8713 (elmo-condition-parse-search-value): Ditto.
8714 (elmo-buffer-field-primitive-condition-match): Ditto.
8715 (elmo-buffer-field-condition-match): Rewrite.
8716 (elmo-file-field-condition-match): Ditto.
8718 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8719 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8721 * elmo-internal.el (elmo-internal-search): Set `number' and
8722 `number-list' argument of `elmo-file-field-condition-match'.
8724 * elmo-maildir.el (elmo-maildir-search): Ditto.
8726 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8727 `msgdb' as argument instead of `mark-alist'.
8728 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8731 * elmo-multi.el: Likewise.
8733 * elmo-pipe.el: Likewise.
8735 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8736 (elmo-imap4-search-internal): Rewrite.
8737 (elmo-imap4-search): Ditto.
8739 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8740 (elmo-filter-list-folder-unread): Ditto.
8741 (elmo-filter-list-folder-important): Ditto.
8742 (elmo-filter-search): Rewrite.
8744 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8745 `number-list' argument of `elmo-file-field-condition-match'.
8746 (elmo-cache-search): Ditto.
8748 * elmo-localdir.el: Likewise.
8750 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8751 number-list and pass it to `elmo-buffer-field-condition-match'.
8752 (elmo-archive-field-condition-match): Pass `number-list' to
8753 `elmo-archive-field-condition-match'
8755 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8757 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8760 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8761 (elmo-folder-diff-async-callback-data): Ditto.
8762 (elmo-folder-diff-async): New function.
8764 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8765 (elmo-network-session-cache-key): Use it as a prefix of the session
8767 (elmo-network-open-session): Ditto.
8769 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8770 (elmo-imap4-status-callback-data): Ditto.
8771 (elmo-imap4-server-diff-async-callback): New variable.
8772 (elmo-imap4-server-diff-async-callback-data): Ditto.
8773 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8774 `elmo-imap4-status-callback-data'.
8775 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8776 `elmo-imap4-status-callback-data' as nil.
8777 (elmo-imap4-server-diff): Ditto.
8778 (elmo-imap4-server-diff-async-callback-1): New function.
8779 (elmo-imap4-server-diff-async): Ditto.
8780 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8782 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8784 * elmo-util.el (elmo-list-delete): Doc fix.
8785 (elmo-delete-lists): Abolish.
8786 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8787 instead of `elmo-delete-lists'.
8789 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8791 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8794 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8796 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8797 `elmo-imap4-literal-subr'.
8798 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8799 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8801 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8803 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8804 (elmo-archive-list-folder): Fix.
8805 (elmo-archive-max-of-folder): Fix.
8807 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8809 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8810 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8811 (elmo-localdir-append-msg): Ditto.
8812 (elmo-localdir-list-folder): Fix for `nonsort'.
8813 (elmo-localdir-list-folder-subr): Fix for `killed'.
8814 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8815 (elmo-maildir-list-folder-subr): Ditto.
8816 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8817 (elmo-archive-list-folder-subr): Ditto.
8818 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8819 (elmo-internal-list-folder-subr): Ditto.
8821 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8823 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8825 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8827 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8829 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8831 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8832 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8834 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8836 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8837 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8839 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8841 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8843 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8844 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8845 before STORE command.
8847 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8849 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8851 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8852 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8854 (elmo-imap4-list-folders): Removed unused local variable.
8855 (elmo-network-initialize-session): Ditto.
8856 (elmo-imap4-delete-msg-by-id): Ditto.
8857 (elmo-imap4-parse-fetch): Ditto.
8858 (elmo-imap4-copy-msgs): Ditto.
8859 Use `dst-spec' instead of `dst-folder'.
8860 (elmo-network-authenticate-session): Check authenticate type `plain'.
8862 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8864 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8866 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8867 `elmo-imap4-response-value'.
8868 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8870 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8872 * elmo-imap4.el (elmo-imap4-send-command):
8873 Cause elmo-imap4-bye-error when current response is BYE.
8874 (elmo-imap4-arrival-filter): Changed greeting response value.
8876 * elmo2.el (elmo-imap4-bye-error): Define.
8878 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8879 (elmo-imap4-server-diff): Ditto.
8880 (elmo-imap4-response-bye-p): New macro.
8881 (elmo-imap4-response-error-text): Get text from BYE response.
8882 (elmo-imap4-read-response): Return if BYE response.
8883 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8884 (elmo-imap4-folder-exists-p): Ditto.
8885 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8886 (elmo-imap4-parse-bye): New function.
8887 (elmo-imap4-parse-response): Remove needless let.
8888 Call `elmo-imap4-parse-bye'.
8890 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8892 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8893 the mailbox does not exist.
8894 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8896 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8898 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8900 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8902 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8904 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8905 (elmo-network-initialize-session-buffer): Defined.
8907 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8909 (mmelmo-imap4-get-mime-entity): Rewrite.
8911 * elmo2.el (elmo-error): Capitalize error message.
8913 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8914 (elmo-network-session-buffer): New macro.
8915 (elmo-network-open-session): Use it.
8917 * elmo-imap4.el: Rewrite.
8919 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8921 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8923 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8925 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8926 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8927 (elmo-imap4-create-msgdb-from-overview-string): Use
8928 `elmo-msgdb-create-overview-from-buffer'.
8930 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8932 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8933 (elmo-imap4-default-hierarchy-delimiter): New variable.
8934 (elmo-imap4-list-folders): Use it.
8936 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8938 * elmo-net.el (elmo-network-open-session): Add user and
8939 stream-type for process-buffer name.
8941 * elmo-pop3.el (elmo-network-initialize-session): Call
8942 buffer-disable-undo.
8944 * elmo-imap4.el (elmo-network-initialize-session):
8945 Set current-buffer as an argument for `buffer-disable-undo'.
8947 * elmo-pop3.el (elmo-network-close-session): Don't use
8950 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8951 Set default as 'user.
8953 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8955 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8956 and `elmo-imap4-flush-connection'.
8958 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8959 (elmo-pop3-get-spec): Assume auth as symbol.
8960 (elmo-open-network-stream): Moved to `elmo-net'.
8962 * elmo-pop3.el (toplevel): Require 'elmo-net.
8963 Define `sasl-cram-md5' to silence byte compilier.
8964 (elmo-pop3-connection-cache) Abolished.
8965 (elmo-pop3-authenticator-alist) New variable.
8966 (elmo-pop3-session): Define.
8967 (elmo-pop3-connection-get-process): Abolished.
8968 (elmo-pop3-connection-get-buffer): Ditto.
8969 (elmo-pop3-close-connection): Ditto.
8970 (elmo-pop3-flush-connection): Ditto.
8971 (elmo-pop3-get-connection): Ditto.
8972 (elmo-pop3-get-session): New function.
8973 (Replacement for `elmo-pop3-get-connection').
8974 All other related modules are changed.
8975 (elmo-network-close-session): Define.
8976 (elmo-pop3-send-command): Abolished argument `buffer'.
8977 All other related modules are changed.
8978 (elmo-pop3-read-response): Likewise.
8979 (elmo-pop3-open-connection): Abolished.
8980 (elmo-pop3-auth-user): New function.
8981 (elmo-pop3-auth-apop): Ditto.
8982 (elmo-pop3-auth-cram-md5): Ditto.
8983 (elmo-pop3-auth-scram-md5): Ditto.
8984 (elmo-pop3-auth-digest-md5): Ditto.
8985 (elmo-network-initialize-session): Define.
8986 (elmo-network-authenticate-session): Ditto.
8987 (elmo-network-setup-session): Ditto.
8989 * elmo-imap4.el (toplevel): Require 'elmo-net.
8990 (elmo-imap4-session): Define.
8991 (elmo-imap4-connection-cache): Abolished.
8992 (elmo-imap4-password-key): Ditto.
8993 (elmo-imap4-flush-connection): Ditto.
8994 (elmo-imap4-get-connection): Ditto.
8995 All other related modules are changed.
8996 (elmo-imap4-get-session): New function
8997 (Replacement for `elmo-imap4-get-connection').
8998 (elmo-imap4-read-response): Abolished argument `buffer'.
8999 All other related modules are changed.
9000 (elmo-imap4-send-command): Likewise.
9001 (elmo-imap4-select-folder): Abolished.
9002 All other related modules are changed.
9003 (elmo-imap4-select-mailbox): New function.
9004 (Replacement for `elmo-imap4-select-folder').
9005 (elmo-imap4-auth-login): Simplify.
9006 (Assume current buffer as process buffer)
9007 (elmo-imap4-auth-cram-md5): Ditto.
9008 (elmo-imap4-auth-digest-md5): Ditto.
9009 (elmo-imap4-login): Ditto.
9010 (elmo-imap4-open-connection): Abolished.
9011 (elmo-imap4-open-connection-1): Abolished.
9012 (elmo-network-initialize-sessoin): Define.
9013 (elmo-network-authenticate-session): Ditto.
9014 (elmo-network-setup-session): Ditto.
9016 * elmo-net.el: New module.
9018 2000-08-22 Daiki Ueno <ueno@unixuser.org>
9020 * elmo-util.el (elmo-define-error): New function.
9022 * elmo2.el (elmo-error): Define.
9023 (elmo-open-error): Define.
9024 (elmo-authenticate-error): Define.
9026 * elmo-imap4.el (elmo-imap4-error): Abolish.
9027 (elmo-imap4-error-type): Abolish.
9028 (elmo-imap4-error-process): Abolish.
9029 (elmo-imap4-error-message): Abolish
9030 (elmo-imap4-list-folders): Don't quote lambda.
9031 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9032 (elmo-imap4-parse-namespace): Ditto.
9033 (elmo-imap4-open-connection): Rewrite.
9034 (elmo-imap4-open-connection-1): Simplified (authenticate only).
9035 (elmo-imap4-get-connection): Abolish local variable `result'.
9037 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
9039 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9040 wrong-type-argument error when auth is nil.
9042 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
9044 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9045 (elmo-default-nntp-stream-type): Ditto.
9046 (elmo-default-pop3-stream-type): Ditto.
9047 (elmo-network-stream-type-alist): Ditto.
9048 (elmo-default-imap4-ssl): Abolished.
9049 (elmo-default-nntp-ssl): Ditto.
9050 (elmo-default-pop3-ssl): Ditto.
9052 * elmo-util.el: (toplevel): Removed needless requires.
9053 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9054 (elmo-open-network-stream): Open network stream according to
9055 the value of `elmo-network-stream-type-alist'.
9056 (elmo-get-network-stream-type): New function.
9057 (elmo-network-stream-type-spec-string): New macro.
9058 (elmo-network-stream-type-symbol): Ditto.
9059 (elmo-network-stream-type-function): Ditto.
9061 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9062 network-stream-type. All other related portions are changed.
9063 (elmo-pop3-open-connection): Ditto.
9065 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9066 network-stream-type. All other related portions are changed.
9068 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9069 network-stream-type.All other related portions are changed.
9070 (elmo-imap4-error): New macro.
9071 (elmo-imap4-error-type): Ditto.
9072 (elmo-imap4-error-process): Ditto.
9073 (elmo-imap4-error-message): Ditto.
9074 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9075 (elmo-imap4-auth-cram-md5): Ditto.
9076 (elmo-imap4-auth-digest-md5): Ditto.
9077 (elmo-imap4-login): Ditto.
9078 (elmo-imap4-open-connection): Remove password entry if authentication
9080 (elmo-imap4-user-at-host): Abolished.
9081 (elmo-imap4-password-key): New buffer local variable.
9082 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9083 using protocol, port, auth and stream-type.
9085 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9087 2000-08-13 Daiki Ueno <ueno@unixuser.org>
9089 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9091 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9093 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9094 (elmo-imap4-authenticator-alist): New variable.
9095 (elmo-imap4-open-connection-1): Rename from
9096 elmo-imap4-open-connection.
9097 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9098 only wraps elmo-imap4-open-connection-1.
9099 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9101 (elmo-imap4-auth-login): New function.
9102 (elmo-imap4-auth-cram-md5): New function.
9103 (elmo-imap4-auth-digest-md5): New function.
9104 (elmo-imap4-login): New function.
9106 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9108 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9111 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9113 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9115 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
9117 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9119 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
9121 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9122 for server responses, quote `*' regardless of where it appears.
9124 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9126 * elmo-maildir.el (elmo-maildir-commit): New alias.
9128 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9130 * elmo-util.el (elmo-display-progress):
9131 Use `progress-feedback-with-label'.
9133 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
9135 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9136 (elmo-imap4-non-atom-char-regex): Ditto.
9137 (elmo-imap4-non-text-char-regex): Ditto.
9138 (elmo-imap4-literal-threshold): Ditto.
9139 (elmo-imap4-atom-p): New function.
9140 (elmo-imap4-quotable-p): Ditto.
9141 (elmo-imap4-nil): Ditto.
9142 (elmo-imap4-atom): Ditto.
9143 (elmo-imap4-quoted): Ditto.
9144 (elmo-imap4-literal-subr): Ditto.
9145 (elmo-imap4-literal): Ditto.
9146 (elmo-imap4-buffer-literal): Ditto.
9147 (elmo-imap4-string-subr): Ditto.
9148 (elmo-imap4-string): Ditto.
9149 (elmo-imap4-buffer-string): Ditto.
9150 (elmo-imap4-astring-subr): Ditto.
9151 (elmo-imap4-astring): Ditto.
9152 (elmo-imap4-buffer-astring): Ditto.
9153 (elmo-imap4-nstring): Ditto.
9154 (elmo-imap4-buffer-nstring): Ditto.
9155 (elmo-imap4-mailbox): New alias.
9156 (elmo-imap4-field-body): Ditto.
9157 (elmo-imap4-userid): Ditto.
9158 (elmo-imap4-password): Ditto.
9159 (elmo-imap4-format-quoted): New function.
9160 (elmo-imap4-send-command): Rewritten. Accept a list of command
9161 arguments and handle "atom", "quoted" and "literal" string here.
9162 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9163 `elmo-imap4-send-command'.
9164 (elmo-imap4-folder-exists-p): Likewise.
9165 (elmo-imap4-create-folder): Likewise.
9166 (elmo-imap4-delete-folder): Likewise.
9167 (elmo-imap4-rename-folder): Likewise.
9168 (elmo-imap4-max-of-folder): Likewise.
9169 (elmo-imap4-check-validity): Likewise.
9170 (elmo-imap4-sync-validity): Likewise.
9171 (elmo-imap4-server-diff): Likewise.
9172 (elmo-imap4-select-folder): Likewise.
9173 (elmo-imap4-copy-msgs): Likewise.
9174 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9175 (elmo-imap4-mark-set-on-msgs): Likewise.
9176 (elmo-imap4-read-part): Likewise.
9177 (elmo-imap4-read-msg): Likewise.
9178 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9179 `elmo-imap4-password' for `elmo-imap4-send-command'.
9180 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9181 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9182 `elmo-imap4-buffer-literal'.
9183 (elmo-imap4-append-msg): Likewise.
9185 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9186 `delete' for removing dead connection from the connection cache.
9187 Move deletion of the process buffer after that.
9188 (elmo-imap4-list): Change `defsubst' to `defun'.
9189 (elmo-imap4-commit): Make error message verbose.
9190 (elmo-imap4-search): Ditto.
9191 (elmo-imap4-list): Ditto.
9192 (elmo-imap4-select-folder): Ditto.
9193 (elmo-imap4-copy-msgs): Ditto.
9194 (elmo-imap4-delete-msg-by-id): Ditto.
9195 (elmo-imap4-append-msg-by-id): Ditto.
9196 (elmo-imap4-append-msg): Ditto.
9198 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9200 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9201 when dired is used on XEmacs.
9203 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9205 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9206 instead of `append'.
9207 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9208 `elmo-plugged-p' directly.
9209 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9210 of `elmo-plugged-p' directly.
9212 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9213 Eliminate unused variable. Use `memq' for checking a process status.
9214 Use `cons' instead of `append' for updating the connection cache.
9215 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9216 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9218 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9220 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9221 `elmo-imap4-read-point' exactly.
9223 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9224 the local variable `folder' to `mailbox'.
9225 Rename the argument `fld' to `folder'.
9227 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9229 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9230 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9232 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9234 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9235 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9236 (elmo-pop3-uidl-number-hash): Ditto.
9237 (elmo-pop3-size-hash): Ditto.
9238 (elmo-pop3-uidl-done): Ditto.
9239 (elmo-pop3-list-done): Ditto.
9240 (elmo-pop3-connection-get-process): New defmacro.
9241 (elmo-pop3-connection-get-buffer): Ditto.
9242 (elmo-pop3-close-connection): Delete buffer and process.
9243 (elmo-pop3-flush-connection): Don't delete buffer and process.
9244 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9245 Setup UIDL and size hash.
9246 (elmo-pop3-send-command-no-erase): Deleted
9247 (elmo-pop3-send-command): Added optional argument `no-erase'.
9248 (elmo-pop3-parse-uidl-response): New function.
9249 (elmo-pop3-parse-list-response): Set size hash.
9250 (elmo-pop3-list-location): New function.
9251 (elmo-pop3-list-by-uidl-subr): Ditto.
9252 (elmo-pop3-list-by-list): Ditto.
9253 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9254 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9255 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9256 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9257 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9259 (elmo-pop3-uidl-to-number): New function.
9260 (elmo-pop3-number-to-uidl): Ditto.
9261 (elmo-pop3-number-to-size): Ditto.
9262 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9263 Set number by use of uidl.
9264 (elmo-pop3-msgdb-create-message): Likewise.
9265 Set size, loc-alist in msgdb.
9266 (elmo-pop3-read-msg): Set number by use of uidl.
9267 Added optional argument `msgdb'.
9268 (elmo-pop3-delete-msg): Ditto.
9269 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9270 (elmo-pop3-commit): Close connection.
9272 * elmo-pipe.el (elmo-pipe-max-of-folder):
9273 Bind `elmo-pop3-use-uidl' as nil.
9274 (elmo-pipe-drain): Ditto.
9277 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9278 (elmo-msgdb-overview-entity-set-size): New defsubst.
9280 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9282 * elmo-vars.el (elmo-use-killed-list): New variable
9283 (Renamed from `elmo-nntp-use-killed-list').
9284 (elmo-nntp-use-killed-list): Eliminated.
9286 * elmo-msgdb.el (elmo-msgdb-expand-path):
9287 Changed expanding msgdb path for elmo-multi.
9289 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9290 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9291 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9292 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9293 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9294 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9295 (toplevel): Deleted time-stamp line.
9297 * elmo2.el (elmo-clear-killed ): Defined as function
9298 (Abolished defining as a backend function).
9299 All other related modules are changed.
9301 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9303 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9305 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9307 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9309 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9311 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9313 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9315 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9316 asynchronous folder check.
9318 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9320 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9321 `elmo-nntp-use-killed-list'.
9322 (elmo-nntp-list-folder): Use killed list.
9323 (elmo-nntp-max-of-folder): Ditto.
9324 (elmo-nntp-msgdb-create): Set killed list.
9326 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9328 * elmo2.el (elmo-clear-killed): New backend function.
9329 All other related modules are changed.
9331 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9333 * elmo-util.el (elmo-imap4-spec-folder): Use
9334 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9335 All callers changed.
9337 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9339 * mmelmo-2.el (initialize-instance):
9340 Use `mime-buffer-entity-buffer-internal' instead of
9341 `mime-entity-buffer'.
9343 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9344 (mime-entity-body): Implemented.
9345 (mime-goto-header-start-point): Deleted.
9346 (mime-goto-body-end-point): Ditto.
9347 (mime-entity-point-min): Ditto.
9348 (mime-entity-point-max): Ditto.
9349 (mime-entity-children): Ditto.
9350 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9351 instead of `mime-entity-buffer'.
9352 (mime-entity-header-buffer): Ditto.
9353 (mime-entity-body-buffer): Ditto.
9354 (mime-write-entity-content): Ditto.
9356 * pldap.el (ldap-static-if): New macro.
9357 (toplevel): Use it instead of `static-if'.
9359 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9361 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9362 included in `attrs' argument.
9364 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9366 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9368 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9369 (ldap-ldif-safe-init-char-regexp): Ditto.
9370 (ldap-ldif-safe-string-regexp): Ditto.
9371 (ldap/ldif-safe-string-p): New macro.
9372 (ldap/ldif-insert-field): Ditto.
9373 (ldap-modify): Use it.
9375 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9376 (ldap-decode-attribute): Decode only when `attr' is consp.
9377 (ldap-delete): Bind `ret'.
9378 (toplevel): Require 'cl at compile time.
9379 Removed (require 'poe) and (require 'std11).
9380 (pldap-version): Eliminated.
9381 (ldap-search-basic): Removed auth and dn binding.
9382 (ldap-ldif-field-name-regexp): New constant.
9383 (ldap-ldif-field-head-regexp): Ditto.
9384 (ldap-ldif-next-field-head-regexp): Ditto.
9385 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9386 (ldap/field-end): New function.
9387 (ldap/field-body): Use it.
9388 (ldap/collect-field): Ditto.
9389 (ldap-search-basic): Use `ldap/field-body'.
9391 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9393 * pldap.el (ldap-default-attribute-encoder): New user option.
9394 (ldap/field-body): Decode base64 string.
9395 (ldap/collect-field): Ditto.
9396 (ldap-encode-attribute): New function.
9397 (ldap-add-entries): Use it.
9398 (ldap-modify-entries): Ditto.
9399 (ldap-search-entries): Enclosed decoding function with
9400 `with-temp-buffer' and set as unibyte.
9401 (ldap-search-basic): Set process buffer as unibyte.
9403 * elmo-util.el (elmo-folder-identical-system-p):
9404 Eliminated name space checking.
9406 * pldap.el: New module.
9407 toplevel: Changed condition to detect built-in ldap feature.
9408 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9409 (ldap-add): Added error handling.
9410 (ldap-modify): Ditto.
9411 (ldap-delete): Ditto.
9413 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9415 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9416 Initialize local variables with `let'. Inline a temporary
9417 variable for the progress percentage. Sort `setq' to reduce
9418 function call in the while-loop.
9420 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9421 into the conditional branch.
9423 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9425 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9426 Move a conditional out of the while-loop.
9428 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9430 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9431 elmo-msgdb-overview-get-entity-by-number.
9432 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9435 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9437 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9438 the local variable for a packed number self descriptively.
9440 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9442 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9443 * elmo-localdir.el (elmo-localdir-pack-number): Use
9444 `elmo-msgdb-overview-get-entity' instead of
9445 `elmo-msgdb-overview-get-entity-by-number'.
9446 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9447 (elmo-msgdb-search-overview-entity): Removed.
9448 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9449 by message-id or number.
9450 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9451 instead of `elmo-msgdb-overview-get-entity-by-number'.
9453 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9455 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9456 non-nil, use hash table for overview.
9457 (elmo-hash-maximum-size): New variable.
9458 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9459 (elmo-msgdb-make-overview-hashtb): New function.
9460 (elmo-msgdb-clear-overview-hashtb): New function.
9461 (elmo-clear-hash-val): New macro.
9462 All other related modules are changed.
9464 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9466 * elmo2.el (elmo-move-msgs): If there's other message with
9467 same message-id, don't use cache.
9469 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9471 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9472 number is already packed.
9474 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9476 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9478 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9480 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9481 All other related modules are changed.
9483 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9485 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9486 of refiling failure on Maildir.
9488 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9490 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9491 decoded mime-charset with cache.
9492 (elmo-msgdb-overview-entity-get-from): Ditto.
9493 (elmo-msgdb-overview-entity-get-subject): Ditto.
9494 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9496 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9498 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9499 (elmo-remove-passwd): Fill password with 0 before erase.
9500 * elmo-vars.el (elmo-passwd-life-time): New variable.
9503 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9505 * elmo-cache.el (elmo-buffer-cache-add):
9506 Set message cache buffer as unibyte.
9508 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9510 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9513 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9515 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9516 when display is finished.
9517 (elmo-nntp-msgdb-create): Ditto.
9518 (elmo-nntp-groups-read-response): Ditto.
9519 (elmo-nntp-retrieve-headers): Ditto.
9520 (elmo-nntp-msgdb-create-message): Ditto.
9521 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9522 (elmo-pop3-msgdb-create-message): Ditto.
9524 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9526 * elmo-maildir.el (elmo-maildir-msgdb-create):
9527 Use `elmo-msgdb-sort-by-date'.
9529 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9531 * elmo2.el (elmo-read-msg-no-cache):
9532 Eliminated arguments after `outbuf'.
9533 Don't use cache even if it exists.
9534 (elmo-read-msg): Don't pass arguments after `outbuf' to
9535 `elmo-read-msg-no-cache'.
9537 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9539 * elmo-archive.el (elmo-archive-list-folders):
9540 Use `file-name-directory' if base folder does not exist.
9542 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9544 * elmo-archive.el (elmo-archive-list-folders): Don't use
9545 `file-name-directory'.
9547 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9549 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9550 If `force' is non-nil, try flushing all operation queues.
9552 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9554 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9557 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9559 * elmo-util.el (elmo-display-progress): Fixed.
9561 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9563 * elmo-util.el (elmo-display-progress): New function.
9564 All other related modules are changed.