1 2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
3 * pldap.el (ldap/ldif-safe-string-p): macro to function.
4 * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
6 * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
7 `mapcar'; Suppress compile warning.
8 * elmo-imap4.el (elmo-network-initialize-session-buffer)
9 (elmo-imap4-search-internal-primitive): Ditto.
10 * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
11 * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
13 * elmo-imap4.el (elmo-imap4-parse-address-list)
14 (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
15 (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
16 (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
17 `(string-to-char " ")' instead of `? ', `?\ '.
19 2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
21 * pldap.el (ldap-search-entries): Don't use `function' for lambda.
22 (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
23 (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
24 `function' for lambda.
26 * modb-standard.el (modb-standard-cleanup-stale-entities): Use
27 `string-to-number' instead of `string-to-int'.
29 * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
30 instead of `save-excursion' (for suppress compile warnings).
31 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
32 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
33 (elmo-nntp-post): Ditto.
35 2009-08-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
37 * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
39 (utf7-utf-16-coding-system): Change preference when Mule-UCS on
42 2009-07-11 Taiki SUGAWARA <buzz.taiki@gmail.com>
44 * utf7.el (utf7-find-coding-system-without-bom): New Function.
45 (utf7-utf-16-coding-system): use no-BOM coding system.
46 (utf7-get-u16char-converter): remove workaround for BOM.
48 2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
50 * elmo-util.el (elmo-union): New function, make a union of two lists.
52 * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
53 mime-view when displaying malformed base64 attach.
55 * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
56 (removed duplicated code)
58 * modb-standard.el (modb-standard-cleanup-stale-entities): New
59 function, Remove stale entities from elmo's cache.
61 2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
63 * elmo-version.el (elmo-version): Up to 2.15.7.
65 2009-03-22 Tetsurou Okazaki <okazaki@be.to>
67 * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
68 default value to `--auto-update'.
70 2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
72 * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
73 Add `elmo-pop3-read-point' barrier.
75 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
77 * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
78 goto the previous end-point insead of the head-point, and use
79 `search-forward' instead of `re-search-forward'.
81 2008-06-30 Tetsurou Okazaki <okazaki@be.to>
83 * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
85 2008-06-30 Don Bashford <Don.Bashford@stjude.org>
87 * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
88 case-insensitive fashion.
90 2008-03-30 Tetsurou Okazaki <okazaki@be.to>
92 * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
94 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
96 * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
97 `eval-and-compile' for suppress compile warnings.
99 * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
100 instead of `defun-maybe'
102 * elmo-util.el: Add (eval-when-compile (require 'static)).
104 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
106 * mmimap.el: Remove (require 'static).
109 * elmo-flag.el: Move ';;; Code:' comment.
110 * elmo-imap4.el: Ditto.
111 * elmo-net.el: Ditto.
113 * elmo-version.el (product-provide): Fix comment.
115 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
117 * slp.el: Add (eval-when-compile (require 'cl)).
118 * elmo-date.el: Ditto.
119 * elmo-pop3.el: Ditto.
120 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
122 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
124 * modb.el (elmo-msgdb-match-condition-primitive): Use
125 `string-to-number' instead of `string-to-int'.
127 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
128 (elmo-msgdb-message-match-condition)
129 (elmo-msgdb-create-message-entity-from-buffer): Use
130 `string-to-number' instead of `string-to-int'.
132 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
133 instead of `string-to-int'.
135 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
136 instead of `string-to-int'.
138 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
139 `string-to-number' instead of `string-to-int'.
141 * elmo-nntp.el (elmo-nntp-make-msglist)
142 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
143 (elmo-nntp-create-msgdb-from-overview-string)
144 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
145 (elmo-nntp-search-primitive): Use `string-to-number' instead of
148 * elmo-net.el (elmo-net-folder-set-parameters): Use
149 `string-to-number' instead of `string-to-int'.
151 * elmo-localdir.el (elmo-localdir-list-subr): Use
152 `string-to-number' instead of `string-to-int'.
154 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
155 `string-to-number' instead of `string-to-int'.
157 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
158 instead of `string-to-int'.
160 * elmo-archive.el (elmo-archive-list-folder-subr): Use
161 `string-to-number' instead of `string-to-int'.
163 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
165 * elmo-util.el (elmo-get-passwd): Fix typo.
167 * elmo-nntp.el (elmo-nntp-get-server-command)
168 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
169 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
170 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
171 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
173 * elmo-imap4.el (elmo-imap4-debug)
174 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
175 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
176 (elmo-imap4-response-value, elmo-imap4-response-error-text)
177 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
178 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
179 (elmo-imap4-identical-system-p): New backquote style.
181 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
183 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
184 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
185 (elmo-dop-queue-arguments): Ditto.
187 * elmo-date.el (elmo-match-substring): New backquote style.
188 (elmo-match-string, elmo-match-buffer): Ditto.
189 (elmo-date-make-sortable-string): Ditto.
191 * elmo-archive.el (elmo-archive-get-method):New backquote style.
192 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
194 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
197 * elmo-net.el (elmo-network-stream-type-spec-string): New
199 (elmo-network-stream-type-symbol): Ditto.
200 (elmo-network-stream-type-feature): Ditto.
201 (elmo-network-stream-type-function): Ditto.
202 (elmo-network-session-buffer): Ditto.
204 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
205 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
206 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
207 (elmo-bind-directory, elmo-set-work-buf): Ditto.
209 * elmo.el (elmo-folder-send): New backquote style.
211 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
213 * pldap.el (ldap-static-if): New backquote style.
214 (ldap/ldif-safe-string-p): Ditto.
215 (ldap/ldif-insert-field): Ditto.
217 * elmo-version.el (elmo-version): Up to 2.15.6.
219 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
221 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
222 messages with \Deleted flag.
223 (elmo-folder-delete-messages-plugged): Ask before sending expunge
224 command if there are messages with \Deleted flag.
226 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
228 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
229 http://seclists.org/bugtraq/2007/Apr/0018.html
230 (Suggested by Tatsuya Kinoshita)
232 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
234 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
235 with \Noselect attribute.
237 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
239 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
240 hierarchical folder structure with UW-imapd.
242 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
244 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
245 when the LOGINDISABLED capability is advertised.
247 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
249 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
251 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
253 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
255 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
256 if the message entity is exists.
258 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
260 * elmo-util.el (elmo-msgdb-insert-file-header): Call
261 `elmo-delete-cr-buffer'.
263 * elmo-localdir.el (elmo-message-fetch-internal): Use
264 `insert-file-contents-as-raw-text' instead of
265 `insert-file-contents-as-binary'.
267 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
269 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
271 * elmo-imap4.el (elmo-network-initialize-session): Check to
272 retrieve a whole greeting message.
274 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
276 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
278 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
280 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
281 (elmo-progress-notify): Use it instead of `plist-get'.
283 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
285 * elmo.el (elmo-generic-folder-append-messages): Remove unused
288 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
290 * elmo-pipe.el (elmo-folder-set-plugged): Define.
292 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
294 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
295 (elmo-spam-list-spam-messages): Check it option.
297 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
299 * elmo-util.el (elmo-with-progress-display): Return the value
300 of the last form in `body'.
302 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
304 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
305 `elmo-progress-counter' as t when a query callback returns nil.
306 (elmo-progress-clear): New function.
307 (elmo-progress-done): Split into `elmo-progress-clear'.
308 (elmo-progress-notify): Update a total slot when it is nil.
309 (elmo-with-progress-display): Call `elmo-progress-clear' in
310 unwind-protect and move calling `elmo-progress-done' to outside.
312 * elmo-imap4.el (elmo-imap4-find-next-line): Call
313 `elmo-progress-notify' with :total parameter instead of
314 `elmo-progress-counter-set-total'.
316 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
318 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
320 (elmo-progress-start): Avoid updating `elmo-progress-counter'
321 when a query callback returns nil. Return a progress counter
322 instead of t whenever a start callback was called.
324 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
326 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
327 (elmo-imap4-send-command): Use it.
328 (elmo-network-initialize-session): Ditto.
329 (elmo-network-setup-session): Ditto.
330 (elmo-folder-msgdb-create-plugged): Ditto.
332 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
334 * elmo-util.el (elmo-progress-done): Fix a miss refer to
335 `elmo-progress-counter'.
337 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
339 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
340 (elsp-bsfilter-list-spam-filter): New function.
341 (elsp-bsfilter-start-list-spam): Ditto.
342 (elsp-bsfilter-read-list-spam): Ditto.
343 (elmo-spam-list-spam-messages): Use async process to display
344 progress message by each message.
346 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
348 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
349 of flushing previously inserted message contents.
351 * elmo-imap4.el (elmo-folder-search): Fix return value.
353 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
355 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
356 of reporter is enable or not.
358 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
360 * elmo-util.el (elmo-list-bigger-diff): Abolish.
361 (elmo-display-progress): Ditto.
362 (elmo-progress-counter-alist): Ditto.
363 (elmo-progress-set): Ditto.
364 (elmo-progress-clear): Ditto.
365 (elmo-progress-counter-all-value): Rename to
366 `elmo-progress-counter-total'.
367 (elmo-progress-counter-format): Rename to
368 `elmo-progress-counter-action'.
369 (elmo-progress-counter): New internal variable.
370 (elmo-progress-callback-function): Ditto.
371 (elmo-progress-counter-label): New function.
372 (elmo-progress-counter-set-total): Ditto.
373 (elmo-progress-counter-set-action): Ditto.
374 (elmo-progress-call-callback): Ditto.
375 (elmo-progress-start): Ditto.
376 (elmo-progress-done): Ditto.
377 (elmo-progress-notify): Rewrite.
378 (elmo-with-progress-display): Remove first argument
379 `condition'. Add optional argument `var' in `spec'.
381 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
382 (elmo-display-retrieval-progress-threshold): Ditto.
383 (elmo-inhibit-display-retrieval-progress): Ditto.
385 * Replace all pair of `elmo-progress-set' and
386 `elmo-progress-clear' into `elmo-with-progress-display'.
388 * Replace to call `elmo-display-progress' into pair of
389 `elmo-progress-notify' and `elmo-with-progress-display'.
391 * elmo-version.el (elmo-version): Up to 2.15.5.
393 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
395 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
398 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
400 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
401 cleanup-forms [wl:14027].
403 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
405 * elmo-flag.el (elmo-global-flag-set-internal): Use
406 `elmo-copy-file' by priority when the message is a file.
408 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
410 * elmo.el: Fix typo: disptch -> dispatch.
412 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
414 * elmo.el (elmo-file-tag): New class.
415 (elmo-append-messages-disptch-table): New constant.
416 (elmo-folder-type-p): New function.
417 (elmo-folder-append-messages): Redefine as function.
419 * elmo-null.el (elmo-folder-append-messages): Renamed from
420 `elmo-folder-append-messages'.
422 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
423 (elmo-folder-append-messages-*-maildir): Renamed from
424 `elmo-folder-append-messages'.
426 * elmo-localdir.el (elmo-localdir-folder): Inherit
428 (elmo-folder-append-messages-*-localdir): Renamed from
429 `elmo-folder-append-messages'.
431 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
432 from `elmo-folder-append-messages'.
434 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
435 `elmo-folder-append-messages'.
437 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
439 (elmo-folder-append-messages-*-filter): Ditto.
441 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
443 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
444 (elmo-folder-append-messages-*-pipe): Renamed from
445 `elmo-folder-append-messages'.
447 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
449 * elmo-file.el (elmo-file-folder): Ditto.
451 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
453 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
454 from `elmo-folder-append-messages'
456 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
458 * elmo-map.el (elmo-location-map-setup): Change an argument
459 `locations' to optional.
460 (elmo-location-map-clear): Abolish.
461 (elmo-folder-clear): Follow the API change.
463 * elmo-pop3.el (elmo-folder-clear): Ditto.
465 * elmo-pop3.el (toplevel): Require elmo-map.
466 (elmo-pop3-folder): Inherit elmo-location-map and abolish
467 location-alist slot (All other related portions are changed).
468 (elmo-pop3-folder-use-uidl): New function.
469 (elmo-folder-msgdb-create): Don't sort message entities.
470 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
471 (elmo-pop3-number-to-size): Convert return value to number.
472 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
475 * elmo-map.el: Use `location-map' as a variable name for instance
477 (elmo-location-map-setup): Return location alist.
478 (elmo-location-map-update): Ditto.
480 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
482 * elmo-map.el (elmo-location-map): New class; split location and
483 number mapping from elmo-map-folder (All other related portions
486 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
489 * elmo-version.el (elmo-version): Up to 2.15.4.
491 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
493 * elmo-vars.el (elmo-use-hardlink): New user option.
495 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
498 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
500 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
501 instead of `*-internal'. Use `elmo-with-progress-display'.
503 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
505 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
506 `elmo-spam-process-messages-as-mbox'.
508 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
510 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
512 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
513 argument BUFFER of `call-process'.
515 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
517 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
519 (elsp-bsfilter-list-spam-files): Ditto.
521 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
523 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
524 (elmo-spam-bsfilter-max-messages-per-process): New use option.
525 (elmo-spam-bsfilter-debug): Fix a group.
526 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
528 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
529 (elsp-bsfilter-list-spam-files): New function.
530 (elmo-spam-list-spam-messages): Define.
531 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
532 (elmo-spam-bsfilter-register-messages): New function.
533 (elmo-spam-register-spam-messages): Define.
534 (elmo-spam-register-good-messages): Ditto.
536 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
538 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
541 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
543 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
544 hash table to test whether a location is exists.
546 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
548 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
549 even if some error occurred.
551 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
552 meaningless unwind-protect.
554 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
555 start-number correctly.
556 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
557 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
559 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
561 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
562 (elmo-folder-initialize): Use it.
563 (elmo-global-flag-replace-referrer): New function.
565 * elmo.el (toplevel): Added autoload setting for
566 `elmo-global-flag-replace-referrer'.
567 (elmo-folder-rename): Rewrite the last change use
568 `elmo-global-flag-replace-referrer'.
570 * elmo-pipe.el (elmo-folder-rename): Call
571 `elmo-global-flag-replace-referrer'.
573 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
575 * elmo.el (elmo-folder-rename): Set meta data for global flags
578 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
580 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
582 (elmo-folder-close): Ditto.
583 (elmo-filter-folder-number-list-loaded-p): New function.
584 (elmo-filter-folder-number-list): Check whether loaded or not.
585 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
586 of `elmo-filter-folder-number-list-internal'.
587 (elmo-folder-delete-messages): Ditto.
588 (elmo-folder-length): Check whether number-list is loaded or not.
590 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
592 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
593 field `real field' into each element of list.
594 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
595 (elmo-msgdb-message-entity-field): Ditto.
596 (modb-entity-ml-info-real-fields): New function.
598 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
600 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
601 `elmo-msgdb-extra-fields'.
603 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
605 * elmo-util.el (elmo-passwd-alist-load): Move point to min
606 position before read.
608 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
610 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
611 (elmo-global-flags-initialize): Ditto.
613 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
615 * elmo-archive.el (toplevel): Don't require emu, std11
618 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
621 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
623 * elmo.el (elmo-folder-confirm-appends): Display folder name.
625 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
627 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
630 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
632 * elmo-maildir.el (elmo-maildir-list-location): Reduce
633 `elmo-get-last-modification-time' call.
635 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
637 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
639 (elmo-maildir-set-mark): Ditto.
640 (elmo-maildir-delete-mark): Ditto.
642 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
644 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
645 optional argument `separators'.
647 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
649 * elmo.el (cache-changed): Abolish.
650 (status-changed): New signal.
651 (elmo-message-killed-p): New generic function and define for
653 (elmo-folder-recover-messages): Ditto.
654 (elmo-message-set-cached): Emit signal `status-changed' instead of
656 (elmo-message-status): New macro.
657 (elmo-message-status-folder): Ditto.
658 (elmo-message-status-number): Ditto.
659 (elmo-message-status-set-flags): Ditto.
660 (elmo-message-status-set-killed): Ditto.
661 (elmo-message-status-flags): New function.
662 (elmo-message-status-cached-p): Ditto.
663 (elmo-message-status-killed-p): Ditto.
665 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
666 `status-changed' instead of `cache-changed'.
667 (elmo-folder-recover-messages): Define.
668 (elmo-message-killed-p): Ditto.
670 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
671 `status-changed' instead of `cache-changed'.
673 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
674 (elmo-message-killed-p): Define.
675 (elmo-folder-recover-messages): Ditto.
677 * elmo-version.el (elmo-version): Up to 2.15.3.
679 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
681 * elmo-signal.el (elmo-signal-bindings): Use cons to append
683 (elmo-define-signal-handler): Add docstring.
684 (elmo-define-signal-filter): Ditto.
686 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
688 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
690 * elmo-util.el (elmo-flatten): Don't use recursive call.
692 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
694 (elmo-folder-message-make-temp-files): Use `number-to-string'
695 instead of `int-to-string'.
697 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
699 * elmo-search.el (elmo-folder-delete-messages): Define.
701 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
703 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
705 (elmo-mailing-list-count-spec-list): Ditto.
707 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
710 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
712 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
715 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
717 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
718 (elmo-mailing-list-count-spec-list): Ditto.
720 * elmo-util.el (elmo-map-until-success): New function.
721 (elmo-string-match-substring): Ditto.
722 (elmo-find-list-match-value): Ditto.
724 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
726 (modb-entity-extract-ml-info-from-subject): Ditto.
727 (modb-entity-extract-ml-info-from-return-path): Ditto.
728 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
729 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
730 (modb-entity-extract-ml-info-from-mailman): Ditto.
731 (modb-entity-extract-mailing-list-info-functions): Ditto.
732 (modb-entity-extract-mailing-list-info): Rewrite with
733 `elmo-find-list-match-value'.
735 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
737 * elmo-net.el (elmo-network-session-retry-count): New user option.
738 (elmo-network-session-buffer-name): New internal function.
739 (elmo-network-session-buffer-create): Ditto.
740 (elmo-network-open-session): Retry open network session
741 `elmo-network-session-retry-count' times.
743 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
745 * elmo-util.el (elmo-list-filter): Rewritten.
747 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
749 * elmo-util.el (elmo-string-member): Allow symbol element in list.
751 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
753 * elmo-search.el (elmo-make-search-engine): Use prefix
754 `elmo-search-' for require symbol instead of `else-'.
755 (elmo-search-engine-extprog): New class.
756 (elmo-search-engine-do-search): Remove nil from argument
757 list. Added argument pattern to evaluate element as function.
758 (elmo-search-engine-local-file): Derived from
759 `elmo-search-engine-extprog'.
760 (elmo-search-engine-create-message-entity): Check existance of file.
761 (elmo-search-engine-fetch-message): Ditto.
762 (elmo-search-namazu-index): Follow the API change.
763 (elmo-search-grep-target): Ditto.
765 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
767 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
768 characters of working buffer.
770 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
771 Does not bind `default-mime-charset'.
772 (elmo-msgdb-create-message-entity-from-buffer): Removed
773 unnecessary local bind.
775 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
777 (modb-entity-extract-mailing-list-info-functions): Added it.
779 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
781 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
782 when number and message-id are non-nil.
784 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
786 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
787 conditional steatment.
788 (elmo-pop3-auth-apop): Likewise.
789 (elmo-network-authenticate-session): Likewise.
791 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
793 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
794 symbol `fill-column'.
795 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
798 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
799 (elmo-decoded-field-body): Ditto.
801 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
803 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
804 `tokens' to `params'.
806 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
808 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
811 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
813 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
816 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
818 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
819 Set default value as nil.
820 (toplevel): Register search engines by
821 `elmo-search-register-engine' if there are not defined.
823 * elmo.el (autoload): Added autoload setting for
824 `elmo-search-register-engine'.
826 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
828 * elmo.el (toplevel): `[' is redefined as the prefix of the search
829 folder instead of nmz folder.
830 (elmo-nmz-default-index-path): Added obsolete variable setting.
831 (elmo-nmz-index-alias-alist): Ditto.
832 (elmo-nmz-use-drive-letter): Ditto.
834 * elmo-search.el (elmo-search-register-engine): New function.
836 * elmo-nmz.el: Removed.
838 * elmo-version.el (elmo-version): Up to 2.15.2.
840 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
842 * elmo-search.el: New file.
844 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
846 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
847 condition `larger' and `smaller'.
849 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
851 * elmo-util.el (elmo-safe-filename): Rewrite to replace
852 `"' (double quote) into "_Q_".
854 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
856 * elmo-net.el (elmo-net-quote-chars): Abolish.
857 (elmo-net-format-quoted): Ditto.
859 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
861 * elmo.el (elmo-get-folder-function): New variable.
862 (elmo-get-folder): New function.
863 (elmo-folder-rename): Call `elmo-make-folder' with specified
866 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
868 (elmo-split-subr): Ditto.
870 * elmo-multi.el (elmo-folder-initialize): Ditto.
872 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
874 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
875 (elmo-flag-get-folder): Ditto.
877 * elmo-filter.el (elmo-folder-initialize): Ditto.
879 * elmo-access.el (elmo-folder-initialize): Ditto.
880 (elmo-access-folder-update-children): Ditto.
882 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
883 (elmo-dop-queue-flush): Ditto.
884 (elmo-folder-append-buffer-dop-delayed): Ditto.
885 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
888 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
889 instead of `elmo-make-folder'.
890 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
891 destination folder instead of send `elmo-folder-rename-internal'.
893 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
894 slot of subfolder instead of create it.
896 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
898 * elmo-util.el (elmo-collect-separators): New function.
899 (elmo-collect-separators-internal): Ditto.
900 (elmo-collect-trail-separators): Ditto.
901 (elmo-parse-separated-tokens): Ditto.
902 (elmo-parse-separated-tokens-internal): Ditto.
903 (elmo-quote-syntactical-element): Ditto.
905 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
906 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
908 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
909 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
910 (elmo-nntp-folder-list-subfolders): Quote a user name.
912 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
913 (elmo-net-parse-network): Abolish.
914 (elmo-net-folder-set-parameters): New function.
915 (elmo-folder-initialize): Follow the above change.
917 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
918 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
919 (elmo-folder-list-subfolders): Use
920 `elmo-quote-syntactical-element' instead of
921 `elmo-net-format-quoted' to quote mailbox and user name.
923 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
925 * elmo-util.el (elmo-token-valid-p): New function.
926 (elmo-parse-token): Add optional argument `requirement'.
927 (elmo-parse-prefixed-element): Likewise.
929 * elmo-net.el (elmo-net-quote-chars): Renamed from
930 `elmo-net-quote-chars-regexp'.
931 (elmo-net-format-quoted): Add optional argument `extra-chars'.
933 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
934 by info document. Check token `uidl' is started an alphabet.
936 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
937 by info document. Check token `user' is started an alphabet.
939 * elmo-imap4.el (elmo-folder-initialize): Ditto.
940 (elmo-folder-list-subfolders): Quote user.
942 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
944 * elmo-util.el (elmo-quoted-specials-list): New constant.
945 (elmo-quoted-token): New function.
947 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
948 (elmo-net-format-quoted): New function.
949 (elmo-net-parse-network): Ditto.
950 (elmo-folder-initialize): Use it.
952 * elmo-nntp.el (elmo-folder-initialize): Use
953 `elmo-net-parse-network' to parse network specification instead of
954 `elmo-folder-initialize#elmo-net'.
956 * elmo-pop3.el (elmo-folder-initialize): Ditto.
958 * elmo-imap4.el (elmo-folder-initialize): Ditto.
959 (elmo-folder-list-subfolders): Quote folder name by
960 `elmo-net-format-quoted'.
962 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
964 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
965 (elmo-folder-search): Use it.
967 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
969 * modb-standard.el (modb-standard-loaded-message-id): Use
970 `elmo-msgdb-message-entity-field'.
972 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
974 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
977 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
979 * elmo-util.el (elmo-set-auto-coding): New function.
980 (elmo-object-load): Use it.
982 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
984 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
985 (elmo-time<): Define as alias of `elmo-time-less-p'.
986 (elmo-time-to-datevec): New function.
988 * elmo-date.el (elmo-time-to-days): New function.
990 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
992 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
995 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
997 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1000 * elmo-util.el (elmo-map-recursive): New function.
1002 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1003 (modb-entity-encode-string-recursive): Ditto.
1005 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
1007 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1008 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1009 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1010 compare sequence number when last modified time is nil.
1012 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1014 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1016 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1018 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
1020 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1021 modification time of the file.
1023 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1025 * elmo-util.el (elmo-condition-optimize): Discriminated against
1026 preserved fields, extra fields and the other weight.
1028 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1030 * modb-entity.el (initialize-instance): Define.
1031 (modb-entity-handler-mime-charset): New internal function.
1032 (modb-standard-entity-set-field): Use it.
1033 (elmo-msgdb-message-entity-field): Ditto.
1034 (elmo-msgdb-message-entity-field): Ditto.
1036 * modb.el (elmo-msgdb-match-condition): Rewrite with
1037 `elmo-condition-match'.
1038 (elmo-msgdb-match-condition-primitive): New function.
1040 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1041 arguments `flags' and `numbers'.
1042 (elmo-msgdb-match-condition-primitive): Abolished (merged to
1043 `elmo-msgdb-message-match-condition').
1044 (modb-buffer-entity-handler): New class.
1046 * elmo.el (elmo-folder-search): Optimize condition to use
1047 `elmo-condition-optimize'.
1048 (elmo-message-buffer-match-condition): New function.
1049 (elmo-message-match-condition): Use
1050 `elmo-message-buffer-match-condition' instead of
1051 `elmo-buffer-field-condition-match'.
1053 * elmo-util.el (elmo-condition-match): New function.
1054 (elmo-condition-optimize): Ditto.
1055 (elmo-buffer-field-primitive-condition-match): Abolish.
1056 (elmo-buffer-field-condition-match): Ditto.
1058 * elmo-archive.el (elmo-archive-field-condition-match): Use
1059 `elmo-message-buffer-match-condition' instead of
1060 `elmo-buffer-field-condition-match'.
1062 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1064 * elmo-flag.el (elmo-global-flags-initialize): Check the
1065 existence of the flag directory.
1067 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1069 * elmo-access.el (elmo-folder-initialize): Call
1070 `elmo-multi-connect-signals'.
1072 * elmo-pipe.el (elmo-folder-close): Define.
1074 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1077 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1080 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1083 * elmo-multi.el (elmo-message-entity): Don't use return value of
1084 `elmo-message-entity-set-number'.
1086 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1088 * modb.el (modb-generic): Added slot `mime-charset'.
1090 * modb-standard.el (modb-standard): Added slot `overview-handler'.
1091 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1092 and `modb-entity-handler-dump-parameters'.
1093 (modb-standard-default-entity-handler): Abolish.
1094 (elmo-msgdb-message-entity-handler): Save created handler by
1097 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1098 (modb-entity-handler-list-parameters): New method.
1099 (modb-entity-handler-equal-p): New function.
1100 (modb-entity-handler-dump-parameters): Ditto.
1101 (modb-entity-parse-address-string): Encode return value.
1102 (modb-entity-make-address-string): Decode argument value.
1103 (modb-entity-decode-string-recursive): New function.
1104 (modb-entity-encode-string-recursive): Ditto.
1105 (modb-standard-entity-normalizer): Set to encode field value.
1106 (modb-standard-entity-specializer): Follow the above change.
1107 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1108 mime-charset of handler.
1109 (elmo-msgdb-message-entity-field): Ditto.
1110 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1112 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1114 * elmo.el (elmo-folder): Added slot `mime-charset'.
1115 (elmo-make-folder): Added argument `mime-charset'.
1116 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1119 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1120 (elmo-make-msgdb): Likewise.
1122 * elmo-internal.el (elmo-internal-folder-initialize): Call
1123 `luna-make-entity' with :mime-charset parameter.
1125 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1127 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1128 encoded words in `from' and `subject' field.
1130 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1132 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1133 (elmo-msgdb-match-condition): Get handler from entity instead of
1136 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1137 (modb-standard-load-entity): Treat new file format.
1138 (modb-standard-save-entity-1): Save as new file format.
1139 (modb-standard-save-entity): Split messages into section here.
1140 (elmo-msgdb-message-field): Follow the API change.
1141 (modb-standard-default-entity-handler): New internal variable.
1142 (elmo-msgdb-message-entity-handler): Define.
1144 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1146 (modb-entity-field-extractor-alist): New user option.
1147 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1148 added argument `type'.
1149 (elmo-msgdb-copy-message-entity): Add optional argument
1151 (modb-set-field-converter): New function.
1152 (modb-convert-field-value): Ditto.
1153 (modb-entity-string-decoder): Ditto.
1154 (modb-entity-string-encoder): Ditto.
1155 (modb-entity-parse-date-string): Ditto.
1156 (modb-entity-make-date-string): Ditto.
1157 (modb-entity-mime-decoder): Ditto.
1158 (modb-entity-mime-encoder): Ditto.
1159 (modb-entity-address-list-decoder): Ditto.
1160 (modb-entity-address-list-encoder): Ditto.
1161 (modb-entity-parse-address-string): Ditto.
1162 (modb-entity-make-address-string): Ditto.
1163 (modb-entity-create-field-indices): Ditto.
1164 (modb-legacy-entity-field-slots): New constant.
1165 (modb-legacy-entity-field-indices): Ditto.
1166 (modb-legacy-entity-normalizer): New variable.
1167 (modb-legacy-entity-specializer): Ditto.
1168 (modb-legacy-entity-field-index): New macro.
1169 (modb-legacy-entity-set-field): New function.
1170 (modb-legacy-make-message-entity): Rewrite.
1171 (elmo-msgdb-create-message-entity-from-buffer): Use
1172 `elmo-msgdb-get-references-from-buffer'. Use
1173 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1174 Use `modb-legacy-entity-set-field' instead of
1175 `elmo-msgdb-message-entity-set-field'.
1176 (elmo-msgdb-message-entity-field): Rewrite.
1177 (elmo-msgdb-message-entity-set-field): Ditto.
1178 (elmo-msgdb-copy-message-entity): Make new entity by
1179 `make-handler' if it specified.
1180 (elmo-msgdb-message-match-condition): Define a method of
1181 `modb-entity-handler' and follow the API change.
1182 (modb-standard-entity-handler): New class.
1183 (modb-entity-extract-ml-info-from-x-sequence): New function.
1184 (modb-entity-extract-ml-info-from-subject): Ditto.
1185 (modb-entity-extract-ml-info-from-return-path): Ditto.
1186 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1187 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1188 (modb-entity-extract-mailing-list-info): Ditto.
1189 (modb-entity-extract-mailing-list-info-functions): New variable.
1191 * elmo.el (elmo-message-field): Add optional argument `type'.
1193 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1194 from `modb-entity.el'.
1196 * elmo-util.el (elmo-object-load): Decode by coding-system from
1197 `set-auto-coding-function'.
1198 (elmo-object-save): Use `detect-mime-charset-region' and add
1199 coding cookie if encode.
1200 (elmo-msgdb-get-references-from-buffer): New function.
1201 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1203 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1205 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1206 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1207 instead of `shimbun-make-header' and follow the API change.
1208 (elmo-shimbun-update-overview): Follow the API change.
1209 (elmo-map-folder-list-message-locations): Ditto.
1211 * elmo-pipe.el (elmo-message-field): Ditto.
1213 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1216 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1218 * elmo-multi.el (elmo-message-field): Ditto.
1220 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1221 (elmo-msgdb-sort-by-date): Ditto.
1222 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1223 `elmo-message-entity-field'.
1224 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1226 (elmo-msgdb-overview-entity-get-from): Ditto.
1227 (elmo-msgdb-overview-entity-get-subject): Ditto.
1228 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1229 (elmo-msgdb-overview-entity-get-date): Ditto.
1230 (elmo-msgdb-overview-entity-get-to): Ditto.
1231 (elmo-msgdb-overview-entity-get-cc): Ditto.
1233 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1234 (elmo-mime-collect-message/partial-pieces): Ditto.
1236 * elmo-filter.el (elmo-message-field): Ditto.
1238 * elmo-date.el (elmo-datevec-to-time): New function.
1239 (elmo-time-parse-date-string): Ditto.
1240 (elmo-time-make-date-string): Ditto.
1241 (elmo-time<): Ditto.
1243 * elmo-version.el (elmo-version): Up to 2.15.1.
1245 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1247 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1248 member of elmo-local-flags.
1250 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1252 * elmo-version.el (elmo-version): Up to 2.15.0.
1254 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1256 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1257 `ignore-msgdb' is non-nil.
1259 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1261 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1262 (elmo-condition-in-msgdb-p): Ditto.
1263 (elmo-file-field-primitive-condition-match): Ditto.
1264 (elmo-file-field-condition-match): Ditto.
1266 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1268 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1270 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1271 subdirectories here.
1272 (elmo-global-flags-initialize): New function.
1274 * elmo.el (toplevel): Added autoload setting for
1275 `elmo-global-flags-initialize'.
1277 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1279 * elmo.el (message-number-changed): Define new signal.
1280 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1281 message-number-changed signal.
1282 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1283 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1284 Respect `elmo-pack-number-check-strict'.
1286 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1288 * elmo-signal.el (elmo-connect-signal): Document.
1289 (elmo-emit-signal): Ditto.
1290 (elmo-emit-signal): It should pass source argument to filter and
1291 handler, not slot-source.
1293 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1295 * modb.el (elmo-msgdb-update-entity): New API and define generic
1298 * modb-standard.el (elmo-msgdb-update-entity): Define.
1300 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1301 API and define generic implement.
1303 * elmo.el (update-overview): New singnal.
1305 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1306 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1307 (elmo-message-entity-parent): Define.
1309 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1312 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1314 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1316 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1318 * elmo.el (elmo-folder-synchronize): Sort the return value of
1321 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1324 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1326 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1327 `default-enable-multibyte-characters'.
1328 (elmo-object-load): Use `with-temp-buffer' instead of
1329 `elmo-set-work-buf'.
1330 (elmo-object-save): Ditto.
1331 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1332 `elmo-set-work-buf'.
1333 (elmo-decoded-field-body): Ditto.
1335 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1337 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1338 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1340 * elmo-version.el (elmo-version): Up to 2.13.3.
1342 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1344 * elmo-util.el (elmo-list-diff): Fix the last change.
1345 Reverse order of result lists.
1347 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1349 * modb-standard.el (elmo-msgdb-set-flag): Use
1350 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1351 (elmo-msgdb-unset-flag): Ditto.
1353 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1356 * elmo-util.el (elmo-list-diff): Rewrite.
1357 (elmo-list-diff-nonsortable): New function.
1359 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1361 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1362 `elmo-multibypte-buffer-name'. All referers are updated.
1364 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1366 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1367 (elmo-mime-entity-fragment-p): New function.
1368 (mime-elmo-buffer-entity): Added slot `reassembled'.
1369 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1370 (elmo-message-mime-entity-internal): New function (renamed from
1371 `elmo-message-mime-entity').
1372 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1373 (elmo-mime-make-reassembled-mime-entity): New function.
1374 (elmo-message-reassembled-mime-entity): Ditto.
1375 (elmo-mime-collect-message/partial-pieces): Ditto.
1377 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1379 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1381 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1382 (elmo-with-enable-multibyte): New macro.
1384 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1386 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1388 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1390 (elmo-filter-connect-signals): Follow the above change.
1392 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1394 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1396 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1397 that only the first flag is used.
1399 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1401 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1404 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1406 * elmo-signal.el: New file.
1408 * elmo.el (toplevel): Require elmo-signal.
1409 (flag-changing, flag-changed, cache-changed): New signal.
1410 (elmo-folder): Remove slog `handlers'.
1411 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1412 `elmo-folder-notify-event'.
1413 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1414 (elmo-folder-unset-flag): Ditto.
1415 (elmo-event-handler): Abolish.
1416 (elmo-event-handler-flag-changed): Ditto.
1417 (elmo-event-handler-cache-changed): Ditto.
1418 (elmo-folder-add-handler): Ditto.
1419 (elmo-folder-remove-handler): Ditto.
1420 (elmo-folder-notify-event): Ditto.
1422 * elmo-pipe.el (toplevel): Require elmo-signal.
1423 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1424 (elmo-pipe-connect-signals): New function.
1425 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1426 (elmo-folder-set-flag): Ditto.
1427 (elmo-folder-unset-flag): Ditto.
1428 (elmo-message-set-cached): Ditto.
1430 * elmo-multi.el (toplevel): Require elmo-signal.
1431 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1432 (elmo-multi-connect-signals): New function.
1433 (elmo-multi-map-numbers): Ditto.
1434 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1435 (elmo-message-fetch): Ditto.
1436 (elmo-folder-set-flag): Ditto.
1437 (elmo-folder-unset-flag): Ditto.
1439 * elmo-filter.el (toplevel): Require elmo-signal.
1440 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1441 (elmo-filter-connect-signals): New function.
1442 (elmo-filter-add-flag-count): Ditto.
1443 (elmo-message-fetch): Does not call
1444 `elmo-filter-folder-countup-message-flags' and
1445 `elmo-folder-notify-event'.
1446 (elmo-message-set-cached): Ditto.
1447 (elmo-folder-set-flag): Ditto.
1448 (elmo-folder-unset-flag): Ditto.
1450 * elmo-version.el (elmo-version): Up to 2.13.2.
1452 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1454 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1457 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1459 * elmo-filter.el (elmo-message-set-cached): Call
1460 `elmo-folder-notify-event' with event `cache-changed'.
1462 * elmo-multi.el (elmo-message-set-cached): Ditto.
1464 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1466 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1468 * elmo.el (elmo-folder-encache): Abolish.
1470 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1472 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1473 (elmo-folder-next-message-number-dop): Return appropriate negative
1476 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1478 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1479 clearing pending operations.
1480 (elmo-folder-next-message-number-dop): Return appropriate negative
1483 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1485 * elmo.el (toplevel): Added autoload setting for `md5'.
1486 (elmo-msgdb-path-encode-threshold): New user option.
1487 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1488 longer than `elmo-msgdb-path-encode-threshold'.
1490 * elmo-flag.el (elmo-global-mark-migrate): Use
1491 `elmo-folder-expand-msgdb-path' instead of
1492 `elmo-folder-msgdb-path'.
1494 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1496 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1497 element of the difference is nil.
1499 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1501 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1502 to the check logic of file systems which are weak in colon character.
1504 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1506 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1508 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1510 * elmo-maildir.el (elmo-maildir-move-file): New function.
1511 (elmo-folder-append-buffer): Use it.
1512 (elmo-folder-append-messages): Ditto.
1513 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1515 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1516 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1518 * elmo-maildir.el (elmo-maildir-separator): New user option.
1519 (elmo-maildir-adjust-separator): New macro.
1520 (elmo-maildir-list-location): Use it.
1521 (elmo-maildir-update-current): Ditto.
1522 (elmo-maildir-set-mark): Ditto.
1523 (elmo-maildir-delete-mark): Ditto.
1524 (These changes are based on Hiroya Murata's patch [wl: 13437])
1526 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1528 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1530 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1532 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1533 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1534 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1536 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1538 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1539 Use `with-temp-buffer'.
1541 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1543 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1545 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1546 `wl-read-search-condition').
1547 (elmo-read-search-condition-internal): Likewise.
1549 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1550 (elmo-flag-valid-p): New function.
1551 (elmo-folder-initialize): Check flag name is valid.
1553 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1555 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1556 delimiter to obtain root mailbox itself.
1558 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1560 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1563 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1565 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1568 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1570 * elmo-shimbun.el (toplevel): Require cl at compile.
1572 * elmo-nntp.el (toplevel): Ditto.
1574 * elmo-nmz.el (toplevel): Ditto.
1576 * elmo-multi.el (toplevel): Ditto.
1578 * elmo-file.el (toplevel): Ditto.
1580 * elmo-dop.el (toplevel): Ditto.
1582 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1584 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1586 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1589 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1590 size of elmo-message-fetch-internal is 0 byte.
1592 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1594 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1596 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1598 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1601 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1603 * elmo-maildir.el (elmo-map-message-fetch): Call
1604 `elmo-map-folder-set-flag'.
1606 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1607 (elmo-message-fetch): Merge from
1608 `elmo-message-fetch-with-cache-process'.
1610 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1611 (elmo-message-fetch): Define.
1613 * elmo-nntp.el (elmo-message-fetch): Renamed from
1614 `elmo-message-fetch-with-cache-process'.
1616 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1617 (elmo-message-fetch): Define.
1619 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1622 * elmo-shimbun.el (shimbun-mua-search-id): Use
1623 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1624 (elmo-shimbun-folder-shimbun-header): Ditto.
1625 (elmo-shimbun-get-headers): Ditto.
1626 (elmo-shimbun-update-overview): Ditto.
1628 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1630 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1631 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1633 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1635 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1637 (elmo-message-fetch-string): Fixed argument.
1639 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1641 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1642 exchange order of arguments `section' and `unread'.
1643 (elmo-message-encache): Follow the API change.
1644 (elmo-message-match-condition): Ditto.
1645 (elmo-generic-folder-append-messages): Ditto.
1646 (elmo-message-fetch-string): New function.
1648 * elmo-split.el (elmo-split-subr): Ditto.
1650 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1652 * elmo-pipe.el (elmo-message-fetch): Ditto.
1654 * elmo-multi.el (elmo-message-fetch): Ditto.
1656 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1658 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1660 * elmo-filter.el (elmo-message-fetch): Ditto.
1662 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1664 * elmo-imap4.el (mime-imap-location-section-body): Use
1665 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1666 follow the API change.
1668 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1670 * elmo-access.el: New file.
1672 * elmo-null.el: Ditto.
1674 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1676 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1678 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1679 (elmo-network-session): New attribute `last-accessed'.
1680 (elmo-network-get-session): Discard network cache if elapsed time
1681 since last-accessed is larger than elmo-network-session-idle-timeout.
1683 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1685 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1686 and added `number', `require-entireness'.
1687 (elmo-find-fetch-strategy): Rewrite.
1688 (elmo-message-fetch): Unset `unread' flag when argument unread is
1691 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1693 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1694 (elmo-message-fetch): Notify event `flag-changed'.
1696 * elmo-pipe.el: Likewise.
1698 * elmo-mime.el (elmo-mime-entity): New class.
1699 (elmo-mime-entity-display-p): New generic function.
1700 (elmo-mime-entity-display): Ditto.
1701 (elmo-mime-entity-display-as-is): Ditto.
1702 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1704 (elmo-make-mime-message-location): Removed.
1705 (elmo-mime-message-display): Ditto.
1706 (elmo-mime-display-as-is): Ditto.
1707 (elmo-message-mime-entity): New function.
1709 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1711 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1713 (elmo-message-fetch): Re-count flagged message number and notify
1714 event `flag-changed'.
1716 * elmo-version.el (elmo-version): Up to 2.13.1.
1718 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1720 * elmo-filter.el (elmo-message-field): Define.
1721 (elmo-message-set-field): Ditto.
1723 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1725 * elmo.el (elmo-message-set-cached): Call
1726 `elmo-folder-notify-event' with cache-changed.
1727 (elmo-event-handler-cache-changed): New generic function.
1729 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1731 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1732 instead of elmo-add-name-to-file.
1733 (elmo-folder-append-messages): Ditto.
1735 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1737 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1739 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1741 * elmo-version.el (elmo-version): Up to 2.13.0.
1743 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1746 * modb-standard.el (modb-standard-economize-entity-size): Changed
1747 default value to `t'.
1749 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1752 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1753 after parsing greeting string.
1755 2004-11-23 Daishi Kato <daishi@axlight.com>
1757 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1759 (elmo-spam-spamoracle-call): Use it.
1761 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1763 * elmo.el (elmo-message-accessible-p): Message in dop spool
1766 2004-11-23 Daishi Kato <daishi@axlight.com>
1768 * elsp-spamoracle.el: New file.
1770 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1772 * elmo.el (elmo-message-flags-for-append): New function.
1773 (elmo-generic-folder-append-messages): Use it.
1775 * elmo-split.el (elmo-split-subr): Ditto.
1777 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1778 `flags' and use elmo-folder-append-buffer instead of
1779 write-region-as-binary.
1780 (elmo-dop-filter-pending-messages): New function.
1781 (elmo-folder-append-buffer-dop): Call
1782 elmo-dop-spool-folder-append-buffer with `flag'.
1783 (elmo-folder-set-flag-dop): Filter messages by
1784 elmo-dop-filter-pending-messages.
1785 (elmo-folder-unset-flag-dop): Ditto.
1786 (elmo-folder-append-buffer-dop-delayed): Use
1787 elmo-message-flags-for-append to get flags of the message and
1790 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1792 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1794 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1796 * elmo.el (elmo-folder): Added handlers slot.
1797 (elmo-event-handler): New class.
1798 (elmo-event-handler-flag-changed): New API.
1799 (elmo-folder-add-handler): New function.
1800 (elmo-folder-remove-handler): Ditto.
1801 (elmo-folder-notify-event): Ditto.
1802 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1804 (elmo-folder-unset-flag): Ditto.
1806 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1807 (elmo-folder-unset-flag): Ditto.
1809 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1810 (elmo-folder-unset-flag): Ditto.
1812 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1813 (elmo-folder-unset-flag): Ditto.
1815 * elmo-version.el (elmo-version): Up to 2.11.33.
1817 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1819 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1821 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1823 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1825 * elmo-flag.el (elmo-folder-unset-flag): Define.
1826 (elmo-global-flag-detach): Do process when the flag is not target
1829 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1831 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1833 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1835 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1837 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1839 (elmo-folder-delete-messages): Detach messages before delete
1840 messages from target folder.
1841 (elmo-folder-detach-messages): Set updated number-list to slot.
1843 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1845 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1847 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1849 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1851 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1853 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1855 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1857 (elmo-folder-delete-messages): Define.
1858 (elmo-folder-move-messages): Don't call
1859 `elmo-folder-detach-messages'.
1860 (elmo-folder-synchronize): Rewrite.
1861 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1863 * elmo-util.el (elmo-last): New function.
1864 (elmo-set-list): Ditto.
1865 (elmo-number-set-delete-list): Ditto.
1866 (elmo-number-set-delete): Ditto.
1868 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1870 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1871 `elmo-folder-delete-messages' and don't delete location map.
1872 (elmo-folder-detach-messages): Define.
1874 * elmo-imap4.el (elmo-folder-delete): Use
1875 `elmo-folder-delete-messages-internal' instead of
1876 `elmo-folder-delete-messages'.
1878 * elmo-filter.el (elmo-folder-delete-messages): Call
1879 `elmo-folder-detach-messages'.
1880 (elmo-folder-detach-messages): Don't call
1881 `elmo-folder-detach-messages' for target folder.
1883 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1884 message deletion is succeeded.
1886 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1888 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1889 from `elmo-folder-delete-messages'.
1891 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1893 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1895 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1897 * elmo-version.el (elmo-version): Up to 2.11.32.
1899 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1901 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1902 (elmo-global-flag-list): Added obsolete variable setting.
1904 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1906 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1907 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1908 `elmo-mime-display-header-analysis' is nil.
1910 * elmo-flag.el (elmo-global-flags): Renamed from
1911 `elmo-global-flag-list' (All other related portions are changed).
1912 (elmo-local-flags): New variable.
1913 (elmo-local-flag-p): New function.
1914 (elmo-global-flag-set-internal): Cause an error when flag is not
1917 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1919 * elmo-util.el (elmo-concat-path): Treat empty path.
1921 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1923 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1925 (elmo-split-address-match): Ditto.
1926 (elmo-split-equal): Ditto.
1927 (elmo-split-match): Ditto.
1929 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1931 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1932 (elmo-generic-folder-append-messages): If src message exists but
1933 has no flag, pass (read) for the FLAG argument of
1934 `elmo-folder-append-buffer'. Otherwise, pass nil.
1936 * elmo-split.el (elmo-split-subr): Likewise.
1938 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1940 * elmo-multi.el (elmo-message-flags): Ditto.
1942 * elmo-filter.el (elmo-message-flags): Ditto.
1944 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1945 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1946 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1948 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1950 * elmo-split.el (elmo-split-rule): Update comment.
1951 (elmo-split-address-equal): Allow 2nd argument to be a list.
1952 (elmo-split-address-match): Ditto.
1953 (elmo-split-equal): Ditto.
1954 (elmo-split-match): Ditto.
1956 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1958 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1959 (elmo-folder-append-msgdb): Don't treat `read'.
1960 (elmo-message-flags): Don't return `read'.
1962 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1963 (elmo-folder-unset-read-delayed): Ditto.
1965 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1967 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1969 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1972 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1974 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1977 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1979 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1981 (elmo-msgdb-save): Bind inhibit-quit.
1982 (modb-standard-message-entity): Ditto.
1984 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1986 * elmo-database.el: No need to require elmo-msgdb.
1988 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1990 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1991 instead of `elmo-list-subdirectories'.
1993 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1995 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1997 (elmo-folder-exists-p): "[" is empty.
1998 (elmo-folder-list-subfolders): Define.
1999 (elmo-folder-have-subfolder-p): Ditto.
2001 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
2003 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2005 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
2007 * elmo-filter.el (elmo-folder-local-p): Define.
2009 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2011 * modb-standard.el (modb-standard-loaded-message-id): Return nil
2012 when entity is garbaged.
2013 (modb-standard-save-entity-1): Don't modify the original entity.
2015 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
2017 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2019 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2021 * elmo.el (elmo-strict-folder-diff): Use
2022 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2024 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2026 * modb.el (elmo-msgdb-flag-available-p): New generic function.
2027 (elmo-msgdb-message-number): Ditto.
2028 (elmo-msgdb-message-field): Ditto.
2030 * modb-standard.el (modb-standard-economize-entity-size): New user
2032 (modb-standard-loaded-message-id): New inline function.
2033 (modb-standard-load-entity): Use it.
2034 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2035 throw message-id string away.
2036 (elmo-msgdb-flag-available-p): Define.
2037 (elmo-msgdb-message-number): Ditto.
2038 (elmo-msgdb-message-field): Ditto.
2040 * modb-legacy.el (modb-legacy-flag-list): Fix typo
2041 (suppoted -> supported).
2042 (modb-legacy-supported-flag-p): Ditto.
2043 (elmo-msgdb-set-flag): Ditto.
2044 (elmo-msgdb-unset-flag): Ditto.
2045 (elmo-msgdb-flag-available-p): Define.
2047 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2048 is `t', treat it as legacy entity.
2050 * elmo.el (elmo-message-flag-available-p): New generic function.
2051 (elmo-message-number): Ditto.
2052 (elmo-message-field): Use `elmo-msgdb-message-field'.
2054 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2056 * elmo-pipe.el (elmo-message-flag-available-p): Define.
2057 (elmo-message-number): Ditto.
2059 * elmo-multi.el (elmo-message-number): Define.
2060 (elmo-message-flag-available-p): Ditto.
2062 * elmo-filter.el (elmo-message-flag-available-p): Define.
2063 (elmo-message-number): Ditto.
2065 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2066 (elmo-folder-initialize): Load `max-number'.
2067 (elmo-folder-commit): Save it.
2068 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2069 (elmo-global-flag-set-internal): Set up max-number slot.
2071 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2073 * elmo-version.el (elmo-version): Up to 2.11.31.
2075 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
2077 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2078 unibyte string of the current buffer for the argument of `md5'
2079 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2081 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2083 * modb-legacy.el (modb-legacy-flag-list): New constant.
2084 (modb-legacy-suppoted-flag-p): New internal function.
2085 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2086 (elmo-msgdb-unset-flag): Ditto.
2088 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
2090 * elmo.el (elmo-make-folder): Remove text properties for prefix.
2092 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2095 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2097 * elmo-multi.el (elmo-folder-count-flags): Changed return value
2098 (follow the API change).
2100 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2102 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2104 * modb-standard.el (modb-standard-digest-flags): Abolish.
2105 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2107 * elmo-vars.el (elmo-digest-flags): New variable.
2108 (elmo-preserved-flags): Moved from elmo-flag.el.
2110 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2111 (elmo-imap4-flag-to-imap-criteria): Ditto.
2112 (elmo-imap4-folder-list-flagged): Use it.
2114 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2116 * elmo.el (elmo-folder-count-flags): Changed return value.
2118 * elmo-flag.el (elmo-preserved-flags): New variable.
2119 (elmo-get-global-flags): Use it.
2121 * modb-standard.el (modb-standard-digest-flags): New variable.
2122 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2123 Changed behavior of `any'.
2125 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2126 which are defined the Internet draft
2127 (draft-melnikov-imap-keywords-03.txt).
2128 (elmo-imap4-flags-to-imap): New function.
2129 (elmo-folder-append-buffer): Use it.
2131 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2134 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2135 avoid the bug of Emacs 21.3.
2137 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2139 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2140 function find-coding-system does not exist.
2142 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2144 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2147 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2149 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2152 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2154 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2155 (elmo-network-close-session): Follow the changes in
2156 `elmo-pop3-read-response'.
2157 (elmo-pop3-auth-user): Ditto.
2158 (elmo-pop3-auth-apop): Ditto.
2159 (elmo-network-initialize-session): Ditto.
2160 (elmo-network-authenticate-session): Ditto.
2161 (elmo-network-setup-session): Ditto.
2162 (elmo-folder-status): Ditto.
2163 (elmo-message-fetch-plugged): Ditto.
2164 (elmo-pop3-delete-msg): Ditto.
2166 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2168 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2171 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2173 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2175 (elmo-bind-directory): Ditto.
2177 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2179 * elmo.el (elmo-folder-append-messages): Note on return value.
2180 * elmo-archive.el (elmo-folder-append-messages): Don't return
2181 message numbers which could not be appended.
2183 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2185 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2187 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2189 * elmo-version.el (elmo-version): Up to 2.11.30.
2191 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2193 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2196 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2198 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2199 (elmo-multi-split-numbers): Add elmo-folder object into each
2200 element of return value at first.
2201 (elmo-folder-delete-messages): Follow the above change.
2202 (elmo-folder-detach-messages): Ditto.
2204 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2205 number which is synchronized in target folder.
2207 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2209 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2210 Change default value to symbol `all'.
2211 (elmo-map-message-fetch): Change condition to update overview
2214 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2216 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2217 behavior to update overview.
2218 (elmo-shimbun-update-overview-folder-list): Note it.
2220 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2222 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2225 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2227 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2228 buffer-disable-undo, it is unnecessary.
2229 (elmo-spam-register-good-messages): Ditto.
2231 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2234 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2236 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2238 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2239 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2240 elmo-set-buffer-multibyte.
2241 (elmo-object-load): Ditto.
2242 (elmo-save-buffer): Ditto.
2243 (elmo-delete-char): Ditto.
2244 (elmo-file-field-primitive-condition-match): Ditto.
2245 (elmo-mime-string): Ditto.
2247 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2248 (elmo-archive-field-condition-match): Ditto.
2250 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2252 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2254 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2255 (elmo-nntp-msgdb-create-message): Ditto.
2257 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2259 * elmo.el (elmo-message-match-condition): Ditto.
2260 (elmo-message-match-condition): Ditto.
2262 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2265 * elmo-version.el (elmo-version): Up to 2.11.29.
2267 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2268 (elsp-header): New backend.
2270 * elmo-util.el (elmo-decoded-field-body): New function.
2272 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2274 * elmo-version.el (elmo-version): Up to 2.11.28.
2276 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2278 * elmo-filter.el: Rewrite.
2280 * elmo-version.el (elmo-version): Up to 2.11.27.
2282 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2284 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2285 msgdb path for the localdir folder with absolute path.
2287 * utf7.el: Synch up with latest gnus/utf7.el;
2288 Modified for latest Emacs.
2290 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2292 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2293 shimbun backend couldn't open.
2295 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2297 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2298 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2299 when a destination folder is a filter folder.
2301 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2303 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2304 (elmo-generic-folder-append-messages): Call elmo-message-flags
2305 with argument `msgid'.
2307 * elmo-split.el (elmo-split-subr): Ditto.
2309 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2311 * elmo-multi.el (elmo-message-flags): Ditto.
2313 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2315 * elmo.el (elmo-folder): Add new slot `flag-table'.
2316 (elmo-folder-flag-table): New API.
2317 (elmo-folder-close-flag-table): Ditto.
2318 (elmo-folder-preserve-flags): New function.
2319 (elmo-generic-folder-append-messages): Use
2320 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2321 Flag of a non-registered message, it sets to nil.
2322 Does not set flag to flag-table.
2324 * elmo-maildir.el (elmo-folder-append-buffer): Use
2325 `elmo-folder-preserve-flags'.
2326 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2327 `elmo-folder-close-flag-table'.
2329 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2330 (elmo-archive-folder-append-buffer): Use
2331 `elmo-folder-preserve-flags'.
2333 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2335 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2337 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2338 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2339 `elmo-folder-close-flag-table'.
2341 * elmo-version.el (elmo-version): Up to 2.11.26.
2343 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2345 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2347 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2348 md5's 4th and 5th argument (non-existent in flim one).
2350 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2352 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2353 message, It sets to nil.
2355 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2357 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2360 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2362 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2364 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2366 * elmo-util.el (elmo-uniq-sorted-list): New function.
2367 (elmo-make-number-list): Ditto.
2368 (elmo-number-set-to-number-list): Use elmo-make-number-list
2369 and don't use nreverse.
2371 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2373 * elmo-version.el (elmo-version): Up to 2.11.25.
2375 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2377 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2378 field not exists in message, Use md5 message digest of header.
2380 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2382 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2383 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2384 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2385 * elmo-split.el (elmo-split-subr): Check return value of
2386 elmo-folder-append-buffer.
2388 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2389 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2391 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2394 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2396 * elmo-split.el (elmo-split-subr): Append message with flag.
2398 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2399 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2400 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2402 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2404 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2405 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2406 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2408 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2410 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2411 with a function call of `process-buffer'. All callers are updated.
2412 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2413 Remove redundant `set-buffer' in a while loop.
2415 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2417 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2420 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2422 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2423 elsp-spamfilter-register-buffer-internal with current buffer.
2424 (elmo-spam-register-spam-buffer): Ditto.
2425 (elmo-spam-register-good-buffer): Ditto.
2427 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2429 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2430 if it is not contained in the response(A workaround for courier-imap).
2432 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2434 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2437 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2439 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2442 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2444 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2447 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2449 (elmo-msgdb-message-match-condition): Follow the change above.
2451 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2453 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2456 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2458 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2460 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2462 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2464 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2466 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2469 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2471 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2473 (elmo-file-command-argument): Undo last change for cygwin.
2474 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2476 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2478 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2480 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2481 value returned from elmo-file-find is nil.
2483 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2485 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2488 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2489 instead of insert-file-contents-as-binary.
2490 (elmo-message-set-field): New generic function.
2492 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2493 behavior change on `split-string'.
2495 * elmo-file.el (elmo-file-find): New function.
2496 (elmo-file-command): New user option.
2497 (elmo-file-command-argument): Ditto.
2498 (elmo-file-fetch-max-size): Ditto.
2499 (elmo-file-detect-format): New function.
2500 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2501 Use elmo-file-detect-format.
2502 (elmo-map-folder-list-message-locations): Don't treat directories.
2504 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2506 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2507 (elmo-passwd-alist-clear): Shred password before clear.
2508 (elmo-remove-passwd): Remove all mached pair.
2510 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2512 * elmo.el (elmo-folder-synchronize): Fix description of the return
2515 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2517 * elmo.el (elmo-message-fetch-bodystructure): New method.
2518 (elmo-message-fetch-bodystructure): Define default.
2520 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2521 elmo-message-fetch-bodystructure.
2522 (elmo-message-fetch-bodystructure): Define.
2524 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2526 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2528 * elmo-filter.el (elmo-message-folder): Define.
2530 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2532 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2533 elmo-delete-cr-buffer.
2535 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2537 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2539 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2541 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2542 type seems to be a text.
2544 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2546 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2547 (elmo-spam-register-good-buffer): Ditto.
2548 (elmo-spam-spamassassin-register-messages): Ditto.
2550 * elmo-util.el (elmo-string-member-ignore-case): Define with
2553 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2555 * elmo.el (elmo-folder-type): Undo last change.
2557 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2559 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2562 * elmo-file.el: New file.
2564 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2566 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2568 (elmo-spam-spamassassin-register-messages): New inline function.
2569 (elmo-spam-register-spam-messages): Define.
2570 (elmo-spam-register-good-messages): Ditto.
2572 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2575 * elmo.el (toplevel): Added autoload setting for
2576 `elmo-get-global-flags'.
2577 (elmo-message-has-global-flag-p): New function.
2578 (elmo-message-set-global-flags): Ditto.
2579 (elmo-folder-type): Improvement for name: format.
2581 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2582 availability of keyword flags.
2583 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2584 (elmo-folder-list-flagged-plugged): Renamed from
2585 elmo-folder-list-flagged-unplugged.
2586 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2587 accept any flag as keyword flag.
2588 (elmo-folder-set-flag-plugged): Accept keyword flags.
2589 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2591 * elmo-flag.el (elmo-get-global-flags): New function.
2593 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2596 * elmo-version.el (elmo-version): Up to 2.11.24.
2598 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2600 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2601 elmo-multiple-field-body instead of std11-field-body to check all
2604 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2606 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2609 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2611 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2612 unintern is unbound.
2614 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2616 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2617 Protect from infinite loop.
2619 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2621 * elsp-bogofilter.el
2622 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2623 (elmo-spam-bogofilter-register-messages): New internal function.
2624 (elmo-spam-register-spam-messages): Define.
2625 (elmo-spam-register-good-messages): Ditto.
2627 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2629 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2630 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2631 (elmo-spam-bogofilter-call): Fixed the last change.
2632 (elmo-spam-bogofilter-arguments): Ditto.
2634 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2635 Follow the options change of latest bogofilter.
2637 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2638 (elmo-spam-bogofilter-good-switch): Ditto.
2639 (elmo-spam-bogofilter-arguments-alist): New user option.
2640 (elmo-spam-bogofilter-debug): Ditto.
2641 (elmo-spam-bogofilter-call): Renamed from
2642 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2643 is non-nil, insert output in buffer for debug.
2644 (elmo-spam-bogofilter-arguments): New macro.
2645 (elmo-spam-buffer-spam-p): Use it.
2646 (elsp-bogofilter-register-buffer): Ditto.
2648 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2650 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2653 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2655 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2657 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2658 (elmo-spam-bsfilter-program): Set default value as full path for
2660 (elmo-spam-bsfilter-debug): New user option.
2661 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2662 non-nil, insert output in buffer for debug. Fix treating of
2665 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2667 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2668 `elmo-maildir-flag-specs' element instead of one.
2669 (elmo-map-folder-unset-flag): Ditto.
2670 (Reported by Ken Makimura <macky@astem.or.jp>)
2672 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2673 (elmo-folder-unset-flag-plugged): Ditto.
2675 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2677 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2678 to `reads' slot only if `in-msgdb' is nil.
2680 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2682 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2683 and complement argument list.
2685 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2687 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2688 instead of elmo-folder-list-flagged.
2690 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2692 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2694 * elsp-bsfilter.el: New file.
2696 * elmo-pipe.el (elmo-folder-list-unreads,
2697 elmo-folder-list-answereds,
2698 elmo-folder-list-importants,
2699 elmo-folder-flag-as-important,
2700 elmo-folder-unflag-important,
2701 elmo-folder-flag-as-read,
2702 elmo-folder-unflag-read,
2703 elmo-folder-flag-as-answered,
2704 elmo-folder-unflag-answered): Remove.
2705 (elmo-folder-set-flag): Define.
2706 (elmo-folder-unset-flag): Ditto.
2708 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2709 (elmo-folder-set-flag): Define.
2710 (elmo-folder-unset-flag): Ditto.
2711 (elmo-folder-list-unreads): Remove.
2712 (elmo-folder-list-flagged): Define.
2714 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2715 (elmo-folder-list-unreads,
2716 elmo-folder-list-importants,
2717 elmo-folder-list-answereds,
2718 elmo-folder-list-unreads-plugged,
2719 elmo-folder-list-importants-plugged,
2720 elmo-folder-list-answereds-plugged): Remove.
2721 (elmo-folder-list-flagged-plugged): New method.
2722 (elmo-folder-unflag-important,
2723 elmo-folder-flag-as-important,
2724 elmo-folder-unflag-read,
2725 elmo-folder-flag-as-read,
2726 elmo-folder-unflag-answered,
2727 elmo-folder-flag-as-answered,
2728 elmo-folder-flag-as-read-unplugged,
2729 elmo-folder-unflag-read-unplugged,
2730 elmo-folder-flag-as-important-unplugged,
2731 elmo-folder-unflag-important-unplugged,
2732 elmo-folder-flag-as-answered-unplugged,
2733 elmo-folder-unflag-answered-unplugged): Remove.
2734 (elmo-folder-set-flag): Define.
2735 (elmo-folder-unset-flag): Ditto.
2736 (elmo-folder-set-flag-unplugged): Ditto.
2737 (elmo-folder-unset-flag-unplugged): Ditto.
2739 * elmo-multi.el (elmo-folder-list-unreads,
2740 elmo-folder-list-answereds,
2741 elmo-folder-list-importants,
2742 elmo-folder-flag-as-important,
2743 elmo-folder-unflag-important,
2744 elmo-folder-flag-as-read,
2745 elmo-folder-unflag-read,
2746 elmo-folder-flag-as-answered,
2747 elmo-folder-unflag-answered): Remove.
2748 (elmo-folder-set-flag): Define.
2749 (elmo-folder-unset-flag): Ditto.
2751 * elmo-map.el (elmo-map-folder-unflag-important,
2752 elmo-map-folder-flag-as-important,
2753 elmo-map-folder-unflag-read,
2754 elmo-map-folder-flag-as-read,
2755 elmo-map-folder-unflag-answered,
2756 elmo-map-folder-flag-as-answered): Remove.
2757 (elmo-map-folder-set-flag): New method.
2758 (elmo-map-folder-unset-flag): Ditto.
2759 (elmo-map-folder-list-unreads,
2760 elmo-map-folder-list-importants,
2761 elmo-map-folder-list-answereds): Remove.
2762 (elmo-folder-list-flagged-internal): Define.
2763 (elmo-map-folder-list-flagged): New method.
2765 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2766 (elmo-map-folder-list-unreads,
2767 elmo-map-folder-list-importants,
2768 elmo-map-folder-list-flagged): Remove.
2769 (elmo-map-folder-list-flagged): Define.
2770 (elmo-map-folder-flag-as-important,
2771 elmo-map-folder-unflag-important,
2772 elmo-map-folder-flag-as-read,
2773 elmo-map-folder-unflag-read,
2774 elmo-map-folder-flag-as-answered,
2775 elmo-map-folder-unflag-answered): Remove.
2776 (elmo-maildir-set-mark-messages): New internal function.
2777 (elmo-map-folder-set-flag): Define.
2778 (elmo-map-folder-unset-flag): Ditto.
2780 * elmo.el (toplevel): Added autoload setting for
2781 `elmo-folder-list-global-flag-messages'.
2782 (elmo-folder-list-unreads,
2783 elmo-folder-list-importants,
2784 elmo-folder-list-answereds): Remove.
2785 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2786 Return a list whitch merged with messages have global flag.
2787 (elmo-folder-list-flagged-internal): New method.
2788 (elmo-folder-unflag-important,
2789 elmo-folder-flag-as-important,
2790 elmo-folder-unflag-read,
2791 elmo-folder-flag-as-read,
2792 elmo-folder-unflag-answered,
2793 elmo-folder-flag-as-answered): Remove.
2794 (elmo-folder-set-flag): New method.
2795 (elmo-folder-unset-flag): Ditto.
2796 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2797 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2799 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2800 (elmo-folder-list-unreads-plugged,
2801 elmo-folder-list-importants-plugged,
2802 elmo-folder-list-answereds-plugged,
2803 elmo-folder-list-flagged-unplugged,
2804 elmo-folder-unflag-important-plugged,
2805 elmo-folder-flag-as-important-plugged,
2806 elmo-folder-unflag-read-plugged,
2807 elmo-folder-flag-as-read-plugged,
2808 elmo-folder-unflag-answered-plugged,
2809 elmo-folder-flag-as-answered-plugged): Remove.
2810 (elmo-folder-set-flag-plugged,
2811 elmo-folder-unset-flag-plugged): Define.
2813 * elmo-flag.el (elmo-folder-initialize): Register to
2814 `elmo-global-flag-list' if flag is not global.
2815 (elmo-folder-append-messages): Set flag to source messages.
2817 * elmo-filter.el (elmo-filter-folder-list-unreads,
2818 elmo-folder-list-unreads,
2819 elmo-filter-folder-list-importants,
2820 elmo-folder-list-importants,
2821 elmo-folder-flag-as-read,
2822 elmo-folder-unflag-read,
2823 elmo-folder-flag-as-important,
2824 elmo-folder-unflag-important,
2825 elmo-folder-flag-as-answered,
2826 elmo-folder-unflag-answered): Remove.
2827 (elmo-folder-set-flag): Define.
2828 (elmo-folder-unset-flag): Ditto.
2830 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2831 elmo-folder-unflag-read-dop,
2832 elmo-folder-flag-as-important-dop,
2833 elmo-folder-unflag-important-dop,
2834 elmo-folder-flag-as-answered-dop,
2835 elmo-folder-unflag-answered-dop): Remove.
2836 (elmo-folder-set-flag-dop,
2837 elmo-folder-unset-flag-dop,
2838 elmo-folder-set-important-delayed,
2839 elmo-folder-unset-important-delayed,
2840 elmo-folder-set-read-delayed,
2841 elmo-folder-unset-read-delayed,
2842 elmo-folder-set-answered-delayed,
2843 elmo-folder-unset-answered-delayed): New function.
2844 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2845 (elmo-dop-queue-method-name-alist): Ditto.
2847 * elmo-version.el (elmo-version): Up to 2.11.23.
2849 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2851 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2853 * elsp-sa.el: New file.
2855 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2857 * modb-standard.el (modb-standard-message-entity): New function.
2858 (elmo-msgdb-message-entity): Use it.
2860 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2862 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2863 behavior when one-level is nil.
2865 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2867 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2869 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2871 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2873 (elmo-generic-folder-diff): Ditto.
2875 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2876 (elmo-folder-update-number): Ditto.
2878 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2879 (elmo-folder-next-message-number-dop): Ditto.
2881 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2883 * elmo-filter.el (elmo-folder-msgdb-create): Use
2884 `elmo-message-entity' and `elmo-message-flags' instead of
2885 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2887 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2889 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2892 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2894 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2896 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2898 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2900 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2902 * elmo-version.el (elmo-version): Up to 2.11.22.
2904 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2906 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2908 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2910 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2911 if the message dose not exist.
2913 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2915 * elmo-version.el (elmo-version): Up to 2.11.21.
2917 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2919 * modb-standard.el (toplevel): Don't require mime.
2921 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2923 * elsp-bogofilter.el (toplevel): Don't require path-util.
2924 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2925 (elmo-spam-bogofilter-header): Abolish.
2926 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2927 (elmo-spam-bogofilter-args): New user option.
2928 (elsp-bogofilter-call-bogofilter): New internal function.
2929 (elmo-spam-buffer-spam-p): Use it.
2930 (elsp-bogofilter-register-buffer): Renamed from
2931 `elmo-spam-bogofilter-register-buffer';
2932 Use `elsp-bogofilter-call-bogofilter'.
2933 (elmo-spam-register-spam-buffer): Follow the change above.
2934 (elmo-spam-register-good-buffer): Ditto.
2936 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2938 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2939 message-id is nil do nothing.
2941 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2943 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2945 (elmo-imap4-session): Removed use-flag slot.
2946 (elmo-imap4-session-select-mailbox): Undo last change.
2947 (elmo-folder-use-flag-p): Use
2948 elmo-imap4-disuse-server-flag-mailbox-regexp.
2950 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2952 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2953 (elmo-imap4-session-select-mailbox): Set it up.
2954 (elmo-folder-use-flag-p): Return value of use-flag slot.
2956 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2958 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2960 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2962 * modb-entity.el (elmo-message-entity-handler): Likewise.
2964 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2966 * elmo.el (toplevel): Remove setting of autoloding for
2967 elmo-global-flag-initialize.
2968 (elmo-init): Don't call elmo-global-flag-initialize.
2969 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2971 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2972 (elmo-global-mark-migrate): Don't call it.
2973 (elmo-global-mark-upgrade): Ditto.
2975 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2977 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2978 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2980 * elmo-vars.el (elmo-init-hook): New user option.
2982 * elmo.el (elmo-init): Run the elmo-init-hook.
2984 * elmo-flag.el (elmo-global-mark-migrate): New function.
2986 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2988 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2989 Undo last change (move to elmo-msgdb-unset-flag).
2990 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2993 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2995 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2997 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2998 (elmo-msgdb-unset-flag): Ditto.
3000 2003-11-05 Andreas Fuchs <asf@boinkor.net>
3002 * elmo-split.el (elmo-split): Return split message count.
3004 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3006 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3009 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3011 * elmo.el (elmo-folder-unflag-important): Call
3012 `elmo-global-flag-detach' with 4th argument delete-if-none that is
3015 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3017 (elmo-global-flag-detach): Delete the message from flag folder, if
3018 `delete-if-none' is a symbol `always'.
3020 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3022 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3023 `elmo-spam-spamfilter-decode-buffer'.
3024 (elsp-spamfilter-register-buffer-internal): New internal function.
3025 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3026 (elmo-spam-register-spam-buffer): Ditto.
3027 (elmo-spam-register-good-buffer): Ditto.
3029 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3031 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3032 (elmo-spam-register-spam-buffer): Follow the API change.
3033 (elmo-spam-register-good-buffer): Ditto.
3035 * elmo-split.el (toplevel): Require elmo-spam when copmile.
3036 (elmo-split-spam-p): Added argument plist; Call
3037 `elmo-spam-buffer-spam-p' with new argument register.
3039 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3041 (elmo-spam-message-spam-p): Ditto.
3042 (elmo-spam-register-spam-buffer): Added optional argument
3044 (elmo-spam-register-good-buffer): Ditto.
3045 (elmo-spam-register-spam-messages): Ditto.
3046 (elmo-spam-register-good-messages): Ditto.
3048 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3050 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3051 register into good corpus.
3052 (elmo-spam-register-good-buffer): Fixed to register into bad
3055 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3057 * elmo-version.el (elmo-version): Up to 2.11.20.
3059 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3062 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3063 flag without depending on \Recent flag.
3065 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3067 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3068 (elmo-spam-modified-p): Defined.
3069 (elmo-spam-save-status): Set `modified' slot to nil.
3070 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3071 (elmo-spam-register-good-buffer): Ditto.
3073 * elmo-spam.el (elmo-spam-modified-p): New API.
3075 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3077 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3078 duplicate definition.
3080 * elmo-util.el (elmo-unfold-field-body): New function.
3081 (elmo-msgdb-get-message-id-from-buffer): Use it.
3083 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3084 Fixed the last change; Use elmo-unfold-field-body.
3086 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3088 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3091 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3093 * elmo-spam.el (elmo-spam-save-status): New API.
3095 * elsp-spamfilter.el: New file.
3097 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3099 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3101 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3103 * elmo-split.el (elmo-split-spam-p): New function.
3105 * elmo-spam.el: New file.
3107 * elsp-bogofilter.el: Ditto.
3109 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3111 * elmo.el (elmo-folder-next-message-number): New API.
3112 (elmo-folder-next-message-number): Define.
3113 (elmo-message-field): Don't check folder length.
3115 * elmo-net.el (elmo-folder-next-message-number): Define.
3116 (elmo-folder-next-message-number-unplugged): Define.
3118 * elmo-map.el (elmo-folder-next-message-number): Define.
3119 (elmo-folder-delete-messages): Clear hash value.
3121 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3123 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3124 (elmo-folder-delete-messages-dop-delayed): Always return t.
3126 * elmo-version.el (elmo-version): Up to 2.11.19.
3128 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3130 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3133 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3134 identical cons cell into the mark-alist and the hash table.
3136 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3138 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3139 elmo-folder-list-messages with argument `visible-only' as t.
3141 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3142 (elmo-folder-msgdb-create): Check the target folder.
3144 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3146 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3147 `permanentflag' instead of `flags'.
3148 (elmo-folder-open): Ditto.
3149 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3150 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3151 (elmo-folder-use-flag-p): Always return t.
3152 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3153 `permanentflags' does not exist.
3154 (elmo-folder-open): Ditto.
3156 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3158 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3160 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3162 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3163 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3165 (elmo-folder-open): Ditto.
3166 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3167 slot of the session includes the flag.
3168 (elmo-imap4-session-flag-available-p): New function.
3169 (elmo-imap4-folder-list-flagged): Ditto.
3170 (elmo-folder-list-unreads-plugged): Use it.
3171 (elmo-folder-list-importants-plugged): Ditto.
3172 (elmo-folder-list-answereds-plugged): Ditto.
3173 (elmo-imap4-search-internal-primitive): Ditto.
3174 (elmo-imap4-folder-list-any-plugged,
3175 elmo-imap4-folder-list-digest-plugged): Abolish.
3177 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3180 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3182 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3184 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3186 * elmo-util.el (elmo-get-hash-val): Simplify.
3187 (elmo-set-hash-val): Rewrite.
3189 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3191 * elmo.el (elmo-folder-list-messages): Append killed messages into
3192 result if `visible-only' is nil and `in-msgdb' is non-nil.
3194 * elmo-util.el (elmo-uniq-list): Added optional argument
3197 * modb.el (elmo-msgdb-flag-count): New API.
3199 * modb-standard.el (modb-standard): Added slot flag-count.
3200 (modb-standard-countup-flags): New function.
3201 (modb-standard-load-flag): Call it.
3202 (elmo-msgdb-append): Ditto.
3203 (elmo-msgdb-clear): Clear slot flag-count.
3204 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3205 (elmo-msgdb-unset-flag): Treat `all' flag and call
3206 modb-standard-countup-flags.
3207 (elmo-msgdb-flag-count): Define.
3208 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3209 (elmo-msgdb-delete-messages): Ditto.
3211 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3212 (elmo-msgdb-flag-count): Define.
3214 * elmo.el (elmo-folder-list-messages): Undo last change.
3215 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3216 (elmo-folder-kill-messages): Unset all flags to numbers.
3218 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3219 elmo-folder-kill-messages.
3221 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3222 (elmo-nntp-folder-delete-messages): Abolish.
3224 * elmo-version.el (elmo-version): Up to 2.11.18.
3226 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3228 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3229 (elmo-folder-kill-messages-range): New function.
3230 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3231 instead of elmo-folder-kill-messages-before.
3233 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3235 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3236 elmo-imap4-current-msgdb to decide entity handler.
3238 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3240 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3242 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3244 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3245 (elmo-msgdb-overview-entity-set-number,
3246 elmo-msgdb-overview-entity-get-references,
3247 elmo-msgdb-overview-entity-set-references,
3248 elmo-msgdb-overview-entity-get-from-no-decode,
3249 elmo-msgdb-overview-entity-get-from,
3250 elmo-msgdb-overview-entity-set-from,
3251 elmo-msgdb-overview-entity-get-subject,
3252 elmo-msgdb-overview-entity-get-subject-no-decode,
3253 elmo-msgdb-overview-entity-set-subject,
3254 elmo-msgdb-overview-entity-get-date,
3255 elmo-msgdb-overview-entity-set-date,
3256 elmo-msgdb-overview-entity-get-to,
3257 elmo-msgdb-overview-entity-get-cc,
3258 elmo-msgdb-overview-entity-get-size,
3259 elmo-msgdb-overview-entity-set-size,
3260 elmo-msgdb-overview-entity-get-extra,
3261 elmo-msgdb-overview-entity-set-extra,
3262 elmo-msgdb-overview-entity-get-extra-field,
3263 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3264 (elmo-msgdb-make-index): Use
3265 `elmo-msgdb-overview-entity-get-number-internal'.
3266 (elmo-msgdb-clear-index): Ditto.
3267 (elmo-msgdb-append-entity): Ditto;
3268 Use `elmo-msgdb-overview-entity-get-id-internal'.
3270 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3271 elmo-msgdb-overview-entity-set-number,
3272 elmo-msgdb-overview-entity-get-references,
3273 elmo-msgdb-overview-entity-set-references,
3274 elmo-msgdb-overview-entity-get-from-no-decode,
3275 elmo-msgdb-overview-entity-get-from,
3276 elmo-msgdb-overview-entity-set-from,
3277 elmo-msgdb-overview-entity-get-subject,
3278 elmo-msgdb-overview-entity-get-subject-no-decode,
3279 elmo-msgdb-overview-entity-set-subject,
3280 elmo-msgdb-overview-entity-get-date,
3281 elmo-msgdb-overview-entity-set-date,
3282 elmo-msgdb-overview-entity-get-to,
3283 elmo-msgdb-overview-entity-get-cc,
3284 elmo-msgdb-overview-entity-get-size,
3285 elmo-msgdb-overview-entity-set-size,
3286 elmo-msgdb-overview-entity-get-extra,
3287 elmo-msgdb-overview-entity-set-extra,
3288 elmo-msgdb-overview-entity-get-extra-field,
3289 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3290 and rewrote for backward compatibility.
3292 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3294 * elmo.el (elmo-message-entity-number,
3295 elmo-message-entity-set-number,
3296 elmo-message-entity-field,
3297 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3299 * elmo-msgdb.el (elmo-message-entity-number,
3300 elmo-message-entity-set-number,
3301 elmo-message-entity-field,
3302 elmo-message-entity-set-field): Moved from elmo.el.
3304 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3306 * elmo.el (toplevel): Changed definition orders.
3308 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3310 * modb.el (elmo-msgdb-search): New API .
3311 (elmo-msgdb-match-condition): Ditto.
3313 * modb-standard.el (elmo-msgdb-search): Define.
3315 * modb-legacy.el (elmo-msgdb-search): Ditto.
3317 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3318 from elmo-msgdb-match-condition-internal.
3320 * elmo.el (elmo-folder-search-fast): Abolish.
3321 (elmo-folder-search): Use elmo-msgdb-search and
3322 elmo-with-progress-display.
3324 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3327 * elmo.el (elmo-folder): Remove slot message-modified and
3329 (elmo-folder-set-message-modified): Abolish.
3330 (elmo-generic-folder-commit): Follow the change above.
3331 (elmo-folder-synchronize): Ditto.
3333 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3335 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3337 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3339 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3341 * modb-standard.el (modb-standard-make-message-entity,
3342 elmo-msgdb-make-message-entity,
3343 elmo-msgdb-create-message-entity-from-buffer,
3344 elmo-msgdb-message-entity-number,
3345 elmo-msgdb-message-entity-set-number,
3346 elmo-msgdb-message-entity-field,
3347 elmo-msgdb-message-entity-set-field,
3348 elmo-msgdb-copy-message-entity,
3349 elmo-msgdb-match-condition-internal): Remove.
3351 * modb-entity.el: New file (again).
3353 * modb.el (toplevel): Require modb-entity.
3354 (elmo-msgdb-message-entity-handler): New method.
3356 * modb-standard.el (modb-standard-entity-id): Use
3357 elmo-message-entity-handler.
3358 (modb-standard-load-entity): Ditto.
3359 (elmo-msgdb-append-entity): Ditto.
3360 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3362 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3363 elmo-msgdb-decoded-cache-hashtb,
3364 (modb-legacy-make-message-entity,
3365 elmo-msgdb-make-message-entity,
3366 elmo-msgdb-create-message-entity-from-buffer,
3367 elmo-msgdb-message-entity-number,
3368 elmo-msgdb-message-entity-set-number,
3369 elmo-msgdb-message-entity-field,
3370 elmo-msgdb-message-entity-set-field,
3371 elmo-msgdb-copy-message-entity,
3372 elmo-msgdb-match-condition-internal,
3373 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3375 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3376 (elmo-message-entity-set-number): Ditto.
3377 (elmo-message-entity-field): Ditto.
3378 (elmo-message-entity-set-field): Ditto.
3380 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3382 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3384 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3386 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3387 (elmo-nntp-msgdb-create-message): Ditto.
3389 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3390 (elmo-folder-msgdb-create): Add unread flag.
3392 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3394 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3396 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3398 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3400 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3401 elmo-msgdb-messge-entity-handler.
3402 * elmo-version.el (elmo-version): Up to 2.11.17.
3404 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3406 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3409 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3411 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3413 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3414 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3415 (elmo-msgdb-flag-table): Ditto.
3416 (elmo-msgdb-sort-by-date): Ditto.
3418 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3420 * modb-standard.el (toplevel): Require mime.
3421 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3422 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3423 elmo-msgdb-message-entity-number.
3424 (elmo-msgdb-append-entity): Ditto.
3425 (elmo-msgdb-create-message-entity-from-file): Remove.
3426 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3427 corresponds to the entity.
3428 (elmo-msgdb-message-entity-number): Do nothing currently.
3429 (elmo-msgdb-message-entity-field): Ditto.
3430 (elmo-msgdb-message-entity-set-field): Ditto.
3431 (elmo-msgdb-copy-message-entity): Ditto.
3432 (elmo-msgdb-match-condition-internal): Ditto.
3434 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3436 (elmo-msgdb-create-message-entity-from-file): Remove.
3438 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3440 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3442 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3444 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3446 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3447 (elmo-msgdb-message-entity-field): Ditto.
3448 (elmo-msgdb-message-entity-number): Ditto.
3450 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3452 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3453 Fixed how to set extra field into entity.
3454 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3457 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3458 Fixed how to set extra field into entity.
3459 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3462 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3464 * modb.el (elmo-message-entity-db): New function.
3465 (elmo-msgdb-make-message-entity): New API.
3466 (elmo-msgdb-message-entity-number): Ditto.
3467 (elmo-msgdb-message-entity-set-number): Ditto.
3468 (elmo-msgdb-message-entity-field): Ditto.
3469 (elmo-msgdb-message-entity-set-field): Ditto.
3470 (elmo-msgdb-copy-message-entity): Ditto.
3471 (elmo-msgdb-create-message-entity-from-file): Ditto.
3472 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3473 (elmo-msgdb-match-condition-internal): Ditto.
3475 * modb-standard.el (modb-legacy): Require modb-legacy.
3476 (modb-standard-make-message-entity): New inline function.
3477 (elmo-msgdb-make-message-entity): Define.
3478 (elmo-msgdb-create-message-entity-from-file): Ditto.
3479 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3480 (elmo-msgdb-message-entity-field): Ditto.
3481 (elmo-msgdb-message-entity-set-field): Ditto.
3482 (elmo-msgdb-copy-message-entity): Ditto.
3483 (elmo-msgdb-match-condition-internal): Ditto.
3485 * modb-legacy.el: Don't require modb-entity.
3486 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3487 (elmo-msgdb-match-condition-primitive): Ditto.
3488 (elmo-msgdb-get-decoded-cache): Ditto.
3489 (elmo-msgdb-overview-entity-get-id): Ditto.
3490 (elmo-msgdb-overview-entity-get-number): Ditto.
3491 (elmo-msgdb-overview-entity-set-number): Ditto.
3492 (elmo-msgdb-overview-entity-get-references): Ditto.
3493 (elmo-msgdb-overview-entity-set-references): Ditto.
3494 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3495 (elmo-msgdb-overview-entity-get-from): Ditto.
3496 (elmo-msgdb-overview-entity-set-from): Ditto.
3497 (elmo-msgdb-overview-entity-get-subject): Ditto.
3498 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3499 (elmo-msgdb-overview-entity-set-subject): Ditto.
3500 (elmo-msgdb-overview-entity-get-date): Ditto.
3501 (elmo-msgdb-overview-entity-set-date): Ditto.
3502 (elmo-msgdb-overview-entity-get-to): Ditto.
3503 (elmo-msgdb-overview-entity-get-cc): Ditto.
3504 (elmo-msgdb-overview-entity-get-size): Ditto.
3505 (elmo-msgdb-overview-entity-set-size): Ditto.
3506 (elmo-msgdb-overview-entity-get-extra): Ditto.
3507 (elmo-msgdb-overview-entity-set-extra): Ditto.
3508 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3509 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3510 (elmo-msgdb-number-load): Ditto.
3511 (elmo-msgdb-overview-load): Ditto.
3512 (elmo-msgdb-mark-load): Ditto.
3513 (elmo-msgdb-number-save): Ditto.
3514 (elmo-msgdb-mark-save): Ditto.
3515 (elmo-msgdb-overview-save): Ditto.
3516 (modb-legacy-make-message-entity): New inline function.
3517 (elmo-msgdb-insert-file-header): Ditto.
3518 (elmo-msgdb-make-message-entity): Define.
3519 (elmo-msgdb-create-message-entity-from-file): Ditto.
3520 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3521 (elmo-msgdb-message-entity-number): Ditto.
3522 (elmo-msgdb-message-entity-set-number): Ditto.
3523 (elmo-msgdb-message-entity-field): Ditto.
3524 (elmo-msgdb-message-entity-set-field): Ditto.
3525 (elmo-msgdb-copy-message-entity): Ditto.
3526 (elmo-msgdb-match-condition-internal): Ditto.
3528 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3529 (elmo-message-copy-entity): Rewrite.
3530 (elmo-message-entity-number): Ditto.
3531 (elmo-message-entity-set-number): Ditto.
3532 (elmo-message-entity-field): Use elmo-message-entity-db.
3533 (elmo-message-entity-set-field): Ditto.
3534 (elmo-message-field): Rewrite.
3536 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3538 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3540 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3541 elmo-message-entity-field.
3542 (elmo-shimbun-folder-shimbun-header): Ditto.
3543 (elmo-shimbun-entity-to-header): Ditto.
3544 (elmo-folder-msgdb-create): Ditto.
3545 (elmo-shimbun-msgdb-create-entity): Ditto;
3546 Use elmo-msgdb-create-message-entity-from-buffer.
3547 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3548 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3550 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3551 elmo-msgdb-create-message-entity-from-file and
3552 elmo-message-entity-field.
3554 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3555 elmo-message-entity-number.
3556 (elmo-pop3-msgdb-create-message): Use
3557 elmo-msgdb-create-message-entity-from-buffer,
3558 elmo-message-entity-set-field, elmo-message-entity-number and
3559 elmo-message-entity-set-number.
3561 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3562 the API change in elmo-msgdb-make-message-entity.
3563 (elmo-nntp-msgdb-create-message): Use
3564 elmo-msgdb-create-message-entity-from-buffer.
3566 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3567 elmo-message-entity-field and
3568 elmo-msgdb-create-message-entity-from-file.
3570 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3571 (elmo-msgdb-get-field): Abolish.
3572 (elmo-msgdb-get-number): Rewrite.
3573 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3574 (elmo-msgdb-flag-table): Ditto.
3575 (elmo-msgdb-get-last-message-id,
3576 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3577 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3578 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3579 (elmo-msgdb-create-overview-from-buffer,
3580 elmo-msgdb-overview-get-parent-entity): Abolish.
3582 * elmo-mime.el (elmo-mime-display-as-is): Use
3583 elmo-message-entity-field.
3585 * elmo-map.el (elmo-folder-pack-numbers): Use
3586 elmo-message-entity-set-number.
3588 * elmo-maildir.el (elmo-folder-msgdb-create):
3589 elmo-msgdb-create-message-entity-from-file instead of
3590 elmo-msgdb-create-overview-entity-from-file.
3592 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3594 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3595 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3597 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3598 elmo-messge-entity-field and elmo-message-entity-number.
3599 (elmo-imap4-fetch-callback-1): Call
3600 elmo-msgdb-create-message-entity-from-buffer instead of
3601 elmo-msgdb-create-overview-from-buffer.
3602 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3603 (elmo-find-fetch-strategy): Likewise.
3605 * elmo-flag.el (elmo-folder-msgdb-create): Call
3606 elmo-localdir-msgdb-create-entity with argument msgdb.
3608 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3609 and elmo-message-entity-set-number.
3611 * elmo-cache.el (elmo-folder-msgdb-create): Use
3612 elmo-message-entity-field.
3613 (elmo-folder-msgdb-create): Call
3614 elmo-msgdb-create-message-entity-from-file instead of
3615 elmo-msgdb-create-overview-entity-from-file.
3617 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3618 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3619 instead of elmo-msgdb-create-overview-from-buffer.
3620 (elmo-archive-msgdb-create-entity): Ditto.
3621 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3622 elmo-message-entity-field.
3623 (elmo-archive-parse-mmdf): Ditto.
3625 * modb-entity.el: Removed.
3627 * elmo-version.el (elmo-version): Up to 2.11.16.
3629 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3631 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3633 (elmo-folder-flag-as-answered): Ditto.
3635 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3637 * modb-standard.el: New file.
3639 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3640 elmo-msgdb-convert-type is `sync'.
3642 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3643 (elmo-msgdb-convert-type): New user option.
3645 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3646 (elmo-load-msgdb): Auto detect saved type.
3648 * elmo-version.el (elmo-version): Up to 2.11.15.
3650 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3652 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3654 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3655 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3656 with argument `delete-if-none' when dst-folder is 'null.
3658 * elmo-flag.el (elmo-folder-append-messages): Defined.
3659 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3661 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3663 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3665 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3667 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3668 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3669 (elmo-folder-commit): Ditto.
3671 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3673 * elmo-flag.el: New file.
3675 * elmo-mark.el: Removed.
3677 * modb-legacy.el (modb-legacy-new-mark,
3678 modb-legacy-unread-uncached-mark,
3679 modb-legacy-unread-cached-mark,
3680 modb-legacy-read-uncached-mark,
3681 modb-legacy-answered-cached-mark,
3682 modb-legacy-answered-uncached-mark,
3683 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3684 All other related portions are changed.
3686 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3687 (elmo-folder-list-messages-with-global-mark): Abolish.
3688 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3689 (elmo-folder-flag-as-important): Ditto.
3690 (elmo-folder-unflag-read): Ditto.
3691 (elmo-folder-flag-as-read): Ditto.
3692 (elmo-folder-unflag-answered): Ditto.
3693 (elmo-folder-flag-as-answered): Ditto.
3694 (elmo-message-encache): Return the cache path.
3695 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3696 (elmo-message-set-flag): Transitional implementation.
3697 (elmo-message-unset-flag): Ditto.
3698 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3699 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3700 (elmo-init): Call elmo-global-flag-initialize.
3701 (toplevel): Added autoload settings for elmo-flag.
3703 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3705 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3706 (elmo-file-cache-delete): Don't treat global-mark.
3708 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3710 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3712 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3713 `elmo-global-flags-set'.
3715 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3717 (elmo-folder-unflag-read): Ditto.
3718 (elmo-folder-unflag-important): Ditto.
3719 (elmo-folder-flag-as-important): Ditto.
3720 (elmo-folder-unflag-answered): Ditto.
3721 (elmo-folder-flag-as-answered): Ditto.
3723 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3724 `elmo-global-flags-set'.
3725 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3727 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3729 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3731 (elmo-folder-flag-as-important): Ditto.
3732 (elmo-folder-unflag-important): Ditto.
3733 (elmo-folder-flag-as-important): Ditto.
3734 (elmo-folder-unflag-read): Ditto.
3735 (elmo-folder-flag-as-read): Ditto.
3736 (elmo-folder-unflag-answered): Ditto.
3737 (elmo-folder-flag-as-answered): Ditto.
3739 * elmo-multi.el (elmo-folder-list-importants): Don't call
3740 elmo-folder-list-messages-with-global-mark.
3741 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3742 (elmo-folder-unflag-important): Ditto.
3743 (elmo-folder-flag-as-read): Ditto.
3744 (elmo-folder-unflag-read): Ditto.
3745 (elmo-folder-flag-as-answered): Ditto.
3746 (elmo-folder-unflag-answered): Ditto.
3748 * elmo-msgdb.el (elmo-msgdb-new-mark,
3749 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3750 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3751 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3752 (Moved to modb-legacy.el).
3753 (elmo-flag-table-get): Treat important flag too.
3755 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3757 (elmo-map-folder-flag-as-important): Ditto.
3758 (elmo-map-folder-unflag-read): Ditto.
3759 (elmo-map-folder-flag-as-read): Ditto.
3760 (elmo-map-folder-unflag-answered): Ditto.
3761 (elmo-map-folder-flag-as-answered): Ditto.
3762 (elmo-folder-unflag-important): Ditto.
3763 (elmo-folder-flag-as-important): Ditto.
3764 (elmo-folder-unflag-read): Ditto.
3765 (elmo-folder-flag-as-read): Ditto.
3766 (elmo-folder-unflag-answered): Ditto.
3767 (elmo-folder-flag-as-answered): Ditto.
3769 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3770 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3772 (elmo-map-folder-unflag-important): Ditto.
3773 (elmo-map-folder-flag-as-read): Ditto.
3774 (elmo-map-folder-unflag-read): Ditto.
3775 (elmo-map-folder-flag-as-answered): Ditto.
3776 (elmo-map-folder-unflag-answered): Ditto.
3778 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3779 `elmo-global-flags-set'.
3780 (elmo-global-flags-set): Added autoload setting.
3782 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3785 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3786 `elmo-msgdb-global-mark-set'.
3787 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3788 Call `elmo-global-flags-set'.
3789 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3791 (elmo-folder-flag-as-important-plugged): Ditto.
3792 (elmo-folder-unflag-read-plugged): Ditto.
3793 (elmo-folder-flag-as-read-plugged): Ditto.
3794 (elmo-folder-unflag-answered-plugged): Ditto.
3795 (elmo-folder-flag-as-answered-plugged): Ditto.
3796 (elmo-global-flags-set): Added autoload setting.
3798 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3800 (elmo-folder-unflag-read): Ditto.
3801 (elmo-folder-flag-as-important): Ditto.
3802 (elmo-folder-unflag-important): Ditto.
3803 (elmo-folder-flag-as-answered): Ditto.
3804 (elmo-folder-unflag-answered): Ditto.
3806 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3807 change of `mark'->`flag'.
3808 (elmo-dop-queue-method-name-alist): Ditto.
3809 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3810 (elmo-folder-unflag-read-dop): Ditto.
3811 (elmo-folder-flag-as-important-dop): Ditto.
3812 (elmo-folder-unflag-important-dop): Ditto.
3813 (elmo-folder-flag-as-answered-dop): Ditto.
3814 (elmo-folder-unflag-answered-dop): Ditto.
3816 * elmo-cache.el (elmo-folder-msgdb-create): Call
3817 `elmo-global-flags-set'.
3819 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3820 Call `elmo-global-flags-set'.
3821 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3822 elmo-archive-parse-mmdf with argument `folder'.
3823 (elmo-archive-parse-mmdf): Added argument `folder';
3824 Call `elmo-global-flags-set'.
3826 * elmo-version.el (elmo-version): Up to 2.11.14.
3828 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3830 * modb.el (elmo-msgdb-length): Define.
3832 * elmo.el (elmo-make-folder): Fixed.
3833 (elmo-generic-folder-append-messages): Follow the API change.
3835 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3838 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3840 * modb.el: New file.
3842 * modb-entity.el: Ditto.
3844 * modb-legacy.el: Ditto.
3846 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3847 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3848 of `elmo-msgdb-overview-get-entity'.
3849 (elmo-msgdb-get-field): Ditto.
3850 (elmo-msgdb-merge): Moved to `elmo.el'.
3851 (elmo-msgdb-length): Removed; redefine as modb method.
3852 (elmo-msgdb-change-mark): Abolish.
3853 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3854 (elmo-msgdb-match-condition): Don't use mark.
3855 (elmo-msgdb-overview-get-entity): Abolish.
3856 Split modb part into `modb*.el'.
3858 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3860 * elmo-shimbun.el (shimbun-mua-search-id): Use
3861 `elmo-msgdb-message-entity' instead of
3862 `elmo-msgdb-overview-get-entity'.
3863 (elmo-shimbun-folder-shimbun-header): Ditto.
3864 (elmo-shimbun-get-headers): Ditto.
3865 (elmo-shimbun-update-overview): Ditto.
3867 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3869 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3871 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3872 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3874 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3875 `elmo-msgdb-mark-to-flags'.
3877 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3878 `elmo-msgdb-set-path'.
3880 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3882 * elmo-version.el (elmo-version): Up to 2.11.13.
3884 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3886 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3889 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3891 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3894 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3896 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3897 instead of `elmo-msgdb-get-cached'.
3898 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3900 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3901 (elmo-msgdb-set-cached): Ditto.
3902 (elmo-msgdb-set-flag): Rewrite.
3903 (elmo-msgdb-unset-flag): Ditto.
3905 * elmo-msgdb.el: Rewrite with luna.
3907 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3908 (elmo-folder-msgdb): Follow the change above.
3909 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3910 (elmo-folder-unmark-important): Follow the API change.
3911 (elmo-folder-mark-as-important): Ditto.
3912 (elmo-folder-unmark-read): Ditto.
3913 (elmo-folder-mark-as-read): Ditto.
3914 (elmo-folder-unmark-answered): Ditto.
3915 (elmo-folder-mark-as-answered): Ditto.
3916 (elmo-folder-clear): Likewise.
3918 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3919 instead of `elmo-msgdb-load' (renamed).
3921 * elmo-version.el (elmo-version): Up to 2.11.12.
3923 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3925 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3927 (elmo-message-mark): Abolish.
3928 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3929 instead of `elmo-msgdb-change-mark'.
3931 * elmo-pipe.el (elmo-message-mark): Abolish.
3933 * elmo-multi.el (elmo-message-mark): Ditto.
3935 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3936 (elmo-msgdb-unread-uncached-mark): Ditto.
3937 (elmo-msgdb-unread-cached-mark): Ditto.
3938 (elmo-msgdb-read-uncached-mark): Ditto.
3939 (elmo-msgdb-answered-cached-mark): Ditto.
3940 (elmo-msgdb-answered-uncached-mark): Ditto.
3941 (elmo-msgdb-important-mark): Ditto.
3942 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3944 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3946 (elmo-flag-table-load): Changed flag to list of flag.
3947 (elmo-flag-table-set): If flags is nil, set read flag.
3948 (elmo-flag-table-get): Return derived flags from global mark,
3949 cache status and saved flags.
3950 (elmo-msgdb-flag-table): Follow the change above.
3951 (elmo-msgdb-out-of-date-messages): New function.
3953 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3955 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3957 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3959 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3960 (elmo-nntp-msgdb-create-message): Ditto.
3962 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3964 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3966 (elmo-folder-msgdb-create): Follow the API change.
3968 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3969 (elmo-folder-append-messages): Ditto.
3971 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3972 (elmo-folder-append-buffer): Ditto.
3974 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3976 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3978 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3979 (elmo-archive-parse-mmdf): Ditto.
3981 * elmo-version.el (elmo-version): Up to 2.11.11.
3983 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3985 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3988 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3990 * elmo-pipe.el (elmo-message-flags): Defined.
3992 * elmo-multi.el (elmo-message-flags): Ditto.
3994 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3996 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3997 `elmo-msgdb-delete-msgs'.
3999 * elmo.el (elmo-folder-count-flags): Don't use
4000 `elmo-msgdb-get-mark-alist'.
4001 (elmo-folder-detach-messages): Follow the API change.
4003 * elmo.el (elmo-folder-list-messages): Append killed messages into
4004 result if `visible-only' is nil.
4006 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4008 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4009 (elmo-folder-update-number): Likewise.
4011 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4012 (elmo-pop3-sort-msgdb-by-original-number): Use
4013 `elmo-msgdb-sort-entities'.
4015 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4016 (elmo-msgdb-sort-by-date): Use it.
4017 (elmo-msgdb-overview-sort-by-date): Abolish.
4019 * elmo-dop.el (elmo-folder-status-dop): Fixed.
4021 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4022 (elmo-msgdb-flags): New function.
4023 (elmo-msgdb-merge): Use elmo-msgdb-append.
4025 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4028 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4030 * elmo-dop.el (elmo-folder-status-dop): Use
4031 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4033 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4035 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4037 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4039 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4041 * elmo-util.el (elmo-with-progress-display): New macro.
4043 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4045 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4047 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4048 `elmo-folder-list-message-entities' instead of
4049 `elmo-msgdb-get-overview'.
4050 (elmo-map-folder-list-message-locations): Ditto.
4052 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4053 methods instead of treat directly).
4054 (elmo-msgdb-clear): Ditto.
4055 (elmo-msgdb-delete-msgs): Ditto.
4056 (elmo-msgdb-sort-by-date): Ditto.
4058 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4060 (elmo-nntp-folder-msgdb-create): Follow the API change.
4062 * elmo-version.el (elmo-version): Up to 2.11.10.
4064 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4066 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4067 (elmo-msgdb-flags-to-mark): Ditto.
4068 (elmo-msgdb-append-entity): Ditto.
4070 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4071 Use `elmo-msgdb-append-entity' instead of construct msgdb.
4072 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4073 (elmo-archive-parse-mmdf): Ditto.
4075 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4077 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4079 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4081 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4083 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4085 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4087 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4089 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4091 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4092 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4095 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4096 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4097 instead of directly construction.
4098 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4099 instead of construct msgdb.
4101 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4102 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4103 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4104 instead of construct msgdb.
4106 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4108 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4109 when field is from or subject.
4111 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4113 * elmo-multi.el (elmo-message-entity-parent): Define.
4114 (elmo-folder-search): Rewrite.
4116 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4118 * elmo-multi.el (elmo-message-cached-p): Define.
4120 * elmo.el (elmo-message-cached-p): New method.
4121 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4122 (elmo-message-flags): New method.
4123 (elmo-message-flagged-p): New function.
4125 * elmo-version.el (elmo-version): Up to 2.11.9.
4127 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4129 * elmo-version.el (elmo-version): Up to 2.11.8.
4131 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4133 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4135 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4137 * elmo.el (elmo-folder-detach-messages): Undo last change.
4139 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4141 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4143 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4144 only when src folder type is pop3.
4146 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4148 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4149 elmo-msgdb-overview-entity-get-number instead of
4150 elmo-message-entity-number.
4152 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4154 * elmo-version.el (elmo-version): Up to 2.11.7.
4156 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4158 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4161 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4162 (elmo-msgdb-merge): New function.
4163 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4164 (elmo-msgdb-make-index): Rewrite.
4166 * elmo-version.el (elmo-version): Up to 2.11.6.
4168 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4169 use it as a the path for loading message entities.
4171 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4173 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4175 * elmo-filter.el (elmo-folder-set-message-modified): Set
4176 message-modified slot of itself if it does not require target msgdb.
4178 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4179 if folder length is zero.
4180 (elmo-mime-display-as-is): Ditto.
4182 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4184 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4186 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4188 * elmo.el (elmo-folder-set-message-modified): New method.
4189 (elmo-generic-folder-commit): Use it.
4190 (elmo-folder-synchronize): Ditto.
4192 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4193 (elmo-folder-commit): Remove duplicate definition.
4195 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4197 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4199 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4201 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4202 (elmo-strict-folder-diff): Ditto.
4203 (elmo-folder-set-info-max-by-numdb): Simplify.
4205 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4206 elmo-msgdb-list-messages.
4208 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4209 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4211 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4213 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4214 visible-only is non-nil.
4215 (elmo-folder-confirm-appends): Changed message.
4216 (elmo-folder-synchronize): Added argument disable-killed.
4218 * elmo-multi.el (elmo-folder-synchronize): Added argument
4221 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4223 * elmo-version.el (elmo-version): Up to 2.11.5.
4225 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4228 * elmo-util.el (elmo-list-filter): Simplify.
4230 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4231 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4232 (elmo-generic-folder-diff): Abolish argument.
4233 (elmo-msgdb-load): Don't use number-alist.
4235 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4237 * elmo-pipe.el (elmo-folder-diff): Ditto.
4239 * elmo-nmz.el (elmo-folder-diff): Ditto.
4241 * elmo-net.el (elmo-folder-diff): Ditto.
4243 * elmo-maildir.el (elmo-folder-diff): Ditto.
4245 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4247 * elmo-multi.el (elmo-folder-diff): Ditto
4248 (elmo-multi-folder-diff): Rewrite.
4250 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4252 * elmo-pipe.el (elmo-folder-msgdb): Define.
4254 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4256 * elmo.el (elmo-message-set-cached): Define as a method.
4258 * elmo-pipe.el (elmo-message-set-cached): Define.
4259 (elmo-find-fetch-strategy): Ditto.
4261 * elmo-multi.el (elmo-message-set-cached): Define.
4262 (elmo-find-fetch-strategy): Rewrite.
4264 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4266 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4268 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4270 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4271 instead of number-alist.
4273 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4274 mark nor message-id when msgdb of source folder is not loaded.
4276 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4278 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4280 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4282 * elmo.el (elmo-folder-length): Don't require msgdb.
4284 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4286 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4287 (elmo-message-field): Ditto.
4289 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4290 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4292 (elmo-map-folder-list-answereds): Define.
4293 (elmo-maildir-list-location): Treat 'R' info.
4294 (elmo-folder-msgdb-create): Treat flag-table.
4295 (elmo-folder-append-messages): Save flag-table.
4297 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4299 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4300 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4302 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4304 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4306 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4307 'read when mark is null.
4309 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4311 * elmo-version.el (elmo-version): Up to 2.11.4.
4313 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4315 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4316 (elmo-folder-mark-as-answered): Ditto.
4318 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4320 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4321 (elmo-pop3-get-session): Make msgdb directory after session.
4322 (elmo-folder-exists-p): Check exactly at the first time even when the
4323 elmo-pop3-exists-exactly is nil.
4325 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4326 (elmo-folder-list-messages): Define instead of
4327 elmo-folder-list-messages-internal.
4328 (elmo-folder-check): Check destination folder.
4329 (elmo-folder-synchronize): Drain the pipe.
4331 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4332 when msgdb is not loaded.
4334 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4336 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4337 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4340 * elmo.el (elmo-folder-kill-messages-before): New function.
4341 (elmo-folder-kill-messages): Ditto.
4342 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4344 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4345 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4346 killed not by synchronize (e.g. scoring).
4348 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4350 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4352 (elmo-folder-search): Follow the change above.
4354 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4355 into the candidates of search field.
4357 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4359 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4360 (elmo-msgdb-unset-flag): Ditto.
4362 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4364 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4366 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4367 (elmo-folder-commit): Define.
4368 (elmo-folder-synchronize): Ditto.
4369 (elmo-folder-list-flagged): Ditto.
4370 (elmo-folder-commit): Ditto.
4371 (elmo-folder-length): Ditto.
4372 (elmo-folder-count-flags): Ditto.
4373 (elmo-message-mark): Ditto.
4374 (elmo-message-field): Ditto.
4375 (elmo-message-entity): Ditto.
4376 (elmo-message-folder): Ditto.
4378 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4380 * elmo.el (elmo-message-field): Define as a method.
4382 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4383 (elmo-message-field): Define.
4385 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4386 (elmo-folder-list-importants): Ditto.
4387 (elmo-folder-list-answereds): Ditto.
4389 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4391 (elmo-folder-mark-as-read): Ditto.
4392 (elmo-folder-unmark-read): Ditto.
4393 (elmo-folder-mark-as-answered): Ditto.
4394 (elmo-folder-unmark-answered): Ditto.
4395 (elmo-folder-list-flagged): Define.
4396 (elmo-folder-commit): Ditto.
4397 (elmo-folder-length): Ditto.
4398 (elmo-folder-count-flags): Ditto.
4400 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4402 * elmo.el (elmo-folder-detach-messages): New method.
4403 (elmo-folder-move-messages): Use it.
4404 (elmo-folder-synchronize): Ditto.
4406 * elmo-multi.el (elmo-folder-detach-messages): Define.
4408 * elmo.el (elmo-message-copy-entity): New function.
4409 (elmo-message-entity-set-number): Ditto.
4410 (elmo-message-mark): Define as method.
4412 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4413 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4414 (elmo-message-entity): Fixed last change.
4415 (elmo-message-mark): Define.
4416 (elmo-folder-msgdb-create): Abolish.
4417 (elmo-multi-folder-append-msgdb): Ditto.
4418 (elmo-multi-folder-diff): Fixed.
4419 (elmo-multi-split-number-alist): Removed.
4420 (elmo-multi-split-mark-alist): Removed.
4421 (elmo-folder-list-messages): Define.
4422 (elmo-folder-list-messages-internal): Removed.
4424 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4425 local file messages.
4426 (elmo-folder-msgdb-create): Fixed read mark.
4428 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4430 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4433 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4435 * elmo.el (elmo-folder-list-message-entities): Define as inline
4437 (elmo-folder-messages): Abolish.
4439 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4441 (elmo-folder-synchronize): Define.
4442 (elmo-message-entity): Define.
4444 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4446 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4447 elmo-imap4-session-select-mailbox.
4449 * elmo.el (elmo-folder-move-messages): Don't display any message.
4451 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4453 (elmo-imap4-session-check): Don't wait CHECK response.
4454 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4456 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4458 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4460 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4462 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4464 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4467 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4468 (elmo-folder-list-message-entities): Added argument in-msgdb and
4470 (elmo-folder-synchronize): Define as a method.
4472 * elmo-nntp.el (elmo-folder-initialize): Don't use
4473 elmo-nntp-default-user if zero-length username is specified
4476 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4478 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4479 server name in case with username.
4480 (XXX: this is ad-hoc fix against username includes "@", it
4481 should be solved fundamentally)
4483 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4485 * elmo-nntp.el (elmo-nntp-debug): New function.
4486 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4487 (elmo-network-authenticate-session): Hide auth-info from the log.
4489 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4490 user name if it is equal to elmo-nntp-default-user.
4492 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4494 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4495 instead of shimbun-server-internal;
4496 Use shimbun-current-group instead of shimbun-current-group-internal.
4497 (elmo-folder-plugged-p): Use shimbun-server instead of
4498 shimbun-server-internal.
4499 (elmo-folder-set-plugged): Ditto.
4500 (elmo-net-port-info): Ditto.
4501 (elmo-folder-check): Ditto.
4502 (elmo-folder-expand-msgdb-path): Ditto.
4503 (elmo-folder-list-subfolders): Ditto.
4505 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4507 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4508 Convert field-name to lower case.
4509 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4511 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4513 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4514 `message' and `error' take format string.
4516 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4518 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4520 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4522 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4523 recursive call (can't byte compile on emacs 20.7).
4525 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4527 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4528 (elmo-folder-list-message-entities): New API.
4529 (elmo-message-entity): Ditto.
4530 (elmo-message-entity-parent): Ditto.
4531 (elmo-folder-do-each-message-entity): Ditto.
4532 (elmo-message-entity-number): Ditto.
4533 (elmo-message-entity-field): Ditto.
4534 (elmo-message-entity-set-field): Ditto.
4535 (elmo-folder-count-flags): Ditto.
4536 (elmo-folder-length): Ditto.
4538 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4541 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4542 (elmo-msgdb-count-marks): Abolish.
4543 (elmo-msgdb-make-entity): Ditto.
4544 (elmo-msgdb-do-each-entity): Ditto.
4545 (elmo-msgdb-message-entity): New inline function.
4546 (elmo-msgdb-message-entity-field): Ditto.
4547 (elmo-msgdb-message-entity-set-field): Ditto.
4548 (elmo-msgdb-make-message-entity): New function.
4550 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4552 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4553 to flag. (All other related portions are changed.)
4554 (elmo-folder-msgdb-create): Likewise.
4555 (elmo-generic-folder-append-messages): Use flag-table instead of
4557 (elmo-folder-move-messages): Removed redundant process.
4558 (elmo-folder-synchronize): Likewise.
4560 * elmo-msgdb.el (elmo-flag-table-get): New function.
4561 (elmo-flag-table-save): Fixed.
4562 (elmo-msgdb-length): New inline function.
4563 (elmo-msgdb-flag-table): New function.
4564 (elmo-msgdb-mark): Add optional argument new.
4565 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4566 (elmo-msgdb-seen-list): Ditto.
4567 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4570 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4572 * elmo.el (elmo-message-set-mark): Abolish.
4573 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4574 (All related portions are changed.)
4576 * elmo-msgdb.el (toplevel): Added comment.
4577 (elmo-load-msgdb): Added 4th element `path'.
4578 (elmo-msgdb-append): Follow the change above.
4579 (elmo-msgdb-clear): Ditto.
4580 (elmo-msgdb-delete-msgs): Ditto.
4581 (elmo-msgdb-get-path): New inline function.
4582 (elmo-msgdb-set-path): Ditto.
4583 (elmo-flag-table-filename): New variable.
4584 (elmo-flag-table-load): New function.
4585 (elmo-flag-table-set): Ditto.
4586 (elmo-flag-table-save): Ditto.
4587 (elmo-msgdb-get-field-value): Abolish.
4588 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4590 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4592 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4593 the folder has been deleted successfully.
4594 * elmo-imap4.el (elmo-folder-delete): Ditto.
4595 * elmo-archive.el (elmo-folder-delete): Ditto.
4596 * elmo-localdir.el (elmo-folder-delete): Ditto.
4597 * elmo-maildir.el (elmo-folder-delete): Ditto.
4599 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4601 * elmo-util.el (elmo-string-member-ignore-case): New function.
4602 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4603 (elmo-imap4-fetch-callback-1-subr): Likewise.
4605 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4607 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4608 the case of the name attribute "\Noselect".
4610 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4612 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4614 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4615 flist, is not always a member of onum-alist.
4617 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4619 * elmo-version.el (elmo-version): Up to 2.11.3.
4621 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4623 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4624 copied from localdir's one.
4626 * elmo-pipe.el (elmo-folder-rename): New method, rename
4627 destination folder with leaving source folder as it is.
4629 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4631 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4634 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4636 * elmo-version.el (elmo-version): Up to 2.11.2.
4638 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4640 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4641 shimbun-open in case of "@".
4642 (elmo-folder-open-internal): Cope with shimbun = nil case.
4643 (elmo-folder-plugged-p): Ditto.
4644 (elmo-folder-list-subfolders): Make list for "@/" group.
4646 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4648 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4649 mailbox (e.g. for %~/something).
4651 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4653 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4654 Replace nested conditional with guard clauses.
4656 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4658 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4661 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4664 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4666 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4667 Replace nested conditional with guard clauses.
4669 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4671 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4672 (elmo-passwd-alist-save): Ditto.
4673 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4675 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4677 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4678 dir-name only if it is absolute path.
4679 (TODO: distinguish +/something and +something)
4681 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4683 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4684 path for "+~/something".
4686 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4688 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4689 as non-directory, cause error before rename-file.
4690 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4691 apropriately, mimic localdir's one.
4692 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4694 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4696 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4698 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4700 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4702 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4704 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4705 is included in the global-mark or not.
4707 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4709 * utf7.el (toplevel): Avoid error when the function
4710 find-coding-system does not exist.
4712 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4714 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4715 cache even if the folder is plugged.
4716 (elmo-nntp-search-primitive): Do nothing when body search is
4717 invoked (although it is not used by the change above).
4718 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4720 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4722 * elmo-version.el (elmo-version): Up to 2.11.1.
4724 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4726 * elmo-archive.el: Specify charset.
4728 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4730 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4731 process buffer lives or not.
4733 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4734 while flushing queues (It causes infinite loop).
4736 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4738 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4740 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4742 * utf7.el (toplevel): Check the ucs features dynamically.
4743 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4745 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4746 folder is creatabe or not if it already exists.
4748 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4750 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4752 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4754 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4755 (elmo-imap4-read-response): Take care of garbage response.
4757 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4759 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4760 just return nil instead of error.
4762 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4764 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4765 search-key is "body".
4767 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4769 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4770 of elmo-string-matched-assoc to use match-data.
4771 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4773 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4775 * elmo-split.el (elmo-split->): New function.
4776 (elmo-split-<): Ditto.
4778 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4780 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4781 workaround for invalid message-id.
4783 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4785 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4786 return normal pop3 session or pop3 biff session.
4788 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4790 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4791 info part to the cur files when the new files already have it.
4792 (Adviced by Jared Rhine <jared@wordzoo.com>)
4794 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4796 * elmo-split.el (elmo-split-default-action): New variable.
4797 (elmo-split-subr): Use it if all other conditions are passed.
4798 Extend `fname' and rename it as `action'. (implemented
4799 Teranishi-san's idea in [wl:10800])
4801 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4803 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4804 * elmo-util.el: Ditto.
4806 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4808 * elmo.el (elmo-message-accessible-p): Renamed from
4809 elmo-message-cached-p and rewritten.
4811 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4813 * elmo.el (elmo-folder-list-flagged): New generic function.
4814 (elmo-folder-list-importants): New implementation.
4815 (elmo-folder-list-answereds): Ditto.
4816 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4818 (elmo-message-cached-p): New function.
4819 (elmo-message-set-flag): Ditto (no content).
4820 (elmo-message-unset-flag): Ditto.
4821 (elmo-folder-list-messages-mark-match): Abolish.
4823 * elmo-util.el (elmo-regexp-opt): New function.
4825 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4826 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4828 (elmo-msgdb-list-flagged): New function.
4830 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4831 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4834 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4836 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4838 * elmo-version.el (elmo-version): Up to 2.11.0.
4840 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4842 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4843 `elmo-file-cache-exists-p'; use proper mark that depends on
4845 (elmo-msgdb-unset-flag): Ditto.
4846 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4848 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4849 with 4th argument `use-cache'.
4851 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4853 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4854 (elmo-folder-mark-as-important): Ditto.
4855 (elmo-folder-unmark-read): Ditto.
4856 (elmo-folder-mark-as-read): Ditto.
4857 (elmo-folder-unmark-answered): Ditto.
4858 (elmo-folder-mark-as-answered): Ditto.
4860 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4862 (elmo-msgdb-mark): Likewise.
4863 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4864 (elmo-msgdb-unset-flag): Likewise.
4866 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4868 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4870 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4873 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4875 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4876 set spool-length to 0.
4878 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4880 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4881 (elmo-dop-queue-flush): Fixed last change.
4883 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4885 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4886 if require-msgdb slot is nil.
4887 (elmo-folder-list-importants): Likewise.
4889 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4891 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4894 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4895 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4898 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4900 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4902 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4904 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4906 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4908 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4910 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4911 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4913 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4915 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4916 the problem reported by Sean Rima [wl-en:180].
4918 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4920 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4922 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4924 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4926 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4928 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4930 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4932 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4934 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4936 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4939 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4941 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4942 (elmo-folder-mark-as-read): Follow the API change.
4943 (elmo-message-set-cached): New function.
4945 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4947 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4949 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4950 (elmo-folder-mark-as-important): Ditto.
4951 (elmo-folder-unmark-read): Ditto.
4952 (elmo-folder-mark-as-read): Ditto.
4953 (elmo-folder-unmark-answered): Ditto.
4954 (elmo-folder-mark-as-answered): Ditto.
4956 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4957 (elmo-folder-unmark-important): Ditto.
4958 (elmo-folder-mark-as-read): Ditto.
4959 (elmo-folder-unmark-read): Ditto.
4960 (elmo-folder-mark-as-answered): Ditto.
4961 (elmo-folder-unmark-answered): Ditto.
4963 * elmo-mark.el (toplevel): Removed some mark method definitions.
4965 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4966 (elmo-map-folder-mark-as-answered): Ditto.
4967 (elmo-folder-unmark-important): Add :before qualifier.
4968 (elmo-folder-mark-as-important): Ditto.
4969 (elmo-folder-unmark-read): Ditto.
4970 (elmo-folder-mark-as-read): Ditto.
4971 (elmo-folder-unmark-answered): Define.
4972 (elmo-folder-mark-as-answered): Ditto.
4974 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4975 (elmo-map-folder-unmark-answered): Ditto.
4977 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4979 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4980 (elmo-folder-mark-as-important): Ditto.
4981 (elmo-folder-unmark-read): Ditto.
4982 (elmo-folder-mark-as-read): Ditto.
4983 (elmo-folder-unmark-answered): Ditto.
4984 (elmo-folder-mark-as-answered): Ditto.
4986 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4987 `mark'; evaluate mark condition.
4988 (elmo-msgdb-match-condition-internal): New function.
4989 (elmo-msgdb-match-condition): Call it; changed argument.
4991 * elmo.el (elmo-folder-search): Follow the API change on
4992 `elmo-msgdb-match-condition'.
4994 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4996 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4997 original mark is non-nil.
4999 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5001 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5002 (elmo-map-folder-list-answereds): New method.
5003 (elmo-folder-list-unreads): Add :around qualifier.
5004 (elmo-folder-list-importants): Ditto.
5005 (elmo-folder-list-answereds): Ditto.
5007 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
5009 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5011 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5012 method if msgdb is not required.
5013 (elmo-filter-folder-list-importants): Don't treat global-mark.
5015 * elmo.el (elmo-folder-list-importants): Ditto.
5017 * elmo-net.el (elmo-folder-list-importants): Ditto.
5019 * elmo-map.el (elmo-folder-list-importants): Ditto.
5021 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5023 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5024 (elmo-imap4-folder-list-any-plugged): New function.
5025 (elmo-imap4-search-internal-primitive): Use it.
5027 * elmo-filter.el (elmo-folder-check): Synchronize original folder
5028 only when require-msgdb slot is non-nil.
5029 (elmo-folder-close): Clear target folder's msgdb.
5031 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5033 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5034 (elmo-pop3-msgdb-create-by-header): Ditto.
5035 (elmo-pop3-msgdb-create-message): Ditto.
5037 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5039 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5041 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5043 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5044 (elmo-folder-msgdb-create): Ditto.
5045 (elmo-nntp-folder-msgdb-create): Ditto.
5046 (elmo-nntp-msgdb-create-by-header): Ditto.
5047 (elmo-nntp-msgdb-create-message): Ditto.
5048 (elmo-folder-list-unreads): Define.
5050 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5051 (elmo-folder-append-messages): Ditto.
5052 (elmo-folder-list-unreads): Define.
5053 (elmo-folder-list-importants): Ditto.
5054 (elmo-folder-list-answereds): Ditto.
5056 * elmo-net.el (elmo-folder-list-unreads): Define.
5057 (elmo-folder-list-importants): Ditto.
5058 (elmo-folder-list-answereds): Ditto.
5059 (elmo-folder-list-answereds-plugged): Ditto.
5060 (elmo-folder-msgdb-create): Follow the API change.
5061 (elmo-folder-msgdb-create-unplugged): Ditto.
5062 (elmo-folder-unmark-answered): Define.
5063 (elmo-folder-mark-as-answered-unplugged): Ditto.
5064 (elmo-folder-unmark-answered-unplugged): Ditto.
5066 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5067 (elmo-msgdb-unread-uncached-mark): Ditto.
5068 (elmo-msgdb-unread-cached-mark): Ditto.
5069 (elmo-msgdb-read-uncached-mark): Ditto.
5070 (elmo-msgdb-answered-cached-mark): Ditto.
5071 (elmo-msgdb-answered-uncached-mark): Ditto.
5072 (elmo-msgdb-important-mark): Ditto.
5073 (elmo-msgdb-set-mark): Rewrite.
5074 (elmo-msgdb-count-marks): Rewrite.
5075 (elmo-msgdb-mark-alist-set): Abolish.
5076 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5077 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5079 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5080 (elmo-folder-close): Define.
5081 (elmo-folder-msgdb-create): Follow the API change.
5082 (elmo-folder-list-unreads): Rewrite.
5083 (elmo-folder-mark-as-important): Ditto.
5084 (elmo-folder-unmark-important): Ditto.
5085 (elmo-folder-mark-as-read): Ditto.
5086 (elmo-folder-unmark-read): Ditto.
5087 (elmo-folder-mark-as-answered): Define.
5088 (elmo-folder-unmark-answered): Ditto.
5090 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5091 (elmo-folder-append-messages): Ditto.
5093 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5095 * elmo-map.el (elmo-folder-list-unreads): Ditto.
5096 (elmo-folder-list-importants): Ditto.
5098 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5099 (elmo-folder-append-messages): Ditto.
5101 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5103 (elmo-folder-msgdb-create-plugged): Ditto.
5104 (elmo-folder-append-messages): Ditto.
5105 (elmo-folder-list-answereds-plugged): Define.
5106 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5107 (elmo-folder-unmark-answered-plugged): Define.
5108 (elmo-folder-mark-as-answered-plugged): Ditto.
5109 (elmo-folder-search-requires-msgdb-p): Ditto.
5111 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5112 (elmo-folder-initialize): Set it.
5113 (elmo-folder-msgdb): Define.
5114 (elmo-folder-check): Call elmo-folder-synchronize.
5115 (elmo-folder-close): Define.
5116 (elmo-folder-commit): Ditto.
5117 (elmo-folder-msgdb-create): Rewrite.
5118 (elmo-folder-list-unreads): Ditto.
5119 (elmo-folder-list-importants): Ditto.
5120 (elmo-folder-mark-as-read): Ditto.
5121 (elmo-folder-unmark-read): Ditto.
5122 (elmo-folder-mark-as-important): Ditto.
5123 (elmo-folder-unmark-important): Ditto.
5124 (elmo-folder-mark-as-answered): Define.
5125 (elmo-folder-unmark-answered): Ditto.
5127 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5128 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5129 (elmo-dop-queue-method-name-alist): Likewise.
5130 (elmo-folder-mark-as-answered-dop): New inline function.
5131 (elmo-folder-unmark-answered-dop): Ditto.
5132 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5134 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5135 (elmo-folder-msgdb-create): Ditto.
5136 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5137 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5138 (elmo-archive-parse-mmdf): Ditto.
5140 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5141 (elmo-folder-list-unreads-internal): Ditto.
5143 * elmo.el (elmo-folder-msgdb): Define as generic function.
5144 (elmo-folder-list-messages): Added argument `in-msgdb'.
5145 (elmo-folder-list-unreads): Define as generic function.
5146 (elmo-folder-list-importants): Ditto.
5147 (elmo-folder-list-answereds): Ditto.
5148 (elmo-folder-list-messages-with-global-mark): New function.
5149 (elmo-folder-msgdb-create): Removed mark arguments.
5150 (elmo-folder-unmark-answered): New generic function.
5151 (elmo-folder-mark-as-answered): Ditto.
5152 (elmo-folder-append-messages): Removed argunment `unread-marks'
5153 (elmo-folder-list-unreads-internal): Abolish.
5154 (elmo-folder-list-importants-internal): Ditto.
5155 (elmo-folder-search-requires-msgdb-p): New generic function.
5156 (elmo-folder-search-requires-msgdb-p-internal): New function.
5157 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5159 (elmo-folder-search-fast): Added key 'mark'.
5160 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5161 instead of unread-marks argument.
5162 (elmo-folder-move-messages): Removed argunment `unread-marks'
5163 (elmo-folder-unmark-important): Define.
5164 (elmo-folder-mark-as-important): Ditto.
5165 (elmo-folder-unmark-read): Ditto.
5166 (elmo-folder-mark-as-read): Ditto.
5167 (elmo-folder-unmark-answered): Ditto.
5168 (elmo-folder-mark-as-answered): Ditto.
5169 (elmo-folder-replace-marks): Abolish.
5170 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5172 (elmo-folder-synchronize): Removed mark arguments;
5173 return crosspost only number.
5175 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5177 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5178 Remove redundunt connectivity check.
5180 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5182 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5183 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5185 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5187 * pldap.el (ldap-decode-string): Return string as-is if
5188 `ldap-coding-system' is nil.
5189 (ldap-encode-string): Ditto.
5190 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5191 (ldap-default-host): Fixed docstring.
5193 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5195 * elmo-util.el (elmo-warning): Define as a macro which uses
5196 `display-warning' if it is defined as a function.
5198 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5199 (elmo-split-equal): Use it.
5200 (elmo-split-match): Ditto.
5201 (elmo-split-message-entity): New buffer-local variable.
5202 (elmo-split-subr): Set it.
5204 * elmo-version.el (elmo-version): Up to 2.9.15.
5206 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5208 * elmo-imap4.el (elmo-network-initialize-session):
5209 Check capability after starttls.
5211 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5213 * elmo-util.el (elmo-list-delete): Added optional argument
5216 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5218 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5220 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5222 * elmo-imap4.el (elmo-folder-initialize): Don't use
5223 elmo-imap4-default-mailbox.
5225 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5227 * elmo-split.el (toplevel): Use `product-provide'.
5228 (elmo-split): Checkdoc.
5230 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5232 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5233 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5234 the function `elmo-imap4-debug-1'.
5236 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5238 * elmo-split.el (elmo-split): Moved to run hooks and to show
5239 message from elmo-split-subr.
5240 (elmo-split-subr): Follow the change above.
5242 * elmo-split.el (elmo-split-subr): New function (renamed from
5244 (elmo-split): Changed to call elmo-split-subr by element of
5246 (elmo-split-folder): Changed customization type to choice.
5248 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5250 * elmo-split.el (elmo-split-and): Fixed condition.
5252 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5254 * elmo-split.el: New file.
5255 (elmo-split): Fixed logic.
5256 Display "Test:" instead of "Folder:" when reharsal.
5258 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5261 * elmo-version.el (elmo-version): Up to 2.9.14.
5263 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5266 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5268 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5269 message with no message-id field.
5271 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5273 * elmo-version.el (elmo-version): Up to 2.9.13.
5275 * elmo-dop.el (elmo-folder-status-dop): Fix.
5277 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5279 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5281 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5282 changing default value of default-mime-charset.
5283 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5285 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5287 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5288 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5289 instead of elmo-dop-queue-method-name-alist to check merging queue.
5290 (elmo-folder-delete-messages-dop): Delete from queue if negative
5292 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5293 file is already removed.
5295 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5297 * elmo-vars.el: Bind colon keywords for old Emacsen.
5299 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5301 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5302 against non-exsisting charset.
5304 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5306 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5307 Use eword-decode-and-unfold-unstructured-field-body.
5309 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5310 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5311 exists to decode raw subject string.
5312 (toplevel): Require 'mime.
5314 * elmo-version.el (elmo-version): Up to 2.9.12.
5316 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5318 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5319 (elmo-msgdb-set-mark): Ditto.
5321 * elmo-version.el (elmo-version): Up to 2.9.11.
5323 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5325 * elmo-util.el (elmo-delete-match-files): New function.
5327 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5328 instead of elmo-delete-directory.
5330 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5331 elmo-hash-minimun-size as 63.
5333 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5334 elmo-diff-unread is nil.
5336 * elmo-imap4.el (elmo-folder-open): Fix.
5338 * elmo.el (elmo-message-mark): Rewrite.
5339 (elmo-message-field): Ditto.
5340 (elmo-message-set-mark): Ditto.
5341 (elmo-folder-replace-marks): New function.
5342 (elmo-generic-folder-append-msgdb): Removed third argument for
5344 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5345 (elmo-msgdb-load): New implementation.
5347 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5349 * elmo-util.el (elmo-list-insert): New implementation.
5351 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5352 argument for elmo-msgdb-append.
5355 * elmo-msgdb.el (elmo-load-msgdb): New function.
5356 (elmo-make-msgdb): Ditto.
5357 (elmo-msgdb-get-index): New inline function.
5358 (elmo-msgdb-set-index): Ditto.
5359 (elmo-msgdb-get-entity-hashtb): Ditto.
5360 (elmo-msgdb-get-mark-hashtb): Ditto.
5361 (elmo-msgdb-get-mark): Ditto.
5362 (elmo-msgdb-set-mark): Ditto.
5363 (elmo-msgdb-count-marks): Ditto.
5364 (elmo-msgdb-get-number): Ditto.
5365 (elmo-msgdb-get-field): Ditto.
5366 (elmo-msgdb-seen-list): Ditto.
5367 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5368 (elmo-msgdb-delete-msgs): Follow the changes above.
5369 (elmo-msgdb-overview-get-entity): Ditto.
5370 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5371 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5373 (elmo-msgdb-make-index): Likewise.
5374 (elmo-msgdb-append): Removed third argument.
5375 (elmo-msgdb-clear): Clear index as nil.
5376 (elmo-folder-set-info-hashtb): Removed.
5377 (elmo-folder-set-info-max-by-numdb): Ditto.
5378 (elmo-folder-info-make-hashtb): Ditto.
5380 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5382 * elmo-map.el (elmo-folder-pack-number): Ditto.
5384 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5386 * elmo-version.el (elmo-version): Up to 2.9.10.
5388 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5390 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5392 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5394 * elmo-utils.el (elmo-make-directory): Add option.
5395 Default file mode is 700.
5397 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5399 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5401 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5403 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5406 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5409 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5411 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5412 (elmo-shimbun-folder-entity-hash): New function.
5413 (elmo-shimbun-folder-shimbun-header): Ditto.
5414 (elmo-shimbun-entity-to-header): Ditto.
5415 (elmo-shimbun-msgdb-to-headers): Removed.
5416 (elmo-shimbun-folder-setup): Ditto.
5417 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5419 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5420 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5421 Removed useless local bind.
5422 (elmo-folder-open-internal): Don't call
5423 `elmo-shimbun-folder-setup'.
5424 (elmo-folder-close-internal): Clear entity-hash slot.
5425 (elmo-folder-clear): Ditto.
5426 (elmo-shimbun-msgdb-create-entity): Use
5427 `elmo-shimbun-folder-shimbun-header'.
5428 (elmo-map-message-fetch): Ditto.
5429 (elmo-shimbun-update-overview): Use overview entity instead of
5430 shimbun header to lookup id by references.
5431 (elmo-map-folder-list-message-locations): Use not only headers but
5432 also overviews to list locations.
5434 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5436 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5439 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5441 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5443 * elmo-util.el (elmo-read-search-condition-internal): Give default
5446 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5448 * elmo-util.el (elmo-condition-parse-search-value): Accept
5449 YYYY-MM-DD format to search.
5450 * elmo-date.el (elmo-date-get-datevec): Likewise.
5452 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5454 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5457 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5459 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5462 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5464 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5465 case from `elmo-folder-exists-p'.
5466 (elmo-folder-exists-p): Removed.
5467 (elmo-folder-creatable-p) Ditto.
5469 * elmo-net.el (elmo-folder-create): Defined.
5470 (elmo-folder-create-unplugged): New function.
5471 (elmo-folder-exists-p): Changed default value to nil from t.
5473 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5474 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5476 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5477 `elmo-create-folder-dop' and append queue
5478 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5479 (elmo-folder-create-dop-delayed): New function.
5481 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5483 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5485 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5486 (elmo-folder-writable-p) : Ditto.
5488 * elmo-version.el (elmo-version): Up to 2.9.9.
5490 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5492 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5493 `elmo-message-use-cache-p' returns nil.
5494 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5495 (ignore cache file and refer the substance in local folders)
5497 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5499 * elmo-version.el (elmo-version): Up to 2.9.8.
5501 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5503 * elmo-version.el (elmo-version): Up to 2.9.7.
5505 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5507 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5509 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5511 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5513 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5515 (elmo-map-folder-list-message-locations): Reverse location list.
5517 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5519 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5521 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5523 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5525 (elmo-nntp-folder-list-subfolders): Follow the change above.
5527 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5529 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5530 name if authentication type is specified.
5532 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5534 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5536 (elmo-default-nntp-stream-type): Ditto.
5537 (elmo-default-pop3-stream-type): Ditto.
5539 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5541 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5543 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5545 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5547 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5549 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5550 (elmo-maildir-folder-path): Ditto.
5551 (elmo-maildir-list): Ditto (abolished).
5553 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5555 * elmo-version.el (elmo-version): Up to 2.9.6.
5557 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5559 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5560 (elmo-maildir-folder-path): Ditto.
5561 (elmo-msgdb-directory): Ditto.
5562 (elmo-passwd-life-time): Ditto.
5563 (elmo-msgdb-extra-fields): Ditto.
5564 (elmo-enable-disconnected-operation): Ditto.
5566 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5568 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5570 (elmo-pop3-default-authenticate-type): Ditto.
5572 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5574 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5576 (elmo-pop3-default-authenticate-type): Ditto.
5578 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5580 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5581 mailbox to new-folder.
5583 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5585 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5586 less than new, set new as unread.
5588 * elmo-util.el (elmo-string): Don't put text-property if nil.
5590 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5592 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5593 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5595 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5597 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5598 is nil on `completing-read'.
5600 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5602 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5604 (elmo-imap4-parse-namespace-subr): Ditto.
5605 (elmo-folder-list-subfolders): Append a delimiter when the specified
5606 folder path is a root with namespace and does not end with delimiter.
5608 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5610 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5613 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5615 * elmo-util.el (elmo-save-buffer): The first argument of message
5616 is a format control string.
5618 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5620 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5621 `elmo-folder-diff').
5622 (elmo-diff-unread): Likewise.
5624 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5626 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5627 is t on `completing-read'.
5629 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5631 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5632 method of target folder with self mark-alist if MARK-ALIST is nil.
5634 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5636 * elmo-version.el (elmo-version): Up to 2.9.5.
5638 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5640 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5641 (elmo-dop-merge-funcs): Remove.
5643 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5645 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5646 Return t if PATH is directory, too.
5647 Use `dolist' instead of while loop.
5649 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5651 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5654 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5656 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5658 (elmo-folder-list-messages-unplugged): Return t if
5659 elmo-enable-disconnected-operation is nil.
5661 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5662 `elmo-folder-list-messages-internal'.
5664 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5666 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5667 Change to looking-at `[23][0-9]+'.
5668 (elmo-network-initialize-session): Use 'error-msg'
5669 * elmo-net.el (elmo-network-open-session): Set unplugged
5670 if elmo-network-initialize-session returns 'elmo-open-err.
5672 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5674 * elmo-version.el (elmo-version): Up to 2.9.4.
5676 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5678 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5679 `elmo-folder-list-messages-internal'.
5681 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5683 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5684 (elmo-message-match-condition): New method.
5685 (elmo-folder-search-fast): New inline function.
5686 (elmo-msgdb-search): Removed.
5688 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5689 target folder if it is unplugged.
5690 (elmo-folder-list-messages-internal): Return t if target folder is
5691 unplugged and itself is persistent; In this case, use list be
5694 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5695 (elmo-msgdb-search-internal-primitive): Ditto.
5696 (elmo-msgdb-match-condition): New function.
5697 (elmo-msgdb-match-condition-primitive): Ditto.
5699 * elmo-util.el (elmo-filter-condition-p): New macro.
5701 * elmo-cache.el (elmo-folder-search): Removed.
5703 * elmo-localdir.el (elmo-folder-search): Ditto.
5705 * elmo-maildir.el (elmo-folder-search): Ditto.
5707 * elmo-mark.el (elmo-folder-search): Ditto.
5709 * elmo-nmz.el (elmo-folder-search): Ditto.
5711 * elmo-sendlog.el (elmo-folder-search): Ditto.
5713 * elmo-shimbun.el (elmo-folder-search): Ditto.
5715 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5716 if folder is unplugged.
5718 * elmo-nntp.el (elmo-folder-search): Likewise.
5719 (elmo-nntp-search-internal): New function.
5721 * elmo-version.el (elmo-version): Up to 2.9.3.
5723 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5725 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5727 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5729 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5731 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5733 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5735 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5737 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5738 (elmo-map-folder-list-message-locations): Do drive letter conversion
5739 on Windows environment.
5740 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5741 (elmo-map-message-fetch): Ditto.
5743 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5745 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5746 (elmo-network-initialize-session): Ditto.
5748 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5750 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5752 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5754 * elmo-util.el (elmo-progress-clear): Ditto.
5756 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5757 `DD-Mon-YYYY' type date.
5759 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5761 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5762 `elmo-date-make-sortable-string' instead of
5763 `timezone-make-date-sortable'.
5765 * elmo-date.el (elmo-date-make-sortable-string): Use
5766 `timezone-make-time-string'.
5768 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5770 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5772 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5773 `since'; Fix timezone.
5775 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5777 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5779 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5781 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5783 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5785 * elmo.el (elmo-generic-folder-append-messages): Make
5786 fetch-strategy with `use-cache' as 'maybe. Check return value of
5787 `elmo-message-fetch'.
5788 (elmo-message-fetch): Return return value of
5789 `elmo-message-fetch-with-cache-process'.
5790 (elmo-message-fetch-with-cache-process): Return non-nil if
5791 fetching was succeed. Load cache when fetching was failed and
5792 fetch-strategy-use-cache is 'maybe.
5794 * elmo-util.el (elmo-file-cache-load): New function.
5796 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5799 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5800 non-nil if fetching was succeed.
5802 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5804 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5806 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5807 (elmo-message-fetch-with-cache-process): Likwise.
5809 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5811 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5813 * elmo-version.el (elmo-version): Up to 2.9.2.
5815 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5817 * elmo.el (elmo-folder-delete): Delete msgdb path.
5819 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5821 * elmo-maildir.el (elmo-folder-delete): Ditto.
5823 * elmo-localdir.el (elmo-folder-delete): Ditto.
5825 * elmo-imap4.el (elmo-folder-delete): Ditto.
5827 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5829 * elmo.el (luna-define-class): Added `biff' slot.
5831 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5832 (elmo-pop3-debug-inhibit-logging): Abolished.
5833 (elmo-network-close-session): Eliminated needless let.
5834 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5835 (elmo-pop3-send-command): Added `no-log' argument.
5836 (elmo-pop3-process-filter): Use `with-current-buffer'.
5837 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5839 (elmo-pop3-auth-apop): Likewise.
5840 (elmo-network-authenticate-session): Likewise.
5842 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5845 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5846 string to determine protocol.
5847 (elmo-network-session-name-prefix): Abolished.
5848 (elmo-network-session-cache-key): Follow the change above.
5849 (elmo-network-open-session): Ditto.
5851 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5852 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5854 * elmo-version.el (elmo-version): Up to 2.9.1.
5856 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5857 unmatch condition checking.
5859 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5862 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5864 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5866 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5868 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5869 test for while loop to execute at least one SEARCH command.
5871 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5873 * elmo-version.el (elmo-version): Up to 2.9.0.
5875 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5877 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5878 (elmo-archive-folder-path): Define.
5879 (elmo-folder-initialize): Setup `dir-name' slot.
5880 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5881 Use `dir-name' as prefix of each subfolders.
5882 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5884 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5886 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5887 (elmo-pipe-folder-list-target-messages): New internal function.
5888 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5890 (elmo-pipe-folder-copied-list-load): New function.
5891 (elmo-pipe-folder-copied-list-save): Ditto.
5892 (elmo-folder-open-internal): Follow the change above.
5893 (elmo-folder-status): Fixed for copy.
5895 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5897 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5899 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5901 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5902 elmo-copy-file instead of elmo-add-name-to-file.
5904 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5906 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5909 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5910 of accept-process-output as 1.
5911 (elmo-pop3-read-contents): Ditto.
5912 (elmo-pop3-read-body): Ditto.
5914 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5916 * elmo-version.el (product-version-as-string): Remove define.
5918 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5920 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5921 (elmo-imap4-copy-messages): Chop number set using
5922 `elmo-imap4-number-set-chop-length'.
5923 (elmo-imap4-set-flag): Ditto.
5924 (elmo-imap4-search-internal-primitive): Ditto.
5926 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5928 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5929 `elmo-folder-make-temp-dir'
5931 * elmo-vars.el (elmo-cache-directory): New variable.
5932 (elmo-cache-dir): Abolished.
5933 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5935 * elmo-version.el (elmo-version): Up to 2.7.7.
5937 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5939 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5940 defcustom; Set default value as t.
5942 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5944 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5945 (ldap-search-program-arguments): Changed default value.
5946 (ldap-search-basic): Accept exit status 4.
5947 (ldap/field-body): Parse options.
5948 (ldap/collect-field): Ditto.
5949 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5951 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5952 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5953 (elmo-imap4-accept-ok): Ditto.
5954 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5955 'notify-bye, only BYE error is reported.
5956 (elmo-folder-exists-p-plugged): Set no-error argument of
5957 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5959 * elmo.el (elmo-imap4-bye-error): Changed message.
5961 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5962 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5963 queues (It causes infinite loop).
5965 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5967 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5968 (RECENT UNSEEN MESSAGES) extension.
5970 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5972 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5973 Check number of overview fields.
5975 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5977 * elmo.el (elmo-folder-confirm-appends): Changed message.
5978 (elmo-folder-confirm-appends): Ditto.
5980 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5982 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5984 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5986 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5987 of elmo-folder-update-threshold is nil, which can be set by
5988 wl-summary-update-confirm-threshold.
5990 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5992 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5993 (elmo-nmz-index-alias-alist): Ditto.
5994 (elmo-map-folder-list-message-locations): Follow the change above.
5996 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5998 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6000 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6002 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6004 * elmo-util.el (elmo-read): Ditto.
6005 (elmo-display-error): Ditto.
6007 * elmo-vars.el (elmo-date-match): Ditto.
6009 * pldap.el (ldap-coding-system): Ditto.
6011 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6012 `elmo-inhibit-number-mapping' as nil.
6014 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
6016 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6017 space delimiter for list response.
6019 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6021 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6023 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6025 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6026 (elmo-map-message-fetch): Fix.
6027 * elmo-map.el (elmo-folder-status): Fix for killed.
6029 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6031 * elmo-sendlog.el: New file.
6032 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6034 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6036 * acap.el (acap-logging-out): New buffer local variable.
6037 (acap-close): Set it.
6038 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6041 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6043 * acap.el (acap-response-bye-p): New function.
6044 (acap-response-bye-message): Ditto.
6045 (acap-wait-for-response): If bye response is received, cause an error.
6046 (acap-parse-response): Make bye response when 'Bye' is received.
6048 2001-11-23 Kenichi OKADA <okada@opaopa.org>
6050 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6052 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6054 * elmo-util.el (elmo-copy-file): Added argument
6055 `ok-if-already-exists'.
6056 (elmo-copy-file): Fixed typo.
6058 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6060 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6062 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6064 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6066 2001-11-20 Kenichi OKADA <okada@opaopa.org>
6068 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6071 2001-11-19 Kenichi OKADA <okada@opaopa.org>
6073 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6074 (elmo-folder-initialize): Fix for `copy'.
6075 (elmo-pipe-drain): Ditto.
6076 (elmo-folder-open-internal): Ditto.
6077 (elmo-folder-newsgroups): Fix.
6079 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
6081 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6084 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6085 recent value is returned from imap folder.
6087 * elmo.el (elmo-folder-newsgroups): New generic function.
6089 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6090 (elmo-folder-initialize): Set it.
6091 (elmo-folder-expand-msgdb-path): Use it.
6092 (elmo-folder-newsgroups): Define.
6094 * elmo-filter.el (elmo-folder-newsgroups): Define.
6096 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6098 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6100 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6102 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6104 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6106 (elmo-shimbun-header-extra-field): New inline function.
6107 (elmo-shimbun-header-set-extra-field): Ditto.
6108 (elmo-shimbun-folder-header-hash-setup): Ditto.
6109 (elmo-shimbun-update-overview): Ditto.
6110 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6111 (elmo-shimbun-folder-setup): Use
6112 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6113 (elmo-shimbun-get-headers): Ditto.
6114 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6115 Insert `X-Shimbun-Id:' header if extra field is set.
6116 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6117 field's value instead of `shimbun-header-id'.
6119 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6121 (elmo-msgdb-overview-entity-set-date): Ditto.
6122 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6124 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6126 * mmimap.el (mmimap-entity-section): Changed body node number from
6129 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6131 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6132 `elmo-folder-delete-messages'.
6134 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6135 (elmo-folder-initialize): Changed to expand alias into index path.
6137 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6138 `elmo-mime-insert-header-from-buffer' with 6th arg
6141 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6143 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6145 * elmo.el (elmo-diff-new): New inline function.
6146 (elmo-diff-unread): Ditto.
6147 (elmo-diff-all): Ditto.
6149 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6150 value from responseb.
6151 (elmo-imap4-folder-diff-plugged): Ditto.
6152 (elmo-imap4-server-diff-async): Added recent argument.
6153 (elmo-server-diff-async): Ditto.
6154 (elmo-imap4-folder-diff-plugged): Ditto.
6156 * elmo-version.el (elmo-version): Up to 2.7.6.
6158 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6160 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6163 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6165 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6167 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6169 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6171 * elmo-multi.el (elmo-folder-initialize): Ditto.
6173 * elmo-util.el (elmo-parse-token): New function.
6174 (elmo-parse-prefixed-element): Ditto.
6176 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6178 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6180 (elmo-imap4-accept-ok): Ditto.
6182 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6184 * mmimap.el (mime-imap-entity-header-string): Don't check first
6185 element of node-id is `0' (Follow last change).
6187 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6189 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6190 assigned irregular node-id to nested multipart section.
6191 (initialize-instance): Followed above change.
6193 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6195 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6196 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6197 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6198 `elmo-shimbun-get-headers');
6199 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6200 visible article on summary exists in headers).
6201 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6203 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6205 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6208 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6210 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6212 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6214 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6215 header separator into loop condition.
6217 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6219 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6220 Return duplicate folder if it has subfolder.
6222 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6224 * elmo.el (elmo-make-folder): Add folder name error check.
6226 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6227 (elmo-nntp-encode-group-string): New inline function.
6228 (elmo-nntp-decode-group-string): Ditto.
6229 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6230 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6231 Use `not' instead of `null';
6232 Use elmo-nntp-decode-group-string.
6234 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6236 * elmo-version.el (elmo-version): Up to 2.7.5.
6238 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6240 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6241 Hide progress gauge if `elmo-folder-move-messages' exits
6244 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6246 * elmo-imap4.el (elmo-folder-initialize): Use
6247 `elmo-imap4-encode-folder-string' for folder name.
6249 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6251 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6254 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6256 * elmo-util.el (elmo-progress-counter-alist): New internal
6258 (elmo-progress-counter-value): New macro.
6259 (elmo-progress-counter-all-value): Ditto.
6260 (elmo-progress-counter-format): Ditto.
6261 (elmo-progress-counter-set-value): Ditto.
6262 (elmo-progress-set): New function.
6263 (elmo-progress-clear): Ditto.
6264 (elmo-progress-notify): Ditto.
6266 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6269 * elmo.el (elmo-generic-folder-append-messages): Call
6270 `elmo-progress-notify'.
6271 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6273 * elmo-archive.el (elmo-folder-append-messages): Call
6274 `elmo-progress-notify'.
6276 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6278 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6280 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6282 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6284 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6286 (elmo-message-encache-dop): Added argument `read'.
6288 * elmo-shimbun.el (elmo-message-encache): Ditto.
6290 * elmo-net.el (elmo-message-encache): Ditto.
6292 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6293 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6294 elmo-imap4-seen-messages.
6295 (elmo-folder-msgdb-create-plugged): Initialize
6296 elmo-imap4-seen-messages;
6297 Set seen mark on elmo-imap4-seen-messages.
6299 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6301 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6302 elmo-folder-append-buffer.
6303 (elmo-folder-encache): Added optional argument `read'.
6304 (elmo-message-encache): Ditto.
6306 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6308 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6310 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6311 if append buffer content succeds.
6313 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6315 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6316 elmo-display-progress.
6318 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6319 Set 4th argument of mime-display-message.
6320 (elmo-mime-display-as-is): Ditto.
6322 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6324 * elmo-nmz.el (toplevel): Require 'mime-edit.
6325 (elmo-nmz-content-type-alist): Abolished.
6326 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6327 content is not a message.
6328 (elmo-map-message-fetch): Changed behavior exept for message content;
6329 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6330 content-type, Add From: and Subject: field.
6332 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6334 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6335 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6338 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6340 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6341 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6343 * elmo-archive.el (elmo-folder-writable-p): Defined.
6345 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6347 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6349 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6351 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6353 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6355 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6357 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6359 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6361 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6363 * elmo-util.el (elmo-address-quote-specials): New function;
6364 Renamed from `wl-address-quote-specials'.
6366 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6368 * elmo-version.el (elmo-version): Up to 2.7.4.
6370 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6372 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6374 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6376 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6377 both compile-time and run-time to avoid byte-compile warning.
6379 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6381 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6383 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6385 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6387 (elmo-mime-display-as-is-internal): Use it.
6389 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6390 if `read-passwd' is not defined.
6392 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6394 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6396 (elmo-folder-status): Call `elmo-folder-open-internal';
6397 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6398 (elmo-folder-close-internal): Set location-alist as nil.
6399 (elmo-folder-clear): Define.
6400 (elmo-folder-check): Don't set location-alist as nil.
6402 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6404 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6406 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6407 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6409 * mmimap.el (mime-imap-entity::requested): New slot.
6410 (mime-imap-location-fetch-entity-p): New generic function.
6411 (mime-decode-parameters): Define using `defun-maybe'.
6412 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6413 content-type structure.
6414 (mime-entity-body): Return empty body if
6415 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6417 * elmo.el (elmo-message-displaying): New variable.
6419 * elmo-mime.el (elmo-mime-message-display): Bind
6420 elmo-message-displaying as t.
6422 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6424 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6426 * acap.el (acap-open): erase buffer before starting network process.
6427 (acap-store): Rewrite.
6429 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6431 * elmo-imap4.el (elmo-imap4-default-mailbox,
6432 elmo-imap4-default-server
6433 elmo-imap4-default-authenticate-type,
6434 elmo-imap4-default-user,
6435 elmo-imap4-default-port,
6436 elmo-imap4-default-stream-type,
6437 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6439 * elmo-pop3.el (elmo-pop3-default-user,
6440 elmo-pop3-default-server,
6441 elmo-pop3-default-authenticate-type,
6442 elmo-pop3-default-port,
6443 elmo-pop3-default-stream-type,
6444 elmo-pop3-stream-type-alist): Ditto.
6446 * elmo-nntp.el (elmo-nntp-default-server,
6447 elmo-nntp-default-user,
6448 elmo-nntp-default-port,
6449 elmo-nntp-default-stream-type,
6450 elmo-nntp-stream-type-alist): Ditto.
6452 * elmo-vars.el: Follow changes above.
6453 (elmo-setting): New custom group; added 'elmo-setting group to
6456 * elmo-version.el (elmo-version): Up to 2.7.3.
6458 * acap.el (acap-parse-response): Don't delete process when BYE
6459 response (It causes hang-up on slow network environment).
6460 (toplevel): Added comment.
6462 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6464 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6466 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6468 (acap-parse-return-metadata): Ditto.
6471 (toplevel): Fixed typo.
6473 * acap.el: New file.
6474 (acap-network-stream-open): Show "Connecting..." message.
6475 (acap-parse-response): Fixed problem for BYE untagged response.
6476 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6477 (toplevel): Added tiny comments.
6479 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6481 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6482 space delimiter for uidl response.
6484 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6486 * elmo-vars.el (elmo-use-semi): Eliminated.
6488 * elmo-util.el (elmo-string-assoc-all): New function.
6490 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6492 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6493 property 'mime-preview-situation for `mime-preview-quit'.
6495 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6497 * elmo.el (elmo-message-fetch-with-cache-process): Call
6498 elmo-message-fetch-internal instead of causing an error when fetch
6499 strategy is 'entire but only 'section cache is available.
6501 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6503 * elmo-version.el (elmo-version): Up to 2.7.2.
6505 * elmo.el (elmo-generic-folder-append-messages): Make
6506 fetch-strategy with `use-cache'.
6508 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6509 (elmo-dop-queue-method-name): New macro.
6511 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6513 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6514 unbalanced parenthesis.
6516 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6518 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6520 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6522 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6523 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6525 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6527 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6530 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6532 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6533 (elmo-message-use-cache-p): Define.
6534 (elmo-folder-msgdb-create): Treat cache.
6536 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6538 * elmo-nntp.el (elmo-network-initialize-session): Call
6539 `elmo-nntp-send-mode-reader'.
6540 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6542 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6544 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6546 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6549 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6550 for `elmo-plugged-p'.
6551 (elmo-open-network-stream): Fixed stream-type argument.
6553 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6555 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6556 unknown archive type is specified.
6558 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6560 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6562 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6563 while loading msgdb.
6565 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6566 (elmo-folder-open-internal): Rewrite.
6568 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6570 * elmo-mime.el (elmo-mime-display-as-is-internal):
6571 Adjust buffer-multibyte status.
6573 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6575 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6576 of elmo-condition-find-key.
6578 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6579 (elmo-condition-in-msgdb-p): Ditto.
6580 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6583 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6585 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6587 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6589 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6590 label for elmo-display-progress.
6592 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6594 * elmo.el (elmo-folder-clear): New method.
6595 (elmo-folder-clear): Define.
6596 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6598 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6599 (elmo-folder-clear): Define.
6601 * elmo-map.el (elmo-folder-clear): Define.
6603 * elmo-version.el (elmo-version): Up to 2.7.1.
6605 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6607 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6610 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6612 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6613 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6615 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6617 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6619 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6622 * elmo-imap4.el (elmo-folder-initialize): Use
6623 elmo-get-network-stream-type.
6625 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6627 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6629 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6631 * elmo.el (elmo-message-encache): Set unread argument for
6634 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6636 * elmo.el (elmo-net-port-info): New method.
6638 * elmo-shimbun.el (elmo-net-port-info): Define.
6639 (elmo-message-encache): Ditto.
6641 * elmo-net.el (elmo-net-port-info): Define as method.
6643 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6644 unplugged status when elmo-enable-disconnected-operation is t.
6646 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6647 of spool folder before checking new number.
6649 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6651 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6652 (elmo-network-setup-session): Ditto.
6653 (elmo-message-fetch-plugged): Ditto.
6654 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6655 (elmo-network-initialize-session): Ditto.
6656 (elmo-pop3-read-response): Abolish 3rd argument.
6657 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6658 (elmo-pop3-read-contents): Ditto.
6659 (elmo-pop3-read-body): Ditto.
6660 (elmo-folder-status): Call elmo-folder-close.
6661 (elmo-pop3-lock): Abolish.
6662 (elmo-pop3-unlock): Ditto.
6663 (elmo-pop3-locked-p): Ditto.
6664 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6666 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6668 * elmo-version.el (elmo-version): Up to 2.7.0.
6670 * elmo-pop3.el (elmo-pop3-debug): New variable.
6671 (elmo-pop3-debug-inhibit-logging): Ditto.
6672 (elmo-pop3-debug): New function.
6673 (elmo-pop3-send-command): Call elmo-pop3-debug.
6674 (elmo-pop3-read-response): Added keep-lock optional argument;
6675 Don't unlock if keep-lock is non-nil.
6676 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6677 (elmo-network-authenticate-session): Bind
6678 elmo-pop3-debug-inhibit-logging as t.
6679 (elmo-network-setup-session): Call elmo-pop3-read-response with
6681 (elmo-pop3-read-msg): Ditto.
6682 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6683 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6684 (elmo-network-initialize-session): Call elmo-pop3-lock.
6685 (elmo-folder-close-internal): Don't clear location-alist slot.
6686 (elmo-folder-check): Clear location-alist slot.
6688 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6690 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6691 (elmo-pop3-send-command): Call elmo-pop3-lock.
6692 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6693 (elmo-pop3-read-contents): Ditto.
6694 (elmo-pop3-lock): New function.
6695 (elmo-pop3-unlock): Ditto.
6696 (elmo-pop3-locked-p): Ditto.
6697 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6700 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6702 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6704 * elmo-util.el (elmo-file-field-primitive-condition-match):
6705 New inline function (Don't fetch file content if "first" or "last").
6706 (elmo-file-field-condition-match): Use
6707 elmo-file-field-primitive-condition-match.
6709 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6712 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6713 (elmo-message-fetch-plugged): Fixed.
6715 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6717 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6719 * elmo.el (elmo-folder-move-messages): Bind
6720 elmo-inhibit-display-retrieval-progress as t while moving messages.
6722 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6724 (elmo-inhibit-display-retrieval-progress): Ditto.
6726 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6727 for retrieval progress;
6728 Don't display progress when total buffer size is smaller than
6729 elmo-display-retrieval-progress-threshold.
6730 (elmo-message-fetch-plugged): Don't display progress when
6731 elmo-inhibit-display-retrieval-progress is non-nil.
6733 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6734 for retrieval progress;
6735 Don't display progress when literal size is smaller than
6736 elmo-display-retrieval-progress-threshold.
6737 (elmo-imap4-message-fetch): Don't display progress when
6738 elmo-inhibit-display-retrieval-progress is non-nil.
6740 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6742 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6743 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6744 (elmo-imap4-message-fetch): Likewise.
6746 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6747 (elmo-shimbun-index-range-alist): Ditto.
6748 (elmo-shimbun-use-entire-index): Abolish.
6749 (shimbun-mua-use-entire-index): Ditto.
6750 (elmo-shimbun-folder): Added new slot `range'.
6751 (elmo-folder-initialize): Setup slot `range'.
6753 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6755 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6756 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6757 (elmo-shimbun-get-headers): Use return value of
6758 `shimbun-article-expiration-days'.
6759 (elmo-folder-close-internal): Clean up last-check slot.
6761 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6762 (elmo-pop3-total-size): New variable.
6763 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6765 * elmo.el (elmo-folder-reserve-status-p): New method.
6767 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6768 (elmo-shimbun-use-entire-index): New user option.
6769 (shimbun-elmo-mua): New class.
6770 (shimbun-mua-search-id): Define.
6771 (shimbun-mua-use-entire-index): Ditto.
6772 (elmo-shimbun-folder:last-check): New slot.
6773 (elmo-shimbun-headers-cache-header-list): Abolish.
6774 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6775 (elmo-shimbun-headers-cache-header-hash): Ditto.
6776 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6777 (elmo-shimbun-headers-cache-last-check): Ditto.
6778 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6779 (elmo-shimbun-headers-check-p): Rewrite.
6780 (elmo-shimbun-msgdb-to-headers): New function.
6781 (elmo-shimbun-get-headers): Rewrite.
6782 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6783 (elmo-folder-open-internal): Get headers only if
6784 `elmo-shimbun-headers-check-p' is non-nil.
6785 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6787 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6788 (elmo-quit): Removed.
6790 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6792 (elmo-msgdb-overview-entity-set-extra): Ditto.
6793 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6795 * elmo-map.el (elmo-folder-status): Don't call
6796 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6799 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6801 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6802 of `elmo-msgdb-search-internal-primitive' when condition's car is
6805 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6807 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6809 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6811 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6812 call `elmo-pipe-drain'.
6814 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6816 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6817 typo. (elmo-cache-folder -> elmo-mark-folder)
6819 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6821 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6822 `elmo-message-fetch'.
6824 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6826 * elmo-net.el (elmo-message-encache): Fixed typo.
6827 (elmo-message-fetch-unplugged): Changed call
6828 `elmo-message-fetch-internal' without argument `outbuf'.
6830 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6832 * elmo.el (elmo-message-encache): Define as generic function.
6833 (elmo-message-fetch-field): New generic function.
6834 (elmo-message-fetch-with-cache-process): Cause an error when
6835 fetch strategy is 'entire but only 'section cache is available.
6836 (toplevel): Fixed nmz folder definition.
6838 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6839 (elmo-msgdb-resume-list-filename): Ditto.
6840 (elmo-queue-filename): Ditto.
6841 (elmo-enable-disconnected-operation): Changed default value to t.
6843 * elmo-util.el (elmo-cache-path-section-p): New function.
6844 (elmo-file-cache-get): Use it.
6845 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6846 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6847 (elmo-dop-queue-save): Ditto.
6849 * elmo-net.el (elmo-folder-status-unplugged): Call
6850 elmo-folder-status-dop.
6851 (elmo-folder-list-messages-unplugged): Implemented.
6852 (elmo-folder-delete-messages-unplugged): Define.
6853 (elmo-folder-msgdb-create): Define.
6854 (elmo-folder-msgdb-create-unplugged): Define.
6855 (elmo-folder-mark-as-read-unplugged): Ditto.
6856 (elmo-folder-unmark-read-unplugged): Ditto.
6857 (elmo-folder-mark-as-important-unplugged): Ditto.
6858 (elmo-folder-unmark-important-unplugged): Ditto.
6859 (elmo-message-encache): Ditto.
6861 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6862 (elmo-dop-queue-save): Ditto.
6864 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6865 `elmo-folder-msgdb-create'.
6866 (elmo-folder-append-buffer): Implemented unplugged operation.
6867 (elmo-folder-append-messages): Call parent method in unplugged status.
6868 (elmo-message-fetch-unplugged): Removed definition.
6869 (elmo-message-fetch-field): Implemented.
6871 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6872 (elmo-dop-folder): Removed variable definition.
6873 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6874 (elmo-dop-queue-flush): Implemented.
6875 (elmo-dop-queue-merge): Removed definition (TODO).
6876 (elmo-dop-spool-folder): New function.
6877 (elmo-dop-spool-folder-append-buffer): Ditto.
6878 (elmo-dop-spool-folder-list-messages): Ditto.
6879 (elmo-dop-list-deleting-messages): Ditto.
6880 (elmo-folder-append-buffer-dop): Ditto.
6881 (elmo-folder-delete-messages-dop): Ditto.
6882 (elmo-message-encache-dop): New inline function.
6883 (elmo-create-folder-dop): Ditto.
6884 (elmo-folder-mark-as-read-dop): Ditto.
6885 (elmo-folder-unmark-read-dop): Ditto.
6886 (elmo-folder-mark-as-important-dop): Ditto.
6887 (elmo-folder-unmark-important-dop): Ditto.
6888 (elmo-folder-status-dop): Fixed.
6889 (elmo-folder-append-buffer-dop-delayed): New function.
6890 (elmo-folder-delete-messages-dop-delayed): Ditto.
6891 (elmo-dop-msgdb): Ditto.
6893 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6895 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6897 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6899 * elmo.el (elmo-folder-move-messages): Fixed problem when
6900 `dst-folder' is 'null.
6902 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6904 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6905 instead of current mark.
6907 * elmo-multi.el (elmo-folder-list-importants-internal): No
6908 operation if importants is not list.
6910 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6911 Return t if importants is not list.
6913 * elmo-map.el (elmo-map-folder-list-importants): Define.
6914 (elmo-folder-list-importants-internal): Check return value of
6915 `elmo-map-folder-list-importants-internal'.
6917 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6919 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6921 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6923 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6925 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6927 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6928 (Patch is provided by <kita@coe.nttdata.co.jp>).
6930 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6932 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6935 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6937 * elmo.el (elmo-message-fetch): Define.
6938 (elmo-message-fetch-with-cache-process): New generic method.
6939 (elmo-message-fetch-internal): New generic method.
6940 (elmo-folder-synchronize):
6942 * elmo-archive.el (elmo-message-fetch-internal): Define.
6943 (elmo-message-fetch): Eliminated.
6945 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6946 (elmo-message-fetch): Eliminated.
6948 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6950 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6952 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6953 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6955 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6956 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6958 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6960 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6962 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6964 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6965 (elmo-message-fetch-unplugged): New generic method.
6966 (elmo-message-fetch-internal): Remove cache process (Renamed from
6967 `elmo-message-fetch').
6969 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6970 (elmo-message-fetch): Eliminated.
6971 (elmo-message-fetch-unplugged): Ditto.
6973 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6975 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6977 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6978 of `to-be-deleted' from number-alist to number-list.
6980 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6982 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6983 (elmo-folder-mark-as-important): Ditto.
6985 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6987 * elmo.el (elmo-folder): Added process-duplicates slot.
6989 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6990 (elmo-folder-unmark-read): Ditto.
6991 (elmo-folder-unmark-important): Ditto.
6992 (elmo-folder-mark-as-important): Ditto.
6994 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6995 duplicated message processing.
6997 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6999 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7001 * elmo-util.el (elmo-list-subdirectories-1): New function.
7002 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7003 (elmo-mapcar-list-of-list): New function.
7005 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7006 `elmo-mapcar-list-of-list' instead of `mapcar'.
7008 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7010 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7011 `elmo-have-link-count'. Return the fully qualified folder name.
7013 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
7015 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7016 (elmo-shimbun-headers-cache): New internal variable.
7017 (elmo-shimbun-headers-cache-header-list): New inline function.
7018 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7019 (elmo-shimbun-headers-cache-header-hash): Ditto.
7020 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7021 (elmo-shimbun-headers-cache-last-check): Ditto.
7022 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7023 (elmo-shimbun-lapse-seconds): Ditto.
7024 (elmo-shimbun-headers-cache-check-p): Ditto.
7025 (elmo-shimbun-get-headers): New function.
7026 (elmo-folder-open-internal): Call it.
7027 (elmo-quit): Define (Clear headers-cache).
7029 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
7031 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7033 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7034 (elmo-msgdb-flist-save): Ditto.
7036 * elmo-shimbun.el (elmo-folder-list-subfolders):
7037 Use `shimbun-groups' instead of `shimbun-groups-internal'.
7038 (elmo-folder-exists-p): Ditto.
7040 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7041 argument for `shimbun-header-insert'.
7043 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
7045 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7048 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7049 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7051 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
7053 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7054 (elmo-folder-plugged-p): Define.
7055 (elmo-folder-set-plugged): Ditto.
7056 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7057 (elmo-folder-list-messages-internal): Return t if unplugged.
7058 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7060 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7061 when elmo-folder-list-messages-internal method of children returns t.
7063 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7065 (elmo-folder-open-internal): Don't update if unplugged status.
7067 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
7069 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7072 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
7074 * elmo-util.el (elmo-file-cache-save): Ignore errors.
7076 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7079 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
7081 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7083 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7084 (elmo-folder-open-internal): Set up headers slot.
7085 (elmo-folder-check): Call elmo-folder-close-internal and
7086 elmo-folder-open-internal.
7087 (elmo-folder-close-internal): Clean up headers slot.
7089 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7091 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7092 exactly folder list.
7093 (elmo-folder-append-messages): Fixed append archive with prefix.
7095 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7096 make temp files with start-number.
7098 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7100 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7102 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7103 argument `visible-only'.
7104 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7107 * elmo-pop3.el (elmo-folder-open-internal): Check
7108 `elmo-inhibit-number-mapping' is non-nil.
7110 * elmo-pipe.el (elmo-folder-status): Fixed.
7112 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7114 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7116 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7117 (elmo-folder-open-internal): Setup `header-hash' slot.
7118 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7120 (elmo-map-message-fetch): Ditto.
7122 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7124 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7125 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7126 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7127 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7129 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7131 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7133 * sb-airs.el: Added footer.
7135 * shimbun.el (shimbun-article): Define as luna-method.
7137 * sb-tcup.el: New file.
7139 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7140 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7142 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7144 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7145 (shimbun-get-headers): Ditto.
7147 * elmo.el: Moved obsolete variable definitions from
7148 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7150 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7153 * shimbun.el: New file.
7155 * elmo-shimbun.el: New file.
7157 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7158 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7159 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7160 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7162 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7164 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7167 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7169 * elmo.el (elmo-folder-msgdb): Define as macro.
7170 (elmo-folder-open): Added argument `load-msgdb'.
7171 (elmo-generic-folder-open): Ditto.
7172 (elmo-folder-encache): New function.
7174 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7176 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7178 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7179 Eliminated argument FOLDER and added argument MSGDB.
7180 (elmo-dop-queue-load): Moved from elmo-dop.el.
7181 (elmo-dop-queue-save): Ditto.
7183 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7185 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7187 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7188 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7189 (elmo-filter-folder-list-importants-internal): Ditto.
7191 * elmo-map.el (elmo-folder-pack-number): Ditto.
7193 * elmo-mime.el (elmo-mime-message-display): Ditto.
7195 * elmo.el (elmo-generic-folder-commit): Ditto.
7196 (elmo-folder-list-unreads): Ditto.
7197 (elmo-folder-list-importants): Ditto.
7198 (elmo-generic-folder-commit): Ditto.
7199 (elmo-message-set-mark): Ditto.
7200 (elmo-generic-folder-append-msgdb): Ditto.
7201 (elmo-folder-synchronize): Ditto.
7202 (elmo-folder-messages): Ditto.
7203 (elmo-init): Call elmo-dop-queue-load.
7204 (elmo-folder-list-messages): Ditto.
7206 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7207 (elmo-nntp-folder-process-crosspost): Ditto.
7208 (elmo-folder-list-unreads-internal): Ditto.
7210 * elmo-dop.el: Removed old functions.
7212 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7214 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7215 `folder' to `msgdb'.
7217 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7219 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7220 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7222 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7225 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7227 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7230 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7231 (mmimap-parse-parameters-from-list): Define as alias for
7232 `mime-decode-parameter-plist' if it is defined as function.
7233 (mmimap-make-mime-entity): Added argument `number'.
7234 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7236 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7238 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7240 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7242 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7244 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7246 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7248 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7249 when elmo-imap4-default-authenticate-type is nil.
7250 (elmo-folder-list-subfolders): Ditto
7251 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7252 (elmo-imap4-fetch-callback-1-subr): Renamed from
7253 `elmo-imap4-fetch-callback-1' and define as inline function.
7254 (elmo-imap4-fetch-callback-1):
7255 Renamed from `elmo-imap4-fetch-callback'.
7256 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7258 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7259 msgdb path (To keep compatibility with main trunk).
7261 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7263 * elmo-util.el (elmo-make-file-cache): Moved position of
7266 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7267 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7268 instead of `elmo-pop3-inhibit-uidl'.
7269 (elmo-folder-exists-p): Ditto.
7270 (elmo-pop3-folder-list-messages): Ditto.
7272 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7273 instead of `elmo-pop3-inhibit-uidl'.
7274 (elmo-folder-status): Ditto.
7276 * elmo-dop.el (elmo-dop-folder): New variable.
7277 (elmo-dop-lock-message): Eliminated.
7278 (elmo-dop-unlock-message): Ditto.
7279 (elmo-dop-lock-list-load): Ditto.
7280 (elmo-dop-lock-list-save): Ditto.
7281 (elmo-dop-delete-folder): Ditto.
7282 (elmo-dop-rename-folder): Ditto.
7284 * elmo.el: Removed incomplete commentary.
7286 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7288 * elmo.el (toplevel): Require 'elmo-version first;
7289 for little `recursive-load-depth' settings.
7290 Fix "ends here" comment.
7292 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7294 * elmo-util.el (toplevel): Require 'poem;
7295 Some functions are moved from elmo-cache.el.
7297 * elmo-net.el (toplevel): Require 'elmo-cache.
7299 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7301 * elmo.el (toplevel): Ditto.
7303 * elmo-cache.el: Rewrite with luna;
7304 Some functions are moved to elmo-util.el.
7306 * elmo-internal.el (elmo-internal-folder-list): New variable.
7307 (elmo-internal-folder-initialize): Rewrite.
7308 (elmo-folder-list-subfolders): Ditto.
7310 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7311 (elmo-cache-collect-sub-directories): Ditto.
7313 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7315 * elmo-version.el (elmo-version): Up to 2.5.8.
7317 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7319 * elmo-util.el (elmo-list-insert): New function.
7321 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7323 * elmo.el (elmo-init): New function.
7324 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7326 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7327 (Renamed from `elmo-localdir-header-chop-length').
7329 * elmo-pop3.el (elmo-pop3-use-cache,
7330 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7332 * elmo-nntp.el (elmo-message-fetch): Define.
7333 (elmo-message-fetch-unplugged): Ditto.
7334 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7335 (elmo-nntp-use-cache): Ditto.
7336 (elmo-nntp-max-number-precedes-list-active): Ditto.
7338 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7340 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7341 `elmo-msgdb-insert-file-header'.
7342 Use `elmo-msgdb-file-header-chop-length'.
7344 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7347 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7348 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7349 `elmo-msgdb-insert-file-header'.
7351 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7353 Define obsolete variables with `elmo-define-obsolete-variable',
7355 * elmo-util.el (elmo-warning-buffer-name): New constant.
7356 (elmo-warning): New function.
7357 (elmo-obsolete-variable-alist): New variable.
7358 (elmo-obsolete-variable-show-warnings): New variable.
7359 (elmo-define-obsolete-variable): New function.
7360 (elmo-resque-obsolete-variable): Ditto.
7361 (elmo-resque-obsolete-variables): Ditto.
7363 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7365 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7368 * elmo-pop3.el, elmo-nntp.el: Use custom.
7370 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7372 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7373 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7375 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7377 * Luna-fy Kenichi OKADA's following changes.
7378 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7380 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7382 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7384 * elmo-util.el (elmo-display-progress): Prefer
7385 `progress-feedback-with-label' to `lprogress-display'.
7387 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7389 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7391 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7393 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7394 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7395 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7396 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7397 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7398 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7399 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7400 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7401 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7402 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7403 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7404 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7405 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7407 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7409 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7410 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7412 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7414 * elmo.el (elmo-folder-process-crosspost): New generic method.
7415 (elmo-folder-writable-p): Ditto.
7416 (elmo-folder-message-appendable-p): Eliminated.
7417 (elmo-generic-folder-append-msgdb): Rewrite.
7418 (elmo-newsgroups-hashtb): New internal variable.
7419 (elmo-crosspost-message-set): Eliminated.
7420 (elmo-crosspost-message-delete): Ditto.
7421 (elmo-setup-subscribed-newsgroups): New function.
7422 (elmo-crosspost-message-alist-modified): New internal variable.
7423 (elmo-crosspost-message-alist-load): New function (Renamed from
7424 `wl-crosspost-alist-load').
7425 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7426 `wl-crosspost-alist-save').
7428 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7430 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7432 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7433 elmo-newsgroups-hashtb).
7434 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7435 `elmo-nntp-folder-update-crosspost-message-alist'.
7436 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7437 `elmo-nntp-groups-hashtb'.
7438 (elmo-nntp-make-groups-hashtb): Eliminated.
7439 (elmo-nntp-parse-newsgroups): New function (Renamed from
7440 `wl-parse-newsgroups').
7441 (elmo-folder-creatable-p, elmo-folder-writable-p,
7442 elmo-folder-close-internal, elmo-folder-mark-as-read,
7443 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7445 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7447 * elmo-net.el (elmo-message-fetch): Check buffer size.
7449 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7451 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7453 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7454 before `close' command.
7456 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7457 `mark-alist' (All other related portions are changed).
7459 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7461 * elmo-util.el (elmo-create-hash-size): Eliminated.
7462 (elmo-make-hash) Make a hash with `one less than a power of two'
7465 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7466 (elmo-hash-maximum-size): Changed value.
7468 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7470 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7471 (elmo-mime-message-display-as-is): Ditto.
7473 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7475 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7476 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7478 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7480 * elmo-mark.el: New file.
7482 * elmo-internal.el: Rewrite (Almost empty).
7484 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7486 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7487 (mime-imap-entity-header-string): Ditto.
7488 (mmimap-entity-section): Rewrite.
7490 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7492 * elmo-nmz.el: New file.
7494 * elmo-pipe.el: Rewrite with luna.
7496 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7498 * elmo-archive.el: Rewrite with luna.
7500 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7501 (elmo-folder-list-importants-internal): Ditto.
7503 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7505 * elmo-archive.el (elmo-archive-version): Abolish.
7506 (toplevel) Removed `boso' comment.
7508 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7510 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7511 elmo-msgdb-add-msgs-to-seen-list-subr;
7512 Changed argument seen-marks to unread-marks.
7514 * elmo-nntp.el: Rewrite with luna.
7516 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7518 * elmo-filter.el: Rewrite with luna.
7520 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7522 * elmo-pop3.el: Rewrite with luna.
7524 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7526 * elmo-multi.el: Rewrite with luna.
7528 * elmo-vars.el (elmo-use-killed-list): Abolish.
7529 All other related portions are changed.
7530 (elmo-filename-replace-string-alist): Renamed from
7531 elmo-msgid-replace-string-alist.
7533 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7535 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7537 * elmo-map.el: New file.
7538 * elmo-maildir.el: Rewrite with luna.
7540 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7542 * elmo.el: Changed meaning of `elmo-folder-commit'.
7543 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7545 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7547 * elmo.el (elmo-folder-append-buffer): New function.
7548 (Renamed from `elmo-append-msg')
7550 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7552 * elmo-mime.el: New file.
7554 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7556 * elmo-cache.el: Rewrite.
7558 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7560 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7562 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7564 * elmo-vars.el (elmo): New group.
7565 (elmo-strict-diff-folder-regexp): New variable.
7567 * elmo-util.el (elmo-call-func): Abolish.
7568 (elmo-folder-get-type): Ditto.
7569 (elmo-*-get-spec): Ditto.
7570 (elmo-*-spec-*): Ditto.
7571 (elmo-imap4-identical-name-space-p): Ditto.
7572 (elmo-folder-identical-system-p): Ditto.
7573 (elmo-folder-direct-copy-alist): Ditto.
7574 (elmo-folder-direct-copy-p): Ditto.
7576 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7577 (elmo-folder-initialize): Define.
7578 (elmo-folder-get-primitive-list): Ditto.
7580 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7581 (elmo-folder-initialize): Define.
7582 Renamed `elmo-network-session-host-internal' to
7583 `elmo-network-session-server-internal'.
7585 * elmo-multi.el (elmo-multi-folder): New luna class.
7586 (elmo-folder-initialize): Define.
7587 (elmo-folder-get-primitive-list): Ditto.
7588 (elmo-folder-contains-type): Ditto.
7589 (elmo-message-use-cache-p): Ditto.
7591 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7592 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7594 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7595 (elmo-folder-initialize): Define.
7597 * elmo-filter.el (elmo-filter-folder): New luna class.
7598 (elmo-folder-initialize): Define.
7599 (elmo-folder-get-primitive-list): Ditto.
7600 (elmo-folder-contains-type): Ditto.
7602 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7604 * elmo-imap4.el: Rewrite with luna.
7606 * mmimap.el: New file.
7608 * mmelmo.el, mmelmo-imap4.el: Removed.
7610 * elmo-net.el: Ditto.
7612 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7613 (elmo-folder-initialize): Define.
7615 * elmo-archive.el (elmo-archive-folder): New luna class.
7616 (elmo-folder-initialize): Define.
7618 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7619 `elmo-folder-msgdb-path'.
7620 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7623 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7625 * elmo.el: New file.
7627 * elmo2.el: Renamed to elmo.el.
7630 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7632 * elmo-cache.el (elmo-cache-expire-by-size): Count
7633 a disk usage for a cache file entry in KB even when
7634 its kind is a directory.
7636 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7638 * elmo-version.el (elmo-version): Up to 2.5.7.
7640 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7642 * elmo-version.el (elmo-version): Up to 2.5.6.
7644 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7646 * elmo-version.el (elmo-version): Up to 2.5.5.
7648 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7650 * elmo-imap4.el (elmo-network-authenticate-session):
7651 Fixed a logic for response checking.
7653 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7655 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7656 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7657 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7660 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7661 for `starttls-open-stream' and `starttls-negotiate'.
7663 * elmo-nntp.el: Remove autoload settings for
7664 `starttls-open-stream' and `starttls-negotiate'.
7666 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7667 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7668 `luna-define-class' with `eval-and-compile'.
7670 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7672 * elmo-util.el (elmo-read-search-condition-internal):
7673 Require an element of table for searching field.
7675 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7677 * elmo-version.el (elmo-version): Up to 2.5.4.
7679 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7681 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7683 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7685 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7687 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7689 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7692 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7694 * elmo-imap4.el (elmo-imap4-delete-folder):
7695 Send "close" before "delete" (Use commented out line).
7696 (elmo-imap4-rename-folder): Ditto.
7698 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7699 folder string itself.
7700 (elmo-dop-list-deleted): New function.
7701 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7704 * elmo-util.el (elmo-string-rassoc-all): New function.
7706 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7708 * elmo-version.el (elmo-version): Up to 2.5.3.
7710 * elmo-net.el (elmo-network-get-session): Changed logic for
7711 checking process status.
7713 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7715 Changed logic for checking process status.
7717 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7719 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7721 (elmo-network-setup-session): Set UIDL hash size according to
7722 the length of list response.
7723 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7724 according to the length of list response;
7725 Return the length of list response.
7726 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7728 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7730 * elmo-imap4.el (toplevel): Require 'ssl.
7731 Add autoload 'starttls.
7732 * elmo-pop3.el (toplevel): Ditto.
7733 * elmo-nntp.el (toplevel): Ditto.
7735 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7737 * elmo-imap4.el (toplevel): defun at compile time.
7738 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7739 sasl-next-step, sasl-step-data, sasl-step-set-data.
7740 * elmo-pop3.el (toplevel): Ditto.
7742 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7744 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7746 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7748 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7750 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7751 and `elmo-pop-auth-apop'.
7753 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7755 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7757 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7759 * elmo-pop3.el (elmo-network-authenticate-session): Split
7760 encoded response value.
7762 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7764 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7765 `elmo-pop3-force-login'.
7766 Redefine `sasl-mechanisms'.
7767 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7769 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7771 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7772 Delete `elmo-imap4-authenticator-alist'.
7773 (elmo-imap4-auth-cram-md5): Delete.
7774 (elmo-imap4-auth-digest-md5): Delete.
7776 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7778 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7779 (elmo-pop3-auth-scram-md5): Ditto.
7780 (elmo-pop3-auth-cram-md5): Ditto.
7782 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7784 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7785 Delete `elmo-pop3-authenticator-alist'.
7787 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7789 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7791 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7793 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7795 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7797 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7799 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7800 Fixed problem when `elmo-pop3-use-uidl' is nil.
7801 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7803 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7805 * elmo-version.el (elmo-version): Up to 2.5.2.
7807 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7809 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7811 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7812 (elmo-pop3-msgdb-create-as-numlist): Use it.
7814 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7815 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7817 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7818 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7820 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7822 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7823 when elmo-mark-as-read is called with second argument nil.
7825 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7827 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7828 Moved to elmo-util.el.
7830 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7831 Moved from elmo-pipe.el
7833 * elmo-archive.el (elmo-archive-call-process): Enclose with
7836 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7837 "RFC822" (because RFC822.PEEK is obsolete).
7838 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7840 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7842 * elmo-archive.el (elmo-archive-call-process): Don't check for
7843 the exit status when Nemacs is running.
7845 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7847 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7850 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7851 (elmo-pop3-get-spec): Set default of auth to 'user.
7853 * elmo-imap4.el (elmo-imap4-session-check):
7854 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7855 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7856 (elmo-imap4-auth-login): New function; Revival.
7857 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7858 `elmo-imap4-auth-login'.
7860 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7862 * elmo2.el (toplevel): Move `product-provide' declare.
7863 * mmelmo.el (toplevel): Ditto.
7865 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7867 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7869 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7871 * elmo-util.el (elmo-folder-get-store-type): New function.
7872 (elmo-folder-direct-copy-p): Use it.
7874 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7876 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7877 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7878 and result of `elmo-imap4-use-flag-p'.
7879 (elmo-imap4-fetch-callback-1): Set mark according to
7880 the result of `elmo-imap4-use-flag-p'.
7882 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7884 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7885 (elmo-generic-list-folder-unread): Ditto.
7886 (elmo-folder-get-info): Ditto.
7887 (elmo-folder-set-info-max-by-numdb): Ditto.
7888 (elmo-folder-get-info-max): Ditto.
7889 (elmo-folder-get-info-length): Ditto.
7890 (elmo-folder-get-info-unread): Ditto.
7891 (elmo-folder-info-make-hashtb): Ditto.
7893 * elmo2.el: Removed above functions.
7895 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7897 * elmo-imap4.el (toplevel): Require 'ssl.
7898 Add autoload 'starttls.
7899 * elmo-pop3.el (toplevel): Ditto.
7900 * elmo-nntp.el (toplevel): Ditto.
7902 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7904 * elmo-imap4.el (toplevel): defun at compile time.
7905 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7906 sasl-next-step, sasl-step-data, sasl-step-set-data.
7907 * elmo-pop3.el (toplevel): Ditto.
7909 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7911 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7913 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7915 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7917 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7918 and `elmo-pop-auth-apop'.
7920 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7922 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7924 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7926 * elmo-pop3.el (elmo-network-authenticate-session): Split
7927 encoded response value.
7929 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7931 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7932 `elmo-pop3-force-login'.
7933 Redefine `sasl-mechanisms'.
7934 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7936 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7938 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7939 Delete `elmo-imap4-authenticator-alist'.
7940 (elmo-imap4-auth-cram-md5): Delete.
7941 (elmo-imap4-auth-digest-md5): Delete.
7943 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7945 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7946 (elmo-pop3-auth-scram-md5): Ditto.
7947 (elmo-pop3-auth-cram-md5): Ditto.
7949 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7951 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7952 Delete `elmo-pop3-authenticator-alist'.
7954 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7956 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7958 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7961 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7963 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7965 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7967 * elmo-nntp.el (elmo-nntp-get-folders-info):
7968 Fixed problem when '\' character is contained in user-id.
7969 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7972 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7974 * elmo-imap4.el (elmo-imap4-delete-folder):
7975 Send "close" before "delete" (Use commented out line).
7976 (elmo-imap4-rename-folder): Ditto.
7978 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7979 folder string itself.
7980 (elmo-dop-list-deleted): New function.
7981 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7984 * elmo-util.el (elmo-string-rassoc-all): New function.
7986 * elmo-version.el (elmo-version): Up to 2.5.1.
7988 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7990 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7992 * elmo-internal.el (elmo-internal-search): Fix last change.
7994 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7996 * elmo-internal.el (elmo-internal-search): Rewrite.
7997 (Fixed problem which is pointed out by Akihiro MOTOKI
7998 <motoki@da.jp.nec.com>)
8000 * elmo-version.el (elmo-version): Up to 2.5.0.
8002 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8004 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8006 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8008 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8009 non-nil, make hierarchy.
8011 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
8013 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8014 `elmo-pop3-use-uidl' must be bound to nil.
8015 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8017 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
8019 * elmo-util.el (elmo-copy-file): Don't cause an error after
8020 `add-name-to-file' failed.
8022 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8023 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8025 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
8027 * elmo-version.el (elmo-version): Up to 2.3.93.
8029 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
8031 * elmo-util.el (elmo-flatten): New function.
8033 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
8035 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8037 * elmo-cache.el (toplevel): Ditto.
8038 * elmo-database.el (toplevel): Ditto.
8039 * elmo-date.el (toplevel): Ditto.
8040 * elmo-dop.el (toplevel): Ditto.
8041 * elmo-filter.el (toplevel): Ditto.
8042 * elmo-imap4.el (toplevel): Ditto.
8043 * elmo-internal.el (toplevel): Ditto.
8044 * elmo-localdir.el (toplevel): Ditto.
8045 * elmo-localnews.el (toplevel): Ditto.
8046 * elmo-maildir.el (toplevel): Ditto.
8047 * elmo-msgdb.el (toplevel): Ditto.
8048 * elmo-multi.el (toplevel): Ditto.
8049 * elmo-net.el (toplevel): Ditto.
8050 * elmo-nntp.el (toplevel): Ditto.
8051 * elmo-pipe.el (toplevel): Ditto.
8052 * elmo-pop3.el (toplevel): Ditto.
8053 * elmo-util.el (toplevel): Ditto.
8054 * elmo-vars.el (toplevel): Ditto.
8055 * elmo2.el (toplevel): Ditto.
8056 * mmelmo-imap4.el (toplevel): Ditto.
8057 * mmelmo.el (toplevel): Ditto.
8059 * elmo-version.el (elmo-version): Move to top.
8061 * elmo-cache.el (toplevel): Fixed multiple Author header format.
8062 * elmo-imap4.el (toplevel): Ditto.
8063 * elmo-localdir.el (toplevel): Ditto.
8064 * elmo-msgdb.el (toplevel): Ditto.
8065 * elmo-nntp.el (toplevel): Ditto.
8066 * elmo-pop3.el (toplevel): Ditto.
8067 * elmo-version.el (toplevel): Ditto.
8069 * elmo-localnews.el (toplevel): Added Keyword header.
8071 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
8073 * elmo-version.el (product-version-as-string): Defined using
8077 * elmo-localdir.el (toplevel): Updated copyright notice.
8078 * elmo-version.el (toplevel): Ditto.
8079 * elmo-msgdb.el (toplevel): Ditto.
8080 * elmo-imap4.el (toplevel): Ditto.
8081 * elmo-nntp.el (toplevel): Ditto.
8082 * elmo-pop3.el (toplevel): Ditto.
8084 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
8086 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8089 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8090 parameter value (It sometimes contains raw kanji).
8092 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8094 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8095 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8097 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8099 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8101 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8103 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8104 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8106 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8108 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8109 value if selecting folder succceeded.
8110 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8112 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8114 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8117 * elmo-util.el (elmo-string-matched-member): New function.
8119 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8121 * elmo-util.el (elmo-unintern): New macro.
8122 (elmo-number-set-member): Fixed docstring.
8124 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8127 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8129 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8130 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8132 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8134 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8137 Return non-nil if selecting folder succeeded.
8138 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8140 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8142 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8143 `file-name-completion' returns t.
8144 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8145 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8146 directory if it does not exist.
8147 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8150 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8152 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8153 enclosure (It's harmful in unplugged status).
8155 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8157 * mmelmo-1.el: Removed.
8159 * mmelmo-2.el: Ditto.
8161 * mmelmo-imap4-1.el: Ditto.
8163 * mmelmo-imap4-2.el: Ditto.
8165 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8167 * mmelmo.el: Merged mmelmo-2.el.
8169 * elmo-version.el (elmo-version): Up to 2.3.92.
8171 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8173 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8174 elmo-update-number): Remove last period in "...done." message.
8175 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8177 * elmo-cache.el (elmo-cache-expire-by-size,
8178 elmo-cache-get-sorted-cache-file-list,
8179 elmo-cache-msgdb-create-as-numlist): Ditto.
8180 * elmo-dop.el (elmo-dop-save-pending-messages,
8181 (elmo-dop-flush-pending-append-operations): Ditto.
8182 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8183 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8184 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8185 (elmo-localdir-pack-number): Ditto.
8186 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8187 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8188 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8189 mime-write-entity-content): Ditto.
8190 * pldap.el (ldap-search-basic): Ditto.
8192 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8194 * elmo-version.el (elmo-version): Up to 2.3.91.
8196 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8197 Only when filter is 'last'.
8199 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8200 (elmo-condition-parse-search-value): Use it.
8201 (elmo-read-search-condition-internal): Quote value only when
8204 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8206 * elmo2.el (elmo-generic-folder-diff): Fix.
8208 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8210 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8211 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8212 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8213 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8214 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8215 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8217 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8219 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8222 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8224 * elmo-version.el (elmo-version): Up to 2.3.90.
8226 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8227 (elmo-imap4-list-folder-important): Ditto.
8229 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8231 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8233 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8235 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8237 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8239 * elmo-nntp.el (elmo-network-initialize-session):
8240 Add starttls negotiation.
8242 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8244 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8246 (elmo-network-setup-session): Define.
8247 Call `elmo-nntp-send-mode-reader' when session opened.
8249 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8251 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8253 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8255 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8256 an invalid SPACE character ahead of `SEARCH' command. Move
8257 a valid SPACE character following `SEARCH' from conditional
8258 `format' arguments to control-strings.
8260 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8262 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8265 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8267 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8269 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8270 `w32-get-true-file-link-count' as t.
8272 * elmo-imap4.el (elmo-imap4-read): Abolished.
8273 (Renamed to `elmo-read' and moved to elmo-util.el)
8274 All other related portions are changed.
8276 * elmo-util.el (elmo-read): New function.
8277 (elmo-condition-parse-search-value): Use it.
8279 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8281 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8283 * elmo-nntp.el (elmo-nntp-session): Define.
8284 (elmo-nntp-setting): Abolished.
8285 All other related portions are changed.
8286 (elmo-nntp-get-server-command): Changed argument.
8287 (elmo-nntp-set-server-command): Ditto.
8288 (elmo-nntp-xover-p): Ditto.
8289 (elmo-nntp-set-xover): Ditto.
8290 (elmo-nntp-listgroup-p): Ditto.
8291 (elmo-nntp-set-listgroup): Ditto.
8292 (elmo-nntp-list-active-p): Ditto.
8293 (elmo-nntp-set-list-active): Ditto.
8294 (elmo-nntp-xhdr-p): Ditto.
8295 (elmo-nntp-set-xhdr): Ditto.
8296 (elmo-nntp-flush-connection): Abolished.
8297 (elmo-nntp-get-connection): Abolished.
8298 (elmo-nntp-get-session): New function.
8299 (elmo-network-initialize-session): Defined.
8300 (elmo-network-authenticate-session): Ditto.
8301 (elmo-nntp-send-mode-reader): Changed argument.
8302 (elmo-nntp-send-command): Changed argument.
8303 All other related portions are changed.
8304 (elmo-nntp-read-response): Ditto.
8305 (elmo-nntp-read-raw-response): Ditto.
8306 (elmo-nntp-read-contents): Ditto.
8307 (elmo-nntp-read-body): Ditto.
8308 (elmo-nntp-goto-folder): Abolished.
8309 (elmo-nntp-select-group): New function.
8310 All other related portions are changed.
8311 (This function substitutes `elmo-nntp-goto-folder')
8312 (elmo-nntp-msgdb-create-by-header): Rewrite.
8313 (elmo-nntp-get-overview): Eliminated.
8314 (elmo-nntp-get-message): Ditto.
8315 (elmo-nntp-open-connection) Abolished.
8316 (elmo-nntp-read-msg): Rewrite.
8317 (elmo-nntp-post): Ditto.
8318 (elmo-nntp-send-data): Abolished.
8319 (elmo-nntp-send-buffer): New function.
8320 (elmo-nntp-send-data-line): Define as inline function.
8321 (elmo-nntp-get-folders-info-prepare): Use session as key.
8322 (elmo-nntp-groups-read-response): Changed argument.
8323 (elmo-nntp-retrieve-headers): Ditto.
8324 (elmo-nntp-msgdb-create-message): Ditto.
8326 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8327 when searching by 'since' or 'before'.
8329 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8331 * elmo-version.el (toplevel): Use product-version-as-string for set
8332 verstion-string, if defined.
8334 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8336 * elmo-util.el: Doc fixes.
8338 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8340 * elmo-archive.el (toplevel): Use product-provide.
8341 * elmo-cache.el (toplevel): Ditto.
8342 * elmo-database.el (toplevel): Ditto.
8343 * elmo-date.el (toplevel): Ditto.
8344 * elmo-dop.el (toplevel): Ditto.
8345 * elmo-filter.el (toplevel): Ditto.
8346 * elmo-imap4.el (toplevel): Ditto.
8347 * elmo-internal.el (toplevel): Ditto.
8348 * elmo-localdir.el (toplevel): Ditto.
8349 * elmo-localnews.el (toplevel): Ditto.
8350 * elmo-maildir.el (toplevel): Ditto.
8351 * elmo-msgdb.el (toplevel): Ditto.
8352 * elmo-multi.el (toplevel): Ditto.
8353 * elmo-net.el (toplevel): Ditto.
8354 * elmo-nntp.el (toplevel): Ditto.
8355 * elmo-pipe.el (toplevel): Ditto.
8356 * elmo-pop3.el (toplevel): Ditto.
8357 * elmo-util.el (toplevel): Ditto.
8358 * elmo-vars.el (toplevel): Ditto.
8359 * elmo2.el (toplevel): Ditto.
8360 * mmelmo-1.el (toplevel): Ditto.
8361 * mmelmo-2.el (toplevel): Ditto.
8362 * mmelmo-imap4-1.el (toplevel): Ditto.
8363 * mmelmo-imap4-2.el (toplevel): Ditto.
8364 * mmelmo-imap4.el (toplevel): Ditto.
8365 * mmelmo.el (toplevel): Ditto.
8367 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8369 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8370 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8372 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8374 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8376 (elmo-multi-split-number-alist): Ditto.
8378 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8380 * elmo-version.el: New file. Use product.el.
8381 * elmo2.el: Add (require 'elmo-version).
8382 * elmo-vars.el (elmo-appname, elmo-version): Move to
8385 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8387 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8388 `elmo-msgdb-expand-path'.
8389 (elmo-msgdb-load): Ditto.
8390 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8391 (elmo-generic-list-folder-unread): Rewrite.
8392 (elmo-generic-list-folder-important): Changed argument.
8393 (elmo-list-folder-unread): Ditto.
8394 (elmo-list-folder-important): Ditto.
8395 (elmo-folder-diff): Rewrite.
8396 (elmo-generic-folder-diff): New function.
8397 (elmo-multi-get-number-alist-list): Abolished
8398 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8399 (elmo-multi-folder-diff): Moved to elmo-multi.el
8400 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8402 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8403 `elmo-msgdb-expand-path'.
8404 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8405 (elmo-pop3-read-msg): Ditto.
8406 (elmo-pop3-delete-msgs): Ditto.
8407 (elmo-pop3-folder-diff): New alias.
8409 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8410 `elmo-msgdb-expand-path'.
8411 (elmo-pipe-list-folder-unread): Changed arguments.
8412 (elmo-pipe-list-folder-important): Ditto.
8413 (elmo-pipe-folder-diff): New alias.
8415 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8416 `elmo-msgdb-expand-path'.
8417 (elmo-nntp-max-of-folder): Ditto.
8418 (elmo-nntp-msgdb-create): Ditto.
8419 (elmo-nntp-delete-msgs): Ditto.
8420 (elmo-nntp-folder-diff): New alias.
8422 * elmo-multi.el (elmo-multi-folder-diff): New function.
8423 (elmo-multi-split-mark-alist): Ditto.
8424 (elmo-multi-split-number-alist): Ditto.
8425 (elmo-multi-mark-alist-list): Abolished (Renamed to
8426 elmo-multi-split-mark-alist).
8427 (elmo-multi-list-folder-unread): Rewrite.
8428 (elmo-multi-list-folder-important): Ditto.
8429 (elmo-multi-list-folder): Set `spec' as 1st argument for
8430 `elmo-msgdb-expand-path'.
8431 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8432 instead of `elmo-multi-get-number-alist-list'.
8434 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8435 If 1st argument is not string, treat as spec.
8436 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8437 `elmo-msgdb-expand-path'.
8438 (elmo-msgdb-flist-load): Ditto.
8439 (elmo-msgdb-flist-save): Ditto.
8440 (elmo-msgdb-delete-path): Ditto.
8441 (elmo-msgdb-rename-path): Ditto.
8443 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8444 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8445 (elmo-maildir-delete-mark-msgs): Ditto.
8446 (elmo-maildir-msgdb-create): Ditto.
8447 (elmo-maildir-read-msg): Ditto.
8448 (elmo-maildir-delete-msgs): Ditto.
8449 (elmo-maildir-list-folder-subr): Ditto.
8450 (elmo-maildir-search): Ditto.
8451 (elmo-maildir-get-msg-filename): Ditto.
8452 (elmo-maildir-pack-number): Ditto.
8453 (elmo-maildir-folder-diff): New alias.
8455 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8457 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8458 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8459 (elmo-localdir-folder-diff): New alias.
8461 * elmo-internal.el (elmo-internal-list-folder-subr):
8462 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8463 (elmo-internal-list-folder-by-location): Ditto.
8464 (elmo-internal-msgdb-create): Ditto.
8465 (elmo-internal-delete-msgs): Ditto.
8466 (elmo-internal-read-msg): Ditto.
8467 (elmo-internal-folder-diff): New alias.
8469 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8470 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8471 `elmo-msgdb-expand-path'.
8472 (elmo-imap4-list-folder-unread): Changed arguments.
8473 (elmo-imap4-list-folder-important): Ditto.
8475 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8476 (elmo-filter-list-folder-important): Ditto.
8477 (elmo-filter-folder-diff): New function.
8479 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8481 * elmo-cache.el (elmo-cache-list-folder):
8482 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8483 (elmo-cache-copy-msgs): Ditto.
8484 (elmo-cache-folder-diff): New alias.
8486 * elmo-archive.el (elmo-archive-list-folder-subr):
8487 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8488 (elmo-archive-get-archive-name): Ditto.
8489 (elmo-archive-create-file): Ditto.
8490 (elmo-archive-append-msg): Ditto.
8491 (elmo-archive-copy-msgs): Ditto.
8492 (elmo-archive-copy-msgs-froms): Ditto.
8493 (elmo-archive-get-msg-filename): Ditto.
8494 (elmo-archive-folder-diff): New alias.
8496 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8498 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8499 (elmo-pop3-stream-type-alist): New variable.
8500 (elmo-nntp-stream-type-alist): New variable.
8502 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8503 (elmo-kill-buffer): Ditto.
8504 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8505 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8506 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8507 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8508 (elmo-imap4-get-spec): Take into account
8509 `elmo-imap4-stream-type-alist'.
8511 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8513 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8514 (elmo-nntp-list-folders-get-cache): Ditto.
8516 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8518 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8519 character before 'uid'.
8521 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8523 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8525 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8527 * elmo-util.el (elmo-number-set-member): New function.
8528 (elmo-number-set-append-list): Ditto.
8529 (elmo-number-set-append): Ditto.
8531 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8532 Use `elmo-number-set-member'.
8533 (elmo-living-messages): Ditto.
8534 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8535 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8537 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8538 (elmo-imap4-add-to-cont-list): Abolished.
8539 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8540 instead of elmo-imap4-add-to-cont-list.
8542 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8543 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8545 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8547 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8549 * elmo-util.el (elmo-condition-parse-search-value):
8552 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8554 * elmo-util.el (elmo-condition-find-key-internal): New function.
8555 (elmo-condition-find-key): Ditto.
8557 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8558 (elmo-msgdb-search-internal): Ditto.
8559 (elmo-msgdb-search): Ditto.
8561 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8563 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8564 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8566 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8567 (elmo-nntp-search-primitive): Fixed problem when condition is
8570 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8572 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8573 (elmo-nntp-xhdr-p): New macro.
8574 (elmo-nntp-set-xhdr): Ditto.
8575 (elmo-nntp-parse-xhdr-response): New function.
8576 (elmo-nntp-retrieve-field): Ditto.
8577 (elmo-nntp-search-primitive): Ditto.
8578 (elmo-nntp-search): Implemented.
8580 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8582 * elmo-archive.el (elmo-archive-search): Set all number list to
8583 `elmo-archive-field-condition-match'
8585 * elmo-localdir.el (elmo-localdir-search): Likewise.
8587 * elmo-maildir.el (elmo-maildir-search): Likewise.
8589 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8591 * elmo-msgdb.el (elmo-living-messages): New function.
8592 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8593 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8594 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8595 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8596 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8597 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8598 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8599 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8600 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8601 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8602 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8604 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8606 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8608 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8610 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8612 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8613 arguments for `SEARCH' command.
8614 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8615 All other related portions are changed.
8617 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8619 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8620 (elmo-list-folder-unread): Rewrite.
8621 (elmo-list-folder-important): Ditto.
8623 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8624 (elmo-condition-parse-error): New inline function.
8625 (elmo-read-search-condition): New function.
8626 (elmo-read-search-condition-internal): Ditto.
8627 (elmo-parse-search-condition): Rewrite.
8628 (elmo-condition-parse): New function.
8629 (elmo-condition-parse-or-expr): Ditto.
8630 (elmo-condition-parse-and-expr): Ditto.
8631 (elmo-condition-parse-primitive): Ditto.
8632 (elmo-condition-parse-search-value): Ditto.
8633 (elmo-buffer-field-primitive-condition-match): Ditto.
8634 (elmo-buffer-field-condition-match): Rewrite.
8635 (elmo-file-field-condition-match): Ditto.
8637 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8638 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8640 * elmo-internal.el (elmo-internal-search): Set `number' and
8641 `number-list' argument of `elmo-file-field-condition-match'.
8643 * elmo-maildir.el (elmo-maildir-search): Ditto.
8645 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8646 `msgdb' as argument instead of `mark-alist'.
8647 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8650 * elmo-multi.el: Likewise.
8652 * elmo-pipe.el: Likewise.
8654 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8655 (elmo-imap4-search-internal): Rewrite.
8656 (elmo-imap4-search): Ditto.
8658 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8659 (elmo-filter-list-folder-unread): Ditto.
8660 (elmo-filter-list-folder-important): Ditto.
8661 (elmo-filter-search): Rewrite.
8663 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8664 `number-list' argument of `elmo-file-field-condition-match'.
8665 (elmo-cache-search): Ditto.
8667 * elmo-localdir.el: Likewise.
8669 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8670 number-list and pass it to `elmo-buffer-field-condition-match'.
8671 (elmo-archive-field-condition-match): Pass `number-list' to
8672 `elmo-archive-field-condition-match'
8674 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8676 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8679 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8680 (elmo-folder-diff-async-callback-data): Ditto.
8681 (elmo-folder-diff-async): New function.
8683 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8684 (elmo-network-session-cache-key): Use it as a prefix of the session
8686 (elmo-network-open-session): Ditto.
8688 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8689 (elmo-imap4-status-callback-data): Ditto.
8690 (elmo-imap4-server-diff-async-callback): New variable.
8691 (elmo-imap4-server-diff-async-callback-data): Ditto.
8692 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8693 `elmo-imap4-status-callback-data'.
8694 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8695 `elmo-imap4-status-callback-data' as nil.
8696 (elmo-imap4-server-diff): Ditto.
8697 (elmo-imap4-server-diff-async-callback-1): New function.
8698 (elmo-imap4-server-diff-async): Ditto.
8699 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8701 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8703 * elmo-util.el (elmo-list-delete): Doc fix.
8704 (elmo-delete-lists): Abolish.
8705 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8706 instead of `elmo-delete-lists'.
8708 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8710 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8713 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8715 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8716 `elmo-imap4-literal-subr'.
8717 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8718 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8720 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8722 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8723 (elmo-archive-list-folder): Fix.
8724 (elmo-archive-max-of-folder): Fix.
8726 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8728 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8729 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8730 (elmo-localdir-append-msg): Ditto.
8731 (elmo-localdir-list-folder): Fix for `nonsort'.
8732 (elmo-localdir-list-folder-subr): Fix for `killed'.
8733 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8734 (elmo-maildir-list-folder-subr): Ditto.
8735 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8736 (elmo-archive-list-folder-subr): Ditto.
8737 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8738 (elmo-internal-list-folder-subr): Ditto.
8740 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8742 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8744 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8746 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8748 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8750 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8751 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8753 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8755 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8756 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8758 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8760 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8762 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8763 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8764 before STORE command.
8766 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8768 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8770 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8771 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8773 (elmo-imap4-list-folders): Removed unused local variable.
8774 (elmo-network-initialize-session): Ditto.
8775 (elmo-imap4-delete-msg-by-id): Ditto.
8776 (elmo-imap4-parse-fetch): Ditto.
8777 (elmo-imap4-copy-msgs): Ditto.
8778 Use `dst-spec' instead of `dst-folder'.
8779 (elmo-network-authenticate-session): Check authenticate type `plain'.
8781 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8783 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8785 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8786 `elmo-imap4-response-value'.
8787 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8789 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8791 * elmo-imap4.el (elmo-imap4-send-command):
8792 Cause elmo-imap4-bye-error when current response is BYE.
8793 (elmo-imap4-arrival-filter): Changed greeting response value.
8795 * elmo2.el (elmo-imap4-bye-error): Define.
8797 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8798 (elmo-imap4-server-diff): Ditto.
8799 (elmo-imap4-response-bye-p): New macro.
8800 (elmo-imap4-response-error-text): Get text from BYE response.
8801 (elmo-imap4-read-response): Return if BYE response.
8802 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8803 (elmo-imap4-folder-exists-p): Ditto.
8804 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8805 (elmo-imap4-parse-bye): New function.
8806 (elmo-imap4-parse-response): Remove needless let.
8807 Call `elmo-imap4-parse-bye'.
8809 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8811 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8812 the mailbox does not exist.
8813 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8815 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8817 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8819 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8821 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8823 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8824 (elmo-network-initialize-session-buffer): Defined.
8826 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8828 (mmelmo-imap4-get-mime-entity): Rewrite.
8830 * elmo2.el (elmo-error): Capitalize error message.
8832 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8833 (elmo-network-session-buffer): New macro.
8834 (elmo-network-open-session): Use it.
8836 * elmo-imap4.el: Rewrite.
8838 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8840 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8842 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8844 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8845 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8846 (elmo-imap4-create-msgdb-from-overview-string): Use
8847 `elmo-msgdb-create-overview-from-buffer'.
8849 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8851 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8852 (elmo-imap4-default-hierarchy-delimiter): New variable.
8853 (elmo-imap4-list-folders): Use it.
8855 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8857 * elmo-net.el (elmo-network-open-session): Add user and
8858 stream-type for process-buffer name.
8860 * elmo-pop3.el (elmo-network-initialize-session): Call
8861 buffer-disable-undo.
8863 * elmo-imap4.el (elmo-network-initialize-session):
8864 Set current-buffer as an argument for `buffer-disable-undo'.
8866 * elmo-pop3.el (elmo-network-close-session): Don't use
8869 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8870 Set default as 'user.
8872 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8874 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8875 and `elmo-imap4-flush-connection'.
8877 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8878 (elmo-pop3-get-spec): Assume auth as symbol.
8879 (elmo-open-network-stream): Moved to `elmo-net'.
8881 * elmo-pop3.el (toplevel): Require 'elmo-net.
8882 Define `sasl-cram-md5' to silence byte compilier.
8883 (elmo-pop3-connection-cache) Abolished.
8884 (elmo-pop3-authenticator-alist) New variable.
8885 (elmo-pop3-session): Define.
8886 (elmo-pop3-connection-get-process): Abolished.
8887 (elmo-pop3-connection-get-buffer): Ditto.
8888 (elmo-pop3-close-connection): Ditto.
8889 (elmo-pop3-flush-connection): Ditto.
8890 (elmo-pop3-get-connection): Ditto.
8891 (elmo-pop3-get-session): New function.
8892 (Replacement for `elmo-pop3-get-connection').
8893 All other related modules are changed.
8894 (elmo-network-close-session): Define.
8895 (elmo-pop3-send-command): Abolished argument `buffer'.
8896 All other related modules are changed.
8897 (elmo-pop3-read-response): Likewise.
8898 (elmo-pop3-open-connection): Abolished.
8899 (elmo-pop3-auth-user): New function.
8900 (elmo-pop3-auth-apop): Ditto.
8901 (elmo-pop3-auth-cram-md5): Ditto.
8902 (elmo-pop3-auth-scram-md5): Ditto.
8903 (elmo-pop3-auth-digest-md5): Ditto.
8904 (elmo-network-initialize-session): Define.
8905 (elmo-network-authenticate-session): Ditto.
8906 (elmo-network-setup-session): Ditto.
8908 * elmo-imap4.el (toplevel): Require 'elmo-net.
8909 (elmo-imap4-session): Define.
8910 (elmo-imap4-connection-cache): Abolished.
8911 (elmo-imap4-password-key): Ditto.
8912 (elmo-imap4-flush-connection): Ditto.
8913 (elmo-imap4-get-connection): Ditto.
8914 All other related modules are changed.
8915 (elmo-imap4-get-session): New function
8916 (Replacement for `elmo-imap4-get-connection').
8917 (elmo-imap4-read-response): Abolished argument `buffer'.
8918 All other related modules are changed.
8919 (elmo-imap4-send-command): Likewise.
8920 (elmo-imap4-select-folder): Abolished.
8921 All other related modules are changed.
8922 (elmo-imap4-select-mailbox): New function.
8923 (Replacement for `elmo-imap4-select-folder').
8924 (elmo-imap4-auth-login): Simplify.
8925 (Assume current buffer as process buffer)
8926 (elmo-imap4-auth-cram-md5): Ditto.
8927 (elmo-imap4-auth-digest-md5): Ditto.
8928 (elmo-imap4-login): Ditto.
8929 (elmo-imap4-open-connection): Abolished.
8930 (elmo-imap4-open-connection-1): Abolished.
8931 (elmo-network-initialize-sessoin): Define.
8932 (elmo-network-authenticate-session): Ditto.
8933 (elmo-network-setup-session): Ditto.
8935 * elmo-net.el: New module.
8937 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8939 * elmo-util.el (elmo-define-error): New function.
8941 * elmo2.el (elmo-error): Define.
8942 (elmo-open-error): Define.
8943 (elmo-authenticate-error): Define.
8945 * elmo-imap4.el (elmo-imap4-error): Abolish.
8946 (elmo-imap4-error-type): Abolish.
8947 (elmo-imap4-error-process): Abolish.
8948 (elmo-imap4-error-message): Abolish
8949 (elmo-imap4-list-folders): Don't quote lambda.
8950 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8951 (elmo-imap4-parse-namespace): Ditto.
8952 (elmo-imap4-open-connection): Rewrite.
8953 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8954 (elmo-imap4-get-connection): Abolish local variable `result'.
8956 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8958 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8959 wrong-type-argument error when auth is nil.
8961 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8963 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8964 (elmo-default-nntp-stream-type): Ditto.
8965 (elmo-default-pop3-stream-type): Ditto.
8966 (elmo-network-stream-type-alist): Ditto.
8967 (elmo-default-imap4-ssl): Abolished.
8968 (elmo-default-nntp-ssl): Ditto.
8969 (elmo-default-pop3-ssl): Ditto.
8971 * elmo-util.el: (toplevel): Removed needless requires.
8972 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8973 (elmo-open-network-stream): Open network stream according to
8974 the value of `elmo-network-stream-type-alist'.
8975 (elmo-get-network-stream-type): New function.
8976 (elmo-network-stream-type-spec-string): New macro.
8977 (elmo-network-stream-type-symbol): Ditto.
8978 (elmo-network-stream-type-function): Ditto.
8980 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8981 network-stream-type. All other related portions are changed.
8982 (elmo-pop3-open-connection): Ditto.
8984 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8985 network-stream-type. All other related portions are changed.
8987 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8988 network-stream-type.All other related portions are changed.
8989 (elmo-imap4-error): New macro.
8990 (elmo-imap4-error-type): Ditto.
8991 (elmo-imap4-error-process): Ditto.
8992 (elmo-imap4-error-message): Ditto.
8993 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8994 (elmo-imap4-auth-cram-md5): Ditto.
8995 (elmo-imap4-auth-digest-md5): Ditto.
8996 (elmo-imap4-login): Ditto.
8997 (elmo-imap4-open-connection): Remove password entry if authentication
8999 (elmo-imap4-user-at-host): Abolished.
9000 (elmo-imap4-password-key): New buffer local variable.
9001 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9002 using protocol, port, auth and stream-type.
9004 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9006 2000-08-13 Daiki Ueno <ueno@unixuser.org>
9008 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9010 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9012 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9013 (elmo-imap4-authenticator-alist): New variable.
9014 (elmo-imap4-open-connection-1): Rename from
9015 elmo-imap4-open-connection.
9016 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9017 only wraps elmo-imap4-open-connection-1.
9018 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9020 (elmo-imap4-auth-login): New function.
9021 (elmo-imap4-auth-cram-md5): New function.
9022 (elmo-imap4-auth-digest-md5): New function.
9023 (elmo-imap4-login): New function.
9025 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9027 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9030 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9032 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9034 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
9036 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9038 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
9040 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9041 for server responses, quote `*' regardless of where it appears.
9043 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9045 * elmo-maildir.el (elmo-maildir-commit): New alias.
9047 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9049 * elmo-util.el (elmo-display-progress):
9050 Use `progress-feedback-with-label'.
9052 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
9054 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9055 (elmo-imap4-non-atom-char-regex): Ditto.
9056 (elmo-imap4-non-text-char-regex): Ditto.
9057 (elmo-imap4-literal-threshold): Ditto.
9058 (elmo-imap4-atom-p): New function.
9059 (elmo-imap4-quotable-p): Ditto.
9060 (elmo-imap4-nil): Ditto.
9061 (elmo-imap4-atom): Ditto.
9062 (elmo-imap4-quoted): Ditto.
9063 (elmo-imap4-literal-subr): Ditto.
9064 (elmo-imap4-literal): Ditto.
9065 (elmo-imap4-buffer-literal): Ditto.
9066 (elmo-imap4-string-subr): Ditto.
9067 (elmo-imap4-string): Ditto.
9068 (elmo-imap4-buffer-string): Ditto.
9069 (elmo-imap4-astring-subr): Ditto.
9070 (elmo-imap4-astring): Ditto.
9071 (elmo-imap4-buffer-astring): Ditto.
9072 (elmo-imap4-nstring): Ditto.
9073 (elmo-imap4-buffer-nstring): Ditto.
9074 (elmo-imap4-mailbox): New alias.
9075 (elmo-imap4-field-body): Ditto.
9076 (elmo-imap4-userid): Ditto.
9077 (elmo-imap4-password): Ditto.
9078 (elmo-imap4-format-quoted): New function.
9079 (elmo-imap4-send-command): Rewritten. Accept a list of command
9080 arguments and handle "atom", "quoted" and "literal" string here.
9081 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9082 `elmo-imap4-send-command'.
9083 (elmo-imap4-folder-exists-p): Likewise.
9084 (elmo-imap4-create-folder): Likewise.
9085 (elmo-imap4-delete-folder): Likewise.
9086 (elmo-imap4-rename-folder): Likewise.
9087 (elmo-imap4-max-of-folder): Likewise.
9088 (elmo-imap4-check-validity): Likewise.
9089 (elmo-imap4-sync-validity): Likewise.
9090 (elmo-imap4-server-diff): Likewise.
9091 (elmo-imap4-select-folder): Likewise.
9092 (elmo-imap4-copy-msgs): Likewise.
9093 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9094 (elmo-imap4-mark-set-on-msgs): Likewise.
9095 (elmo-imap4-read-part): Likewise.
9096 (elmo-imap4-read-msg): Likewise.
9097 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9098 `elmo-imap4-password' for `elmo-imap4-send-command'.
9099 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9100 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9101 `elmo-imap4-buffer-literal'.
9102 (elmo-imap4-append-msg): Likewise.
9104 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9105 `delete' for removing dead connection from the connection cache.
9106 Move deletion of the process buffer after that.
9107 (elmo-imap4-list): Change `defsubst' to `defun'.
9108 (elmo-imap4-commit): Make error message verbose.
9109 (elmo-imap4-search): Ditto.
9110 (elmo-imap4-list): Ditto.
9111 (elmo-imap4-select-folder): Ditto.
9112 (elmo-imap4-copy-msgs): Ditto.
9113 (elmo-imap4-delete-msg-by-id): Ditto.
9114 (elmo-imap4-append-msg-by-id): Ditto.
9115 (elmo-imap4-append-msg): Ditto.
9117 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9119 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9120 when dired is used on XEmacs.
9122 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9124 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9125 instead of `append'.
9126 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9127 `elmo-plugged-p' directly.
9128 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9129 of `elmo-plugged-p' directly.
9131 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9132 Eliminate unused variable. Use `memq' for checking a process status.
9133 Use `cons' instead of `append' for updating the connection cache.
9134 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9135 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9137 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9139 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9140 `elmo-imap4-read-point' exactly.
9142 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9143 the local variable `folder' to `mailbox'.
9144 Rename the argument `fld' to `folder'.
9146 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9148 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9149 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9151 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9153 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9154 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9155 (elmo-pop3-uidl-number-hash): Ditto.
9156 (elmo-pop3-size-hash): Ditto.
9157 (elmo-pop3-uidl-done): Ditto.
9158 (elmo-pop3-list-done): Ditto.
9159 (elmo-pop3-connection-get-process): New defmacro.
9160 (elmo-pop3-connection-get-buffer): Ditto.
9161 (elmo-pop3-close-connection): Delete buffer and process.
9162 (elmo-pop3-flush-connection): Don't delete buffer and process.
9163 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9164 Setup UIDL and size hash.
9165 (elmo-pop3-send-command-no-erase): Deleted
9166 (elmo-pop3-send-command): Added optional argument `no-erase'.
9167 (elmo-pop3-parse-uidl-response): New function.
9168 (elmo-pop3-parse-list-response): Set size hash.
9169 (elmo-pop3-list-location): New function.
9170 (elmo-pop3-list-by-uidl-subr): Ditto.
9171 (elmo-pop3-list-by-list): Ditto.
9172 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9173 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9174 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9175 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9176 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9178 (elmo-pop3-uidl-to-number): New function.
9179 (elmo-pop3-number-to-uidl): Ditto.
9180 (elmo-pop3-number-to-size): Ditto.
9181 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9182 Set number by use of uidl.
9183 (elmo-pop3-msgdb-create-message): Likewise.
9184 Set size, loc-alist in msgdb.
9185 (elmo-pop3-read-msg): Set number by use of uidl.
9186 Added optional argument `msgdb'.
9187 (elmo-pop3-delete-msg): Ditto.
9188 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9189 (elmo-pop3-commit): Close connection.
9191 * elmo-pipe.el (elmo-pipe-max-of-folder):
9192 Bind `elmo-pop3-use-uidl' as nil.
9193 (elmo-pipe-drain): Ditto.
9196 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9197 (elmo-msgdb-overview-entity-set-size): New defsubst.
9199 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9201 * elmo-vars.el (elmo-use-killed-list): New variable
9202 (Renamed from `elmo-nntp-use-killed-list').
9203 (elmo-nntp-use-killed-list): Eliminated.
9205 * elmo-msgdb.el (elmo-msgdb-expand-path):
9206 Changed expanding msgdb path for elmo-multi.
9208 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9209 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9210 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9211 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9212 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9213 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9214 (toplevel): Deleted time-stamp line.
9216 * elmo2.el (elmo-clear-killed ): Defined as function
9217 (Abolished defining as a backend function).
9218 All other related modules are changed.
9220 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9222 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9224 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9226 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9228 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9230 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9232 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9234 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9235 asynchronous folder check.
9237 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9239 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9240 `elmo-nntp-use-killed-list'.
9241 (elmo-nntp-list-folder): Use killed list.
9242 (elmo-nntp-max-of-folder): Ditto.
9243 (elmo-nntp-msgdb-create): Set killed list.
9245 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9247 * elmo2.el (elmo-clear-killed): New backend function.
9248 All other related modules are changed.
9250 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9252 * elmo-util.el (elmo-imap4-spec-folder): Use
9253 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9254 All callers changed.
9256 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9258 * mmelmo-2.el (initialize-instance):
9259 Use `mime-buffer-entity-buffer-internal' instead of
9260 `mime-entity-buffer'.
9262 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9263 (mime-entity-body): Implemented.
9264 (mime-goto-header-start-point): Deleted.
9265 (mime-goto-body-end-point): Ditto.
9266 (mime-entity-point-min): Ditto.
9267 (mime-entity-point-max): Ditto.
9268 (mime-entity-children): Ditto.
9269 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9270 instead of `mime-entity-buffer'.
9271 (mime-entity-header-buffer): Ditto.
9272 (mime-entity-body-buffer): Ditto.
9273 (mime-write-entity-content): Ditto.
9275 * pldap.el (ldap-static-if): New macro.
9276 (toplevel): Use it instead of `static-if'.
9278 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9280 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9281 included in `attrs' argument.
9283 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9285 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9287 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9288 (ldap-ldif-safe-init-char-regexp): Ditto.
9289 (ldap-ldif-safe-string-regexp): Ditto.
9290 (ldap/ldif-safe-string-p): New macro.
9291 (ldap/ldif-insert-field): Ditto.
9292 (ldap-modify): Use it.
9294 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9295 (ldap-decode-attribute): Decode only when `attr' is consp.
9296 (ldap-delete): Bind `ret'.
9297 (toplevel): Require 'cl at compile time.
9298 Removed (require 'poe) and (require 'std11).
9299 (pldap-version): Eliminated.
9300 (ldap-search-basic): Removed auth and dn binding.
9301 (ldap-ldif-field-name-regexp): New constant.
9302 (ldap-ldif-field-head-regexp): Ditto.
9303 (ldap-ldif-next-field-head-regexp): Ditto.
9304 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9305 (ldap/field-end): New function.
9306 (ldap/field-body): Use it.
9307 (ldap/collect-field): Ditto.
9308 (ldap-search-basic): Use `ldap/field-body'.
9310 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9312 * pldap.el (ldap-default-attribute-encoder): New user option.
9313 (ldap/field-body): Decode base64 string.
9314 (ldap/collect-field): Ditto.
9315 (ldap-encode-attribute): New function.
9316 (ldap-add-entries): Use it.
9317 (ldap-modify-entries): Ditto.
9318 (ldap-search-entries): Enclosed decoding function with
9319 `with-temp-buffer' and set as unibyte.
9320 (ldap-search-basic): Set process buffer as unibyte.
9322 * elmo-util.el (elmo-folder-identical-system-p):
9323 Eliminated name space checking.
9325 * pldap.el: New module.
9326 toplevel: Changed condition to detect built-in ldap feature.
9327 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9328 (ldap-add): Added error handling.
9329 (ldap-modify): Ditto.
9330 (ldap-delete): Ditto.
9332 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9334 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9335 Initialize local variables with `let'. Inline a temporary
9336 variable for the progress percentage. Sort `setq' to reduce
9337 function call in the while-loop.
9339 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9340 into the conditional branch.
9342 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9344 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9345 Move a conditional out of the while-loop.
9347 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9349 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9350 elmo-msgdb-overview-get-entity-by-number.
9351 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9354 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9356 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9357 the local variable for a packed number self descriptively.
9359 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9361 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9362 * elmo-localdir.el (elmo-localdir-pack-number): Use
9363 `elmo-msgdb-overview-get-entity' instead of
9364 `elmo-msgdb-overview-get-entity-by-number'.
9365 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9366 (elmo-msgdb-search-overview-entity): Removed.
9367 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9368 by message-id or number.
9369 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9370 instead of `elmo-msgdb-overview-get-entity-by-number'.
9372 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9374 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9375 non-nil, use hash table for overview.
9376 (elmo-hash-maximum-size): New variable.
9377 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9378 (elmo-msgdb-make-overview-hashtb): New function.
9379 (elmo-msgdb-clear-overview-hashtb): New function.
9380 (elmo-clear-hash-val): New macro.
9381 All other related modules are changed.
9383 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9385 * elmo2.el (elmo-move-msgs): If there's other message with
9386 same message-id, don't use cache.
9388 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9390 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9391 number is already packed.
9393 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9395 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9397 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9399 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9400 All other related modules are changed.
9402 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9404 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9405 of refiling failure on Maildir.
9407 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9409 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9410 decoded mime-charset with cache.
9411 (elmo-msgdb-overview-entity-get-from): Ditto.
9412 (elmo-msgdb-overview-entity-get-subject): Ditto.
9413 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9415 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9417 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9418 (elmo-remove-passwd): Fill password with 0 before erase.
9419 * elmo-vars.el (elmo-passwd-life-time): New variable.
9422 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9424 * elmo-cache.el (elmo-buffer-cache-add):
9425 Set message cache buffer as unibyte.
9427 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9429 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9432 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9434 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9435 when display is finished.
9436 (elmo-nntp-msgdb-create): Ditto.
9437 (elmo-nntp-groups-read-response): Ditto.
9438 (elmo-nntp-retrieve-headers): Ditto.
9439 (elmo-nntp-msgdb-create-message): Ditto.
9440 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9441 (elmo-pop3-msgdb-create-message): Ditto.
9443 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9445 * elmo-maildir.el (elmo-maildir-msgdb-create):
9446 Use `elmo-msgdb-sort-by-date'.
9448 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9450 * elmo2.el (elmo-read-msg-no-cache):
9451 Eliminated arguments after `outbuf'.
9452 Don't use cache even if it exists.
9453 (elmo-read-msg): Don't pass arguments after `outbuf' to
9454 `elmo-read-msg-no-cache'.
9456 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9458 * elmo-archive.el (elmo-archive-list-folders):
9459 Use `file-name-directory' if base folder does not exist.
9461 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9463 * elmo-archive.el (elmo-archive-list-folders): Don't use
9464 `file-name-directory'.
9466 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9468 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9469 If `force' is non-nil, try flushing all operation queues.
9471 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9473 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9476 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9478 * elmo-util.el (elmo-display-progress): Fixed.
9480 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9482 * elmo-util.el (elmo-display-progress): New function.
9483 All other related modules are changed.