1 2010-08-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3 * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
6 2010-08-27 TAKAHASHI Kaoru <kaoru@kaisei.org>
8 * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
9 (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
10 (elmo-string-to-list, elmo-list-to-string): Ditto.
12 2010-08-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
14 * elmo-archive.el (elmo-archive-field-condition-match)
15 (elmo-archive-suffix-alist)
16 (elmo-archive-create-file, elmo-archive-folder-append-buffer)
17 (elmo-archive-folder-message-make-temp-files)
18 (elmo-archive-append-files)
19 (elmo-archive-field-condition-match): Fix indent.
21 * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
22 Avoid `args-out-of-range 0, 1' error.
24 2010-08-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
26 * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
27 (delete-backward-char X) that deletes region in Emacs 24.
28 See delete-active-region described in NEWS.
29 * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
30 * elmo-util.el (elmo-get-file-string): Ditto.
31 * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
33 2010-08-09 David Maus <dmaus@ictsoc.de>
35 * elmo.el (elmo-folder-open-internal-p): New luna method.
36 (elmo-folder-move-messages): Open source folder only if necessary.
37 * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
38 * elmo-multi.el (elmo-folder-open-internal-p): Dto.
39 * elmo-map.el (elmo-folder-open-internal-p): Dto.
40 * elmo-filter.el (elmo-folder-open-internal-p): Dto.
42 2010-08-01 David Maus <dmaus@ictsoc.de>
44 * elmo.el (elmo-folder-move-messages): Open source folder before
47 2010-04-15 David Maus <dmaus@ictsoc.de>
49 * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
52 2010-04-14 David Maus <dmaus@ictsoc.de>
54 * elmo-imap4.el (elmo-imap4-disabled-extension): New
55 variable. List of server extensions that are disabled on the
57 (elmo-imap4-session-capable-p): Honour list of disabled
60 2010-03-17 David Maus <dmaus@ictsoc.de>
62 * elmo-imap4.el (elmo-imap4-folder-list-flagged)
63 (elmo-imap4-search-internal-primitive): Pass filter type to imap
64 search when performing search for flagged messages.
66 2010-01-22 Vitaly Mayatskih <v.mayatskih@gmail.com>
68 * modb-standard.el (modb-standard-save-entity): Use
69 `modb-standard-cleanup-stale-entities' to clean up stale entity
71 * elmo-imap4.el (elmo-network-authenticate-session): Ask for
72 capabilities after login.
74 2010-01-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
76 * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
77 indent (only cosmetic fix).
79 2010-01-15 Vitaly Mayatskih <v.mayatskih@gmail.com>
81 * elmo-version.el (elmo-version): Up to 2.15.9.
83 * elmo-imap4.el (elmo-imap4-elist): New function
84 * elmo-imap4.el (elmo-imap4-parse-response): Added support for
85 ESEARCH feature (RFC4731).
86 * elmo-imap4.el (toplevel): Require time-stamp
87 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
88 elmo-imap4-read-response elmo-imap4-read-untagged
89 elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
91 * elmo-imap4.el (elmo-folder-list-messages-plugged,
92 elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
93 for full uid range on folder entering, retrieve updates only for
94 newly appeared messages.
95 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
96 elmo-imap4-read-response, elmo-imap4-read-untagged,
97 elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
98 to format-time-string.
99 * elmo-vars.el (toplevel): New custom
100 `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
101 flag for some buggy servers.
102 * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
104 2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
106 * acap.el (acap-parse-response): Fix comment-out style. Use three
107 semicolons, that should start at the left margin.
108 See. also (Info-goto-node "(elisp)Comment Tips").
109 * elmo.el (toplevel, elmo-message-match-condition)
110 (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
112 * elmo-archive.el (elmo-archive-suffix-alist)
113 (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
114 (elmo-archive-method-list)
115 (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
117 * elmo-imap4.el (toplevel)
118 (elmo-imap4-send-command, elmo-imap4-check-validity)
119 (elmo-imap4-fetch-callback-1-subr)
120 (elmo-network-initialize-session, elmo-server-diff-async)
121 (elmo-imap4-folder-diff-plugged): Ditto
122 * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
123 * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
124 * elmo-net.el (elmo-network-close-session): Ditto.
125 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
126 (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
127 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
128 * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
129 (elmo-number-set-delete)
130 (elmo-cache-get-oldest-cache-file-entity): Ditto.
132 2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
134 * elmo-version.el (elmo-version): Up to 2.15.8.
136 * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
137 `with-current-buffer' instead of `save-excursion' (for suppress
140 * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
141 instead of `int-to-string'.
142 * elmo-archive.el (elmo-archive-message-fetch-internal)
143 (elmo-archive-folder-message-make-temp-files)
144 (elmo-archive-folder-append-buffer)
145 (elmo-folder-delete-messages-internal)
146 (elmo-archive-msgdb-create-entity)
147 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
148 * elmo-util.el (elmo-cache-expire-by-age): Ditto.
149 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
150 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
151 * elmo-imap4.el (elmo-imap4-make-number-set-list)
152 (elmo-folder-list-subfolders): Ditto.
153 * elmo-localdir.el (elmo-message-file-name)
154 (elmo-folder-message-make-temp-files)
155 (elmo-localdir-msgdb-create-entity)
156 (elmo-folder-append-messages-*-localdir)
157 (elmo-folder-pack-numbers): Ditto.
158 * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
159 * elmo-map.el (elmo-location-map-key): Ditto.
160 * elmo-nntp.el (elmo-nntp-folder-postfix)
161 (elmo-nntp-folder-list-subfolders)
162 (elmo-nntp-folder-msgdb-create): Ditto.
164 * elmo.el (elmo-crosspost-message-alist-save): Don't use
165 `function' for `lambda'.
166 * elmo-archive.el (elmo-archive-folder-list-subfolders)
167 (elmo-folder-append-messages-*-archive)
168 (elmo-folder-delete-messages-internal): Ditto.
169 * elmo-date.el (elmo-replace-in-string): Ditto.
170 * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
171 (elmo-folder-list-flagged): Ditto.
172 * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
173 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
174 * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
176 2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
178 * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
179 `elmo-dop-spool-folder' was used before it was defined"; Use
182 * pldap.el (ldap/ldif-safe-string-p): macro to function.
183 * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
185 * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
186 `mapcar'; Suppress compile warning.
187 * elmo-imap4.el (elmo-network-initialize-session-buffer)
188 (elmo-imap4-search-internal-primitive): Ditto.
189 * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
190 * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
192 * elmo-imap4.el (elmo-imap4-parse-address-list)
193 (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
194 (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
195 (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
196 `(string-to-char " ")' instead of `? ', `?\ '.
198 2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
200 * pldap.el (ldap-search-entries): Don't use `function' for lambda.
201 (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
202 (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
203 `function' for lambda.
205 * modb-standard.el (modb-standard-cleanup-stale-entities): Use
206 `string-to-number' instead of `string-to-int'.
208 * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
209 instead of `save-excursion' (for suppress compile warnings).
210 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
211 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
212 (elmo-nntp-post): Ditto.
214 2009-08-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
216 * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
217 Mule-UCS (to-utf-16).
218 (utf7-utf-16-coding-system): Change preference when Mule-UCS on
221 2009-07-11 Taiki SUGAWARA <buzz.taiki@gmail.com>
223 * utf7.el (utf7-find-coding-system-without-bom): New Function.
224 (utf7-utf-16-coding-system): use no-BOM coding system.
225 (utf7-get-u16char-converter): remove workaround for BOM.
227 2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
229 * elmo-util.el (elmo-union): New function, make a union of two lists.
231 * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
232 mime-view when displaying malformed base64 attach.
234 * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
235 (removed duplicated code)
237 * modb-standard.el (modb-standard-cleanup-stale-entities): New
238 function, Remove stale entities from elmo's cache.
240 2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
242 * elmo-version.el (elmo-version): Up to 2.15.7.
244 2009-03-22 Tetsurou Okazaki <okazaki@be.to>
246 * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
247 default value to `--auto-update'.
249 2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
251 * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
252 Add `elmo-pop3-read-point' barrier.
254 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
256 * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
257 goto the previous end-point insead of the head-point, and use
258 `search-forward' instead of `re-search-forward'.
260 2008-06-30 Tetsurou Okazaki <okazaki@be.to>
262 * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
264 2008-06-30 Don Bashford <Don.Bashford@stjude.org>
266 * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
267 case-insensitive fashion.
269 2008-03-30 Tetsurou Okazaki <okazaki@be.to>
271 * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
273 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
275 * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
276 `eval-and-compile' for suppress compile warnings.
278 * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
279 instead of `defun-maybe'
281 * elmo-util.el: Add (eval-when-compile (require 'static)).
283 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
285 * mmimap.el: Remove (require 'static).
288 * elmo-flag.el: Move ';;; Code:' comment.
289 * elmo-imap4.el: Ditto.
290 * elmo-net.el: Ditto.
292 * elmo-version.el (product-provide): Fix comment.
294 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
296 * slp.el: Add (eval-when-compile (require 'cl)).
297 * elmo-date.el: Ditto.
298 * elmo-pop3.el: Ditto.
299 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
301 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
303 * modb.el (elmo-msgdb-match-condition-primitive): Use
304 `string-to-number' instead of `string-to-int'.
306 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
307 (elmo-msgdb-message-match-condition)
308 (elmo-msgdb-create-message-entity-from-buffer): Use
309 `string-to-number' instead of `string-to-int'.
311 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
312 instead of `string-to-int'.
314 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
315 instead of `string-to-int'.
317 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
318 `string-to-number' instead of `string-to-int'.
320 * elmo-nntp.el (elmo-nntp-make-msglist)
321 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
322 (elmo-nntp-create-msgdb-from-overview-string)
323 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
324 (elmo-nntp-search-primitive): Use `string-to-number' instead of
327 * elmo-net.el (elmo-net-folder-set-parameters): Use
328 `string-to-number' instead of `string-to-int'.
330 * elmo-localdir.el (elmo-localdir-list-subr): Use
331 `string-to-number' instead of `string-to-int'.
333 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
334 `string-to-number' instead of `string-to-int'.
336 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
337 instead of `string-to-int'.
339 * elmo-archive.el (elmo-archive-list-folder-subr): Use
340 `string-to-number' instead of `string-to-int'.
342 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
344 * elmo-util.el (elmo-get-passwd): Fix typo.
346 * elmo-nntp.el (elmo-nntp-get-server-command)
347 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
348 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
349 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
350 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
352 * elmo-imap4.el (elmo-imap4-debug)
353 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
354 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
355 (elmo-imap4-response-value, elmo-imap4-response-error-text)
356 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
357 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
358 (elmo-imap4-identical-system-p): New backquote style.
360 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
362 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
363 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
364 (elmo-dop-queue-arguments): Ditto.
366 * elmo-date.el (elmo-match-substring): New backquote style.
367 (elmo-match-string, elmo-match-buffer): Ditto.
368 (elmo-date-make-sortable-string): Ditto.
370 * elmo-archive.el (elmo-archive-get-method):New backquote style.
371 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
373 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
376 * elmo-net.el (elmo-network-stream-type-spec-string): New
378 (elmo-network-stream-type-symbol): Ditto.
379 (elmo-network-stream-type-feature): Ditto.
380 (elmo-network-stream-type-function): Ditto.
381 (elmo-network-session-buffer): Ditto.
383 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
384 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
385 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
386 (elmo-bind-directory, elmo-set-work-buf): Ditto.
388 * elmo.el (elmo-folder-send): New backquote style.
390 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
392 * pldap.el (ldap-static-if): New backquote style.
393 (ldap/ldif-safe-string-p): Ditto.
394 (ldap/ldif-insert-field): Ditto.
396 * elmo-version.el (elmo-version): Up to 2.15.6.
398 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
400 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
401 messages with \Deleted flag.
402 (elmo-folder-delete-messages-plugged): Ask before sending expunge
403 command if there are messages with \Deleted flag.
405 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
407 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
408 http://seclists.org/bugtraq/2007/Apr/0018.html
409 (Suggested by Tatsuya Kinoshita)
411 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
413 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
414 with \Noselect attribute.
416 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
418 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
419 hierarchical folder structure with UW-imapd.
421 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
423 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
424 when the LOGINDISABLED capability is advertised.
426 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
428 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
430 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
432 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
434 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
435 if the message entity is exists.
437 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
439 * elmo-util.el (elmo-msgdb-insert-file-header): Call
440 `elmo-delete-cr-buffer'.
442 * elmo-localdir.el (elmo-message-fetch-internal): Use
443 `insert-file-contents-as-raw-text' instead of
444 `insert-file-contents-as-binary'.
446 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
448 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
450 * elmo-imap4.el (elmo-network-initialize-session): Check to
451 retrieve a whole greeting message.
453 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
455 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
457 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
459 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
460 (elmo-progress-notify): Use it instead of `plist-get'.
462 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
464 * elmo.el (elmo-generic-folder-append-messages): Remove unused
467 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
469 * elmo-pipe.el (elmo-folder-set-plugged): Define.
471 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
473 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
474 (elmo-spam-list-spam-messages): Check it option.
476 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
478 * elmo-util.el (elmo-with-progress-display): Return the value
479 of the last form in `body'.
481 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
483 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
484 `elmo-progress-counter' as t when a query callback returns nil.
485 (elmo-progress-clear): New function.
486 (elmo-progress-done): Split into `elmo-progress-clear'.
487 (elmo-progress-notify): Update a total slot when it is nil.
488 (elmo-with-progress-display): Call `elmo-progress-clear' in
489 unwind-protect and move calling `elmo-progress-done' to outside.
491 * elmo-imap4.el (elmo-imap4-find-next-line): Call
492 `elmo-progress-notify' with :total parameter instead of
493 `elmo-progress-counter-set-total'.
495 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
497 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
499 (elmo-progress-start): Avoid updating `elmo-progress-counter'
500 when a query callback returns nil. Return a progress counter
501 instead of t whenever a start callback was called.
503 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
505 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
506 (elmo-imap4-send-command): Use it.
507 (elmo-network-initialize-session): Ditto.
508 (elmo-network-setup-session): Ditto.
509 (elmo-folder-msgdb-create-plugged): Ditto.
511 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
513 * elmo-util.el (elmo-progress-done): Fix a miss refer to
514 `elmo-progress-counter'.
516 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
518 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
519 (elsp-bsfilter-list-spam-filter): New function.
520 (elsp-bsfilter-start-list-spam): Ditto.
521 (elsp-bsfilter-read-list-spam): Ditto.
522 (elmo-spam-list-spam-messages): Use async process to display
523 progress message by each message.
525 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
527 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
528 of flushing previously inserted message contents.
530 * elmo-imap4.el (elmo-folder-search): Fix return value.
532 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
534 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
535 of reporter is enable or not.
537 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
539 * elmo-util.el (elmo-list-bigger-diff): Abolish.
540 (elmo-display-progress): Ditto.
541 (elmo-progress-counter-alist): Ditto.
542 (elmo-progress-set): Ditto.
543 (elmo-progress-clear): Ditto.
544 (elmo-progress-counter-all-value): Rename to
545 `elmo-progress-counter-total'.
546 (elmo-progress-counter-format): Rename to
547 `elmo-progress-counter-action'.
548 (elmo-progress-counter): New internal variable.
549 (elmo-progress-callback-function): Ditto.
550 (elmo-progress-counter-label): New function.
551 (elmo-progress-counter-set-total): Ditto.
552 (elmo-progress-counter-set-action): Ditto.
553 (elmo-progress-call-callback): Ditto.
554 (elmo-progress-start): Ditto.
555 (elmo-progress-done): Ditto.
556 (elmo-progress-notify): Rewrite.
557 (elmo-with-progress-display): Remove first argument
558 `condition'. Add optional argument `var' in `spec'.
560 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
561 (elmo-display-retrieval-progress-threshold): Ditto.
562 (elmo-inhibit-display-retrieval-progress): Ditto.
564 * Replace all pair of `elmo-progress-set' and
565 `elmo-progress-clear' into `elmo-with-progress-display'.
567 * Replace to call `elmo-display-progress' into pair of
568 `elmo-progress-notify' and `elmo-with-progress-display'.
570 * elmo-version.el (elmo-version): Up to 2.15.5.
572 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
574 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
577 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
579 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
580 cleanup-forms [wl:14027].
582 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
584 * elmo-flag.el (elmo-global-flag-set-internal): Use
585 `elmo-copy-file' by priority when the message is a file.
587 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
589 * elmo.el: Fix typo: disptch -> dispatch.
591 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
593 * elmo.el (elmo-file-tag): New class.
594 (elmo-append-messages-disptch-table): New constant.
595 (elmo-folder-type-p): New function.
596 (elmo-folder-append-messages): Redefine as function.
598 * elmo-null.el (elmo-folder-append-messages): Renamed from
599 `elmo-folder-append-messages'.
601 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
602 (elmo-folder-append-messages-*-maildir): Renamed from
603 `elmo-folder-append-messages'.
605 * elmo-localdir.el (elmo-localdir-folder): Inherit
607 (elmo-folder-append-messages-*-localdir): Renamed from
608 `elmo-folder-append-messages'.
610 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
611 from `elmo-folder-append-messages'.
613 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
614 `elmo-folder-append-messages'.
616 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
618 (elmo-folder-append-messages-*-filter): Ditto.
620 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
622 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
623 (elmo-folder-append-messages-*-pipe): Renamed from
624 `elmo-folder-append-messages'.
626 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
628 * elmo-file.el (elmo-file-folder): Ditto.
630 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
632 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
633 from `elmo-folder-append-messages'
635 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
637 * elmo-map.el (elmo-location-map-setup): Change an argument
638 `locations' to optional.
639 (elmo-location-map-clear): Abolish.
640 (elmo-folder-clear): Follow the API change.
642 * elmo-pop3.el (elmo-folder-clear): Ditto.
644 * elmo-pop3.el (toplevel): Require elmo-map.
645 (elmo-pop3-folder): Inherit elmo-location-map and abolish
646 location-alist slot (All other related portions are changed).
647 (elmo-pop3-folder-use-uidl): New function.
648 (elmo-folder-msgdb-create): Don't sort message entities.
649 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
650 (elmo-pop3-number-to-size): Convert return value to number.
651 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
654 * elmo-map.el: Use `location-map' as a variable name for instance
656 (elmo-location-map-setup): Return location alist.
657 (elmo-location-map-update): Ditto.
659 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
661 * elmo-map.el (elmo-location-map): New class; split location and
662 number mapping from elmo-map-folder (All other related portions
665 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
668 * elmo-version.el (elmo-version): Up to 2.15.4.
670 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
672 * elmo-vars.el (elmo-use-hardlink): New user option.
674 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
677 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
679 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
680 instead of `*-internal'. Use `elmo-with-progress-display'.
682 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
684 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
685 `elmo-spam-process-messages-as-mbox'.
687 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
689 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
691 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
692 argument BUFFER of `call-process'.
694 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
696 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
698 (elsp-bsfilter-list-spam-files): Ditto.
700 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
702 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
703 (elmo-spam-bsfilter-max-messages-per-process): New use option.
704 (elmo-spam-bsfilter-debug): Fix a group.
705 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
707 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
708 (elsp-bsfilter-list-spam-files): New function.
709 (elmo-spam-list-spam-messages): Define.
710 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
711 (elmo-spam-bsfilter-register-messages): New function.
712 (elmo-spam-register-spam-messages): Define.
713 (elmo-spam-register-good-messages): Ditto.
715 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
717 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
720 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
722 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
723 hash table to test whether a location is exists.
725 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
727 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
728 even if some error occurred.
730 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
731 meaningless unwind-protect.
733 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
734 start-number correctly.
735 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
736 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
738 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
740 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
741 (elmo-folder-initialize): Use it.
742 (elmo-global-flag-replace-referrer): New function.
744 * elmo.el (toplevel): Added autoload setting for
745 `elmo-global-flag-replace-referrer'.
746 (elmo-folder-rename): Rewrite the last change use
747 `elmo-global-flag-replace-referrer'.
749 * elmo-pipe.el (elmo-folder-rename): Call
750 `elmo-global-flag-replace-referrer'.
752 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo.el (elmo-folder-rename): Set meta data for global flags
757 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
759 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
761 (elmo-folder-close): Ditto.
762 (elmo-filter-folder-number-list-loaded-p): New function.
763 (elmo-filter-folder-number-list): Check whether loaded or not.
764 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
765 of `elmo-filter-folder-number-list-internal'.
766 (elmo-folder-delete-messages): Ditto.
767 (elmo-folder-length): Check whether number-list is loaded or not.
769 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
771 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
772 field `real field' into each element of list.
773 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
774 (elmo-msgdb-message-entity-field): Ditto.
775 (modb-entity-ml-info-real-fields): New function.
777 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
779 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
780 `elmo-msgdb-extra-fields'.
782 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
784 * elmo-util.el (elmo-passwd-alist-load): Move point to min
785 position before read.
787 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
789 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
790 (elmo-global-flags-initialize): Ditto.
792 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
794 * elmo-archive.el (toplevel): Don't require emu, std11
797 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
800 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
802 * elmo.el (elmo-folder-confirm-appends): Display folder name.
804 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
806 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
809 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
811 * elmo-maildir.el (elmo-maildir-list-location): Reduce
812 `elmo-get-last-modification-time' call.
814 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
816 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
818 (elmo-maildir-set-mark): Ditto.
819 (elmo-maildir-delete-mark): Ditto.
821 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
823 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
824 optional argument `separators'.
826 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
828 * elmo.el (cache-changed): Abolish.
829 (status-changed): New signal.
830 (elmo-message-killed-p): New generic function and define for
832 (elmo-folder-recover-messages): Ditto.
833 (elmo-message-set-cached): Emit signal `status-changed' instead of
835 (elmo-message-status): New macro.
836 (elmo-message-status-folder): Ditto.
837 (elmo-message-status-number): Ditto.
838 (elmo-message-status-set-flags): Ditto.
839 (elmo-message-status-set-killed): Ditto.
840 (elmo-message-status-flags): New function.
841 (elmo-message-status-cached-p): Ditto.
842 (elmo-message-status-killed-p): Ditto.
844 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
845 `status-changed' instead of `cache-changed'.
846 (elmo-folder-recover-messages): Define.
847 (elmo-message-killed-p): Ditto.
849 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
850 `status-changed' instead of `cache-changed'.
852 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
853 (elmo-message-killed-p): Define.
854 (elmo-folder-recover-messages): Ditto.
856 * elmo-version.el (elmo-version): Up to 2.15.3.
858 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
860 * elmo-signal.el (elmo-signal-bindings): Use cons to append
862 (elmo-define-signal-handler): Add docstring.
863 (elmo-define-signal-filter): Ditto.
865 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
867 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
869 * elmo-util.el (elmo-flatten): Don't use recursive call.
871 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
873 (elmo-folder-message-make-temp-files): Use `number-to-string'
874 instead of `int-to-string'.
876 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
878 * elmo-search.el (elmo-folder-delete-messages): Define.
880 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
882 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
884 (elmo-mailing-list-count-spec-list): Ditto.
886 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
889 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
891 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
894 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
896 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
897 (elmo-mailing-list-count-spec-list): Ditto.
899 * elmo-util.el (elmo-map-until-success): New function.
900 (elmo-string-match-substring): Ditto.
901 (elmo-find-list-match-value): Ditto.
903 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
905 (modb-entity-extract-ml-info-from-subject): Ditto.
906 (modb-entity-extract-ml-info-from-return-path): Ditto.
907 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
908 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
909 (modb-entity-extract-ml-info-from-mailman): Ditto.
910 (modb-entity-extract-mailing-list-info-functions): Ditto.
911 (modb-entity-extract-mailing-list-info): Rewrite with
912 `elmo-find-list-match-value'.
914 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
916 * elmo-net.el (elmo-network-session-retry-count): New user option.
917 (elmo-network-session-buffer-name): New internal function.
918 (elmo-network-session-buffer-create): Ditto.
919 (elmo-network-open-session): Retry open network session
920 `elmo-network-session-retry-count' times.
922 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
924 * elmo-util.el (elmo-list-filter): Rewritten.
926 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
928 * elmo-util.el (elmo-string-member): Allow symbol element in list.
930 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
932 * elmo-search.el (elmo-make-search-engine): Use prefix
933 `elmo-search-' for require symbol instead of `else-'.
934 (elmo-search-engine-extprog): New class.
935 (elmo-search-engine-do-search): Remove nil from argument
936 list. Added argument pattern to evaluate element as function.
937 (elmo-search-engine-local-file): Derived from
938 `elmo-search-engine-extprog'.
939 (elmo-search-engine-create-message-entity): Check existance of file.
940 (elmo-search-engine-fetch-message): Ditto.
941 (elmo-search-namazu-index): Follow the API change.
942 (elmo-search-grep-target): Ditto.
944 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
946 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
947 characters of working buffer.
949 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
950 Does not bind `default-mime-charset'.
951 (elmo-msgdb-create-message-entity-from-buffer): Removed
952 unnecessary local bind.
954 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
956 (modb-entity-extract-mailing-list-info-functions): Added it.
958 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
960 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
961 when number and message-id are non-nil.
963 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
965 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
966 conditional steatment.
967 (elmo-pop3-auth-apop): Likewise.
968 (elmo-network-authenticate-session): Likewise.
970 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
972 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
973 symbol `fill-column'.
974 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
977 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
978 (elmo-decoded-field-body): Ditto.
980 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
982 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
983 `tokens' to `params'.
985 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
987 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
990 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
992 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
995 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
997 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
998 Set default value as nil.
999 (toplevel): Register search engines by
1000 `elmo-search-register-engine' if there are not defined.
1002 * elmo.el (autoload): Added autoload setting for
1003 `elmo-search-register-engine'.
1005 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1007 * elmo.el (toplevel): `[' is redefined as the prefix of the search
1008 folder instead of nmz folder.
1009 (elmo-nmz-default-index-path): Added obsolete variable setting.
1010 (elmo-nmz-index-alias-alist): Ditto.
1011 (elmo-nmz-use-drive-letter): Ditto.
1013 * elmo-search.el (elmo-search-register-engine): New function.
1015 * elmo-nmz.el: Removed.
1017 * elmo-version.el (elmo-version): Up to 2.15.2.
1019 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1021 * elmo-search.el: New file.
1023 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1025 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1026 condition `larger' and `smaller'.
1028 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1030 * elmo-util.el (elmo-safe-filename): Rewrite to replace
1031 `"' (double quote) into "_Q_".
1033 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1035 * elmo-net.el (elmo-net-quote-chars): Abolish.
1036 (elmo-net-format-quoted): Ditto.
1038 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1040 * elmo.el (elmo-get-folder-function): New variable.
1041 (elmo-get-folder): New function.
1042 (elmo-folder-rename): Call `elmo-make-folder' with specified
1045 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1047 (elmo-split-subr): Ditto.
1049 * elmo-multi.el (elmo-folder-initialize): Ditto.
1051 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1053 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1054 (elmo-flag-get-folder): Ditto.
1056 * elmo-filter.el (elmo-folder-initialize): Ditto.
1058 * elmo-access.el (elmo-folder-initialize): Ditto.
1059 (elmo-access-folder-update-children): Ditto.
1061 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1062 (elmo-dop-queue-flush): Ditto.
1063 (elmo-folder-append-buffer-dop-delayed): Ditto.
1064 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1067 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1068 instead of `elmo-make-folder'.
1069 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
1070 destination folder instead of send `elmo-folder-rename-internal'.
1072 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1073 slot of subfolder instead of create it.
1075 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1077 * elmo-util.el (elmo-collect-separators): New function.
1078 (elmo-collect-separators-internal): Ditto.
1079 (elmo-collect-trail-separators): Ditto.
1080 (elmo-parse-separated-tokens): Ditto.
1081 (elmo-parse-separated-tokens-internal): Ditto.
1082 (elmo-quote-syntactical-element): Ditto.
1084 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1085 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1087 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1088 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1089 (elmo-nntp-folder-list-subfolders): Quote a user name.
1091 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1092 (elmo-net-parse-network): Abolish.
1093 (elmo-net-folder-set-parameters): New function.
1094 (elmo-folder-initialize): Follow the above change.
1096 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1097 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1098 (elmo-folder-list-subfolders): Use
1099 `elmo-quote-syntactical-element' instead of
1100 `elmo-net-format-quoted' to quote mailbox and user name.
1102 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1104 * elmo-util.el (elmo-token-valid-p): New function.
1105 (elmo-parse-token): Add optional argument `requirement'.
1106 (elmo-parse-prefixed-element): Likewise.
1108 * elmo-net.el (elmo-net-quote-chars): Renamed from
1109 `elmo-net-quote-chars-regexp'.
1110 (elmo-net-format-quoted): Add optional argument `extra-chars'.
1112 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1113 by info document. Check token `uidl' is started an alphabet.
1115 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1116 by info document. Check token `user' is started an alphabet.
1118 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1119 (elmo-folder-list-subfolders): Quote user.
1121 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1123 * elmo-util.el (elmo-quoted-specials-list): New constant.
1124 (elmo-quoted-token): New function.
1126 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1127 (elmo-net-format-quoted): New function.
1128 (elmo-net-parse-network): Ditto.
1129 (elmo-folder-initialize): Use it.
1131 * elmo-nntp.el (elmo-folder-initialize): Use
1132 `elmo-net-parse-network' to parse network specification instead of
1133 `elmo-folder-initialize#elmo-net'.
1135 * elmo-pop3.el (elmo-folder-initialize): Ditto.
1137 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1138 (elmo-folder-list-subfolders): Quote folder name by
1139 `elmo-net-format-quoted'.
1141 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1143 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1144 (elmo-folder-search): Use it.
1146 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1148 * modb-standard.el (modb-standard-loaded-message-id): Use
1149 `elmo-msgdb-message-entity-field'.
1151 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1153 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1156 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
1158 * elmo-util.el (elmo-set-auto-coding): New function.
1159 (elmo-object-load): Use it.
1161 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1163 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1164 (elmo-time<): Define as alias of `elmo-time-less-p'.
1165 (elmo-time-to-datevec): New function.
1167 * elmo-date.el (elmo-time-to-days): New function.
1169 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1171 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1174 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1176 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1179 * elmo-util.el (elmo-map-recursive): New function.
1181 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1182 (modb-entity-encode-string-recursive): Ditto.
1184 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
1186 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1187 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1188 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1189 compare sequence number when last modified time is nil.
1191 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1193 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1195 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1197 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
1199 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1200 modification time of the file.
1202 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1204 * elmo-util.el (elmo-condition-optimize): Discriminated against
1205 preserved fields, extra fields and the other weight.
1207 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1209 * modb-entity.el (initialize-instance): Define.
1210 (modb-entity-handler-mime-charset): New internal function.
1211 (modb-standard-entity-set-field): Use it.
1212 (elmo-msgdb-message-entity-field): Ditto.
1213 (elmo-msgdb-message-entity-field): Ditto.
1215 * modb.el (elmo-msgdb-match-condition): Rewrite with
1216 `elmo-condition-match'.
1217 (elmo-msgdb-match-condition-primitive): New function.
1219 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1220 arguments `flags' and `numbers'.
1221 (elmo-msgdb-match-condition-primitive): Abolished (merged to
1222 `elmo-msgdb-message-match-condition').
1223 (modb-buffer-entity-handler): New class.
1225 * elmo.el (elmo-folder-search): Optimize condition to use
1226 `elmo-condition-optimize'.
1227 (elmo-message-buffer-match-condition): New function.
1228 (elmo-message-match-condition): Use
1229 `elmo-message-buffer-match-condition' instead of
1230 `elmo-buffer-field-condition-match'.
1232 * elmo-util.el (elmo-condition-match): New function.
1233 (elmo-condition-optimize): Ditto.
1234 (elmo-buffer-field-primitive-condition-match): Abolish.
1235 (elmo-buffer-field-condition-match): Ditto.
1237 * elmo-archive.el (elmo-archive-field-condition-match): Use
1238 `elmo-message-buffer-match-condition' instead of
1239 `elmo-buffer-field-condition-match'.
1241 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1243 * elmo-flag.el (elmo-global-flags-initialize): Check the
1244 existence of the flag directory.
1246 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1248 * elmo-access.el (elmo-folder-initialize): Call
1249 `elmo-multi-connect-signals'.
1251 * elmo-pipe.el (elmo-folder-close): Define.
1253 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1256 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1259 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1262 * elmo-multi.el (elmo-message-entity): Don't use return value of
1263 `elmo-message-entity-set-number'.
1265 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1267 * modb.el (modb-generic): Added slot `mime-charset'.
1269 * modb-standard.el (modb-standard): Added slot `overview-handler'.
1270 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1271 and `modb-entity-handler-dump-parameters'.
1272 (modb-standard-default-entity-handler): Abolish.
1273 (elmo-msgdb-message-entity-handler): Save created handler by
1276 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1277 (modb-entity-handler-list-parameters): New method.
1278 (modb-entity-handler-equal-p): New function.
1279 (modb-entity-handler-dump-parameters): Ditto.
1280 (modb-entity-parse-address-string): Encode return value.
1281 (modb-entity-make-address-string): Decode argument value.
1282 (modb-entity-decode-string-recursive): New function.
1283 (modb-entity-encode-string-recursive): Ditto.
1284 (modb-standard-entity-normalizer): Set to encode field value.
1285 (modb-standard-entity-specializer): Follow the above change.
1286 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1287 mime-charset of handler.
1288 (elmo-msgdb-message-entity-field): Ditto.
1289 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1291 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1293 * elmo.el (elmo-folder): Added slot `mime-charset'.
1294 (elmo-make-folder): Added argument `mime-charset'.
1295 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1298 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1299 (elmo-make-msgdb): Likewise.
1301 * elmo-internal.el (elmo-internal-folder-initialize): Call
1302 `luna-make-entity' with :mime-charset parameter.
1304 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1306 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1307 encoded words in `from' and `subject' field.
1309 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1311 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1312 (elmo-msgdb-match-condition): Get handler from entity instead of
1315 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1316 (modb-standard-load-entity): Treat new file format.
1317 (modb-standard-save-entity-1): Save as new file format.
1318 (modb-standard-save-entity): Split messages into section here.
1319 (elmo-msgdb-message-field): Follow the API change.
1320 (modb-standard-default-entity-handler): New internal variable.
1321 (elmo-msgdb-message-entity-handler): Define.
1323 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1325 (modb-entity-field-extractor-alist): New user option.
1326 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1327 added argument `type'.
1328 (elmo-msgdb-copy-message-entity): Add optional argument
1330 (modb-set-field-converter): New function.
1331 (modb-convert-field-value): Ditto.
1332 (modb-entity-string-decoder): Ditto.
1333 (modb-entity-string-encoder): Ditto.
1334 (modb-entity-parse-date-string): Ditto.
1335 (modb-entity-make-date-string): Ditto.
1336 (modb-entity-mime-decoder): Ditto.
1337 (modb-entity-mime-encoder): Ditto.
1338 (modb-entity-address-list-decoder): Ditto.
1339 (modb-entity-address-list-encoder): Ditto.
1340 (modb-entity-parse-address-string): Ditto.
1341 (modb-entity-make-address-string): Ditto.
1342 (modb-entity-create-field-indices): Ditto.
1343 (modb-legacy-entity-field-slots): New constant.
1344 (modb-legacy-entity-field-indices): Ditto.
1345 (modb-legacy-entity-normalizer): New variable.
1346 (modb-legacy-entity-specializer): Ditto.
1347 (modb-legacy-entity-field-index): New macro.
1348 (modb-legacy-entity-set-field): New function.
1349 (modb-legacy-make-message-entity): Rewrite.
1350 (elmo-msgdb-create-message-entity-from-buffer): Use
1351 `elmo-msgdb-get-references-from-buffer'. Use
1352 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1353 Use `modb-legacy-entity-set-field' instead of
1354 `elmo-msgdb-message-entity-set-field'.
1355 (elmo-msgdb-message-entity-field): Rewrite.
1356 (elmo-msgdb-message-entity-set-field): Ditto.
1357 (elmo-msgdb-copy-message-entity): Make new entity by
1358 `make-handler' if it specified.
1359 (elmo-msgdb-message-match-condition): Define a method of
1360 `modb-entity-handler' and follow the API change.
1361 (modb-standard-entity-handler): New class.
1362 (modb-entity-extract-ml-info-from-x-sequence): New function.
1363 (modb-entity-extract-ml-info-from-subject): Ditto.
1364 (modb-entity-extract-ml-info-from-return-path): Ditto.
1365 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1366 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1367 (modb-entity-extract-mailing-list-info): Ditto.
1368 (modb-entity-extract-mailing-list-info-functions): New variable.
1370 * elmo.el (elmo-message-field): Add optional argument `type'.
1372 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1373 from `modb-entity.el'.
1375 * elmo-util.el (elmo-object-load): Decode by coding-system from
1376 `set-auto-coding-function'.
1377 (elmo-object-save): Use `detect-mime-charset-region' and add
1378 coding cookie if encode.
1379 (elmo-msgdb-get-references-from-buffer): New function.
1380 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1382 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1384 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1385 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1386 instead of `shimbun-make-header' and follow the API change.
1387 (elmo-shimbun-update-overview): Follow the API change.
1388 (elmo-map-folder-list-message-locations): Ditto.
1390 * elmo-pipe.el (elmo-message-field): Ditto.
1392 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1395 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1397 * elmo-multi.el (elmo-message-field): Ditto.
1399 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1400 (elmo-msgdb-sort-by-date): Ditto.
1401 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1402 `elmo-message-entity-field'.
1403 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1405 (elmo-msgdb-overview-entity-get-from): Ditto.
1406 (elmo-msgdb-overview-entity-get-subject): Ditto.
1407 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1408 (elmo-msgdb-overview-entity-get-date): Ditto.
1409 (elmo-msgdb-overview-entity-get-to): Ditto.
1410 (elmo-msgdb-overview-entity-get-cc): Ditto.
1412 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1413 (elmo-mime-collect-message/partial-pieces): Ditto.
1415 * elmo-filter.el (elmo-message-field): Ditto.
1417 * elmo-date.el (elmo-datevec-to-time): New function.
1418 (elmo-time-parse-date-string): Ditto.
1419 (elmo-time-make-date-string): Ditto.
1420 (elmo-time<): Ditto.
1422 * elmo-version.el (elmo-version): Up to 2.15.1.
1424 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1426 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1427 member of elmo-local-flags.
1429 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1431 * elmo-version.el (elmo-version): Up to 2.15.0.
1433 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1435 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1436 `ignore-msgdb' is non-nil.
1438 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1440 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1441 (elmo-condition-in-msgdb-p): Ditto.
1442 (elmo-file-field-primitive-condition-match): Ditto.
1443 (elmo-file-field-condition-match): Ditto.
1445 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1447 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1449 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1450 subdirectories here.
1451 (elmo-global-flags-initialize): New function.
1453 * elmo.el (toplevel): Added autoload setting for
1454 `elmo-global-flags-initialize'.
1456 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1458 * elmo.el (message-number-changed): Define new signal.
1459 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1460 message-number-changed signal.
1461 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1462 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1463 Respect `elmo-pack-number-check-strict'.
1465 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1467 * elmo-signal.el (elmo-connect-signal): Document.
1468 (elmo-emit-signal): Ditto.
1469 (elmo-emit-signal): It should pass source argument to filter and
1470 handler, not slot-source.
1472 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1474 * modb.el (elmo-msgdb-update-entity): New API and define generic
1477 * modb-standard.el (elmo-msgdb-update-entity): Define.
1479 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1480 API and define generic implement.
1482 * elmo.el (update-overview): New singnal.
1484 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1485 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1486 (elmo-message-entity-parent): Define.
1488 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1491 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1493 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1495 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1497 * elmo.el (elmo-folder-synchronize): Sort the return value of
1500 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1503 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1505 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1506 `default-enable-multibyte-characters'.
1507 (elmo-object-load): Use `with-temp-buffer' instead of
1508 `elmo-set-work-buf'.
1509 (elmo-object-save): Ditto.
1510 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1511 `elmo-set-work-buf'.
1512 (elmo-decoded-field-body): Ditto.
1514 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1516 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1517 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1519 * elmo-version.el (elmo-version): Up to 2.13.3.
1521 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1523 * elmo-util.el (elmo-list-diff): Fix the last change.
1524 Reverse order of result lists.
1526 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1528 * modb-standard.el (elmo-msgdb-set-flag): Use
1529 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1530 (elmo-msgdb-unset-flag): Ditto.
1532 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1535 * elmo-util.el (elmo-list-diff): Rewrite.
1536 (elmo-list-diff-nonsortable): New function.
1538 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1540 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1541 `elmo-multibypte-buffer-name'. All referers are updated.
1543 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1545 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1546 (elmo-mime-entity-fragment-p): New function.
1547 (mime-elmo-buffer-entity): Added slot `reassembled'.
1548 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1549 (elmo-message-mime-entity-internal): New function (renamed from
1550 `elmo-message-mime-entity').
1551 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1552 (elmo-mime-make-reassembled-mime-entity): New function.
1553 (elmo-message-reassembled-mime-entity): Ditto.
1554 (elmo-mime-collect-message/partial-pieces): Ditto.
1556 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1558 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1560 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1561 (elmo-with-enable-multibyte): New macro.
1563 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1565 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1567 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1569 (elmo-filter-connect-signals): Follow the above change.
1571 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1573 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1575 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1576 that only the first flag is used.
1578 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1580 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1583 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1585 * elmo-signal.el: New file.
1587 * elmo.el (toplevel): Require elmo-signal.
1588 (flag-changing, flag-changed, cache-changed): New signal.
1589 (elmo-folder): Remove slog `handlers'.
1590 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1591 `elmo-folder-notify-event'.
1592 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1593 (elmo-folder-unset-flag): Ditto.
1594 (elmo-event-handler): Abolish.
1595 (elmo-event-handler-flag-changed): Ditto.
1596 (elmo-event-handler-cache-changed): Ditto.
1597 (elmo-folder-add-handler): Ditto.
1598 (elmo-folder-remove-handler): Ditto.
1599 (elmo-folder-notify-event): Ditto.
1601 * elmo-pipe.el (toplevel): Require elmo-signal.
1602 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1603 (elmo-pipe-connect-signals): New function.
1604 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1605 (elmo-folder-set-flag): Ditto.
1606 (elmo-folder-unset-flag): Ditto.
1607 (elmo-message-set-cached): Ditto.
1609 * elmo-multi.el (toplevel): Require elmo-signal.
1610 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1611 (elmo-multi-connect-signals): New function.
1612 (elmo-multi-map-numbers): Ditto.
1613 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1614 (elmo-message-fetch): Ditto.
1615 (elmo-folder-set-flag): Ditto.
1616 (elmo-folder-unset-flag): Ditto.
1618 * elmo-filter.el (toplevel): Require elmo-signal.
1619 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1620 (elmo-filter-connect-signals): New function.
1621 (elmo-filter-add-flag-count): Ditto.
1622 (elmo-message-fetch): Does not call
1623 `elmo-filter-folder-countup-message-flags' and
1624 `elmo-folder-notify-event'.
1625 (elmo-message-set-cached): Ditto.
1626 (elmo-folder-set-flag): Ditto.
1627 (elmo-folder-unset-flag): Ditto.
1629 * elmo-version.el (elmo-version): Up to 2.13.2.
1631 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1633 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1636 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1638 * elmo-filter.el (elmo-message-set-cached): Call
1639 `elmo-folder-notify-event' with event `cache-changed'.
1641 * elmo-multi.el (elmo-message-set-cached): Ditto.
1643 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1645 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1647 * elmo.el (elmo-folder-encache): Abolish.
1649 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1651 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1652 (elmo-folder-next-message-number-dop): Return appropriate negative
1655 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1657 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1658 clearing pending operations.
1659 (elmo-folder-next-message-number-dop): Return appropriate negative
1662 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1664 * elmo.el (toplevel): Added autoload setting for `md5'.
1665 (elmo-msgdb-path-encode-threshold): New user option.
1666 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1667 longer than `elmo-msgdb-path-encode-threshold'.
1669 * elmo-flag.el (elmo-global-mark-migrate): Use
1670 `elmo-folder-expand-msgdb-path' instead of
1671 `elmo-folder-msgdb-path'.
1673 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1675 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1676 element of the difference is nil.
1678 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1680 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1681 to the check logic of file systems which are weak in colon character.
1683 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1685 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1687 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1689 * elmo-maildir.el (elmo-maildir-move-file): New function.
1690 (elmo-folder-append-buffer): Use it.
1691 (elmo-folder-append-messages): Ditto.
1692 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1694 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1695 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1697 * elmo-maildir.el (elmo-maildir-separator): New user option.
1698 (elmo-maildir-adjust-separator): New macro.
1699 (elmo-maildir-list-location): Use it.
1700 (elmo-maildir-update-current): Ditto.
1701 (elmo-maildir-set-mark): Ditto.
1702 (elmo-maildir-delete-mark): Ditto.
1703 (These changes are based on Hiroya Murata's patch [wl: 13437])
1705 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1707 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1709 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1711 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1712 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1713 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1715 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1717 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1718 Use `with-temp-buffer'.
1720 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1722 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1724 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1725 `wl-read-search-condition').
1726 (elmo-read-search-condition-internal): Likewise.
1728 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1729 (elmo-flag-valid-p): New function.
1730 (elmo-folder-initialize): Check flag name is valid.
1732 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1734 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1735 delimiter to obtain root mailbox itself.
1737 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1739 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1742 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1744 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1747 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1749 * elmo-shimbun.el (toplevel): Require cl at compile.
1751 * elmo-nntp.el (toplevel): Ditto.
1753 * elmo-nmz.el (toplevel): Ditto.
1755 * elmo-multi.el (toplevel): Ditto.
1757 * elmo-file.el (toplevel): Ditto.
1759 * elmo-dop.el (toplevel): Ditto.
1761 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1763 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1765 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1768 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1769 size of elmo-message-fetch-internal is 0 byte.
1771 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1773 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1775 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1777 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1780 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1782 * elmo-maildir.el (elmo-map-message-fetch): Call
1783 `elmo-map-folder-set-flag'.
1785 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1786 (elmo-message-fetch): Merge from
1787 `elmo-message-fetch-with-cache-process'.
1789 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1790 (elmo-message-fetch): Define.
1792 * elmo-nntp.el (elmo-message-fetch): Renamed from
1793 `elmo-message-fetch-with-cache-process'.
1795 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1796 (elmo-message-fetch): Define.
1798 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1801 * elmo-shimbun.el (shimbun-mua-search-id): Use
1802 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1803 (elmo-shimbun-folder-shimbun-header): Ditto.
1804 (elmo-shimbun-get-headers): Ditto.
1805 (elmo-shimbun-update-overview): Ditto.
1807 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1809 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1810 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1812 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1814 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1816 (elmo-message-fetch-string): Fixed argument.
1818 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1820 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1821 exchange order of arguments `section' and `unread'.
1822 (elmo-message-encache): Follow the API change.
1823 (elmo-message-match-condition): Ditto.
1824 (elmo-generic-folder-append-messages): Ditto.
1825 (elmo-message-fetch-string): New function.
1827 * elmo-split.el (elmo-split-subr): Ditto.
1829 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1831 * elmo-pipe.el (elmo-message-fetch): Ditto.
1833 * elmo-multi.el (elmo-message-fetch): Ditto.
1835 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1837 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1839 * elmo-filter.el (elmo-message-fetch): Ditto.
1841 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1843 * elmo-imap4.el (mime-imap-location-section-body): Use
1844 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1845 follow the API change.
1847 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1849 * elmo-access.el: New file.
1851 * elmo-null.el: Ditto.
1853 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1855 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1857 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1858 (elmo-network-session): New attribute `last-accessed'.
1859 (elmo-network-get-session): Discard network cache if elapsed time
1860 since last-accessed is larger than elmo-network-session-idle-timeout.
1862 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1864 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1865 and added `number', `require-entireness'.
1866 (elmo-find-fetch-strategy): Rewrite.
1867 (elmo-message-fetch): Unset `unread' flag when argument unread is
1870 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1872 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1873 (elmo-message-fetch): Notify event `flag-changed'.
1875 * elmo-pipe.el: Likewise.
1877 * elmo-mime.el (elmo-mime-entity): New class.
1878 (elmo-mime-entity-display-p): New generic function.
1879 (elmo-mime-entity-display): Ditto.
1880 (elmo-mime-entity-display-as-is): Ditto.
1881 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1883 (elmo-make-mime-message-location): Removed.
1884 (elmo-mime-message-display): Ditto.
1885 (elmo-mime-display-as-is): Ditto.
1886 (elmo-message-mime-entity): New function.
1888 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1890 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1892 (elmo-message-fetch): Re-count flagged message number and notify
1893 event `flag-changed'.
1895 * elmo-version.el (elmo-version): Up to 2.13.1.
1897 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1899 * elmo-filter.el (elmo-message-field): Define.
1900 (elmo-message-set-field): Ditto.
1902 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1904 * elmo.el (elmo-message-set-cached): Call
1905 `elmo-folder-notify-event' with cache-changed.
1906 (elmo-event-handler-cache-changed): New generic function.
1908 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1910 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1911 instead of elmo-add-name-to-file.
1912 (elmo-folder-append-messages): Ditto.
1914 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1916 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1918 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1920 * elmo-version.el (elmo-version): Up to 2.13.0.
1922 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1925 * modb-standard.el (modb-standard-economize-entity-size): Changed
1926 default value to `t'.
1928 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1931 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1932 after parsing greeting string.
1934 2004-11-23 Daishi Kato <daishi@axlight.com>
1936 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1938 (elmo-spam-spamoracle-call): Use it.
1940 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1942 * elmo.el (elmo-message-accessible-p): Message in dop spool
1945 2004-11-23 Daishi Kato <daishi@axlight.com>
1947 * elsp-spamoracle.el: New file.
1949 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1951 * elmo.el (elmo-message-flags-for-append): New function.
1952 (elmo-generic-folder-append-messages): Use it.
1954 * elmo-split.el (elmo-split-subr): Ditto.
1956 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1957 `flags' and use elmo-folder-append-buffer instead of
1958 write-region-as-binary.
1959 (elmo-dop-filter-pending-messages): New function.
1960 (elmo-folder-append-buffer-dop): Call
1961 elmo-dop-spool-folder-append-buffer with `flag'.
1962 (elmo-folder-set-flag-dop): Filter messages by
1963 elmo-dop-filter-pending-messages.
1964 (elmo-folder-unset-flag-dop): Ditto.
1965 (elmo-folder-append-buffer-dop-delayed): Use
1966 elmo-message-flags-for-append to get flags of the message and
1969 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1971 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1973 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1975 * elmo.el (elmo-folder): Added handlers slot.
1976 (elmo-event-handler): New class.
1977 (elmo-event-handler-flag-changed): New API.
1978 (elmo-folder-add-handler): New function.
1979 (elmo-folder-remove-handler): Ditto.
1980 (elmo-folder-notify-event): Ditto.
1981 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1983 (elmo-folder-unset-flag): Ditto.
1985 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1986 (elmo-folder-unset-flag): Ditto.
1988 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1989 (elmo-folder-unset-flag): Ditto.
1991 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1992 (elmo-folder-unset-flag): Ditto.
1994 * elmo-version.el (elmo-version): Up to 2.11.33.
1996 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1998 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2000 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2002 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2004 * elmo-flag.el (elmo-folder-unset-flag): Define.
2005 (elmo-global-flag-detach): Do process when the flag is not target
2008 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2010 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2012 (elmo-msgdb-create-message-entity-from-buffer): Use it.
2014 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2016 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2018 (elmo-folder-delete-messages): Detach messages before delete
2019 messages from target folder.
2020 (elmo-folder-detach-messages): Set updated number-list to slot.
2022 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2024 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2026 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2028 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2030 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2032 * elmo.el (elmo-folder-delete-messages-internal): New API (for
2034 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2036 (elmo-folder-delete-messages): Define.
2037 (elmo-folder-move-messages): Don't call
2038 `elmo-folder-detach-messages'.
2039 (elmo-folder-synchronize): Rewrite.
2040 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2042 * elmo-util.el (elmo-last): New function.
2043 (elmo-set-list): Ditto.
2044 (elmo-number-set-delete-list): Ditto.
2045 (elmo-number-set-delete): Ditto.
2047 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2049 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2050 `elmo-folder-delete-messages' and don't delete location map.
2051 (elmo-folder-detach-messages): Define.
2053 * elmo-imap4.el (elmo-folder-delete): Use
2054 `elmo-folder-delete-messages-internal' instead of
2055 `elmo-folder-delete-messages'.
2057 * elmo-filter.el (elmo-folder-delete-messages): Call
2058 `elmo-folder-detach-messages'.
2059 (elmo-folder-detach-messages): Don't call
2060 `elmo-folder-detach-messages' for target folder.
2062 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2063 message deletion is succeeded.
2065 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2067 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2068 from `elmo-folder-delete-messages'.
2070 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2072 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2074 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2076 * elmo-version.el (elmo-version): Up to 2.11.32.
2078 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
2080 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2081 (elmo-global-flag-list): Added obsolete variable setting.
2083 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2085 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2086 (elmo-mime-insert-header-from-buffer): Don't decode header content when
2087 `elmo-mime-display-header-analysis' is nil.
2089 * elmo-flag.el (elmo-global-flags): Renamed from
2090 `elmo-global-flag-list' (All other related portions are changed).
2091 (elmo-local-flags): New variable.
2092 (elmo-local-flag-p): New function.
2093 (elmo-global-flag-set-internal): Cause an error when flag is not
2096 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
2098 * elmo-util.el (elmo-concat-path): Treat empty path.
2100 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2102 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2104 (elmo-split-address-match): Ditto.
2105 (elmo-split-equal): Ditto.
2106 (elmo-split-match): Ditto.
2108 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
2110 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2111 (elmo-generic-folder-append-messages): If src message exists but
2112 has no flag, pass (read) for the FLAG argument of
2113 `elmo-folder-append-buffer'. Otherwise, pass nil.
2115 * elmo-split.el (elmo-split-subr): Likewise.
2117 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2119 * elmo-multi.el (elmo-message-flags): Ditto.
2121 * elmo-filter.el (elmo-message-flags): Ditto.
2123 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2124 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2125 pass (read) for the FLAG argument of elmo-folder-append-buffer.
2127 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
2129 * elmo-split.el (elmo-split-rule): Update comment.
2130 (elmo-split-address-equal): Allow 2nd argument to be a list.
2131 (elmo-split-address-match): Ditto.
2132 (elmo-split-equal): Ditto.
2133 (elmo-split-match): Ditto.
2135 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
2137 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2138 (elmo-folder-append-msgdb): Don't treat `read'.
2139 (elmo-message-flags): Don't return `read'.
2141 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2142 (elmo-folder-unset-read-delayed): Ditto.
2144 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2146 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
2148 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2151 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2153 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2156 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
2158 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2160 (elmo-msgdb-save): Bind inhibit-quit.
2161 (modb-standard-message-entity): Ditto.
2163 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2165 * elmo-database.el: No need to require elmo-msgdb.
2167 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2169 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2170 instead of `elmo-list-subdirectories'.
2172 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2174 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2176 (elmo-folder-exists-p): "[" is empty.
2177 (elmo-folder-list-subfolders): Define.
2178 (elmo-folder-have-subfolder-p): Ditto.
2180 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
2182 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2184 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
2186 * elmo-filter.el (elmo-folder-local-p): Define.
2188 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2190 * modb-standard.el (modb-standard-loaded-message-id): Return nil
2191 when entity is garbaged.
2192 (modb-standard-save-entity-1): Don't modify the original entity.
2194 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
2196 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2198 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2200 * elmo.el (elmo-strict-folder-diff): Use
2201 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2203 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2205 * modb.el (elmo-msgdb-flag-available-p): New generic function.
2206 (elmo-msgdb-message-number): Ditto.
2207 (elmo-msgdb-message-field): Ditto.
2209 * modb-standard.el (modb-standard-economize-entity-size): New user
2211 (modb-standard-loaded-message-id): New inline function.
2212 (modb-standard-load-entity): Use it.
2213 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2214 throw message-id string away.
2215 (elmo-msgdb-flag-available-p): Define.
2216 (elmo-msgdb-message-number): Ditto.
2217 (elmo-msgdb-message-field): Ditto.
2219 * modb-legacy.el (modb-legacy-flag-list): Fix typo
2220 (suppoted -> supported).
2221 (modb-legacy-supported-flag-p): Ditto.
2222 (elmo-msgdb-set-flag): Ditto.
2223 (elmo-msgdb-unset-flag): Ditto.
2224 (elmo-msgdb-flag-available-p): Define.
2226 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2227 is `t', treat it as legacy entity.
2229 * elmo.el (elmo-message-flag-available-p): New generic function.
2230 (elmo-message-number): Ditto.
2231 (elmo-message-field): Use `elmo-msgdb-message-field'.
2233 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2235 * elmo-pipe.el (elmo-message-flag-available-p): Define.
2236 (elmo-message-number): Ditto.
2238 * elmo-multi.el (elmo-message-number): Define.
2239 (elmo-message-flag-available-p): Ditto.
2241 * elmo-filter.el (elmo-message-flag-available-p): Define.
2242 (elmo-message-number): Ditto.
2244 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2245 (elmo-folder-initialize): Load `max-number'.
2246 (elmo-folder-commit): Save it.
2247 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2248 (elmo-global-flag-set-internal): Set up max-number slot.
2250 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2252 * elmo-version.el (elmo-version): Up to 2.11.31.
2254 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
2256 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2257 unibyte string of the current buffer for the argument of `md5'
2258 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2260 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2262 * modb-legacy.el (modb-legacy-flag-list): New constant.
2263 (modb-legacy-suppoted-flag-p): New internal function.
2264 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2265 (elmo-msgdb-unset-flag): Ditto.
2267 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
2269 * elmo.el (elmo-make-folder): Remove text properties for prefix.
2271 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2274 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2276 * elmo-multi.el (elmo-folder-count-flags): Changed return value
2277 (follow the API change).
2279 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2281 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2283 * modb-standard.el (modb-standard-digest-flags): Abolish.
2284 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2286 * elmo-vars.el (elmo-digest-flags): New variable.
2287 (elmo-preserved-flags): Moved from elmo-flag.el.
2289 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2290 (elmo-imap4-flag-to-imap-criteria): Ditto.
2291 (elmo-imap4-folder-list-flagged): Use it.
2293 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2295 * elmo.el (elmo-folder-count-flags): Changed return value.
2297 * elmo-flag.el (elmo-preserved-flags): New variable.
2298 (elmo-get-global-flags): Use it.
2300 * modb-standard.el (modb-standard-digest-flags): New variable.
2301 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2302 Changed behavior of `any'.
2304 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2305 which are defined the Internet draft
2306 (draft-melnikov-imap-keywords-03.txt).
2307 (elmo-imap4-flags-to-imap): New function.
2308 (elmo-folder-append-buffer): Use it.
2310 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2313 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2314 avoid the bug of Emacs 21.3.
2316 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2318 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2319 function find-coding-system does not exist.
2321 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2323 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2326 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2328 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2331 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2333 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2334 (elmo-network-close-session): Follow the changes in
2335 `elmo-pop3-read-response'.
2336 (elmo-pop3-auth-user): Ditto.
2337 (elmo-pop3-auth-apop): Ditto.
2338 (elmo-network-initialize-session): Ditto.
2339 (elmo-network-authenticate-session): Ditto.
2340 (elmo-network-setup-session): Ditto.
2341 (elmo-folder-status): Ditto.
2342 (elmo-message-fetch-plugged): Ditto.
2343 (elmo-pop3-delete-msg): Ditto.
2345 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2347 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2350 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2352 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2354 (elmo-bind-directory): Ditto.
2356 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2358 * elmo.el (elmo-folder-append-messages): Note on return value.
2359 * elmo-archive.el (elmo-folder-append-messages): Don't return
2360 message numbers which could not be appended.
2362 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2364 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2366 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2368 * elmo-version.el (elmo-version): Up to 2.11.30.
2370 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2372 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2375 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2377 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2378 (elmo-multi-split-numbers): Add elmo-folder object into each
2379 element of return value at first.
2380 (elmo-folder-delete-messages): Follow the above change.
2381 (elmo-folder-detach-messages): Ditto.
2383 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2384 number which is synchronized in target folder.
2386 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2388 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2389 Change default value to symbol `all'.
2390 (elmo-map-message-fetch): Change condition to update overview
2393 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2395 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2396 behavior to update overview.
2397 (elmo-shimbun-update-overview-folder-list): Note it.
2399 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2401 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2404 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2406 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2407 buffer-disable-undo, it is unnecessary.
2408 (elmo-spam-register-good-messages): Ditto.
2410 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2413 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2415 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2417 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2418 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2419 elmo-set-buffer-multibyte.
2420 (elmo-object-load): Ditto.
2421 (elmo-save-buffer): Ditto.
2422 (elmo-delete-char): Ditto.
2423 (elmo-file-field-primitive-condition-match): Ditto.
2424 (elmo-mime-string): Ditto.
2426 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2427 (elmo-archive-field-condition-match): Ditto.
2429 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2431 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2433 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2434 (elmo-nntp-msgdb-create-message): Ditto.
2436 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2438 * elmo.el (elmo-message-match-condition): Ditto.
2439 (elmo-message-match-condition): Ditto.
2441 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2444 * elmo-version.el (elmo-version): Up to 2.11.29.
2446 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2447 (elsp-header): New backend.
2449 * elmo-util.el (elmo-decoded-field-body): New function.
2451 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2453 * elmo-version.el (elmo-version): Up to 2.11.28.
2455 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2457 * elmo-filter.el: Rewrite.
2459 * elmo-version.el (elmo-version): Up to 2.11.27.
2461 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2463 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2464 msgdb path for the localdir folder with absolute path.
2466 * utf7.el: Synch up with latest gnus/utf7.el;
2467 Modified for latest Emacs.
2469 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2471 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2472 shimbun backend couldn't open.
2474 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2476 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2477 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2478 when a destination folder is a filter folder.
2480 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2482 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2483 (elmo-generic-folder-append-messages): Call elmo-message-flags
2484 with argument `msgid'.
2486 * elmo-split.el (elmo-split-subr): Ditto.
2488 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2490 * elmo-multi.el (elmo-message-flags): Ditto.
2492 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2494 * elmo.el (elmo-folder): Add new slot `flag-table'.
2495 (elmo-folder-flag-table): New API.
2496 (elmo-folder-close-flag-table): Ditto.
2497 (elmo-folder-preserve-flags): New function.
2498 (elmo-generic-folder-append-messages): Use
2499 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2500 Flag of a non-registered message, it sets to nil.
2501 Does not set flag to flag-table.
2503 * elmo-maildir.el (elmo-folder-append-buffer): Use
2504 `elmo-folder-preserve-flags'.
2505 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2506 `elmo-folder-close-flag-table'.
2508 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2509 (elmo-archive-folder-append-buffer): Use
2510 `elmo-folder-preserve-flags'.
2512 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2514 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2516 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2517 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2518 `elmo-folder-close-flag-table'.
2520 * elmo-version.el (elmo-version): Up to 2.11.26.
2522 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2524 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2526 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2527 md5's 4th and 5th argument (non-existent in flim one).
2529 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2531 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2532 message, It sets to nil.
2534 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2536 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2539 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2541 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2543 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2545 * elmo-util.el (elmo-uniq-sorted-list): New function.
2546 (elmo-make-number-list): Ditto.
2547 (elmo-number-set-to-number-list): Use elmo-make-number-list
2548 and don't use nreverse.
2550 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2552 * elmo-version.el (elmo-version): Up to 2.11.25.
2554 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2556 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2557 field not exists in message, Use md5 message digest of header.
2559 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2561 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2562 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2563 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2564 * elmo-split.el (elmo-split-subr): Check return value of
2565 elmo-folder-append-buffer.
2567 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2568 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2570 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2573 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2575 * elmo-split.el (elmo-split-subr): Append message with flag.
2577 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2578 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2579 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2581 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2583 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2584 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2585 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2587 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2589 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2590 with a function call of `process-buffer'. All callers are updated.
2591 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2592 Remove redundant `set-buffer' in a while loop.
2594 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2596 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2599 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2601 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2602 elsp-spamfilter-register-buffer-internal with current buffer.
2603 (elmo-spam-register-spam-buffer): Ditto.
2604 (elmo-spam-register-good-buffer): Ditto.
2606 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2608 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2609 if it is not contained in the response(A workaround for courier-imap).
2611 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2613 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2616 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2618 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2621 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2623 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2626 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2628 (elmo-msgdb-message-match-condition): Follow the change above.
2630 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2632 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2635 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2637 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2639 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2641 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2643 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2645 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2648 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2650 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2652 (elmo-file-command-argument): Undo last change for cygwin.
2653 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2655 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2657 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2659 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2660 value returned from elmo-file-find is nil.
2662 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2664 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2667 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2668 instead of insert-file-contents-as-binary.
2669 (elmo-message-set-field): New generic function.
2671 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2672 behavior change on `split-string'.
2674 * elmo-file.el (elmo-file-find): New function.
2675 (elmo-file-command): New user option.
2676 (elmo-file-command-argument): Ditto.
2677 (elmo-file-fetch-max-size): Ditto.
2678 (elmo-file-detect-format): New function.
2679 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2680 Use elmo-file-detect-format.
2681 (elmo-map-folder-list-message-locations): Don't treat directories.
2683 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2685 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2686 (elmo-passwd-alist-clear): Shred password before clear.
2687 (elmo-remove-passwd): Remove all mached pair.
2689 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2691 * elmo.el (elmo-folder-synchronize): Fix description of the return
2694 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2696 * elmo.el (elmo-message-fetch-bodystructure): New method.
2697 (elmo-message-fetch-bodystructure): Define default.
2699 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2700 elmo-message-fetch-bodystructure.
2701 (elmo-message-fetch-bodystructure): Define.
2703 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2705 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2707 * elmo-filter.el (elmo-message-folder): Define.
2709 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2711 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2712 elmo-delete-cr-buffer.
2714 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2716 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2718 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2720 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2721 type seems to be a text.
2723 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2725 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2726 (elmo-spam-register-good-buffer): Ditto.
2727 (elmo-spam-spamassassin-register-messages): Ditto.
2729 * elmo-util.el (elmo-string-member-ignore-case): Define with
2732 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2734 * elmo.el (elmo-folder-type): Undo last change.
2736 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2738 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2741 * elmo-file.el: New file.
2743 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2745 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2747 (elmo-spam-spamassassin-register-messages): New inline function.
2748 (elmo-spam-register-spam-messages): Define.
2749 (elmo-spam-register-good-messages): Ditto.
2751 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2754 * elmo.el (toplevel): Added autoload setting for
2755 `elmo-get-global-flags'.
2756 (elmo-message-has-global-flag-p): New function.
2757 (elmo-message-set-global-flags): Ditto.
2758 (elmo-folder-type): Improvement for name: format.
2760 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2761 availability of keyword flags.
2762 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2763 (elmo-folder-list-flagged-plugged): Renamed from
2764 elmo-folder-list-flagged-unplugged.
2765 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2766 accept any flag as keyword flag.
2767 (elmo-folder-set-flag-plugged): Accept keyword flags.
2768 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2770 * elmo-flag.el (elmo-get-global-flags): New function.
2772 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2775 * elmo-version.el (elmo-version): Up to 2.11.24.
2777 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2779 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2780 elmo-multiple-field-body instead of std11-field-body to check all
2783 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2785 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2788 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2790 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2791 unintern is unbound.
2793 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2795 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2796 Protect from infinite loop.
2798 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2800 * elsp-bogofilter.el
2801 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2802 (elmo-spam-bogofilter-register-messages): New internal function.
2803 (elmo-spam-register-spam-messages): Define.
2804 (elmo-spam-register-good-messages): Ditto.
2806 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2808 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2809 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2810 (elmo-spam-bogofilter-call): Fixed the last change.
2811 (elmo-spam-bogofilter-arguments): Ditto.
2813 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2814 Follow the options change of latest bogofilter.
2816 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2817 (elmo-spam-bogofilter-good-switch): Ditto.
2818 (elmo-spam-bogofilter-arguments-alist): New user option.
2819 (elmo-spam-bogofilter-debug): Ditto.
2820 (elmo-spam-bogofilter-call): Renamed from
2821 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2822 is non-nil, insert output in buffer for debug.
2823 (elmo-spam-bogofilter-arguments): New macro.
2824 (elmo-spam-buffer-spam-p): Use it.
2825 (elsp-bogofilter-register-buffer): Ditto.
2827 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2829 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2832 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2834 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2836 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2837 (elmo-spam-bsfilter-program): Set default value as full path for
2839 (elmo-spam-bsfilter-debug): New user option.
2840 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2841 non-nil, insert output in buffer for debug. Fix treating of
2844 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2846 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2847 `elmo-maildir-flag-specs' element instead of one.
2848 (elmo-map-folder-unset-flag): Ditto.
2849 (Reported by Ken Makimura <macky@astem.or.jp>)
2851 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2852 (elmo-folder-unset-flag-plugged): Ditto.
2854 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2856 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2857 to `reads' slot only if `in-msgdb' is nil.
2859 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2861 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2862 and complement argument list.
2864 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2866 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2867 instead of elmo-folder-list-flagged.
2869 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2871 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2873 * elsp-bsfilter.el: New file.
2875 * elmo-pipe.el (elmo-folder-list-unreads,
2876 elmo-folder-list-answereds,
2877 elmo-folder-list-importants,
2878 elmo-folder-flag-as-important,
2879 elmo-folder-unflag-important,
2880 elmo-folder-flag-as-read,
2881 elmo-folder-unflag-read,
2882 elmo-folder-flag-as-answered,
2883 elmo-folder-unflag-answered): Remove.
2884 (elmo-folder-set-flag): Define.
2885 (elmo-folder-unset-flag): Ditto.
2887 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2888 (elmo-folder-set-flag): Define.
2889 (elmo-folder-unset-flag): Ditto.
2890 (elmo-folder-list-unreads): Remove.
2891 (elmo-folder-list-flagged): Define.
2893 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2894 (elmo-folder-list-unreads,
2895 elmo-folder-list-importants,
2896 elmo-folder-list-answereds,
2897 elmo-folder-list-unreads-plugged,
2898 elmo-folder-list-importants-plugged,
2899 elmo-folder-list-answereds-plugged): Remove.
2900 (elmo-folder-list-flagged-plugged): New method.
2901 (elmo-folder-unflag-important,
2902 elmo-folder-flag-as-important,
2903 elmo-folder-unflag-read,
2904 elmo-folder-flag-as-read,
2905 elmo-folder-unflag-answered,
2906 elmo-folder-flag-as-answered,
2907 elmo-folder-flag-as-read-unplugged,
2908 elmo-folder-unflag-read-unplugged,
2909 elmo-folder-flag-as-important-unplugged,
2910 elmo-folder-unflag-important-unplugged,
2911 elmo-folder-flag-as-answered-unplugged,
2912 elmo-folder-unflag-answered-unplugged): Remove.
2913 (elmo-folder-set-flag): Define.
2914 (elmo-folder-unset-flag): Ditto.
2915 (elmo-folder-set-flag-unplugged): Ditto.
2916 (elmo-folder-unset-flag-unplugged): Ditto.
2918 * elmo-multi.el (elmo-folder-list-unreads,
2919 elmo-folder-list-answereds,
2920 elmo-folder-list-importants,
2921 elmo-folder-flag-as-important,
2922 elmo-folder-unflag-important,
2923 elmo-folder-flag-as-read,
2924 elmo-folder-unflag-read,
2925 elmo-folder-flag-as-answered,
2926 elmo-folder-unflag-answered): Remove.
2927 (elmo-folder-set-flag): Define.
2928 (elmo-folder-unset-flag): Ditto.
2930 * elmo-map.el (elmo-map-folder-unflag-important,
2931 elmo-map-folder-flag-as-important,
2932 elmo-map-folder-unflag-read,
2933 elmo-map-folder-flag-as-read,
2934 elmo-map-folder-unflag-answered,
2935 elmo-map-folder-flag-as-answered): Remove.
2936 (elmo-map-folder-set-flag): New method.
2937 (elmo-map-folder-unset-flag): Ditto.
2938 (elmo-map-folder-list-unreads,
2939 elmo-map-folder-list-importants,
2940 elmo-map-folder-list-answereds): Remove.
2941 (elmo-folder-list-flagged-internal): Define.
2942 (elmo-map-folder-list-flagged): New method.
2944 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2945 (elmo-map-folder-list-unreads,
2946 elmo-map-folder-list-importants,
2947 elmo-map-folder-list-flagged): Remove.
2948 (elmo-map-folder-list-flagged): Define.
2949 (elmo-map-folder-flag-as-important,
2950 elmo-map-folder-unflag-important,
2951 elmo-map-folder-flag-as-read,
2952 elmo-map-folder-unflag-read,
2953 elmo-map-folder-flag-as-answered,
2954 elmo-map-folder-unflag-answered): Remove.
2955 (elmo-maildir-set-mark-messages): New internal function.
2956 (elmo-map-folder-set-flag): Define.
2957 (elmo-map-folder-unset-flag): Ditto.
2959 * elmo.el (toplevel): Added autoload setting for
2960 `elmo-folder-list-global-flag-messages'.
2961 (elmo-folder-list-unreads,
2962 elmo-folder-list-importants,
2963 elmo-folder-list-answereds): Remove.
2964 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2965 Return a list whitch merged with messages have global flag.
2966 (elmo-folder-list-flagged-internal): New method.
2967 (elmo-folder-unflag-important,
2968 elmo-folder-flag-as-important,
2969 elmo-folder-unflag-read,
2970 elmo-folder-flag-as-read,
2971 elmo-folder-unflag-answered,
2972 elmo-folder-flag-as-answered): Remove.
2973 (elmo-folder-set-flag): New method.
2974 (elmo-folder-unset-flag): Ditto.
2975 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2976 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2978 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2979 (elmo-folder-list-unreads-plugged,
2980 elmo-folder-list-importants-plugged,
2981 elmo-folder-list-answereds-plugged,
2982 elmo-folder-list-flagged-unplugged,
2983 elmo-folder-unflag-important-plugged,
2984 elmo-folder-flag-as-important-plugged,
2985 elmo-folder-unflag-read-plugged,
2986 elmo-folder-flag-as-read-plugged,
2987 elmo-folder-unflag-answered-plugged,
2988 elmo-folder-flag-as-answered-plugged): Remove.
2989 (elmo-folder-set-flag-plugged,
2990 elmo-folder-unset-flag-plugged): Define.
2992 * elmo-flag.el (elmo-folder-initialize): Register to
2993 `elmo-global-flag-list' if flag is not global.
2994 (elmo-folder-append-messages): Set flag to source messages.
2996 * elmo-filter.el (elmo-filter-folder-list-unreads,
2997 elmo-folder-list-unreads,
2998 elmo-filter-folder-list-importants,
2999 elmo-folder-list-importants,
3000 elmo-folder-flag-as-read,
3001 elmo-folder-unflag-read,
3002 elmo-folder-flag-as-important,
3003 elmo-folder-unflag-important,
3004 elmo-folder-flag-as-answered,
3005 elmo-folder-unflag-answered): Remove.
3006 (elmo-folder-set-flag): Define.
3007 (elmo-folder-unset-flag): Ditto.
3009 * elmo-dop.el (elmo-folder-flag-as-read-dop,
3010 elmo-folder-unflag-read-dop,
3011 elmo-folder-flag-as-important-dop,
3012 elmo-folder-unflag-important-dop,
3013 elmo-folder-flag-as-answered-dop,
3014 elmo-folder-unflag-answered-dop): Remove.
3015 (elmo-folder-set-flag-dop,
3016 elmo-folder-unset-flag-dop,
3017 elmo-folder-set-important-delayed,
3018 elmo-folder-unset-important-delayed,
3019 elmo-folder-set-read-delayed,
3020 elmo-folder-unset-read-delayed,
3021 elmo-folder-set-answered-delayed,
3022 elmo-folder-unset-answered-delayed): New function.
3023 (elmo-dop-queue-merge-method-list): Follow the above chagned.
3024 (elmo-dop-queue-method-name-alist): Ditto.
3026 * elmo-version.el (elmo-version): Up to 2.11.23.
3028 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
3030 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3032 * elsp-sa.el: New file.
3034 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3036 * modb-standard.el (modb-standard-message-entity): New function.
3037 (elmo-msgdb-message-entity): Use it.
3039 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3041 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3042 behavior when one-level is nil.
3044 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3046 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3048 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3050 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3052 (elmo-generic-folder-diff): Ditto.
3054 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3055 (elmo-folder-update-number): Ditto.
3057 * elmo-dop.el (elmo-folder-status-dop): Ditto.
3058 (elmo-folder-next-message-number-dop): Ditto.
3060 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3062 * elmo-filter.el (elmo-folder-msgdb-create): Use
3063 `elmo-message-entity' and `elmo-message-flags' instead of
3064 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3066 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3068 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3071 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3073 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3075 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3077 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3079 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3081 * elmo-version.el (elmo-version): Up to 2.11.22.
3083 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3085 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3087 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3089 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3090 if the message dose not exist.
3092 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
3094 * elmo-version.el (elmo-version): Up to 2.11.21.
3096 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3098 * modb-standard.el (toplevel): Don't require mime.
3100 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3102 * elsp-bogofilter.el (toplevel): Don't require path-util.
3103 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3104 (elmo-spam-bogofilter-header): Abolish.
3105 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3106 (elmo-spam-bogofilter-args): New user option.
3107 (elsp-bogofilter-call-bogofilter): New internal function.
3108 (elmo-spam-buffer-spam-p): Use it.
3109 (elsp-bogofilter-register-buffer): Renamed from
3110 `elmo-spam-bogofilter-register-buffer';
3111 Use `elsp-bogofilter-call-bogofilter'.
3112 (elmo-spam-register-spam-buffer): Follow the change above.
3113 (elmo-spam-register-good-buffer): Ditto.
3115 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3117 * modb-standard.el (elmo-msgdb-append-entity): If entity or
3118 message-id is nil do nothing.
3120 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
3122 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3124 (elmo-imap4-session): Removed use-flag slot.
3125 (elmo-imap4-session-select-mailbox): Undo last change.
3126 (elmo-folder-use-flag-p): Use
3127 elmo-imap4-disuse-server-flag-mailbox-regexp.
3129 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3131 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3132 (elmo-imap4-session-select-mailbox): Set it up.
3133 (elmo-folder-use-flag-p): Return value of use-flag slot.
3135 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3137 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3139 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3141 * modb-entity.el (elmo-message-entity-handler): Likewise.
3143 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
3145 * elmo.el (toplevel): Remove setting of autoloding for
3146 elmo-global-flag-initialize.
3147 (elmo-init): Don't call elmo-global-flag-initialize.
3148 (toplevel): Added autoload setting for elmo-global-mark-migrate.
3150 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3151 (elmo-global-mark-migrate): Don't call it.
3152 (elmo-global-mark-upgrade): Ditto.
3154 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
3156 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3157 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3159 * elmo-vars.el (elmo-init-hook): New user option.
3161 * elmo.el (elmo-init): Run the elmo-init-hook.
3163 * elmo-flag.el (elmo-global-mark-migrate): New function.
3165 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3167 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3168 Undo last change (move to elmo-msgdb-unset-flag).
3169 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3172 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3174 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3176 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3177 (elmo-msgdb-unset-flag): Ditto.
3179 2003-11-05 Andreas Fuchs <asf@boinkor.net>
3181 * elmo-split.el (elmo-split): Return split message count.
3183 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3185 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3188 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3190 * elmo.el (elmo-folder-unflag-important): Call
3191 `elmo-global-flag-detach' with 4th argument delete-if-none that is
3194 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3196 (elmo-global-flag-detach): Delete the message from flag folder, if
3197 `delete-if-none' is a symbol `always'.
3199 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3201 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3202 `elmo-spam-spamfilter-decode-buffer'.
3203 (elsp-spamfilter-register-buffer-internal): New internal function.
3204 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3205 (elmo-spam-register-spam-buffer): Ditto.
3206 (elmo-spam-register-good-buffer): Ditto.
3208 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3210 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3211 (elmo-spam-register-spam-buffer): Follow the API change.
3212 (elmo-spam-register-good-buffer): Ditto.
3214 * elmo-split.el (toplevel): Require elmo-spam when copmile.
3215 (elmo-split-spam-p): Added argument plist; Call
3216 `elmo-spam-buffer-spam-p' with new argument register.
3218 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3220 (elmo-spam-message-spam-p): Ditto.
3221 (elmo-spam-register-spam-buffer): Added optional argument
3223 (elmo-spam-register-good-buffer): Ditto.
3224 (elmo-spam-register-spam-messages): Ditto.
3225 (elmo-spam-register-good-messages): Ditto.
3227 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3229 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3230 register into good corpus.
3231 (elmo-spam-register-good-buffer): Fixed to register into bad
3234 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3236 * elmo-version.el (elmo-version): Up to 2.11.20.
3238 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3241 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3242 flag without depending on \Recent flag.
3244 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3246 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3247 (elmo-spam-modified-p): Defined.
3248 (elmo-spam-save-status): Set `modified' slot to nil.
3249 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3250 (elmo-spam-register-good-buffer): Ditto.
3252 * elmo-spam.el (elmo-spam-modified-p): New API.
3254 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3256 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3257 duplicate definition.
3259 * elmo-util.el (elmo-unfold-field-body): New function.
3260 (elmo-msgdb-get-message-id-from-buffer): Use it.
3262 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3263 Fixed the last change; Use elmo-unfold-field-body.
3265 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3267 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3270 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3272 * elmo-spam.el (elmo-spam-save-status): New API.
3274 * elsp-spamfilter.el: New file.
3276 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3278 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3280 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3282 * elmo-split.el (elmo-split-spam-p): New function.
3284 * elmo-spam.el: New file.
3286 * elsp-bogofilter.el: Ditto.
3288 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3290 * elmo.el (elmo-folder-next-message-number): New API.
3291 (elmo-folder-next-message-number): Define.
3292 (elmo-message-field): Don't check folder length.
3294 * elmo-net.el (elmo-folder-next-message-number): Define.
3295 (elmo-folder-next-message-number-unplugged): Define.
3297 * elmo-map.el (elmo-folder-next-message-number): Define.
3298 (elmo-folder-delete-messages): Clear hash value.
3300 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3302 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3303 (elmo-folder-delete-messages-dop-delayed): Always return t.
3305 * elmo-version.el (elmo-version): Up to 2.11.19.
3307 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3309 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3312 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3313 identical cons cell into the mark-alist and the hash table.
3315 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3317 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3318 elmo-folder-list-messages with argument `visible-only' as t.
3320 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3321 (elmo-folder-msgdb-create): Check the target folder.
3323 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3325 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3326 `permanentflag' instead of `flags'.
3327 (elmo-folder-open): Ditto.
3328 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3329 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3330 (elmo-folder-use-flag-p): Always return t.
3331 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3332 `permanentflags' does not exist.
3333 (elmo-folder-open): Ditto.
3335 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3337 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3339 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3341 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3342 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3344 (elmo-folder-open): Ditto.
3345 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3346 slot of the session includes the flag.
3347 (elmo-imap4-session-flag-available-p): New function.
3348 (elmo-imap4-folder-list-flagged): Ditto.
3349 (elmo-folder-list-unreads-plugged): Use it.
3350 (elmo-folder-list-importants-plugged): Ditto.
3351 (elmo-folder-list-answereds-plugged): Ditto.
3352 (elmo-imap4-search-internal-primitive): Ditto.
3353 (elmo-imap4-folder-list-any-plugged,
3354 elmo-imap4-folder-list-digest-plugged): Abolish.
3356 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3359 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3361 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3363 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3365 * elmo-util.el (elmo-get-hash-val): Simplify.
3366 (elmo-set-hash-val): Rewrite.
3368 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3370 * elmo.el (elmo-folder-list-messages): Append killed messages into
3371 result if `visible-only' is nil and `in-msgdb' is non-nil.
3373 * elmo-util.el (elmo-uniq-list): Added optional argument
3376 * modb.el (elmo-msgdb-flag-count): New API.
3378 * modb-standard.el (modb-standard): Added slot flag-count.
3379 (modb-standard-countup-flags): New function.
3380 (modb-standard-load-flag): Call it.
3381 (elmo-msgdb-append): Ditto.
3382 (elmo-msgdb-clear): Clear slot flag-count.
3383 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3384 (elmo-msgdb-unset-flag): Treat `all' flag and call
3385 modb-standard-countup-flags.
3386 (elmo-msgdb-flag-count): Define.
3387 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3388 (elmo-msgdb-delete-messages): Ditto.
3390 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3391 (elmo-msgdb-flag-count): Define.
3393 * elmo.el (elmo-folder-list-messages): Undo last change.
3394 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3395 (elmo-folder-kill-messages): Unset all flags to numbers.
3397 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3398 elmo-folder-kill-messages.
3400 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3401 (elmo-nntp-folder-delete-messages): Abolish.
3403 * elmo-version.el (elmo-version): Up to 2.11.18.
3405 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3407 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3408 (elmo-folder-kill-messages-range): New function.
3409 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3410 instead of elmo-folder-kill-messages-before.
3412 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3414 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3415 elmo-imap4-current-msgdb to decide entity handler.
3417 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3419 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3421 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3423 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3424 (elmo-msgdb-overview-entity-set-number,
3425 elmo-msgdb-overview-entity-get-references,
3426 elmo-msgdb-overview-entity-set-references,
3427 elmo-msgdb-overview-entity-get-from-no-decode,
3428 elmo-msgdb-overview-entity-get-from,
3429 elmo-msgdb-overview-entity-set-from,
3430 elmo-msgdb-overview-entity-get-subject,
3431 elmo-msgdb-overview-entity-get-subject-no-decode,
3432 elmo-msgdb-overview-entity-set-subject,
3433 elmo-msgdb-overview-entity-get-date,
3434 elmo-msgdb-overview-entity-set-date,
3435 elmo-msgdb-overview-entity-get-to,
3436 elmo-msgdb-overview-entity-get-cc,
3437 elmo-msgdb-overview-entity-get-size,
3438 elmo-msgdb-overview-entity-set-size,
3439 elmo-msgdb-overview-entity-get-extra,
3440 elmo-msgdb-overview-entity-set-extra,
3441 elmo-msgdb-overview-entity-get-extra-field,
3442 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3443 (elmo-msgdb-make-index): Use
3444 `elmo-msgdb-overview-entity-get-number-internal'.
3445 (elmo-msgdb-clear-index): Ditto.
3446 (elmo-msgdb-append-entity): Ditto;
3447 Use `elmo-msgdb-overview-entity-get-id-internal'.
3449 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3450 elmo-msgdb-overview-entity-set-number,
3451 elmo-msgdb-overview-entity-get-references,
3452 elmo-msgdb-overview-entity-set-references,
3453 elmo-msgdb-overview-entity-get-from-no-decode,
3454 elmo-msgdb-overview-entity-get-from,
3455 elmo-msgdb-overview-entity-set-from,
3456 elmo-msgdb-overview-entity-get-subject,
3457 elmo-msgdb-overview-entity-get-subject-no-decode,
3458 elmo-msgdb-overview-entity-set-subject,
3459 elmo-msgdb-overview-entity-get-date,
3460 elmo-msgdb-overview-entity-set-date,
3461 elmo-msgdb-overview-entity-get-to,
3462 elmo-msgdb-overview-entity-get-cc,
3463 elmo-msgdb-overview-entity-get-size,
3464 elmo-msgdb-overview-entity-set-size,
3465 elmo-msgdb-overview-entity-get-extra,
3466 elmo-msgdb-overview-entity-set-extra,
3467 elmo-msgdb-overview-entity-get-extra-field,
3468 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3469 and rewrote for backward compatibility.
3471 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3473 * elmo.el (elmo-message-entity-number,
3474 elmo-message-entity-set-number,
3475 elmo-message-entity-field,
3476 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3478 * elmo-msgdb.el (elmo-message-entity-number,
3479 elmo-message-entity-set-number,
3480 elmo-message-entity-field,
3481 elmo-message-entity-set-field): Moved from elmo.el.
3483 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3485 * elmo.el (toplevel): Changed definition orders.
3487 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3489 * modb.el (elmo-msgdb-search): New API .
3490 (elmo-msgdb-match-condition): Ditto.
3492 * modb-standard.el (elmo-msgdb-search): Define.
3494 * modb-legacy.el (elmo-msgdb-search): Ditto.
3496 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3497 from elmo-msgdb-match-condition-internal.
3499 * elmo.el (elmo-folder-search-fast): Abolish.
3500 (elmo-folder-search): Use elmo-msgdb-search and
3501 elmo-with-progress-display.
3503 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3506 * elmo.el (elmo-folder): Remove slot message-modified and
3508 (elmo-folder-set-message-modified): Abolish.
3509 (elmo-generic-folder-commit): Follow the change above.
3510 (elmo-folder-synchronize): Ditto.
3512 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3514 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3516 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3518 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3520 * modb-standard.el (modb-standard-make-message-entity,
3521 elmo-msgdb-make-message-entity,
3522 elmo-msgdb-create-message-entity-from-buffer,
3523 elmo-msgdb-message-entity-number,
3524 elmo-msgdb-message-entity-set-number,
3525 elmo-msgdb-message-entity-field,
3526 elmo-msgdb-message-entity-set-field,
3527 elmo-msgdb-copy-message-entity,
3528 elmo-msgdb-match-condition-internal): Remove.
3530 * modb-entity.el: New file (again).
3532 * modb.el (toplevel): Require modb-entity.
3533 (elmo-msgdb-message-entity-handler): New method.
3535 * modb-standard.el (modb-standard-entity-id): Use
3536 elmo-message-entity-handler.
3537 (modb-standard-load-entity): Ditto.
3538 (elmo-msgdb-append-entity): Ditto.
3539 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3541 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3542 elmo-msgdb-decoded-cache-hashtb,
3543 (modb-legacy-make-message-entity,
3544 elmo-msgdb-make-message-entity,
3545 elmo-msgdb-create-message-entity-from-buffer,
3546 elmo-msgdb-message-entity-number,
3547 elmo-msgdb-message-entity-set-number,
3548 elmo-msgdb-message-entity-field,
3549 elmo-msgdb-message-entity-set-field,
3550 elmo-msgdb-copy-message-entity,
3551 elmo-msgdb-match-condition-internal,
3552 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3554 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3555 (elmo-message-entity-set-number): Ditto.
3556 (elmo-message-entity-field): Ditto.
3557 (elmo-message-entity-set-field): Ditto.
3559 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3561 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3563 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3565 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3566 (elmo-nntp-msgdb-create-message): Ditto.
3568 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3569 (elmo-folder-msgdb-create): Add unread flag.
3571 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3573 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3575 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3577 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3579 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3580 elmo-msgdb-messge-entity-handler.
3581 * elmo-version.el (elmo-version): Up to 2.11.17.
3583 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3585 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3588 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3590 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3592 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3593 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3594 (elmo-msgdb-flag-table): Ditto.
3595 (elmo-msgdb-sort-by-date): Ditto.
3597 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3599 * modb-standard.el (toplevel): Require mime.
3600 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3601 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3602 elmo-msgdb-message-entity-number.
3603 (elmo-msgdb-append-entity): Ditto.
3604 (elmo-msgdb-create-message-entity-from-file): Remove.
3605 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3606 corresponds to the entity.
3607 (elmo-msgdb-message-entity-number): Do nothing currently.
3608 (elmo-msgdb-message-entity-field): Ditto.
3609 (elmo-msgdb-message-entity-set-field): Ditto.
3610 (elmo-msgdb-copy-message-entity): Ditto.
3611 (elmo-msgdb-match-condition-internal): Ditto.
3613 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3615 (elmo-msgdb-create-message-entity-from-file): Remove.
3617 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3619 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3621 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3623 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3625 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3626 (elmo-msgdb-message-entity-field): Ditto.
3627 (elmo-msgdb-message-entity-number): Ditto.
3629 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3631 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3632 Fixed how to set extra field into entity.
3633 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3636 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3637 Fixed how to set extra field into entity.
3638 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3641 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3643 * modb.el (elmo-message-entity-db): New function.
3644 (elmo-msgdb-make-message-entity): New API.
3645 (elmo-msgdb-message-entity-number): Ditto.
3646 (elmo-msgdb-message-entity-set-number): Ditto.
3647 (elmo-msgdb-message-entity-field): Ditto.
3648 (elmo-msgdb-message-entity-set-field): Ditto.
3649 (elmo-msgdb-copy-message-entity): Ditto.
3650 (elmo-msgdb-create-message-entity-from-file): Ditto.
3651 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3652 (elmo-msgdb-match-condition-internal): Ditto.
3654 * modb-standard.el (modb-legacy): Require modb-legacy.
3655 (modb-standard-make-message-entity): New inline function.
3656 (elmo-msgdb-make-message-entity): Define.
3657 (elmo-msgdb-create-message-entity-from-file): Ditto.
3658 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3659 (elmo-msgdb-message-entity-field): Ditto.
3660 (elmo-msgdb-message-entity-set-field): Ditto.
3661 (elmo-msgdb-copy-message-entity): Ditto.
3662 (elmo-msgdb-match-condition-internal): Ditto.
3664 * modb-legacy.el: Don't require modb-entity.
3665 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3666 (elmo-msgdb-match-condition-primitive): Ditto.
3667 (elmo-msgdb-get-decoded-cache): Ditto.
3668 (elmo-msgdb-overview-entity-get-id): Ditto.
3669 (elmo-msgdb-overview-entity-get-number): Ditto.
3670 (elmo-msgdb-overview-entity-set-number): Ditto.
3671 (elmo-msgdb-overview-entity-get-references): Ditto.
3672 (elmo-msgdb-overview-entity-set-references): Ditto.
3673 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3674 (elmo-msgdb-overview-entity-get-from): Ditto.
3675 (elmo-msgdb-overview-entity-set-from): Ditto.
3676 (elmo-msgdb-overview-entity-get-subject): Ditto.
3677 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3678 (elmo-msgdb-overview-entity-set-subject): Ditto.
3679 (elmo-msgdb-overview-entity-get-date): Ditto.
3680 (elmo-msgdb-overview-entity-set-date): Ditto.
3681 (elmo-msgdb-overview-entity-get-to): Ditto.
3682 (elmo-msgdb-overview-entity-get-cc): Ditto.
3683 (elmo-msgdb-overview-entity-get-size): Ditto.
3684 (elmo-msgdb-overview-entity-set-size): Ditto.
3685 (elmo-msgdb-overview-entity-get-extra): Ditto.
3686 (elmo-msgdb-overview-entity-set-extra): Ditto.
3687 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3688 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3689 (elmo-msgdb-number-load): Ditto.
3690 (elmo-msgdb-overview-load): Ditto.
3691 (elmo-msgdb-mark-load): Ditto.
3692 (elmo-msgdb-number-save): Ditto.
3693 (elmo-msgdb-mark-save): Ditto.
3694 (elmo-msgdb-overview-save): Ditto.
3695 (modb-legacy-make-message-entity): New inline function.
3696 (elmo-msgdb-insert-file-header): Ditto.
3697 (elmo-msgdb-make-message-entity): Define.
3698 (elmo-msgdb-create-message-entity-from-file): Ditto.
3699 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3700 (elmo-msgdb-message-entity-number): Ditto.
3701 (elmo-msgdb-message-entity-set-number): Ditto.
3702 (elmo-msgdb-message-entity-field): Ditto.
3703 (elmo-msgdb-message-entity-set-field): Ditto.
3704 (elmo-msgdb-copy-message-entity): Ditto.
3705 (elmo-msgdb-match-condition-internal): Ditto.
3707 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3708 (elmo-message-copy-entity): Rewrite.
3709 (elmo-message-entity-number): Ditto.
3710 (elmo-message-entity-set-number): Ditto.
3711 (elmo-message-entity-field): Use elmo-message-entity-db.
3712 (elmo-message-entity-set-field): Ditto.
3713 (elmo-message-field): Rewrite.
3715 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3717 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3719 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3720 elmo-message-entity-field.
3721 (elmo-shimbun-folder-shimbun-header): Ditto.
3722 (elmo-shimbun-entity-to-header): Ditto.
3723 (elmo-folder-msgdb-create): Ditto.
3724 (elmo-shimbun-msgdb-create-entity): Ditto;
3725 Use elmo-msgdb-create-message-entity-from-buffer.
3726 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3727 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3729 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3730 elmo-msgdb-create-message-entity-from-file and
3731 elmo-message-entity-field.
3733 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3734 elmo-message-entity-number.
3735 (elmo-pop3-msgdb-create-message): Use
3736 elmo-msgdb-create-message-entity-from-buffer,
3737 elmo-message-entity-set-field, elmo-message-entity-number and
3738 elmo-message-entity-set-number.
3740 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3741 the API change in elmo-msgdb-make-message-entity.
3742 (elmo-nntp-msgdb-create-message): Use
3743 elmo-msgdb-create-message-entity-from-buffer.
3745 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3746 elmo-message-entity-field and
3747 elmo-msgdb-create-message-entity-from-file.
3749 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3750 (elmo-msgdb-get-field): Abolish.
3751 (elmo-msgdb-get-number): Rewrite.
3752 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3753 (elmo-msgdb-flag-table): Ditto.
3754 (elmo-msgdb-get-last-message-id,
3755 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3756 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3757 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3758 (elmo-msgdb-create-overview-from-buffer,
3759 elmo-msgdb-overview-get-parent-entity): Abolish.
3761 * elmo-mime.el (elmo-mime-display-as-is): Use
3762 elmo-message-entity-field.
3764 * elmo-map.el (elmo-folder-pack-numbers): Use
3765 elmo-message-entity-set-number.
3767 * elmo-maildir.el (elmo-folder-msgdb-create):
3768 elmo-msgdb-create-message-entity-from-file instead of
3769 elmo-msgdb-create-overview-entity-from-file.
3771 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3773 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3774 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3776 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3777 elmo-messge-entity-field and elmo-message-entity-number.
3778 (elmo-imap4-fetch-callback-1): Call
3779 elmo-msgdb-create-message-entity-from-buffer instead of
3780 elmo-msgdb-create-overview-from-buffer.
3781 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3782 (elmo-find-fetch-strategy): Likewise.
3784 * elmo-flag.el (elmo-folder-msgdb-create): Call
3785 elmo-localdir-msgdb-create-entity with argument msgdb.
3787 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3788 and elmo-message-entity-set-number.
3790 * elmo-cache.el (elmo-folder-msgdb-create): Use
3791 elmo-message-entity-field.
3792 (elmo-folder-msgdb-create): Call
3793 elmo-msgdb-create-message-entity-from-file instead of
3794 elmo-msgdb-create-overview-entity-from-file.
3796 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3797 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3798 instead of elmo-msgdb-create-overview-from-buffer.
3799 (elmo-archive-msgdb-create-entity): Ditto.
3800 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3801 elmo-message-entity-field.
3802 (elmo-archive-parse-mmdf): Ditto.
3804 * modb-entity.el: Removed.
3806 * elmo-version.el (elmo-version): Up to 2.11.16.
3808 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3810 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3812 (elmo-folder-flag-as-answered): Ditto.
3814 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3816 * modb-standard.el: New file.
3818 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3819 elmo-msgdb-convert-type is `sync'.
3821 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3822 (elmo-msgdb-convert-type): New user option.
3824 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3825 (elmo-load-msgdb): Auto detect saved type.
3827 * elmo-version.el (elmo-version): Up to 2.11.15.
3829 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3831 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3833 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3834 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3835 with argument `delete-if-none' when dst-folder is 'null.
3837 * elmo-flag.el (elmo-folder-append-messages): Defined.
3838 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3840 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3842 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3844 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3846 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3847 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3848 (elmo-folder-commit): Ditto.
3850 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3852 * elmo-flag.el: New file.
3854 * elmo-mark.el: Removed.
3856 * modb-legacy.el (modb-legacy-new-mark,
3857 modb-legacy-unread-uncached-mark,
3858 modb-legacy-unread-cached-mark,
3859 modb-legacy-read-uncached-mark,
3860 modb-legacy-answered-cached-mark,
3861 modb-legacy-answered-uncached-mark,
3862 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3863 All other related portions are changed.
3865 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3866 (elmo-folder-list-messages-with-global-mark): Abolish.
3867 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3868 (elmo-folder-flag-as-important): Ditto.
3869 (elmo-folder-unflag-read): Ditto.
3870 (elmo-folder-flag-as-read): Ditto.
3871 (elmo-folder-unflag-answered): Ditto.
3872 (elmo-folder-flag-as-answered): Ditto.
3873 (elmo-message-encache): Return the cache path.
3874 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3875 (elmo-message-set-flag): Transitional implementation.
3876 (elmo-message-unset-flag): Ditto.
3877 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3878 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3879 (elmo-init): Call elmo-global-flag-initialize.
3880 (toplevel): Added autoload settings for elmo-flag.
3882 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3884 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3885 (elmo-file-cache-delete): Don't treat global-mark.
3887 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3889 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3891 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3892 `elmo-global-flags-set'.
3894 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3896 (elmo-folder-unflag-read): Ditto.
3897 (elmo-folder-unflag-important): Ditto.
3898 (elmo-folder-flag-as-important): Ditto.
3899 (elmo-folder-unflag-answered): Ditto.
3900 (elmo-folder-flag-as-answered): Ditto.
3902 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3903 `elmo-global-flags-set'.
3904 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3906 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3908 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3910 (elmo-folder-flag-as-important): Ditto.
3911 (elmo-folder-unflag-important): Ditto.
3912 (elmo-folder-flag-as-important): Ditto.
3913 (elmo-folder-unflag-read): Ditto.
3914 (elmo-folder-flag-as-read): Ditto.
3915 (elmo-folder-unflag-answered): Ditto.
3916 (elmo-folder-flag-as-answered): Ditto.
3918 * elmo-multi.el (elmo-folder-list-importants): Don't call
3919 elmo-folder-list-messages-with-global-mark.
3920 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3921 (elmo-folder-unflag-important): Ditto.
3922 (elmo-folder-flag-as-read): Ditto.
3923 (elmo-folder-unflag-read): Ditto.
3924 (elmo-folder-flag-as-answered): Ditto.
3925 (elmo-folder-unflag-answered): Ditto.
3927 * elmo-msgdb.el (elmo-msgdb-new-mark,
3928 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3929 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3930 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3931 (Moved to modb-legacy.el).
3932 (elmo-flag-table-get): Treat important flag too.
3934 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3936 (elmo-map-folder-flag-as-important): Ditto.
3937 (elmo-map-folder-unflag-read): Ditto.
3938 (elmo-map-folder-flag-as-read): Ditto.
3939 (elmo-map-folder-unflag-answered): Ditto.
3940 (elmo-map-folder-flag-as-answered): Ditto.
3941 (elmo-folder-unflag-important): Ditto.
3942 (elmo-folder-flag-as-important): Ditto.
3943 (elmo-folder-unflag-read): Ditto.
3944 (elmo-folder-flag-as-read): Ditto.
3945 (elmo-folder-unflag-answered): Ditto.
3946 (elmo-folder-flag-as-answered): Ditto.
3948 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3949 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3951 (elmo-map-folder-unflag-important): Ditto.
3952 (elmo-map-folder-flag-as-read): Ditto.
3953 (elmo-map-folder-unflag-read): Ditto.
3954 (elmo-map-folder-flag-as-answered): Ditto.
3955 (elmo-map-folder-unflag-answered): Ditto.
3957 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3958 `elmo-global-flags-set'.
3959 (elmo-global-flags-set): Added autoload setting.
3961 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3964 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3965 `elmo-msgdb-global-mark-set'.
3966 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3967 Call `elmo-global-flags-set'.
3968 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3970 (elmo-folder-flag-as-important-plugged): Ditto.
3971 (elmo-folder-unflag-read-plugged): Ditto.
3972 (elmo-folder-flag-as-read-plugged): Ditto.
3973 (elmo-folder-unflag-answered-plugged): Ditto.
3974 (elmo-folder-flag-as-answered-plugged): Ditto.
3975 (elmo-global-flags-set): Added autoload setting.
3977 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3979 (elmo-folder-unflag-read): Ditto.
3980 (elmo-folder-flag-as-important): Ditto.
3981 (elmo-folder-unflag-important): Ditto.
3982 (elmo-folder-flag-as-answered): Ditto.
3983 (elmo-folder-unflag-answered): Ditto.
3985 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3986 change of `mark'->`flag'.
3987 (elmo-dop-queue-method-name-alist): Ditto.
3988 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3989 (elmo-folder-unflag-read-dop): Ditto.
3990 (elmo-folder-flag-as-important-dop): Ditto.
3991 (elmo-folder-unflag-important-dop): Ditto.
3992 (elmo-folder-flag-as-answered-dop): Ditto.
3993 (elmo-folder-unflag-answered-dop): Ditto.
3995 * elmo-cache.el (elmo-folder-msgdb-create): Call
3996 `elmo-global-flags-set'.
3998 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3999 Call `elmo-global-flags-set'.
4000 (elmo-archive-msgdb-create-as-numlist-subr2): Call
4001 elmo-archive-parse-mmdf with argument `folder'.
4002 (elmo-archive-parse-mmdf): Added argument `folder';
4003 Call `elmo-global-flags-set'.
4005 * elmo-version.el (elmo-version): Up to 2.11.14.
4007 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4009 * modb.el (elmo-msgdb-length): Define.
4011 * elmo.el (elmo-make-folder): Fixed.
4012 (elmo-generic-folder-append-messages): Follow the API change.
4014 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4017 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4019 * modb.el: New file.
4021 * modb-entity.el: Ditto.
4023 * modb-legacy.el: Ditto.
4025 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4026 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4027 of `elmo-msgdb-overview-get-entity'.
4028 (elmo-msgdb-get-field): Ditto.
4029 (elmo-msgdb-merge): Moved to `elmo.el'.
4030 (elmo-msgdb-length): Removed; redefine as modb method.
4031 (elmo-msgdb-change-mark): Abolish.
4032 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4033 (elmo-msgdb-match-condition): Don't use mark.
4034 (elmo-msgdb-overview-get-entity): Abolish.
4035 Split modb part into `modb*.el'.
4037 * elmo-vars.el (elmo-msgdb-default-type): New user option.
4039 * elmo-shimbun.el (shimbun-mua-search-id): Use
4040 `elmo-msgdb-message-entity' instead of
4041 `elmo-msgdb-overview-get-entity'.
4042 (elmo-shimbun-folder-shimbun-header): Ditto.
4043 (elmo-shimbun-get-headers): Ditto.
4044 (elmo-shimbun-update-overview): Ditto.
4046 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4048 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4050 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4051 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4053 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4054 `elmo-msgdb-mark-to-flags'.
4056 * elmo-map.el (elmo-folder-pack-numbers): Don't use
4057 `elmo-msgdb-set-path'.
4059 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4061 * elmo-version.el (elmo-version): Up to 2.11.13.
4063 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4065 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4068 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
4070 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4073 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4075 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4076 instead of `elmo-msgdb-get-cached'.
4077 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4079 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4080 (elmo-msgdb-set-cached): Ditto.
4081 (elmo-msgdb-set-flag): Rewrite.
4082 (elmo-msgdb-unset-flag): Ditto.
4084 * elmo-msgdb.el: Rewrite with luna.
4086 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4087 (elmo-folder-msgdb): Follow the change above.
4088 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4089 (elmo-folder-unmark-important): Follow the API change.
4090 (elmo-folder-mark-as-important): Ditto.
4091 (elmo-folder-unmark-read): Ditto.
4092 (elmo-folder-mark-as-read): Ditto.
4093 (elmo-folder-unmark-answered): Ditto.
4094 (elmo-folder-mark-as-answered): Ditto.
4095 (elmo-folder-clear): Likewise.
4097 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4098 instead of `elmo-msgdb-load' (renamed).
4100 * elmo-version.el (elmo-version): Up to 2.11.12.
4102 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4104 * elmo.el (elmo-generic-folder-append-messages): Follow the API
4106 (elmo-message-mark): Abolish.
4107 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4108 instead of `elmo-msgdb-change-mark'.
4110 * elmo-pipe.el (elmo-message-mark): Abolish.
4112 * elmo-multi.el (elmo-message-mark): Ditto.
4114 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4115 (elmo-msgdb-unread-uncached-mark): Ditto.
4116 (elmo-msgdb-unread-cached-mark): Ditto.
4117 (elmo-msgdb-read-uncached-mark): Ditto.
4118 (elmo-msgdb-answered-cached-mark): Ditto.
4119 (elmo-msgdb-answered-uncached-mark): Ditto.
4120 (elmo-msgdb-important-mark): Ditto.
4121 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4123 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4125 (elmo-flag-table-load): Changed flag to list of flag.
4126 (elmo-flag-table-set): If flags is nil, set read flag.
4127 (elmo-flag-table-get): Return derived flags from global mark,
4128 cache status and saved flags.
4129 (elmo-msgdb-flag-table): Follow the change above.
4130 (elmo-msgdb-out-of-date-messages): New function.
4132 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4134 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4136 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4138 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4139 (elmo-nntp-msgdb-create-message): Ditto.
4141 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4143 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4145 (elmo-folder-msgdb-create): Follow the API change.
4147 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4148 (elmo-folder-append-messages): Ditto.
4150 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4151 (elmo-folder-append-buffer): Ditto.
4153 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4155 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4157 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4158 (elmo-archive-parse-mmdf): Ditto.
4160 * elmo-version.el (elmo-version): Up to 2.11.11.
4162 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4164 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4167 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4169 * elmo-pipe.el (elmo-message-flags): Defined.
4171 * elmo-multi.el (elmo-message-flags): Ditto.
4173 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4175 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4176 `elmo-msgdb-delete-msgs'.
4178 * elmo.el (elmo-folder-count-flags): Don't use
4179 `elmo-msgdb-get-mark-alist'.
4180 (elmo-folder-detach-messages): Follow the API change.
4182 * elmo.el (elmo-folder-list-messages): Append killed messages into
4183 result if `visible-only' is nil.
4185 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4187 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4188 (elmo-folder-update-number): Likewise.
4190 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4191 (elmo-pop3-sort-msgdb-by-original-number): Use
4192 `elmo-msgdb-sort-entities'.
4194 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4195 (elmo-msgdb-sort-by-date): Use it.
4196 (elmo-msgdb-overview-sort-by-date): Abolish.
4198 * elmo-dop.el (elmo-folder-status-dop): Fixed.
4200 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4201 (elmo-msgdb-flags): New function.
4202 (elmo-msgdb-merge): Use elmo-msgdb-append.
4204 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4207 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4209 * elmo-dop.el (elmo-folder-status-dop): Use
4210 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4212 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4214 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4216 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4218 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4220 * elmo-util.el (elmo-with-progress-display): New macro.
4222 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4224 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4226 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4227 `elmo-folder-list-message-entities' instead of
4228 `elmo-msgdb-get-overview'.
4229 (elmo-map-folder-list-message-locations): Ditto.
4231 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4232 methods instead of treat directly).
4233 (elmo-msgdb-clear): Ditto.
4234 (elmo-msgdb-delete-msgs): Ditto.
4235 (elmo-msgdb-sort-by-date): Ditto.
4237 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4239 (elmo-nntp-folder-msgdb-create): Follow the API change.
4241 * elmo-version.el (elmo-version): Up to 2.11.10.
4243 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4245 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4246 (elmo-msgdb-flags-to-mark): Ditto.
4247 (elmo-msgdb-append-entity): Ditto.
4249 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4250 Use `elmo-msgdb-append-entity' instead of construct msgdb.
4251 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4252 (elmo-archive-parse-mmdf): Ditto.
4254 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4256 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4258 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4260 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4262 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4264 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4266 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4268 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4270 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4271 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4274 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4275 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4276 instead of directly construction.
4277 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4278 instead of construct msgdb.
4280 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4281 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4282 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4283 instead of construct msgdb.
4285 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4287 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4288 when field is from or subject.
4290 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4292 * elmo-multi.el (elmo-message-entity-parent): Define.
4293 (elmo-folder-search): Rewrite.
4295 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4297 * elmo-multi.el (elmo-message-cached-p): Define.
4299 * elmo.el (elmo-message-cached-p): New method.
4300 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4301 (elmo-message-flags): New method.
4302 (elmo-message-flagged-p): New function.
4304 * elmo-version.el (elmo-version): Up to 2.11.9.
4306 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4308 * elmo-version.el (elmo-version): Up to 2.11.8.
4310 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4312 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4314 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4316 * elmo.el (elmo-folder-detach-messages): Undo last change.
4318 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4320 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4322 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4323 only when src folder type is pop3.
4325 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4327 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4328 elmo-msgdb-overview-entity-get-number instead of
4329 elmo-message-entity-number.
4331 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4333 * elmo-version.el (elmo-version): Up to 2.11.7.
4335 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4337 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4340 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4341 (elmo-msgdb-merge): New function.
4342 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4343 (elmo-msgdb-make-index): Rewrite.
4345 * elmo-version.el (elmo-version): Up to 2.11.6.
4347 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4348 use it as a the path for loading message entities.
4350 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4352 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4354 * elmo-filter.el (elmo-folder-set-message-modified): Set
4355 message-modified slot of itself if it does not require target msgdb.
4357 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4358 if folder length is zero.
4359 (elmo-mime-display-as-is): Ditto.
4361 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4363 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4365 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4367 * elmo.el (elmo-folder-set-message-modified): New method.
4368 (elmo-generic-folder-commit): Use it.
4369 (elmo-folder-synchronize): Ditto.
4371 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4372 (elmo-folder-commit): Remove duplicate definition.
4374 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4376 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4378 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4380 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4381 (elmo-strict-folder-diff): Ditto.
4382 (elmo-folder-set-info-max-by-numdb): Simplify.
4384 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4385 elmo-msgdb-list-messages.
4387 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4388 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4390 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4392 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4393 visible-only is non-nil.
4394 (elmo-folder-confirm-appends): Changed message.
4395 (elmo-folder-synchronize): Added argument disable-killed.
4397 * elmo-multi.el (elmo-folder-synchronize): Added argument
4400 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4402 * elmo-version.el (elmo-version): Up to 2.11.5.
4404 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4407 * elmo-util.el (elmo-list-filter): Simplify.
4409 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4410 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4411 (elmo-generic-folder-diff): Abolish argument.
4412 (elmo-msgdb-load): Don't use number-alist.
4414 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4416 * elmo-pipe.el (elmo-folder-diff): Ditto.
4418 * elmo-nmz.el (elmo-folder-diff): Ditto.
4420 * elmo-net.el (elmo-folder-diff): Ditto.
4422 * elmo-maildir.el (elmo-folder-diff): Ditto.
4424 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4426 * elmo-multi.el (elmo-folder-diff): Ditto
4427 (elmo-multi-folder-diff): Rewrite.
4429 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4431 * elmo-pipe.el (elmo-folder-msgdb): Define.
4433 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4435 * elmo.el (elmo-message-set-cached): Define as a method.
4437 * elmo-pipe.el (elmo-message-set-cached): Define.
4438 (elmo-find-fetch-strategy): Ditto.
4440 * elmo-multi.el (elmo-message-set-cached): Define.
4441 (elmo-find-fetch-strategy): Rewrite.
4443 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4445 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4447 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4449 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4450 instead of number-alist.
4452 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4453 mark nor message-id when msgdb of source folder is not loaded.
4455 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4457 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4459 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4461 * elmo.el (elmo-folder-length): Don't require msgdb.
4463 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4465 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4466 (elmo-message-field): Ditto.
4468 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4469 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4471 (elmo-map-folder-list-answereds): Define.
4472 (elmo-maildir-list-location): Treat 'R' info.
4473 (elmo-folder-msgdb-create): Treat flag-table.
4474 (elmo-folder-append-messages): Save flag-table.
4476 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4478 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4479 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4481 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4483 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4485 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4486 'read when mark is null.
4488 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4490 * elmo-version.el (elmo-version): Up to 2.11.4.
4492 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4494 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4495 (elmo-folder-mark-as-answered): Ditto.
4497 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4499 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4500 (elmo-pop3-get-session): Make msgdb directory after session.
4501 (elmo-folder-exists-p): Check exactly at the first time even when the
4502 elmo-pop3-exists-exactly is nil.
4504 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4505 (elmo-folder-list-messages): Define instead of
4506 elmo-folder-list-messages-internal.
4507 (elmo-folder-check): Check destination folder.
4508 (elmo-folder-synchronize): Drain the pipe.
4510 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4511 when msgdb is not loaded.
4513 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4515 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4516 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4519 * elmo.el (elmo-folder-kill-messages-before): New function.
4520 (elmo-folder-kill-messages): Ditto.
4521 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4523 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4524 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4525 killed not by synchronize (e.g. scoring).
4527 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4529 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4531 (elmo-folder-search): Follow the change above.
4533 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4534 into the candidates of search field.
4536 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4538 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4539 (elmo-msgdb-unset-flag): Ditto.
4541 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4543 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4545 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4546 (elmo-folder-commit): Define.
4547 (elmo-folder-synchronize): Ditto.
4548 (elmo-folder-list-flagged): Ditto.
4549 (elmo-folder-commit): Ditto.
4550 (elmo-folder-length): Ditto.
4551 (elmo-folder-count-flags): Ditto.
4552 (elmo-message-mark): Ditto.
4553 (elmo-message-field): Ditto.
4554 (elmo-message-entity): Ditto.
4555 (elmo-message-folder): Ditto.
4557 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4559 * elmo.el (elmo-message-field): Define as a method.
4561 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4562 (elmo-message-field): Define.
4564 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4565 (elmo-folder-list-importants): Ditto.
4566 (elmo-folder-list-answereds): Ditto.
4568 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4570 (elmo-folder-mark-as-read): Ditto.
4571 (elmo-folder-unmark-read): Ditto.
4572 (elmo-folder-mark-as-answered): Ditto.
4573 (elmo-folder-unmark-answered): Ditto.
4574 (elmo-folder-list-flagged): Define.
4575 (elmo-folder-commit): Ditto.
4576 (elmo-folder-length): Ditto.
4577 (elmo-folder-count-flags): Ditto.
4579 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4581 * elmo.el (elmo-folder-detach-messages): New method.
4582 (elmo-folder-move-messages): Use it.
4583 (elmo-folder-synchronize): Ditto.
4585 * elmo-multi.el (elmo-folder-detach-messages): Define.
4587 * elmo.el (elmo-message-copy-entity): New function.
4588 (elmo-message-entity-set-number): Ditto.
4589 (elmo-message-mark): Define as method.
4591 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4592 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4593 (elmo-message-entity): Fixed last change.
4594 (elmo-message-mark): Define.
4595 (elmo-folder-msgdb-create): Abolish.
4596 (elmo-multi-folder-append-msgdb): Ditto.
4597 (elmo-multi-folder-diff): Fixed.
4598 (elmo-multi-split-number-alist): Removed.
4599 (elmo-multi-split-mark-alist): Removed.
4600 (elmo-folder-list-messages): Define.
4601 (elmo-folder-list-messages-internal): Removed.
4603 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4604 local file messages.
4605 (elmo-folder-msgdb-create): Fixed read mark.
4607 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4609 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4612 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4614 * elmo.el (elmo-folder-list-message-entities): Define as inline
4616 (elmo-folder-messages): Abolish.
4618 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4620 (elmo-folder-synchronize): Define.
4621 (elmo-message-entity): Define.
4623 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4625 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4626 elmo-imap4-session-select-mailbox.
4628 * elmo.el (elmo-folder-move-messages): Don't display any message.
4630 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4632 (elmo-imap4-session-check): Don't wait CHECK response.
4633 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4635 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4637 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4639 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4641 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4643 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4646 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4647 (elmo-folder-list-message-entities): Added argument in-msgdb and
4649 (elmo-folder-synchronize): Define as a method.
4651 * elmo-nntp.el (elmo-folder-initialize): Don't use
4652 elmo-nntp-default-user if zero-length username is specified
4655 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4657 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4658 server name in case with username.
4659 (XXX: this is ad-hoc fix against username includes "@", it
4660 should be solved fundamentally)
4662 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4664 * elmo-nntp.el (elmo-nntp-debug): New function.
4665 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4666 (elmo-network-authenticate-session): Hide auth-info from the log.
4668 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4669 user name if it is equal to elmo-nntp-default-user.
4671 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4673 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4674 instead of shimbun-server-internal;
4675 Use shimbun-current-group instead of shimbun-current-group-internal.
4676 (elmo-folder-plugged-p): Use shimbun-server instead of
4677 shimbun-server-internal.
4678 (elmo-folder-set-plugged): Ditto.
4679 (elmo-net-port-info): Ditto.
4680 (elmo-folder-check): Ditto.
4681 (elmo-folder-expand-msgdb-path): Ditto.
4682 (elmo-folder-list-subfolders): Ditto.
4684 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4686 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4687 Convert field-name to lower case.
4688 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4690 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4692 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4693 `message' and `error' take format string.
4695 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4697 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4699 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4701 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4702 recursive call (can't byte compile on emacs 20.7).
4704 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4706 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4707 (elmo-folder-list-message-entities): New API.
4708 (elmo-message-entity): Ditto.
4709 (elmo-message-entity-parent): Ditto.
4710 (elmo-folder-do-each-message-entity): Ditto.
4711 (elmo-message-entity-number): Ditto.
4712 (elmo-message-entity-field): Ditto.
4713 (elmo-message-entity-set-field): Ditto.
4714 (elmo-folder-count-flags): Ditto.
4715 (elmo-folder-length): Ditto.
4717 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4720 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4721 (elmo-msgdb-count-marks): Abolish.
4722 (elmo-msgdb-make-entity): Ditto.
4723 (elmo-msgdb-do-each-entity): Ditto.
4724 (elmo-msgdb-message-entity): New inline function.
4725 (elmo-msgdb-message-entity-field): Ditto.
4726 (elmo-msgdb-message-entity-set-field): Ditto.
4727 (elmo-msgdb-make-message-entity): New function.
4729 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4731 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4732 to flag. (All other related portions are changed.)
4733 (elmo-folder-msgdb-create): Likewise.
4734 (elmo-generic-folder-append-messages): Use flag-table instead of
4736 (elmo-folder-move-messages): Removed redundant process.
4737 (elmo-folder-synchronize): Likewise.
4739 * elmo-msgdb.el (elmo-flag-table-get): New function.
4740 (elmo-flag-table-save): Fixed.
4741 (elmo-msgdb-length): New inline function.
4742 (elmo-msgdb-flag-table): New function.
4743 (elmo-msgdb-mark): Add optional argument new.
4744 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4745 (elmo-msgdb-seen-list): Ditto.
4746 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4749 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4751 * elmo.el (elmo-message-set-mark): Abolish.
4752 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4753 (All related portions are changed.)
4755 * elmo-msgdb.el (toplevel): Added comment.
4756 (elmo-load-msgdb): Added 4th element `path'.
4757 (elmo-msgdb-append): Follow the change above.
4758 (elmo-msgdb-clear): Ditto.
4759 (elmo-msgdb-delete-msgs): Ditto.
4760 (elmo-msgdb-get-path): New inline function.
4761 (elmo-msgdb-set-path): Ditto.
4762 (elmo-flag-table-filename): New variable.
4763 (elmo-flag-table-load): New function.
4764 (elmo-flag-table-set): Ditto.
4765 (elmo-flag-table-save): Ditto.
4766 (elmo-msgdb-get-field-value): Abolish.
4767 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4769 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4771 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4772 the folder has been deleted successfully.
4773 * elmo-imap4.el (elmo-folder-delete): Ditto.
4774 * elmo-archive.el (elmo-folder-delete): Ditto.
4775 * elmo-localdir.el (elmo-folder-delete): Ditto.
4776 * elmo-maildir.el (elmo-folder-delete): Ditto.
4778 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4780 * elmo-util.el (elmo-string-member-ignore-case): New function.
4781 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4782 (elmo-imap4-fetch-callback-1-subr): Likewise.
4784 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4786 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4787 the case of the name attribute "\Noselect".
4789 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4791 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4793 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4794 flist, is not always a member of onum-alist.
4796 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4798 * elmo-version.el (elmo-version): Up to 2.11.3.
4800 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4802 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4803 copied from localdir's one.
4805 * elmo-pipe.el (elmo-folder-rename): New method, rename
4806 destination folder with leaving source folder as it is.
4808 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4810 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4813 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4815 * elmo-version.el (elmo-version): Up to 2.11.2.
4817 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4819 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4820 shimbun-open in case of "@".
4821 (elmo-folder-open-internal): Cope with shimbun = nil case.
4822 (elmo-folder-plugged-p): Ditto.
4823 (elmo-folder-list-subfolders): Make list for "@/" group.
4825 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4827 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4828 mailbox (e.g. for %~/something).
4830 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4832 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4833 Replace nested conditional with guard clauses.
4835 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4837 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4840 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4843 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4845 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4846 Replace nested conditional with guard clauses.
4848 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4850 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4851 (elmo-passwd-alist-save): Ditto.
4852 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4854 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4856 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4857 dir-name only if it is absolute path.
4858 (TODO: distinguish +/something and +something)
4860 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4862 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4863 path for "+~/something".
4865 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4867 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4868 as non-directory, cause error before rename-file.
4869 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4870 apropriately, mimic localdir's one.
4871 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4873 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4875 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4877 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4879 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4881 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4883 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4884 is included in the global-mark or not.
4886 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4888 * utf7.el (toplevel): Avoid error when the function
4889 find-coding-system does not exist.
4891 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4893 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4894 cache even if the folder is plugged.
4895 (elmo-nntp-search-primitive): Do nothing when body search is
4896 invoked (although it is not used by the change above).
4897 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4899 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4901 * elmo-version.el (elmo-version): Up to 2.11.1.
4903 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4905 * elmo-archive.el: Specify charset.
4907 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4909 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4910 process buffer lives or not.
4912 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4913 while flushing queues (It causes infinite loop).
4915 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4917 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4919 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4921 * utf7.el (toplevel): Check the ucs features dynamically.
4922 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4924 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4925 folder is creatabe or not if it already exists.
4927 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4929 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4931 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4933 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4934 (elmo-imap4-read-response): Take care of garbage response.
4936 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4938 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4939 just return nil instead of error.
4941 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4943 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4944 search-key is "body".
4946 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4948 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4949 of elmo-string-matched-assoc to use match-data.
4950 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4952 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4954 * elmo-split.el (elmo-split->): New function.
4955 (elmo-split-<): Ditto.
4957 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4959 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4960 workaround for invalid message-id.
4962 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4964 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4965 return normal pop3 session or pop3 biff session.
4967 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4969 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4970 info part to the cur files when the new files already have it.
4971 (Adviced by Jared Rhine <jared@wordzoo.com>)
4973 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4975 * elmo-split.el (elmo-split-default-action): New variable.
4976 (elmo-split-subr): Use it if all other conditions are passed.
4977 Extend `fname' and rename it as `action'. (implemented
4978 Teranishi-san's idea in [wl:10800])
4980 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4982 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4983 * elmo-util.el: Ditto.
4985 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4987 * elmo.el (elmo-message-accessible-p): Renamed from
4988 elmo-message-cached-p and rewritten.
4990 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4992 * elmo.el (elmo-folder-list-flagged): New generic function.
4993 (elmo-folder-list-importants): New implementation.
4994 (elmo-folder-list-answereds): Ditto.
4995 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4997 (elmo-message-cached-p): New function.
4998 (elmo-message-set-flag): Ditto (no content).
4999 (elmo-message-unset-flag): Ditto.
5000 (elmo-folder-list-messages-mark-match): Abolish.
5002 * elmo-util.el (elmo-regexp-opt): New function.
5004 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5005 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5007 (elmo-msgdb-list-flagged): New function.
5009 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5010 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5013 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5015 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
5017 * elmo-version.el (elmo-version): Up to 2.11.0.
5019 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5021 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5022 `elmo-file-cache-exists-p'; use proper mark that depends on
5024 (elmo-msgdb-unset-flag): Ditto.
5025 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5027 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5028 with 4th argument `use-cache'.
5030 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
5032 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5033 (elmo-folder-mark-as-important): Ditto.
5034 (elmo-folder-unmark-read): Ditto.
5035 (elmo-folder-mark-as-read): Ditto.
5036 (elmo-folder-unmark-answered): Ditto.
5037 (elmo-folder-mark-as-answered): Ditto.
5039 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5041 (elmo-msgdb-mark): Likewise.
5042 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5043 (elmo-msgdb-unset-flag): Likewise.
5045 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5047 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5049 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5052 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5054 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5055 set spool-length to 0.
5057 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5059 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5060 (elmo-dop-queue-flush): Fixed last change.
5062 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5064 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5065 if require-msgdb slot is nil.
5066 (elmo-folder-list-importants): Likewise.
5068 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5070 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5073 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5074 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5077 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
5079 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5081 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
5083 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5085 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5087 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5089 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5090 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5092 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5094 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5095 the problem reported by Sean Rima [wl-en:180].
5097 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5099 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5101 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5103 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5105 * elmo-map.el (elmo-folder-unmark-read): Ditto.
5107 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5109 * elmo-net.el (elmo-folder-unmark-read): Ditto.
5111 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5113 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
5115 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5118 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5120 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5121 (elmo-folder-mark-as-read): Follow the API change.
5122 (elmo-message-set-cached): New function.
5124 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5126 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5128 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5129 (elmo-folder-mark-as-important): Ditto.
5130 (elmo-folder-unmark-read): Ditto.
5131 (elmo-folder-mark-as-read): Ditto.
5132 (elmo-folder-unmark-answered): Ditto.
5133 (elmo-folder-mark-as-answered): Ditto.
5135 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5136 (elmo-folder-unmark-important): Ditto.
5137 (elmo-folder-mark-as-read): Ditto.
5138 (elmo-folder-unmark-read): Ditto.
5139 (elmo-folder-mark-as-answered): Ditto.
5140 (elmo-folder-unmark-answered): Ditto.
5142 * elmo-mark.el (toplevel): Removed some mark method definitions.
5144 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5145 (elmo-map-folder-mark-as-answered): Ditto.
5146 (elmo-folder-unmark-important): Add :before qualifier.
5147 (elmo-folder-mark-as-important): Ditto.
5148 (elmo-folder-unmark-read): Ditto.
5149 (elmo-folder-mark-as-read): Ditto.
5150 (elmo-folder-unmark-answered): Define.
5151 (elmo-folder-mark-as-answered): Ditto.
5153 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5154 (elmo-map-folder-unmark-answered): Ditto.
5156 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5158 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5159 (elmo-folder-mark-as-important): Ditto.
5160 (elmo-folder-unmark-read): Ditto.
5161 (elmo-folder-mark-as-read): Ditto.
5162 (elmo-folder-unmark-answered): Ditto.
5163 (elmo-folder-mark-as-answered): Ditto.
5165 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5166 `mark'; evaluate mark condition.
5167 (elmo-msgdb-match-condition-internal): New function.
5168 (elmo-msgdb-match-condition): Call it; changed argument.
5170 * elmo.el (elmo-folder-search): Follow the API change on
5171 `elmo-msgdb-match-condition'.
5173 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5175 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5176 original mark is non-nil.
5178 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5180 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5181 (elmo-map-folder-list-answereds): New method.
5182 (elmo-folder-list-unreads): Add :around qualifier.
5183 (elmo-folder-list-importants): Ditto.
5184 (elmo-folder-list-answereds): Ditto.
5186 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
5188 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5190 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5191 method if msgdb is not required.
5192 (elmo-filter-folder-list-importants): Don't treat global-mark.
5194 * elmo.el (elmo-folder-list-importants): Ditto.
5196 * elmo-net.el (elmo-folder-list-importants): Ditto.
5198 * elmo-map.el (elmo-folder-list-importants): Ditto.
5200 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5202 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5203 (elmo-imap4-folder-list-any-plugged): New function.
5204 (elmo-imap4-search-internal-primitive): Use it.
5206 * elmo-filter.el (elmo-folder-check): Synchronize original folder
5207 only when require-msgdb slot is non-nil.
5208 (elmo-folder-close): Clear target folder's msgdb.
5210 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5212 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5213 (elmo-pop3-msgdb-create-by-header): Ditto.
5214 (elmo-pop3-msgdb-create-message): Ditto.
5216 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5218 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5220 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5222 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5223 (elmo-folder-msgdb-create): Ditto.
5224 (elmo-nntp-folder-msgdb-create): Ditto.
5225 (elmo-nntp-msgdb-create-by-header): Ditto.
5226 (elmo-nntp-msgdb-create-message): Ditto.
5227 (elmo-folder-list-unreads): Define.
5229 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5230 (elmo-folder-append-messages): Ditto.
5231 (elmo-folder-list-unreads): Define.
5232 (elmo-folder-list-importants): Ditto.
5233 (elmo-folder-list-answereds): Ditto.
5235 * elmo-net.el (elmo-folder-list-unreads): Define.
5236 (elmo-folder-list-importants): Ditto.
5237 (elmo-folder-list-answereds): Ditto.
5238 (elmo-folder-list-answereds-plugged): Ditto.
5239 (elmo-folder-msgdb-create): Follow the API change.
5240 (elmo-folder-msgdb-create-unplugged): Ditto.
5241 (elmo-folder-unmark-answered): Define.
5242 (elmo-folder-mark-as-answered-unplugged): Ditto.
5243 (elmo-folder-unmark-answered-unplugged): Ditto.
5245 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5246 (elmo-msgdb-unread-uncached-mark): Ditto.
5247 (elmo-msgdb-unread-cached-mark): Ditto.
5248 (elmo-msgdb-read-uncached-mark): Ditto.
5249 (elmo-msgdb-answered-cached-mark): Ditto.
5250 (elmo-msgdb-answered-uncached-mark): Ditto.
5251 (elmo-msgdb-important-mark): Ditto.
5252 (elmo-msgdb-set-mark): Rewrite.
5253 (elmo-msgdb-count-marks): Rewrite.
5254 (elmo-msgdb-mark-alist-set): Abolish.
5255 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5256 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5258 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5259 (elmo-folder-close): Define.
5260 (elmo-folder-msgdb-create): Follow the API change.
5261 (elmo-folder-list-unreads): Rewrite.
5262 (elmo-folder-mark-as-important): Ditto.
5263 (elmo-folder-unmark-important): Ditto.
5264 (elmo-folder-mark-as-read): Ditto.
5265 (elmo-folder-unmark-read): Ditto.
5266 (elmo-folder-mark-as-answered): Define.
5267 (elmo-folder-unmark-answered): Ditto.
5269 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5270 (elmo-folder-append-messages): Ditto.
5272 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5274 * elmo-map.el (elmo-folder-list-unreads): Ditto.
5275 (elmo-folder-list-importants): Ditto.
5277 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5278 (elmo-folder-append-messages): Ditto.
5280 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5282 (elmo-folder-msgdb-create-plugged): Ditto.
5283 (elmo-folder-append-messages): Ditto.
5284 (elmo-folder-list-answereds-plugged): Define.
5285 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5286 (elmo-folder-unmark-answered-plugged): Define.
5287 (elmo-folder-mark-as-answered-plugged): Ditto.
5288 (elmo-folder-search-requires-msgdb-p): Ditto.
5290 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5291 (elmo-folder-initialize): Set it.
5292 (elmo-folder-msgdb): Define.
5293 (elmo-folder-check): Call elmo-folder-synchronize.
5294 (elmo-folder-close): Define.
5295 (elmo-folder-commit): Ditto.
5296 (elmo-folder-msgdb-create): Rewrite.
5297 (elmo-folder-list-unreads): Ditto.
5298 (elmo-folder-list-importants): Ditto.
5299 (elmo-folder-mark-as-read): Ditto.
5300 (elmo-folder-unmark-read): Ditto.
5301 (elmo-folder-mark-as-important): Ditto.
5302 (elmo-folder-unmark-important): Ditto.
5303 (elmo-folder-mark-as-answered): Define.
5304 (elmo-folder-unmark-answered): Ditto.
5306 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5307 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5308 (elmo-dop-queue-method-name-alist): Likewise.
5309 (elmo-folder-mark-as-answered-dop): New inline function.
5310 (elmo-folder-unmark-answered-dop): Ditto.
5311 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5313 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5314 (elmo-folder-msgdb-create): Ditto.
5315 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5316 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5317 (elmo-archive-parse-mmdf): Ditto.
5319 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5320 (elmo-folder-list-unreads-internal): Ditto.
5322 * elmo.el (elmo-folder-msgdb): Define as generic function.
5323 (elmo-folder-list-messages): Added argument `in-msgdb'.
5324 (elmo-folder-list-unreads): Define as generic function.
5325 (elmo-folder-list-importants): Ditto.
5326 (elmo-folder-list-answereds): Ditto.
5327 (elmo-folder-list-messages-with-global-mark): New function.
5328 (elmo-folder-msgdb-create): Removed mark arguments.
5329 (elmo-folder-unmark-answered): New generic function.
5330 (elmo-folder-mark-as-answered): Ditto.
5331 (elmo-folder-append-messages): Removed argunment `unread-marks'
5332 (elmo-folder-list-unreads-internal): Abolish.
5333 (elmo-folder-list-importants-internal): Ditto.
5334 (elmo-folder-search-requires-msgdb-p): New generic function.
5335 (elmo-folder-search-requires-msgdb-p-internal): New function.
5336 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5338 (elmo-folder-search-fast): Added key 'mark'.
5339 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5340 instead of unread-marks argument.
5341 (elmo-folder-move-messages): Removed argunment `unread-marks'
5342 (elmo-folder-unmark-important): Define.
5343 (elmo-folder-mark-as-important): Ditto.
5344 (elmo-folder-unmark-read): Ditto.
5345 (elmo-folder-mark-as-read): Ditto.
5346 (elmo-folder-unmark-answered): Ditto.
5347 (elmo-folder-mark-as-answered): Ditto.
5348 (elmo-folder-replace-marks): Abolish.
5349 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5351 (elmo-folder-synchronize): Removed mark arguments;
5352 return crosspost only number.
5354 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5356 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5357 Remove redundunt connectivity check.
5359 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5361 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5362 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5364 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5366 * pldap.el (ldap-decode-string): Return string as-is if
5367 `ldap-coding-system' is nil.
5368 (ldap-encode-string): Ditto.
5369 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5370 (ldap-default-host): Fixed docstring.
5372 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5374 * elmo-util.el (elmo-warning): Define as a macro which uses
5375 `display-warning' if it is defined as a function.
5377 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5378 (elmo-split-equal): Use it.
5379 (elmo-split-match): Ditto.
5380 (elmo-split-message-entity): New buffer-local variable.
5381 (elmo-split-subr): Set it.
5383 * elmo-version.el (elmo-version): Up to 2.9.15.
5385 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5387 * elmo-imap4.el (elmo-network-initialize-session):
5388 Check capability after starttls.
5390 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5392 * elmo-util.el (elmo-list-delete): Added optional argument
5395 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5397 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5399 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5401 * elmo-imap4.el (elmo-folder-initialize): Don't use
5402 elmo-imap4-default-mailbox.
5404 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5406 * elmo-split.el (toplevel): Use `product-provide'.
5407 (elmo-split): Checkdoc.
5409 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5411 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5412 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5413 the function `elmo-imap4-debug-1'.
5415 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5417 * elmo-split.el (elmo-split): Moved to run hooks and to show
5418 message from elmo-split-subr.
5419 (elmo-split-subr): Follow the change above.
5421 * elmo-split.el (elmo-split-subr): New function (renamed from
5423 (elmo-split): Changed to call elmo-split-subr by element of
5425 (elmo-split-folder): Changed customization type to choice.
5427 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5429 * elmo-split.el (elmo-split-and): Fixed condition.
5431 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5433 * elmo-split.el: New file.
5434 (elmo-split): Fixed logic.
5435 Display "Test:" instead of "Folder:" when reharsal.
5437 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5440 * elmo-version.el (elmo-version): Up to 2.9.14.
5442 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5445 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5447 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5448 message with no message-id field.
5450 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5452 * elmo-version.el (elmo-version): Up to 2.9.13.
5454 * elmo-dop.el (elmo-folder-status-dop): Fix.
5456 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5458 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5460 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5461 changing default value of default-mime-charset.
5462 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5464 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5466 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5467 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5468 instead of elmo-dop-queue-method-name-alist to check merging queue.
5469 (elmo-folder-delete-messages-dop): Delete from queue if negative
5471 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5472 file is already removed.
5474 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5476 * elmo-vars.el: Bind colon keywords for old Emacsen.
5478 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5480 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5481 against non-exsisting charset.
5483 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5485 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5486 Use eword-decode-and-unfold-unstructured-field-body.
5488 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5489 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5490 exists to decode raw subject string.
5491 (toplevel): Require 'mime.
5493 * elmo-version.el (elmo-version): Up to 2.9.12.
5495 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5497 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5498 (elmo-msgdb-set-mark): Ditto.
5500 * elmo-version.el (elmo-version): Up to 2.9.11.
5502 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5504 * elmo-util.el (elmo-delete-match-files): New function.
5506 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5507 instead of elmo-delete-directory.
5509 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5510 elmo-hash-minimun-size as 63.
5512 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5513 elmo-diff-unread is nil.
5515 * elmo-imap4.el (elmo-folder-open): Fix.
5517 * elmo.el (elmo-message-mark): Rewrite.
5518 (elmo-message-field): Ditto.
5519 (elmo-message-set-mark): Ditto.
5520 (elmo-folder-replace-marks): New function.
5521 (elmo-generic-folder-append-msgdb): Removed third argument for
5523 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5524 (elmo-msgdb-load): New implementation.
5526 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5528 * elmo-util.el (elmo-list-insert): New implementation.
5530 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5531 argument for elmo-msgdb-append.
5534 * elmo-msgdb.el (elmo-load-msgdb): New function.
5535 (elmo-make-msgdb): Ditto.
5536 (elmo-msgdb-get-index): New inline function.
5537 (elmo-msgdb-set-index): Ditto.
5538 (elmo-msgdb-get-entity-hashtb): Ditto.
5539 (elmo-msgdb-get-mark-hashtb): Ditto.
5540 (elmo-msgdb-get-mark): Ditto.
5541 (elmo-msgdb-set-mark): Ditto.
5542 (elmo-msgdb-count-marks): Ditto.
5543 (elmo-msgdb-get-number): Ditto.
5544 (elmo-msgdb-get-field): Ditto.
5545 (elmo-msgdb-seen-list): Ditto.
5546 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5547 (elmo-msgdb-delete-msgs): Follow the changes above.
5548 (elmo-msgdb-overview-get-entity): Ditto.
5549 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5550 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5552 (elmo-msgdb-make-index): Likewise.
5553 (elmo-msgdb-append): Removed third argument.
5554 (elmo-msgdb-clear): Clear index as nil.
5555 (elmo-folder-set-info-hashtb): Removed.
5556 (elmo-folder-set-info-max-by-numdb): Ditto.
5557 (elmo-folder-info-make-hashtb): Ditto.
5559 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5561 * elmo-map.el (elmo-folder-pack-number): Ditto.
5563 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5565 * elmo-version.el (elmo-version): Up to 2.9.10.
5567 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5569 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5571 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5573 * elmo-utils.el (elmo-make-directory): Add option.
5574 Default file mode is 700.
5576 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5578 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5580 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5582 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5585 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5588 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5590 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5591 (elmo-shimbun-folder-entity-hash): New function.
5592 (elmo-shimbun-folder-shimbun-header): Ditto.
5593 (elmo-shimbun-entity-to-header): Ditto.
5594 (elmo-shimbun-msgdb-to-headers): Removed.
5595 (elmo-shimbun-folder-setup): Ditto.
5596 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5598 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5599 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5600 Removed useless local bind.
5601 (elmo-folder-open-internal): Don't call
5602 `elmo-shimbun-folder-setup'.
5603 (elmo-folder-close-internal): Clear entity-hash slot.
5604 (elmo-folder-clear): Ditto.
5605 (elmo-shimbun-msgdb-create-entity): Use
5606 `elmo-shimbun-folder-shimbun-header'.
5607 (elmo-map-message-fetch): Ditto.
5608 (elmo-shimbun-update-overview): Use overview entity instead of
5609 shimbun header to lookup id by references.
5610 (elmo-map-folder-list-message-locations): Use not only headers but
5611 also overviews to list locations.
5613 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5615 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5618 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5620 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5622 * elmo-util.el (elmo-read-search-condition-internal): Give default
5625 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5627 * elmo-util.el (elmo-condition-parse-search-value): Accept
5628 YYYY-MM-DD format to search.
5629 * elmo-date.el (elmo-date-get-datevec): Likewise.
5631 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5633 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5636 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5638 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5641 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5643 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5644 case from `elmo-folder-exists-p'.
5645 (elmo-folder-exists-p): Removed.
5646 (elmo-folder-creatable-p) Ditto.
5648 * elmo-net.el (elmo-folder-create): Defined.
5649 (elmo-folder-create-unplugged): New function.
5650 (elmo-folder-exists-p): Changed default value to nil from t.
5652 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5653 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5655 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5656 `elmo-create-folder-dop' and append queue
5657 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5658 (elmo-folder-create-dop-delayed): New function.
5660 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5662 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5664 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5665 (elmo-folder-writable-p) : Ditto.
5667 * elmo-version.el (elmo-version): Up to 2.9.9.
5669 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5671 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5672 `elmo-message-use-cache-p' returns nil.
5673 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5674 (ignore cache file and refer the substance in local folders)
5676 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5678 * elmo-version.el (elmo-version): Up to 2.9.8.
5680 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5682 * elmo-version.el (elmo-version): Up to 2.9.7.
5684 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5686 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5688 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5690 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5692 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5694 (elmo-map-folder-list-message-locations): Reverse location list.
5696 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5698 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5700 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5702 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5704 (elmo-nntp-folder-list-subfolders): Follow the change above.
5706 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5708 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5709 name if authentication type is specified.
5711 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5713 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5715 (elmo-default-nntp-stream-type): Ditto.
5716 (elmo-default-pop3-stream-type): Ditto.
5718 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5720 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5722 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5724 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5726 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5728 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5729 (elmo-maildir-folder-path): Ditto.
5730 (elmo-maildir-list): Ditto (abolished).
5732 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5734 * elmo-version.el (elmo-version): Up to 2.9.6.
5736 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5738 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5739 (elmo-maildir-folder-path): Ditto.
5740 (elmo-msgdb-directory): Ditto.
5741 (elmo-passwd-life-time): Ditto.
5742 (elmo-msgdb-extra-fields): Ditto.
5743 (elmo-enable-disconnected-operation): Ditto.
5745 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5747 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5749 (elmo-pop3-default-authenticate-type): Ditto.
5751 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5753 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5755 (elmo-pop3-default-authenticate-type): Ditto.
5757 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5759 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5760 mailbox to new-folder.
5762 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5764 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5765 less than new, set new as unread.
5767 * elmo-util.el (elmo-string): Don't put text-property if nil.
5769 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5771 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5772 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5774 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5776 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5777 is nil on `completing-read'.
5779 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5781 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5783 (elmo-imap4-parse-namespace-subr): Ditto.
5784 (elmo-folder-list-subfolders): Append a delimiter when the specified
5785 folder path is a root with namespace and does not end with delimiter.
5787 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5789 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5792 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5794 * elmo-util.el (elmo-save-buffer): The first argument of message
5795 is a format control string.
5797 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5799 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5800 `elmo-folder-diff').
5801 (elmo-diff-unread): Likewise.
5803 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5805 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5806 is t on `completing-read'.
5808 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5810 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5811 method of target folder with self mark-alist if MARK-ALIST is nil.
5813 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5815 * elmo-version.el (elmo-version): Up to 2.9.5.
5817 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5819 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5820 (elmo-dop-merge-funcs): Remove.
5822 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5824 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5825 Return t if PATH is directory, too.
5826 Use `dolist' instead of while loop.
5828 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5830 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5833 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5835 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5837 (elmo-folder-list-messages-unplugged): Return t if
5838 elmo-enable-disconnected-operation is nil.
5840 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5841 `elmo-folder-list-messages-internal'.
5843 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5845 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5846 Change to looking-at `[23][0-9]+'.
5847 (elmo-network-initialize-session): Use 'error-msg'
5848 * elmo-net.el (elmo-network-open-session): Set unplugged
5849 if elmo-network-initialize-session returns 'elmo-open-err.
5851 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5853 * elmo-version.el (elmo-version): Up to 2.9.4.
5855 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5857 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5858 `elmo-folder-list-messages-internal'.
5860 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5862 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5863 (elmo-message-match-condition): New method.
5864 (elmo-folder-search-fast): New inline function.
5865 (elmo-msgdb-search): Removed.
5867 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5868 target folder if it is unplugged.
5869 (elmo-folder-list-messages-internal): Return t if target folder is
5870 unplugged and itself is persistent; In this case, use list be
5873 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5874 (elmo-msgdb-search-internal-primitive): Ditto.
5875 (elmo-msgdb-match-condition): New function.
5876 (elmo-msgdb-match-condition-primitive): Ditto.
5878 * elmo-util.el (elmo-filter-condition-p): New macro.
5880 * elmo-cache.el (elmo-folder-search): Removed.
5882 * elmo-localdir.el (elmo-folder-search): Ditto.
5884 * elmo-maildir.el (elmo-folder-search): Ditto.
5886 * elmo-mark.el (elmo-folder-search): Ditto.
5888 * elmo-nmz.el (elmo-folder-search): Ditto.
5890 * elmo-sendlog.el (elmo-folder-search): Ditto.
5892 * elmo-shimbun.el (elmo-folder-search): Ditto.
5894 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5895 if folder is unplugged.
5897 * elmo-nntp.el (elmo-folder-search): Likewise.
5898 (elmo-nntp-search-internal): New function.
5900 * elmo-version.el (elmo-version): Up to 2.9.3.
5902 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5904 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5906 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5908 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5910 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5912 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5914 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5916 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5917 (elmo-map-folder-list-message-locations): Do drive letter conversion
5918 on Windows environment.
5919 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5920 (elmo-map-message-fetch): Ditto.
5922 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5924 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5925 (elmo-network-initialize-session): Ditto.
5927 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5929 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5931 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5933 * elmo-util.el (elmo-progress-clear): Ditto.
5935 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5936 `DD-Mon-YYYY' type date.
5938 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5940 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5941 `elmo-date-make-sortable-string' instead of
5942 `timezone-make-date-sortable'.
5944 * elmo-date.el (elmo-date-make-sortable-string): Use
5945 `timezone-make-time-string'.
5947 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5949 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5951 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5952 `since'; Fix timezone.
5954 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5956 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5958 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5960 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5962 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5964 * elmo.el (elmo-generic-folder-append-messages): Make
5965 fetch-strategy with `use-cache' as 'maybe. Check return value of
5966 `elmo-message-fetch'.
5967 (elmo-message-fetch): Return return value of
5968 `elmo-message-fetch-with-cache-process'.
5969 (elmo-message-fetch-with-cache-process): Return non-nil if
5970 fetching was succeed. Load cache when fetching was failed and
5971 fetch-strategy-use-cache is 'maybe.
5973 * elmo-util.el (elmo-file-cache-load): New function.
5975 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5978 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5979 non-nil if fetching was succeed.
5981 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5983 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5985 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5986 (elmo-message-fetch-with-cache-process): Likwise.
5988 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5990 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5992 * elmo-version.el (elmo-version): Up to 2.9.2.
5994 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5996 * elmo.el (elmo-folder-delete): Delete msgdb path.
5998 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6000 * elmo-maildir.el (elmo-folder-delete): Ditto.
6002 * elmo-localdir.el (elmo-folder-delete): Ditto.
6004 * elmo-imap4.el (elmo-folder-delete): Ditto.
6006 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
6008 * elmo.el (luna-define-class): Added `biff' slot.
6010 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6011 (elmo-pop3-debug-inhibit-logging): Abolished.
6012 (elmo-network-close-session): Eliminated needless let.
6013 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6014 (elmo-pop3-send-command): Added `no-log' argument.
6015 (elmo-pop3-process-filter): Use `with-current-buffer'.
6016 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6018 (elmo-pop3-auth-apop): Likewise.
6019 (elmo-network-authenticate-session): Likewise.
6021 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6024 * elmo-net.el (elmo-network-session-password-key): Use class symbol
6025 string to determine protocol.
6026 (elmo-network-session-name-prefix): Abolished.
6027 (elmo-network-session-cache-key): Follow the change above.
6028 (elmo-network-open-session): Ditto.
6030 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6031 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6033 * elmo-version.el (elmo-version): Up to 2.9.1.
6035 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6036 unmatch condition checking.
6038 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6041 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6043 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6045 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
6047 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6048 test for while loop to execute at least one SEARCH command.
6050 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
6052 * elmo-version.el (elmo-version): Up to 2.9.0.
6054 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6056 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6057 (elmo-archive-folder-path): Define.
6058 (elmo-folder-initialize): Setup `dir-name' slot.
6059 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6060 Use `dir-name' as prefix of each subfolders.
6061 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6063 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6065 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6066 (elmo-pipe-folder-list-target-messages): New internal function.
6067 (elmo-pipe-drain): Use new argument `ignore-list' instead of
6069 (elmo-pipe-folder-copied-list-load): New function.
6070 (elmo-pipe-folder-copied-list-save): Ditto.
6071 (elmo-folder-open-internal): Follow the change above.
6072 (elmo-folder-status): Fixed for copy.
6074 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
6076 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6078 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
6080 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6081 elmo-copy-file instead of elmo-add-name-to-file.
6083 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6085 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6088 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6089 of accept-process-output as 1.
6090 (elmo-pop3-read-contents): Ditto.
6091 (elmo-pop3-read-body): Ditto.
6093 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
6095 * elmo-version.el (product-version-as-string): Remove define.
6097 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6099 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6100 (elmo-imap4-copy-messages): Chop number set using
6101 `elmo-imap4-number-set-chop-length'.
6102 (elmo-imap4-set-flag): Ditto.
6103 (elmo-imap4-search-internal-primitive): Ditto.
6105 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
6107 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6108 `elmo-folder-make-temp-dir'
6110 * elmo-vars.el (elmo-cache-directory): New variable.
6111 (elmo-cache-dir): Abolished.
6112 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6114 * elmo-version.el (elmo-version): Up to 2.7.7.
6116 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6118 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6119 defcustom; Set default value as t.
6121 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
6123 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6124 (ldap-search-program-arguments): Changed default value.
6125 (ldap-search-basic): Accept exit status 4.
6126 (ldap/field-body): Parse options.
6127 (ldap/collect-field): Ditto.
6128 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6130 * elmo-imap4.el (elmo-imap4-process-bye): New function.
6131 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6132 (elmo-imap4-accept-ok): Ditto.
6133 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6134 'notify-bye, only BYE error is reported.
6135 (elmo-folder-exists-p-plugged): Set no-error argument of
6136 `elmo-imap4-session-select-mailbox' as 'notify-bye.
6138 * elmo.el (elmo-imap4-bye-error): Changed message.
6140 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6141 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6142 queues (It causes infinite loop).
6144 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
6146 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6147 (RECENT UNSEEN MESSAGES) extension.
6149 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
6151 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6152 Check number of overview fields.
6154 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6156 * elmo.el (elmo-folder-confirm-appends): Changed message.
6157 (elmo-folder-confirm-appends): Ditto.
6159 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6161 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6163 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6165 * elmo.el (elmo-folder-confirm-appends): Check whether the value
6166 of elmo-folder-update-threshold is nil, which can be set by
6167 wl-summary-update-confirm-threshold.
6169 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
6171 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6172 (elmo-nmz-index-alias-alist): Ditto.
6173 (elmo-map-folder-list-message-locations): Follow the change above.
6175 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6177 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6179 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6181 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6183 * elmo-util.el (elmo-read): Ditto.
6184 (elmo-display-error): Ditto.
6186 * elmo-vars.el (elmo-date-match): Ditto.
6188 * pldap.el (ldap-coding-system): Ditto.
6190 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6191 `elmo-inhibit-number-mapping' as nil.
6193 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
6195 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6196 space delimiter for list response.
6198 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6200 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6202 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6204 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6205 (elmo-map-message-fetch): Fix.
6206 * elmo-map.el (elmo-folder-status): Fix for killed.
6208 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6210 * elmo-sendlog.el: New file.
6211 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6213 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6215 * acap.el (acap-logging-out): New buffer local variable.
6216 (acap-close): Set it.
6217 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6220 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6222 * acap.el (acap-response-bye-p): New function.
6223 (acap-response-bye-message): Ditto.
6224 (acap-wait-for-response): If bye response is received, cause an error.
6225 (acap-parse-response): Make bye response when 'Bye' is received.
6227 2001-11-23 Kenichi OKADA <okada@opaopa.org>
6229 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6231 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6233 * elmo-util.el (elmo-copy-file): Added argument
6234 `ok-if-already-exists'.
6235 (elmo-copy-file): Fixed typo.
6237 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6239 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6241 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6243 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6245 2001-11-20 Kenichi OKADA <okada@opaopa.org>
6247 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6250 2001-11-19 Kenichi OKADA <okada@opaopa.org>
6252 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6253 (elmo-folder-initialize): Fix for `copy'.
6254 (elmo-pipe-drain): Ditto.
6255 (elmo-folder-open-internal): Ditto.
6256 (elmo-folder-newsgroups): Fix.
6258 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
6260 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6263 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6264 recent value is returned from imap folder.
6266 * elmo.el (elmo-folder-newsgroups): New generic function.
6268 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6269 (elmo-folder-initialize): Set it.
6270 (elmo-folder-expand-msgdb-path): Use it.
6271 (elmo-folder-newsgroups): Define.
6273 * elmo-filter.el (elmo-folder-newsgroups): Define.
6275 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6277 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6279 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6281 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6283 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6285 (elmo-shimbun-header-extra-field): New inline function.
6286 (elmo-shimbun-header-set-extra-field): Ditto.
6287 (elmo-shimbun-folder-header-hash-setup): Ditto.
6288 (elmo-shimbun-update-overview): Ditto.
6289 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6290 (elmo-shimbun-folder-setup): Use
6291 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6292 (elmo-shimbun-get-headers): Ditto.
6293 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6294 Insert `X-Shimbun-Id:' header if extra field is set.
6295 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6296 field's value instead of `shimbun-header-id'.
6298 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6300 (elmo-msgdb-overview-entity-set-date): Ditto.
6301 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6303 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6305 * mmimap.el (mmimap-entity-section): Changed body node number from
6308 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6310 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6311 `elmo-folder-delete-messages'.
6313 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6314 (elmo-folder-initialize): Changed to expand alias into index path.
6316 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6317 `elmo-mime-insert-header-from-buffer' with 6th arg
6320 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6322 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6324 * elmo.el (elmo-diff-new): New inline function.
6325 (elmo-diff-unread): Ditto.
6326 (elmo-diff-all): Ditto.
6328 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6329 value from responseb.
6330 (elmo-imap4-folder-diff-plugged): Ditto.
6331 (elmo-imap4-server-diff-async): Added recent argument.
6332 (elmo-server-diff-async): Ditto.
6333 (elmo-imap4-folder-diff-plugged): Ditto.
6335 * elmo-version.el (elmo-version): Up to 2.7.6.
6337 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6339 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6342 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6344 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6346 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6348 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6350 * elmo-multi.el (elmo-folder-initialize): Ditto.
6352 * elmo-util.el (elmo-parse-token): New function.
6353 (elmo-parse-prefixed-element): Ditto.
6355 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6357 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6359 (elmo-imap4-accept-ok): Ditto.
6361 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6363 * mmimap.el (mime-imap-entity-header-string): Don't check first
6364 element of node-id is `0' (Follow last change).
6366 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6368 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6369 assigned irregular node-id to nested multipart section.
6370 (initialize-instance): Followed above change.
6372 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6374 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6375 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6376 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6377 `elmo-shimbun-get-headers');
6378 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6379 visible article on summary exists in headers).
6380 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6382 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6384 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6387 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6389 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6391 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6393 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6394 header separator into loop condition.
6396 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6398 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6399 Return duplicate folder if it has subfolder.
6401 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6403 * elmo.el (elmo-make-folder): Add folder name error check.
6405 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6406 (elmo-nntp-encode-group-string): New inline function.
6407 (elmo-nntp-decode-group-string): Ditto.
6408 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6409 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6410 Use `not' instead of `null';
6411 Use elmo-nntp-decode-group-string.
6413 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6415 * elmo-version.el (elmo-version): Up to 2.7.5.
6417 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6419 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6420 Hide progress gauge if `elmo-folder-move-messages' exits
6423 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6425 * elmo-imap4.el (elmo-folder-initialize): Use
6426 `elmo-imap4-encode-folder-string' for folder name.
6428 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6430 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6433 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6435 * elmo-util.el (elmo-progress-counter-alist): New internal
6437 (elmo-progress-counter-value): New macro.
6438 (elmo-progress-counter-all-value): Ditto.
6439 (elmo-progress-counter-format): Ditto.
6440 (elmo-progress-counter-set-value): Ditto.
6441 (elmo-progress-set): New function.
6442 (elmo-progress-clear): Ditto.
6443 (elmo-progress-notify): Ditto.
6445 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6448 * elmo.el (elmo-generic-folder-append-messages): Call
6449 `elmo-progress-notify'.
6450 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6452 * elmo-archive.el (elmo-folder-append-messages): Call
6453 `elmo-progress-notify'.
6455 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6457 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6459 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6461 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6463 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6465 (elmo-message-encache-dop): Added argument `read'.
6467 * elmo-shimbun.el (elmo-message-encache): Ditto.
6469 * elmo-net.el (elmo-message-encache): Ditto.
6471 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6472 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6473 elmo-imap4-seen-messages.
6474 (elmo-folder-msgdb-create-plugged): Initialize
6475 elmo-imap4-seen-messages;
6476 Set seen mark on elmo-imap4-seen-messages.
6478 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6480 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6481 elmo-folder-append-buffer.
6482 (elmo-folder-encache): Added optional argument `read'.
6483 (elmo-message-encache): Ditto.
6485 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6487 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6489 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6490 if append buffer content succeds.
6492 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6494 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6495 elmo-display-progress.
6497 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6498 Set 4th argument of mime-display-message.
6499 (elmo-mime-display-as-is): Ditto.
6501 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6503 * elmo-nmz.el (toplevel): Require 'mime-edit.
6504 (elmo-nmz-content-type-alist): Abolished.
6505 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6506 content is not a message.
6507 (elmo-map-message-fetch): Changed behavior exept for message content;
6508 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6509 content-type, Add From: and Subject: field.
6511 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6513 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6514 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6517 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6519 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6520 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6522 * elmo-archive.el (elmo-folder-writable-p): Defined.
6524 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6526 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6528 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6530 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6532 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6534 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6536 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6538 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6540 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6542 * elmo-util.el (elmo-address-quote-specials): New function;
6543 Renamed from `wl-address-quote-specials'.
6545 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6547 * elmo-version.el (elmo-version): Up to 2.7.4.
6549 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6551 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6553 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6555 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6556 both compile-time and run-time to avoid byte-compile warning.
6558 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6560 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6562 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6564 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6566 (elmo-mime-display-as-is-internal): Use it.
6568 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6569 if `read-passwd' is not defined.
6571 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6573 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6575 (elmo-folder-status): Call `elmo-folder-open-internal';
6576 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6577 (elmo-folder-close-internal): Set location-alist as nil.
6578 (elmo-folder-clear): Define.
6579 (elmo-folder-check): Don't set location-alist as nil.
6581 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6583 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6585 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6586 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6588 * mmimap.el (mime-imap-entity::requested): New slot.
6589 (mime-imap-location-fetch-entity-p): New generic function.
6590 (mime-decode-parameters): Define using `defun-maybe'.
6591 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6592 content-type structure.
6593 (mime-entity-body): Return empty body if
6594 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6596 * elmo.el (elmo-message-displaying): New variable.
6598 * elmo-mime.el (elmo-mime-message-display): Bind
6599 elmo-message-displaying as t.
6601 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6603 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6605 * acap.el (acap-open): erase buffer before starting network process.
6606 (acap-store): Rewrite.
6608 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6610 * elmo-imap4.el (elmo-imap4-default-mailbox,
6611 elmo-imap4-default-server
6612 elmo-imap4-default-authenticate-type,
6613 elmo-imap4-default-user,
6614 elmo-imap4-default-port,
6615 elmo-imap4-default-stream-type,
6616 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6618 * elmo-pop3.el (elmo-pop3-default-user,
6619 elmo-pop3-default-server,
6620 elmo-pop3-default-authenticate-type,
6621 elmo-pop3-default-port,
6622 elmo-pop3-default-stream-type,
6623 elmo-pop3-stream-type-alist): Ditto.
6625 * elmo-nntp.el (elmo-nntp-default-server,
6626 elmo-nntp-default-user,
6627 elmo-nntp-default-port,
6628 elmo-nntp-default-stream-type,
6629 elmo-nntp-stream-type-alist): Ditto.
6631 * elmo-vars.el: Follow changes above.
6632 (elmo-setting): New custom group; added 'elmo-setting group to
6635 * elmo-version.el (elmo-version): Up to 2.7.3.
6637 * acap.el (acap-parse-response): Don't delete process when BYE
6638 response (It causes hang-up on slow network environment).
6639 (toplevel): Added comment.
6641 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6643 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6645 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6647 (acap-parse-return-metadata): Ditto.
6650 (toplevel): Fixed typo.
6652 * acap.el: New file.
6653 (acap-network-stream-open): Show "Connecting..." message.
6654 (acap-parse-response): Fixed problem for BYE untagged response.
6655 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6656 (toplevel): Added tiny comments.
6658 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6660 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6661 space delimiter for uidl response.
6663 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6665 * elmo-vars.el (elmo-use-semi): Eliminated.
6667 * elmo-util.el (elmo-string-assoc-all): New function.
6669 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6671 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6672 property 'mime-preview-situation for `mime-preview-quit'.
6674 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6676 * elmo.el (elmo-message-fetch-with-cache-process): Call
6677 elmo-message-fetch-internal instead of causing an error when fetch
6678 strategy is 'entire but only 'section cache is available.
6680 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6682 * elmo-version.el (elmo-version): Up to 2.7.2.
6684 * elmo.el (elmo-generic-folder-append-messages): Make
6685 fetch-strategy with `use-cache'.
6687 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6688 (elmo-dop-queue-method-name): New macro.
6690 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6692 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6693 unbalanced parenthesis.
6695 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6697 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6699 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6701 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6702 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6704 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6706 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6709 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6711 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6712 (elmo-message-use-cache-p): Define.
6713 (elmo-folder-msgdb-create): Treat cache.
6715 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6717 * elmo-nntp.el (elmo-network-initialize-session): Call
6718 `elmo-nntp-send-mode-reader'.
6719 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6721 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6723 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6725 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6728 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6729 for `elmo-plugged-p'.
6730 (elmo-open-network-stream): Fixed stream-type argument.
6732 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6734 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6735 unknown archive type is specified.
6737 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6739 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6741 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6742 while loading msgdb.
6744 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6745 (elmo-folder-open-internal): Rewrite.
6747 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6749 * elmo-mime.el (elmo-mime-display-as-is-internal):
6750 Adjust buffer-multibyte status.
6752 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6754 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6755 of elmo-condition-find-key.
6757 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6758 (elmo-condition-in-msgdb-p): Ditto.
6759 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6762 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6764 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6766 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6768 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6769 label for elmo-display-progress.
6771 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6773 * elmo.el (elmo-folder-clear): New method.
6774 (elmo-folder-clear): Define.
6775 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6777 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6778 (elmo-folder-clear): Define.
6780 * elmo-map.el (elmo-folder-clear): Define.
6782 * elmo-version.el (elmo-version): Up to 2.7.1.
6784 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6786 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6789 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6791 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6792 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6794 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6796 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6798 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6801 * elmo-imap4.el (elmo-folder-initialize): Use
6802 elmo-get-network-stream-type.
6804 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6806 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6808 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6810 * elmo.el (elmo-message-encache): Set unread argument for
6813 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6815 * elmo.el (elmo-net-port-info): New method.
6817 * elmo-shimbun.el (elmo-net-port-info): Define.
6818 (elmo-message-encache): Ditto.
6820 * elmo-net.el (elmo-net-port-info): Define as method.
6822 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6823 unplugged status when elmo-enable-disconnected-operation is t.
6825 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6826 of spool folder before checking new number.
6828 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6830 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6831 (elmo-network-setup-session): Ditto.
6832 (elmo-message-fetch-plugged): Ditto.
6833 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6834 (elmo-network-initialize-session): Ditto.
6835 (elmo-pop3-read-response): Abolish 3rd argument.
6836 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6837 (elmo-pop3-read-contents): Ditto.
6838 (elmo-pop3-read-body): Ditto.
6839 (elmo-folder-status): Call elmo-folder-close.
6840 (elmo-pop3-lock): Abolish.
6841 (elmo-pop3-unlock): Ditto.
6842 (elmo-pop3-locked-p): Ditto.
6843 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6845 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6847 * elmo-version.el (elmo-version): Up to 2.7.0.
6849 * elmo-pop3.el (elmo-pop3-debug): New variable.
6850 (elmo-pop3-debug-inhibit-logging): Ditto.
6851 (elmo-pop3-debug): New function.
6852 (elmo-pop3-send-command): Call elmo-pop3-debug.
6853 (elmo-pop3-read-response): Added keep-lock optional argument;
6854 Don't unlock if keep-lock is non-nil.
6855 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6856 (elmo-network-authenticate-session): Bind
6857 elmo-pop3-debug-inhibit-logging as t.
6858 (elmo-network-setup-session): Call elmo-pop3-read-response with
6860 (elmo-pop3-read-msg): Ditto.
6861 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6862 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6863 (elmo-network-initialize-session): Call elmo-pop3-lock.
6864 (elmo-folder-close-internal): Don't clear location-alist slot.
6865 (elmo-folder-check): Clear location-alist slot.
6867 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6869 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6870 (elmo-pop3-send-command): Call elmo-pop3-lock.
6871 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6872 (elmo-pop3-read-contents): Ditto.
6873 (elmo-pop3-lock): New function.
6874 (elmo-pop3-unlock): Ditto.
6875 (elmo-pop3-locked-p): Ditto.
6876 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6879 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6881 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6883 * elmo-util.el (elmo-file-field-primitive-condition-match):
6884 New inline function (Don't fetch file content if "first" or "last").
6885 (elmo-file-field-condition-match): Use
6886 elmo-file-field-primitive-condition-match.
6888 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6891 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6892 (elmo-message-fetch-plugged): Fixed.
6894 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6896 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6898 * elmo.el (elmo-folder-move-messages): Bind
6899 elmo-inhibit-display-retrieval-progress as t while moving messages.
6901 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6903 (elmo-inhibit-display-retrieval-progress): Ditto.
6905 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6906 for retrieval progress;
6907 Don't display progress when total buffer size is smaller than
6908 elmo-display-retrieval-progress-threshold.
6909 (elmo-message-fetch-plugged): Don't display progress when
6910 elmo-inhibit-display-retrieval-progress is non-nil.
6912 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6913 for retrieval progress;
6914 Don't display progress when literal size is smaller than
6915 elmo-display-retrieval-progress-threshold.
6916 (elmo-imap4-message-fetch): Don't display progress when
6917 elmo-inhibit-display-retrieval-progress is non-nil.
6919 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6921 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6922 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6923 (elmo-imap4-message-fetch): Likewise.
6925 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6926 (elmo-shimbun-index-range-alist): Ditto.
6927 (elmo-shimbun-use-entire-index): Abolish.
6928 (shimbun-mua-use-entire-index): Ditto.
6929 (elmo-shimbun-folder): Added new slot `range'.
6930 (elmo-folder-initialize): Setup slot `range'.
6932 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6934 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6935 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6936 (elmo-shimbun-get-headers): Use return value of
6937 `shimbun-article-expiration-days'.
6938 (elmo-folder-close-internal): Clean up last-check slot.
6940 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6941 (elmo-pop3-total-size): New variable.
6942 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6944 * elmo.el (elmo-folder-reserve-status-p): New method.
6946 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6947 (elmo-shimbun-use-entire-index): New user option.
6948 (shimbun-elmo-mua): New class.
6949 (shimbun-mua-search-id): Define.
6950 (shimbun-mua-use-entire-index): Ditto.
6951 (elmo-shimbun-folder:last-check): New slot.
6952 (elmo-shimbun-headers-cache-header-list): Abolish.
6953 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6954 (elmo-shimbun-headers-cache-header-hash): Ditto.
6955 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6956 (elmo-shimbun-headers-cache-last-check): Ditto.
6957 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6958 (elmo-shimbun-headers-check-p): Rewrite.
6959 (elmo-shimbun-msgdb-to-headers): New function.
6960 (elmo-shimbun-get-headers): Rewrite.
6961 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6962 (elmo-folder-open-internal): Get headers only if
6963 `elmo-shimbun-headers-check-p' is non-nil.
6964 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6966 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6967 (elmo-quit): Removed.
6969 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6971 (elmo-msgdb-overview-entity-set-extra): Ditto.
6972 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6974 * elmo-map.el (elmo-folder-status): Don't call
6975 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6978 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6980 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6981 of `elmo-msgdb-search-internal-primitive' when condition's car is
6984 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6986 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6988 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6990 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6991 call `elmo-pipe-drain'.
6993 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6995 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6996 typo. (elmo-cache-folder -> elmo-mark-folder)
6998 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7000 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7001 `elmo-message-fetch'.
7003 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7005 * elmo-net.el (elmo-message-encache): Fixed typo.
7006 (elmo-message-fetch-unplugged): Changed call
7007 `elmo-message-fetch-internal' without argument `outbuf'.
7009 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
7011 * elmo.el (elmo-message-encache): Define as generic function.
7012 (elmo-message-fetch-field): New generic function.
7013 (elmo-message-fetch-with-cache-process): Cause an error when
7014 fetch strategy is 'entire but only 'section cache is available.
7015 (toplevel): Fixed nmz folder definition.
7017 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7018 (elmo-msgdb-resume-list-filename): Ditto.
7019 (elmo-queue-filename): Ditto.
7020 (elmo-enable-disconnected-operation): Changed default value to t.
7022 * elmo-util.el (elmo-cache-path-section-p): New function.
7023 (elmo-file-cache-get): Use it.
7024 (elmo-dop-queue-filename): Moved from elmo-dop.el.
7025 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7026 (elmo-dop-queue-save): Ditto.
7028 * elmo-net.el (elmo-folder-status-unplugged): Call
7029 elmo-folder-status-dop.
7030 (elmo-folder-list-messages-unplugged): Implemented.
7031 (elmo-folder-delete-messages-unplugged): Define.
7032 (elmo-folder-msgdb-create): Define.
7033 (elmo-folder-msgdb-create-unplugged): Define.
7034 (elmo-folder-mark-as-read-unplugged): Ditto.
7035 (elmo-folder-unmark-read-unplugged): Ditto.
7036 (elmo-folder-mark-as-important-unplugged): Ditto.
7037 (elmo-folder-unmark-important-unplugged): Ditto.
7038 (elmo-message-encache): Ditto.
7040 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7041 (elmo-dop-queue-save): Ditto.
7043 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7044 `elmo-folder-msgdb-create'.
7045 (elmo-folder-append-buffer): Implemented unplugged operation.
7046 (elmo-folder-append-messages): Call parent method in unplugged status.
7047 (elmo-message-fetch-unplugged): Removed definition.
7048 (elmo-message-fetch-field): Implemented.
7050 * elmo-dop.el (toplevel): Require 'elmo-localdir.
7051 (elmo-dop-folder): Removed variable definition.
7052 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7053 (elmo-dop-queue-flush): Implemented.
7054 (elmo-dop-queue-merge): Removed definition (TODO).
7055 (elmo-dop-spool-folder): New function.
7056 (elmo-dop-spool-folder-append-buffer): Ditto.
7057 (elmo-dop-spool-folder-list-messages): Ditto.
7058 (elmo-dop-list-deleting-messages): Ditto.
7059 (elmo-folder-append-buffer-dop): Ditto.
7060 (elmo-folder-delete-messages-dop): Ditto.
7061 (elmo-message-encache-dop): New inline function.
7062 (elmo-create-folder-dop): Ditto.
7063 (elmo-folder-mark-as-read-dop): Ditto.
7064 (elmo-folder-unmark-read-dop): Ditto.
7065 (elmo-folder-mark-as-important-dop): Ditto.
7066 (elmo-folder-unmark-important-dop): Ditto.
7067 (elmo-folder-status-dop): Fixed.
7068 (elmo-folder-append-buffer-dop-delayed): New function.
7069 (elmo-folder-delete-messages-dop-delayed): Ditto.
7070 (elmo-dop-msgdb): Ditto.
7072 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7074 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7076 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7078 * elmo.el (elmo-folder-move-messages): Fixed problem when
7079 `dst-folder' is 'null.
7081 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7083 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7084 instead of current mark.
7086 * elmo-multi.el (elmo-folder-list-importants-internal): No
7087 operation if importants is not list.
7089 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7090 Return t if importants is not list.
7092 * elmo-map.el (elmo-map-folder-list-importants): Define.
7093 (elmo-folder-list-importants-internal): Check return value of
7094 `elmo-map-folder-list-importants-internal'.
7096 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7098 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7100 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7102 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7104 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
7106 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7107 (Patch is provided by <kita@coe.nttdata.co.jp>).
7109 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7111 * elmo.el (elmo-folder-synchronize): Don't check important mark in
7114 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7116 * elmo.el (elmo-message-fetch): Define.
7117 (elmo-message-fetch-with-cache-process): New generic method.
7118 (elmo-message-fetch-internal): New generic method.
7119 (elmo-folder-synchronize):
7121 * elmo-archive.el (elmo-message-fetch-internal): Define.
7122 (elmo-message-fetch): Eliminated.
7124 * elmo-localdir.el (elmo-message-fetch-internal): Define.
7125 (elmo-message-fetch): Eliminated.
7127 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7129 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7131 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7132 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7134 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7135 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7137 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7139 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7141 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7143 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7144 (elmo-message-fetch-unplugged): New generic method.
7145 (elmo-message-fetch-internal): Remove cache process (Renamed from
7146 `elmo-message-fetch').
7148 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7149 (elmo-message-fetch): Eliminated.
7150 (elmo-message-fetch-unplugged): Ditto.
7152 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7154 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7156 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7157 of `to-be-deleted' from number-alist to number-list.
7159 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7161 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7162 (elmo-folder-mark-as-important): Ditto.
7164 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
7166 * elmo.el (elmo-folder): Added process-duplicates slot.
7168 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7169 (elmo-folder-unmark-read): Ditto.
7170 (elmo-folder-unmark-important): Ditto.
7171 (elmo-folder-mark-as-important): Ditto.
7173 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7174 duplicated message processing.
7176 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7178 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7180 * elmo-util.el (elmo-list-subdirectories-1): New function.
7181 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7182 (elmo-mapcar-list-of-list): New function.
7184 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7185 `elmo-mapcar-list-of-list' instead of `mapcar'.
7187 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7189 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7190 `elmo-have-link-count'. Return the fully qualified folder name.
7192 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
7194 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7195 (elmo-shimbun-headers-cache): New internal variable.
7196 (elmo-shimbun-headers-cache-header-list): New inline function.
7197 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7198 (elmo-shimbun-headers-cache-header-hash): Ditto.
7199 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7200 (elmo-shimbun-headers-cache-last-check): Ditto.
7201 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7202 (elmo-shimbun-lapse-seconds): Ditto.
7203 (elmo-shimbun-headers-cache-check-p): Ditto.
7204 (elmo-shimbun-get-headers): New function.
7205 (elmo-folder-open-internal): Call it.
7206 (elmo-quit): Define (Clear headers-cache).
7208 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
7210 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7212 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7213 (elmo-msgdb-flist-save): Ditto.
7215 * elmo-shimbun.el (elmo-folder-list-subfolders):
7216 Use `shimbun-groups' instead of `shimbun-groups-internal'.
7217 (elmo-folder-exists-p): Ditto.
7219 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7220 argument for `shimbun-header-insert'.
7222 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
7224 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7227 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7228 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7230 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
7232 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7233 (elmo-folder-plugged-p): Define.
7234 (elmo-folder-set-plugged): Ditto.
7235 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7236 (elmo-folder-list-messages-internal): Return t if unplugged.
7237 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7239 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7240 when elmo-folder-list-messages-internal method of children returns t.
7242 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7244 (elmo-folder-open-internal): Don't update if unplugged status.
7246 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
7248 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7251 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
7253 * elmo-util.el (elmo-file-cache-save): Ignore errors.
7255 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7258 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
7260 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7262 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7263 (elmo-folder-open-internal): Set up headers slot.
7264 (elmo-folder-check): Call elmo-folder-close-internal and
7265 elmo-folder-open-internal.
7266 (elmo-folder-close-internal): Clean up headers slot.
7268 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7270 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7271 exactly folder list.
7272 (elmo-folder-append-messages): Fixed append archive with prefix.
7274 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7275 make temp files with start-number.
7277 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7279 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7281 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7282 argument `visible-only'.
7283 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7286 * elmo-pop3.el (elmo-folder-open-internal): Check
7287 `elmo-inhibit-number-mapping' is non-nil.
7289 * elmo-pipe.el (elmo-folder-status): Fixed.
7291 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7293 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7295 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7296 (elmo-folder-open-internal): Setup `header-hash' slot.
7297 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7299 (elmo-map-message-fetch): Ditto.
7301 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7303 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7304 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7305 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7306 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7308 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7310 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7312 * sb-airs.el: Added footer.
7314 * shimbun.el (shimbun-article): Define as luna-method.
7316 * sb-tcup.el: New file.
7318 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7319 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7321 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7323 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7324 (shimbun-get-headers): Ditto.
7326 * elmo.el: Moved obsolete variable definitions from
7327 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7329 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7332 * shimbun.el: New file.
7334 * elmo-shimbun.el: New file.
7336 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7337 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7338 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7339 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7341 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7343 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7346 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7348 * elmo.el (elmo-folder-msgdb): Define as macro.
7349 (elmo-folder-open): Added argument `load-msgdb'.
7350 (elmo-generic-folder-open): Ditto.
7351 (elmo-folder-encache): New function.
7353 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7355 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7357 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7358 Eliminated argument FOLDER and added argument MSGDB.
7359 (elmo-dop-queue-load): Moved from elmo-dop.el.
7360 (elmo-dop-queue-save): Ditto.
7362 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7364 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7366 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7367 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7368 (elmo-filter-folder-list-importants-internal): Ditto.
7370 * elmo-map.el (elmo-folder-pack-number): Ditto.
7372 * elmo-mime.el (elmo-mime-message-display): Ditto.
7374 * elmo.el (elmo-generic-folder-commit): Ditto.
7375 (elmo-folder-list-unreads): Ditto.
7376 (elmo-folder-list-importants): Ditto.
7377 (elmo-generic-folder-commit): Ditto.
7378 (elmo-message-set-mark): Ditto.
7379 (elmo-generic-folder-append-msgdb): Ditto.
7380 (elmo-folder-synchronize): Ditto.
7381 (elmo-folder-messages): Ditto.
7382 (elmo-init): Call elmo-dop-queue-load.
7383 (elmo-folder-list-messages): Ditto.
7385 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7386 (elmo-nntp-folder-process-crosspost): Ditto.
7387 (elmo-folder-list-unreads-internal): Ditto.
7389 * elmo-dop.el: Removed old functions.
7391 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7393 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7394 `folder' to `msgdb'.
7396 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7398 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7399 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7401 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7404 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7406 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7409 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7410 (mmimap-parse-parameters-from-list): Define as alias for
7411 `mime-decode-parameter-plist' if it is defined as function.
7412 (mmimap-make-mime-entity): Added argument `number'.
7413 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7415 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7417 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7419 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7421 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7423 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7425 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7427 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7428 when elmo-imap4-default-authenticate-type is nil.
7429 (elmo-folder-list-subfolders): Ditto
7430 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7431 (elmo-imap4-fetch-callback-1-subr): Renamed from
7432 `elmo-imap4-fetch-callback-1' and define as inline function.
7433 (elmo-imap4-fetch-callback-1):
7434 Renamed from `elmo-imap4-fetch-callback'.
7435 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7437 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7438 msgdb path (To keep compatibility with main trunk).
7440 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7442 * elmo-util.el (elmo-make-file-cache): Moved position of
7445 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7446 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7447 instead of `elmo-pop3-inhibit-uidl'.
7448 (elmo-folder-exists-p): Ditto.
7449 (elmo-pop3-folder-list-messages): Ditto.
7451 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7452 instead of `elmo-pop3-inhibit-uidl'.
7453 (elmo-folder-status): Ditto.
7455 * elmo-dop.el (elmo-dop-folder): New variable.
7456 (elmo-dop-lock-message): Eliminated.
7457 (elmo-dop-unlock-message): Ditto.
7458 (elmo-dop-lock-list-load): Ditto.
7459 (elmo-dop-lock-list-save): Ditto.
7460 (elmo-dop-delete-folder): Ditto.
7461 (elmo-dop-rename-folder): Ditto.
7463 * elmo.el: Removed incomplete commentary.
7465 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7467 * elmo.el (toplevel): Require 'elmo-version first;
7468 for little `recursive-load-depth' settings.
7469 Fix "ends here" comment.
7471 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7473 * elmo-util.el (toplevel): Require 'poem;
7474 Some functions are moved from elmo-cache.el.
7476 * elmo-net.el (toplevel): Require 'elmo-cache.
7478 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7480 * elmo.el (toplevel): Ditto.
7482 * elmo-cache.el: Rewrite with luna;
7483 Some functions are moved to elmo-util.el.
7485 * elmo-internal.el (elmo-internal-folder-list): New variable.
7486 (elmo-internal-folder-initialize): Rewrite.
7487 (elmo-folder-list-subfolders): Ditto.
7489 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7490 (elmo-cache-collect-sub-directories): Ditto.
7492 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7494 * elmo-version.el (elmo-version): Up to 2.5.8.
7496 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7498 * elmo-util.el (elmo-list-insert): New function.
7500 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7502 * elmo.el (elmo-init): New function.
7503 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7505 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7506 (Renamed from `elmo-localdir-header-chop-length').
7508 * elmo-pop3.el (elmo-pop3-use-cache,
7509 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7511 * elmo-nntp.el (elmo-message-fetch): Define.
7512 (elmo-message-fetch-unplugged): Ditto.
7513 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7514 (elmo-nntp-use-cache): Ditto.
7515 (elmo-nntp-max-number-precedes-list-active): Ditto.
7517 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7519 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7520 `elmo-msgdb-insert-file-header'.
7521 Use `elmo-msgdb-file-header-chop-length'.
7523 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7526 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7527 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7528 `elmo-msgdb-insert-file-header'.
7530 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7532 Define obsolete variables with `elmo-define-obsolete-variable',
7534 * elmo-util.el (elmo-warning-buffer-name): New constant.
7535 (elmo-warning): New function.
7536 (elmo-obsolete-variable-alist): New variable.
7537 (elmo-obsolete-variable-show-warnings): New variable.
7538 (elmo-define-obsolete-variable): New function.
7539 (elmo-resque-obsolete-variable): Ditto.
7540 (elmo-resque-obsolete-variables): Ditto.
7542 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7544 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7547 * elmo-pop3.el, elmo-nntp.el: Use custom.
7549 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7551 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7552 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7554 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7556 * Luna-fy Kenichi OKADA's following changes.
7557 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7559 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7561 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7563 * elmo-util.el (elmo-display-progress): Prefer
7564 `progress-feedback-with-label' to `lprogress-display'.
7566 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7568 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7570 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7572 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7573 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7574 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7575 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7576 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7577 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7578 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7579 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7580 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7581 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7582 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7583 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7584 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7586 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7588 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7589 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7591 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7593 * elmo.el (elmo-folder-process-crosspost): New generic method.
7594 (elmo-folder-writable-p): Ditto.
7595 (elmo-folder-message-appendable-p): Eliminated.
7596 (elmo-generic-folder-append-msgdb): Rewrite.
7597 (elmo-newsgroups-hashtb): New internal variable.
7598 (elmo-crosspost-message-set): Eliminated.
7599 (elmo-crosspost-message-delete): Ditto.
7600 (elmo-setup-subscribed-newsgroups): New function.
7601 (elmo-crosspost-message-alist-modified): New internal variable.
7602 (elmo-crosspost-message-alist-load): New function (Renamed from
7603 `wl-crosspost-alist-load').
7604 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7605 `wl-crosspost-alist-save').
7607 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7609 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7611 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7612 elmo-newsgroups-hashtb).
7613 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7614 `elmo-nntp-folder-update-crosspost-message-alist'.
7615 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7616 `elmo-nntp-groups-hashtb'.
7617 (elmo-nntp-make-groups-hashtb): Eliminated.
7618 (elmo-nntp-parse-newsgroups): New function (Renamed from
7619 `wl-parse-newsgroups').
7620 (elmo-folder-creatable-p, elmo-folder-writable-p,
7621 elmo-folder-close-internal, elmo-folder-mark-as-read,
7622 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7624 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7626 * elmo-net.el (elmo-message-fetch): Check buffer size.
7628 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7630 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7632 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7633 before `close' command.
7635 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7636 `mark-alist' (All other related portions are changed).
7638 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7640 * elmo-util.el (elmo-create-hash-size): Eliminated.
7641 (elmo-make-hash) Make a hash with `one less than a power of two'
7644 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7645 (elmo-hash-maximum-size): Changed value.
7647 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7649 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7650 (elmo-mime-message-display-as-is): Ditto.
7652 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7654 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7655 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7657 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7659 * elmo-mark.el: New file.
7661 * elmo-internal.el: Rewrite (Almost empty).
7663 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7665 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7666 (mime-imap-entity-header-string): Ditto.
7667 (mmimap-entity-section): Rewrite.
7669 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7671 * elmo-nmz.el: New file.
7673 * elmo-pipe.el: Rewrite with luna.
7675 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7677 * elmo-archive.el: Rewrite with luna.
7679 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7680 (elmo-folder-list-importants-internal): Ditto.
7682 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7684 * elmo-archive.el (elmo-archive-version): Abolish.
7685 (toplevel) Removed `boso' comment.
7687 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7689 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7690 elmo-msgdb-add-msgs-to-seen-list-subr;
7691 Changed argument seen-marks to unread-marks.
7693 * elmo-nntp.el: Rewrite with luna.
7695 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7697 * elmo-filter.el: Rewrite with luna.
7699 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7701 * elmo-pop3.el: Rewrite with luna.
7703 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7705 * elmo-multi.el: Rewrite with luna.
7707 * elmo-vars.el (elmo-use-killed-list): Abolish.
7708 All other related portions are changed.
7709 (elmo-filename-replace-string-alist): Renamed from
7710 elmo-msgid-replace-string-alist.
7712 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7714 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7716 * elmo-map.el: New file.
7717 * elmo-maildir.el: Rewrite with luna.
7719 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7721 * elmo.el: Changed meaning of `elmo-folder-commit'.
7722 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7724 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7726 * elmo.el (elmo-folder-append-buffer): New function.
7727 (Renamed from `elmo-append-msg')
7729 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7731 * elmo-mime.el: New file.
7733 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7735 * elmo-cache.el: Rewrite.
7737 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7739 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7741 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7743 * elmo-vars.el (elmo): New group.
7744 (elmo-strict-diff-folder-regexp): New variable.
7746 * elmo-util.el (elmo-call-func): Abolish.
7747 (elmo-folder-get-type): Ditto.
7748 (elmo-*-get-spec): Ditto.
7749 (elmo-*-spec-*): Ditto.
7750 (elmo-imap4-identical-name-space-p): Ditto.
7751 (elmo-folder-identical-system-p): Ditto.
7752 (elmo-folder-direct-copy-alist): Ditto.
7753 (elmo-folder-direct-copy-p): Ditto.
7755 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7756 (elmo-folder-initialize): Define.
7757 (elmo-folder-get-primitive-list): Ditto.
7759 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7760 (elmo-folder-initialize): Define.
7761 Renamed `elmo-network-session-host-internal' to
7762 `elmo-network-session-server-internal'.
7764 * elmo-multi.el (elmo-multi-folder): New luna class.
7765 (elmo-folder-initialize): Define.
7766 (elmo-folder-get-primitive-list): Ditto.
7767 (elmo-folder-contains-type): Ditto.
7768 (elmo-message-use-cache-p): Ditto.
7770 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7771 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7773 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7774 (elmo-folder-initialize): Define.
7776 * elmo-filter.el (elmo-filter-folder): New luna class.
7777 (elmo-folder-initialize): Define.
7778 (elmo-folder-get-primitive-list): Ditto.
7779 (elmo-folder-contains-type): Ditto.
7781 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7783 * elmo-imap4.el: Rewrite with luna.
7785 * mmimap.el: New file.
7787 * mmelmo.el, mmelmo-imap4.el: Removed.
7789 * elmo-net.el: Ditto.
7791 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7792 (elmo-folder-initialize): Define.
7794 * elmo-archive.el (elmo-archive-folder): New luna class.
7795 (elmo-folder-initialize): Define.
7797 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7798 `elmo-folder-msgdb-path'.
7799 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7802 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7804 * elmo.el: New file.
7806 * elmo2.el: Renamed to elmo.el.
7809 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7811 * elmo-cache.el (elmo-cache-expire-by-size): Count
7812 a disk usage for a cache file entry in KB even when
7813 its kind is a directory.
7815 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7817 * elmo-version.el (elmo-version): Up to 2.5.7.
7819 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7821 * elmo-version.el (elmo-version): Up to 2.5.6.
7823 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7825 * elmo-version.el (elmo-version): Up to 2.5.5.
7827 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7829 * elmo-imap4.el (elmo-network-authenticate-session):
7830 Fixed a logic for response checking.
7832 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7834 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7835 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7836 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7839 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7840 for `starttls-open-stream' and `starttls-negotiate'.
7842 * elmo-nntp.el: Remove autoload settings for
7843 `starttls-open-stream' and `starttls-negotiate'.
7845 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7846 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7847 `luna-define-class' with `eval-and-compile'.
7849 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7851 * elmo-util.el (elmo-read-search-condition-internal):
7852 Require an element of table for searching field.
7854 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7856 * elmo-version.el (elmo-version): Up to 2.5.4.
7858 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7860 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7862 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7864 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7866 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7868 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7871 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7873 * elmo-imap4.el (elmo-imap4-delete-folder):
7874 Send "close" before "delete" (Use commented out line).
7875 (elmo-imap4-rename-folder): Ditto.
7877 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7878 folder string itself.
7879 (elmo-dop-list-deleted): New function.
7880 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7883 * elmo-util.el (elmo-string-rassoc-all): New function.
7885 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7887 * elmo-version.el (elmo-version): Up to 2.5.3.
7889 * elmo-net.el (elmo-network-get-session): Changed logic for
7890 checking process status.
7892 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7894 Changed logic for checking process status.
7896 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7898 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7900 (elmo-network-setup-session): Set UIDL hash size according to
7901 the length of list response.
7902 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7903 according to the length of list response;
7904 Return the length of list response.
7905 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7907 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7909 * elmo-imap4.el (toplevel): Require 'ssl.
7910 Add autoload 'starttls.
7911 * elmo-pop3.el (toplevel): Ditto.
7912 * elmo-nntp.el (toplevel): Ditto.
7914 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7916 * elmo-imap4.el (toplevel): defun at compile time.
7917 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7918 sasl-next-step, sasl-step-data, sasl-step-set-data.
7919 * elmo-pop3.el (toplevel): Ditto.
7921 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7923 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7925 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7927 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7929 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7930 and `elmo-pop-auth-apop'.
7932 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7934 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7936 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7938 * elmo-pop3.el (elmo-network-authenticate-session): Split
7939 encoded response value.
7941 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7943 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7944 `elmo-pop3-force-login'.
7945 Redefine `sasl-mechanisms'.
7946 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7948 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7950 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7951 Delete `elmo-imap4-authenticator-alist'.
7952 (elmo-imap4-auth-cram-md5): Delete.
7953 (elmo-imap4-auth-digest-md5): Delete.
7955 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7957 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7958 (elmo-pop3-auth-scram-md5): Ditto.
7959 (elmo-pop3-auth-cram-md5): Ditto.
7961 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7963 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7964 Delete `elmo-pop3-authenticator-alist'.
7966 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7968 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7970 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7972 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7974 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7976 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7978 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7979 Fixed problem when `elmo-pop3-use-uidl' is nil.
7980 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7982 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7984 * elmo-version.el (elmo-version): Up to 2.5.2.
7986 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7988 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7990 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7991 (elmo-pop3-msgdb-create-as-numlist): Use it.
7993 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7994 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7996 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7997 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7999 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8001 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8002 when elmo-mark-as-read is called with second argument nil.
8004 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
8006 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8007 Moved to elmo-util.el.
8009 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8010 Moved from elmo-pipe.el
8012 * elmo-archive.el (elmo-archive-call-process): Enclose with
8015 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8016 "RFC822" (because RFC822.PEEK is obsolete).
8017 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8019 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
8021 * elmo-archive.el (elmo-archive-call-process): Don't check for
8022 the exit status when Nemacs is running.
8024 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
8026 * elmo-net.el (elmo-network-session-password-key): Don't set default to
8029 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8030 (elmo-pop3-get-spec): Set default of auth to 'user.
8032 * elmo-imap4.el (elmo-imap4-session-check):
8033 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8034 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8035 (elmo-imap4-auth-login): New function; Revival.
8036 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8037 `elmo-imap4-auth-login'.
8039 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
8041 * elmo2.el (toplevel): Move `product-provide' declare.
8042 * mmelmo.el (toplevel): Ditto.
8044 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8046 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8048 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
8050 * elmo-util.el (elmo-folder-get-store-type): New function.
8051 (elmo-folder-direct-copy-p): Use it.
8053 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8055 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8056 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8057 and result of `elmo-imap4-use-flag-p'.
8058 (elmo-imap4-fetch-callback-1): Set mark according to
8059 the result of `elmo-imap4-use-flag-p'.
8061 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
8063 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8064 (elmo-generic-list-folder-unread): Ditto.
8065 (elmo-folder-get-info): Ditto.
8066 (elmo-folder-set-info-max-by-numdb): Ditto.
8067 (elmo-folder-get-info-max): Ditto.
8068 (elmo-folder-get-info-length): Ditto.
8069 (elmo-folder-get-info-unread): Ditto.
8070 (elmo-folder-info-make-hashtb): Ditto.
8072 * elmo2.el: Removed above functions.
8074 2000-11-21 Kenichi OKADA <okada@opaopa.org>
8076 * elmo-imap4.el (toplevel): Require 'ssl.
8077 Add autoload 'starttls.
8078 * elmo-pop3.el (toplevel): Ditto.
8079 * elmo-nntp.el (toplevel): Ditto.
8081 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8083 * elmo-imap4.el (toplevel): defun at compile time.
8084 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8085 sasl-next-step, sasl-step-data, sasl-step-set-data.
8086 * elmo-pop3.el (toplevel): Ditto.
8088 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8090 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8092 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8094 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8096 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8097 and `elmo-pop-auth-apop'.
8099 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8101 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8103 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8105 * elmo-pop3.el (elmo-network-authenticate-session): Split
8106 encoded response value.
8108 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8110 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8111 `elmo-pop3-force-login'.
8112 Redefine `sasl-mechanisms'.
8113 * elmo-vars.el (elmo-pop3-force-login): Ditto.
8115 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8117 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8118 Delete `elmo-imap4-authenticator-alist'.
8119 (elmo-imap4-auth-cram-md5): Delete.
8120 (elmo-imap4-auth-digest-md5): Delete.
8122 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8124 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8125 (elmo-pop3-auth-scram-md5): Ditto.
8126 (elmo-pop3-auth-cram-md5): Ditto.
8128 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8130 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8131 Delete `elmo-pop3-authenticator-alist'.
8133 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8135 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8137 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8140 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
8142 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8144 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
8146 * elmo-nntp.el (elmo-nntp-get-folders-info):
8147 Fixed problem when '\' character is contained in user-id.
8148 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8151 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
8153 * elmo-imap4.el (elmo-imap4-delete-folder):
8154 Send "close" before "delete" (Use commented out line).
8155 (elmo-imap4-rename-folder): Ditto.
8157 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8158 folder string itself.
8159 (elmo-dop-list-deleted): New function.
8160 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8163 * elmo-util.el (elmo-string-rassoc-all): New function.
8165 * elmo-version.el (elmo-version): Up to 2.5.1.
8167 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
8169 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8171 * elmo-internal.el (elmo-internal-search): Fix last change.
8173 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
8175 * elmo-internal.el (elmo-internal-search): Rewrite.
8176 (Fixed problem which is pointed out by Akihiro MOTOKI
8177 <motoki@da.jp.nec.com>)
8179 * elmo-version.el (elmo-version): Up to 2.5.0.
8181 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8183 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8185 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8187 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8188 non-nil, make hierarchy.
8190 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
8192 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8193 `elmo-pop3-use-uidl' must be bound to nil.
8194 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8196 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
8198 * elmo-util.el (elmo-copy-file): Don't cause an error after
8199 `add-name-to-file' failed.
8201 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8202 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8204 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
8206 * elmo-version.el (elmo-version): Up to 2.3.93.
8208 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
8210 * elmo-util.el (elmo-flatten): New function.
8212 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
8214 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8216 * elmo-cache.el (toplevel): Ditto.
8217 * elmo-database.el (toplevel): Ditto.
8218 * elmo-date.el (toplevel): Ditto.
8219 * elmo-dop.el (toplevel): Ditto.
8220 * elmo-filter.el (toplevel): Ditto.
8221 * elmo-imap4.el (toplevel): Ditto.
8222 * elmo-internal.el (toplevel): Ditto.
8223 * elmo-localdir.el (toplevel): Ditto.
8224 * elmo-localnews.el (toplevel): Ditto.
8225 * elmo-maildir.el (toplevel): Ditto.
8226 * elmo-msgdb.el (toplevel): Ditto.
8227 * elmo-multi.el (toplevel): Ditto.
8228 * elmo-net.el (toplevel): Ditto.
8229 * elmo-nntp.el (toplevel): Ditto.
8230 * elmo-pipe.el (toplevel): Ditto.
8231 * elmo-pop3.el (toplevel): Ditto.
8232 * elmo-util.el (toplevel): Ditto.
8233 * elmo-vars.el (toplevel): Ditto.
8234 * elmo2.el (toplevel): Ditto.
8235 * mmelmo-imap4.el (toplevel): Ditto.
8236 * mmelmo.el (toplevel): Ditto.
8238 * elmo-version.el (elmo-version): Move to top.
8240 * elmo-cache.el (toplevel): Fixed multiple Author header format.
8241 * elmo-imap4.el (toplevel): Ditto.
8242 * elmo-localdir.el (toplevel): Ditto.
8243 * elmo-msgdb.el (toplevel): Ditto.
8244 * elmo-nntp.el (toplevel): Ditto.
8245 * elmo-pop3.el (toplevel): Ditto.
8246 * elmo-version.el (toplevel): Ditto.
8248 * elmo-localnews.el (toplevel): Added Keyword header.
8250 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
8252 * elmo-version.el (product-version-as-string): Defined using
8256 * elmo-localdir.el (toplevel): Updated copyright notice.
8257 * elmo-version.el (toplevel): Ditto.
8258 * elmo-msgdb.el (toplevel): Ditto.
8259 * elmo-imap4.el (toplevel): Ditto.
8260 * elmo-nntp.el (toplevel): Ditto.
8261 * elmo-pop3.el (toplevel): Ditto.
8263 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
8265 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8268 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8269 parameter value (It sometimes contains raw kanji).
8271 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8273 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8274 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8276 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8278 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8280 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8282 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8283 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8285 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8287 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8288 value if selecting folder succceeded.
8289 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8291 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8293 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8296 * elmo-util.el (elmo-string-matched-member): New function.
8298 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8300 * elmo-util.el (elmo-unintern): New macro.
8301 (elmo-number-set-member): Fixed docstring.
8303 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8306 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8308 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8309 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8311 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8313 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8316 Return non-nil if selecting folder succeeded.
8317 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8319 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8321 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8322 `file-name-completion' returns t.
8323 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8324 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8325 directory if it does not exist.
8326 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8329 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8331 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8332 enclosure (It's harmful in unplugged status).
8334 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8336 * mmelmo-1.el: Removed.
8338 * mmelmo-2.el: Ditto.
8340 * mmelmo-imap4-1.el: Ditto.
8342 * mmelmo-imap4-2.el: Ditto.
8344 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8346 * mmelmo.el: Merged mmelmo-2.el.
8348 * elmo-version.el (elmo-version): Up to 2.3.92.
8350 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8352 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8353 elmo-update-number): Remove last period in "...done." message.
8354 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8356 * elmo-cache.el (elmo-cache-expire-by-size,
8357 elmo-cache-get-sorted-cache-file-list,
8358 elmo-cache-msgdb-create-as-numlist): Ditto.
8359 * elmo-dop.el (elmo-dop-save-pending-messages,
8360 (elmo-dop-flush-pending-append-operations): Ditto.
8361 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8362 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8363 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8364 (elmo-localdir-pack-number): Ditto.
8365 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8366 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8367 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8368 mime-write-entity-content): Ditto.
8369 * pldap.el (ldap-search-basic): Ditto.
8371 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8373 * elmo-version.el (elmo-version): Up to 2.3.91.
8375 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8376 Only when filter is 'last'.
8378 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8379 (elmo-condition-parse-search-value): Use it.
8380 (elmo-read-search-condition-internal): Quote value only when
8383 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8385 * elmo2.el (elmo-generic-folder-diff): Fix.
8387 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8389 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8390 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8391 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8392 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8393 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8394 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8396 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8398 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8401 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8403 * elmo-version.el (elmo-version): Up to 2.3.90.
8405 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8406 (elmo-imap4-list-folder-important): Ditto.
8408 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8410 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8412 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8414 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8416 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8418 * elmo-nntp.el (elmo-network-initialize-session):
8419 Add starttls negotiation.
8421 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8423 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8425 (elmo-network-setup-session): Define.
8426 Call `elmo-nntp-send-mode-reader' when session opened.
8428 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8430 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8432 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8434 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8435 an invalid SPACE character ahead of `SEARCH' command. Move
8436 a valid SPACE character following `SEARCH' from conditional
8437 `format' arguments to control-strings.
8439 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8441 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8444 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8446 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8448 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8449 `w32-get-true-file-link-count' as t.
8451 * elmo-imap4.el (elmo-imap4-read): Abolished.
8452 (Renamed to `elmo-read' and moved to elmo-util.el)
8453 All other related portions are changed.
8455 * elmo-util.el (elmo-read): New function.
8456 (elmo-condition-parse-search-value): Use it.
8458 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8460 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8462 * elmo-nntp.el (elmo-nntp-session): Define.
8463 (elmo-nntp-setting): Abolished.
8464 All other related portions are changed.
8465 (elmo-nntp-get-server-command): Changed argument.
8466 (elmo-nntp-set-server-command): Ditto.
8467 (elmo-nntp-xover-p): Ditto.
8468 (elmo-nntp-set-xover): Ditto.
8469 (elmo-nntp-listgroup-p): Ditto.
8470 (elmo-nntp-set-listgroup): Ditto.
8471 (elmo-nntp-list-active-p): Ditto.
8472 (elmo-nntp-set-list-active): Ditto.
8473 (elmo-nntp-xhdr-p): Ditto.
8474 (elmo-nntp-set-xhdr): Ditto.
8475 (elmo-nntp-flush-connection): Abolished.
8476 (elmo-nntp-get-connection): Abolished.
8477 (elmo-nntp-get-session): New function.
8478 (elmo-network-initialize-session): Defined.
8479 (elmo-network-authenticate-session): Ditto.
8480 (elmo-nntp-send-mode-reader): Changed argument.
8481 (elmo-nntp-send-command): Changed argument.
8482 All other related portions are changed.
8483 (elmo-nntp-read-response): Ditto.
8484 (elmo-nntp-read-raw-response): Ditto.
8485 (elmo-nntp-read-contents): Ditto.
8486 (elmo-nntp-read-body): Ditto.
8487 (elmo-nntp-goto-folder): Abolished.
8488 (elmo-nntp-select-group): New function.
8489 All other related portions are changed.
8490 (This function substitutes `elmo-nntp-goto-folder')
8491 (elmo-nntp-msgdb-create-by-header): Rewrite.
8492 (elmo-nntp-get-overview): Eliminated.
8493 (elmo-nntp-get-message): Ditto.
8494 (elmo-nntp-open-connection) Abolished.
8495 (elmo-nntp-read-msg): Rewrite.
8496 (elmo-nntp-post): Ditto.
8497 (elmo-nntp-send-data): Abolished.
8498 (elmo-nntp-send-buffer): New function.
8499 (elmo-nntp-send-data-line): Define as inline function.
8500 (elmo-nntp-get-folders-info-prepare): Use session as key.
8501 (elmo-nntp-groups-read-response): Changed argument.
8502 (elmo-nntp-retrieve-headers): Ditto.
8503 (elmo-nntp-msgdb-create-message): Ditto.
8505 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8506 when searching by 'since' or 'before'.
8508 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8510 * elmo-version.el (toplevel): Use product-version-as-string for set
8511 verstion-string, if defined.
8513 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8515 * elmo-util.el: Doc fixes.
8517 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8519 * elmo-archive.el (toplevel): Use product-provide.
8520 * elmo-cache.el (toplevel): Ditto.
8521 * elmo-database.el (toplevel): Ditto.
8522 * elmo-date.el (toplevel): Ditto.
8523 * elmo-dop.el (toplevel): Ditto.
8524 * elmo-filter.el (toplevel): Ditto.
8525 * elmo-imap4.el (toplevel): Ditto.
8526 * elmo-internal.el (toplevel): Ditto.
8527 * elmo-localdir.el (toplevel): Ditto.
8528 * elmo-localnews.el (toplevel): Ditto.
8529 * elmo-maildir.el (toplevel): Ditto.
8530 * elmo-msgdb.el (toplevel): Ditto.
8531 * elmo-multi.el (toplevel): Ditto.
8532 * elmo-net.el (toplevel): Ditto.
8533 * elmo-nntp.el (toplevel): Ditto.
8534 * elmo-pipe.el (toplevel): Ditto.
8535 * elmo-pop3.el (toplevel): Ditto.
8536 * elmo-util.el (toplevel): Ditto.
8537 * elmo-vars.el (toplevel): Ditto.
8538 * elmo2.el (toplevel): Ditto.
8539 * mmelmo-1.el (toplevel): Ditto.
8540 * mmelmo-2.el (toplevel): Ditto.
8541 * mmelmo-imap4-1.el (toplevel): Ditto.
8542 * mmelmo-imap4-2.el (toplevel): Ditto.
8543 * mmelmo-imap4.el (toplevel): Ditto.
8544 * mmelmo.el (toplevel): Ditto.
8546 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8548 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8549 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8551 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8553 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8555 (elmo-multi-split-number-alist): Ditto.
8557 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8559 * elmo-version.el: New file. Use product.el.
8560 * elmo2.el: Add (require 'elmo-version).
8561 * elmo-vars.el (elmo-appname, elmo-version): Move to
8564 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8566 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8567 `elmo-msgdb-expand-path'.
8568 (elmo-msgdb-load): Ditto.
8569 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8570 (elmo-generic-list-folder-unread): Rewrite.
8571 (elmo-generic-list-folder-important): Changed argument.
8572 (elmo-list-folder-unread): Ditto.
8573 (elmo-list-folder-important): Ditto.
8574 (elmo-folder-diff): Rewrite.
8575 (elmo-generic-folder-diff): New function.
8576 (elmo-multi-get-number-alist-list): Abolished
8577 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8578 (elmo-multi-folder-diff): Moved to elmo-multi.el
8579 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8581 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8582 `elmo-msgdb-expand-path'.
8583 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8584 (elmo-pop3-read-msg): Ditto.
8585 (elmo-pop3-delete-msgs): Ditto.
8586 (elmo-pop3-folder-diff): New alias.
8588 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8589 `elmo-msgdb-expand-path'.
8590 (elmo-pipe-list-folder-unread): Changed arguments.
8591 (elmo-pipe-list-folder-important): Ditto.
8592 (elmo-pipe-folder-diff): New alias.
8594 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8595 `elmo-msgdb-expand-path'.
8596 (elmo-nntp-max-of-folder): Ditto.
8597 (elmo-nntp-msgdb-create): Ditto.
8598 (elmo-nntp-delete-msgs): Ditto.
8599 (elmo-nntp-folder-diff): New alias.
8601 * elmo-multi.el (elmo-multi-folder-diff): New function.
8602 (elmo-multi-split-mark-alist): Ditto.
8603 (elmo-multi-split-number-alist): Ditto.
8604 (elmo-multi-mark-alist-list): Abolished (Renamed to
8605 elmo-multi-split-mark-alist).
8606 (elmo-multi-list-folder-unread): Rewrite.
8607 (elmo-multi-list-folder-important): Ditto.
8608 (elmo-multi-list-folder): Set `spec' as 1st argument for
8609 `elmo-msgdb-expand-path'.
8610 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8611 instead of `elmo-multi-get-number-alist-list'.
8613 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8614 If 1st argument is not string, treat as spec.
8615 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8616 `elmo-msgdb-expand-path'.
8617 (elmo-msgdb-flist-load): Ditto.
8618 (elmo-msgdb-flist-save): Ditto.
8619 (elmo-msgdb-delete-path): Ditto.
8620 (elmo-msgdb-rename-path): Ditto.
8622 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8623 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8624 (elmo-maildir-delete-mark-msgs): Ditto.
8625 (elmo-maildir-msgdb-create): Ditto.
8626 (elmo-maildir-read-msg): Ditto.
8627 (elmo-maildir-delete-msgs): Ditto.
8628 (elmo-maildir-list-folder-subr): Ditto.
8629 (elmo-maildir-search): Ditto.
8630 (elmo-maildir-get-msg-filename): Ditto.
8631 (elmo-maildir-pack-number): Ditto.
8632 (elmo-maildir-folder-diff): New alias.
8634 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8636 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8637 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8638 (elmo-localdir-folder-diff): New alias.
8640 * elmo-internal.el (elmo-internal-list-folder-subr):
8641 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8642 (elmo-internal-list-folder-by-location): Ditto.
8643 (elmo-internal-msgdb-create): Ditto.
8644 (elmo-internal-delete-msgs): Ditto.
8645 (elmo-internal-read-msg): Ditto.
8646 (elmo-internal-folder-diff): New alias.
8648 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8649 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8650 `elmo-msgdb-expand-path'.
8651 (elmo-imap4-list-folder-unread): Changed arguments.
8652 (elmo-imap4-list-folder-important): Ditto.
8654 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8655 (elmo-filter-list-folder-important): Ditto.
8656 (elmo-filter-folder-diff): New function.
8658 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8660 * elmo-cache.el (elmo-cache-list-folder):
8661 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8662 (elmo-cache-copy-msgs): Ditto.
8663 (elmo-cache-folder-diff): New alias.
8665 * elmo-archive.el (elmo-archive-list-folder-subr):
8666 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8667 (elmo-archive-get-archive-name): Ditto.
8668 (elmo-archive-create-file): Ditto.
8669 (elmo-archive-append-msg): Ditto.
8670 (elmo-archive-copy-msgs): Ditto.
8671 (elmo-archive-copy-msgs-froms): Ditto.
8672 (elmo-archive-get-msg-filename): Ditto.
8673 (elmo-archive-folder-diff): New alias.
8675 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8677 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8678 (elmo-pop3-stream-type-alist): New variable.
8679 (elmo-nntp-stream-type-alist): New variable.
8681 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8682 (elmo-kill-buffer): Ditto.
8683 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8684 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8685 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8686 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8687 (elmo-imap4-get-spec): Take into account
8688 `elmo-imap4-stream-type-alist'.
8690 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8692 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8693 (elmo-nntp-list-folders-get-cache): Ditto.
8695 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8697 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8698 character before 'uid'.
8700 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8702 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8704 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8706 * elmo-util.el (elmo-number-set-member): New function.
8707 (elmo-number-set-append-list): Ditto.
8708 (elmo-number-set-append): Ditto.
8710 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8711 Use `elmo-number-set-member'.
8712 (elmo-living-messages): Ditto.
8713 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8714 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8716 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8717 (elmo-imap4-add-to-cont-list): Abolished.
8718 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8719 instead of elmo-imap4-add-to-cont-list.
8721 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8722 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8724 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8726 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8728 * elmo-util.el (elmo-condition-parse-search-value):
8731 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8733 * elmo-util.el (elmo-condition-find-key-internal): New function.
8734 (elmo-condition-find-key): Ditto.
8736 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8737 (elmo-msgdb-search-internal): Ditto.
8738 (elmo-msgdb-search): Ditto.
8740 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8742 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8743 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8745 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8746 (elmo-nntp-search-primitive): Fixed problem when condition is
8749 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8751 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8752 (elmo-nntp-xhdr-p): New macro.
8753 (elmo-nntp-set-xhdr): Ditto.
8754 (elmo-nntp-parse-xhdr-response): New function.
8755 (elmo-nntp-retrieve-field): Ditto.
8756 (elmo-nntp-search-primitive): Ditto.
8757 (elmo-nntp-search): Implemented.
8759 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8761 * elmo-archive.el (elmo-archive-search): Set all number list to
8762 `elmo-archive-field-condition-match'
8764 * elmo-localdir.el (elmo-localdir-search): Likewise.
8766 * elmo-maildir.el (elmo-maildir-search): Likewise.
8768 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8770 * elmo-msgdb.el (elmo-living-messages): New function.
8771 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8772 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8773 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8774 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8775 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8776 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8777 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8778 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8779 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8780 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8781 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8783 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8785 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8787 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8789 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8791 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8792 arguments for `SEARCH' command.
8793 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8794 All other related portions are changed.
8796 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8798 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8799 (elmo-list-folder-unread): Rewrite.
8800 (elmo-list-folder-important): Ditto.
8802 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8803 (elmo-condition-parse-error): New inline function.
8804 (elmo-read-search-condition): New function.
8805 (elmo-read-search-condition-internal): Ditto.
8806 (elmo-parse-search-condition): Rewrite.
8807 (elmo-condition-parse): New function.
8808 (elmo-condition-parse-or-expr): Ditto.
8809 (elmo-condition-parse-and-expr): Ditto.
8810 (elmo-condition-parse-primitive): Ditto.
8811 (elmo-condition-parse-search-value): Ditto.
8812 (elmo-buffer-field-primitive-condition-match): Ditto.
8813 (elmo-buffer-field-condition-match): Rewrite.
8814 (elmo-file-field-condition-match): Ditto.
8816 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8817 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8819 * elmo-internal.el (elmo-internal-search): Set `number' and
8820 `number-list' argument of `elmo-file-field-condition-match'.
8822 * elmo-maildir.el (elmo-maildir-search): Ditto.
8824 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8825 `msgdb' as argument instead of `mark-alist'.
8826 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8829 * elmo-multi.el: Likewise.
8831 * elmo-pipe.el: Likewise.
8833 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8834 (elmo-imap4-search-internal): Rewrite.
8835 (elmo-imap4-search): Ditto.
8837 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8838 (elmo-filter-list-folder-unread): Ditto.
8839 (elmo-filter-list-folder-important): Ditto.
8840 (elmo-filter-search): Rewrite.
8842 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8843 `number-list' argument of `elmo-file-field-condition-match'.
8844 (elmo-cache-search): Ditto.
8846 * elmo-localdir.el: Likewise.
8848 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8849 number-list and pass it to `elmo-buffer-field-condition-match'.
8850 (elmo-archive-field-condition-match): Pass `number-list' to
8851 `elmo-archive-field-condition-match'
8853 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8855 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8858 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8859 (elmo-folder-diff-async-callback-data): Ditto.
8860 (elmo-folder-diff-async): New function.
8862 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8863 (elmo-network-session-cache-key): Use it as a prefix of the session
8865 (elmo-network-open-session): Ditto.
8867 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8868 (elmo-imap4-status-callback-data): Ditto.
8869 (elmo-imap4-server-diff-async-callback): New variable.
8870 (elmo-imap4-server-diff-async-callback-data): Ditto.
8871 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8872 `elmo-imap4-status-callback-data'.
8873 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8874 `elmo-imap4-status-callback-data' as nil.
8875 (elmo-imap4-server-diff): Ditto.
8876 (elmo-imap4-server-diff-async-callback-1): New function.
8877 (elmo-imap4-server-diff-async): Ditto.
8878 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8880 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8882 * elmo-util.el (elmo-list-delete): Doc fix.
8883 (elmo-delete-lists): Abolish.
8884 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8885 instead of `elmo-delete-lists'.
8887 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8889 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8892 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8894 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8895 `elmo-imap4-literal-subr'.
8896 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8897 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8899 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8901 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8902 (elmo-archive-list-folder): Fix.
8903 (elmo-archive-max-of-folder): Fix.
8905 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8907 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8908 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8909 (elmo-localdir-append-msg): Ditto.
8910 (elmo-localdir-list-folder): Fix for `nonsort'.
8911 (elmo-localdir-list-folder-subr): Fix for `killed'.
8912 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8913 (elmo-maildir-list-folder-subr): Ditto.
8914 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8915 (elmo-archive-list-folder-subr): Ditto.
8916 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8917 (elmo-internal-list-folder-subr): Ditto.
8919 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8921 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8923 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8925 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8927 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8929 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8930 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8932 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8934 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8935 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8937 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8939 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8941 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8942 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8943 before STORE command.
8945 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8947 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8949 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8950 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8952 (elmo-imap4-list-folders): Removed unused local variable.
8953 (elmo-network-initialize-session): Ditto.
8954 (elmo-imap4-delete-msg-by-id): Ditto.
8955 (elmo-imap4-parse-fetch): Ditto.
8956 (elmo-imap4-copy-msgs): Ditto.
8957 Use `dst-spec' instead of `dst-folder'.
8958 (elmo-network-authenticate-session): Check authenticate type `plain'.
8960 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8962 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8964 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8965 `elmo-imap4-response-value'.
8966 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8968 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8970 * elmo-imap4.el (elmo-imap4-send-command):
8971 Cause elmo-imap4-bye-error when current response is BYE.
8972 (elmo-imap4-arrival-filter): Changed greeting response value.
8974 * elmo2.el (elmo-imap4-bye-error): Define.
8976 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8977 (elmo-imap4-server-diff): Ditto.
8978 (elmo-imap4-response-bye-p): New macro.
8979 (elmo-imap4-response-error-text): Get text from BYE response.
8980 (elmo-imap4-read-response): Return if BYE response.
8981 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8982 (elmo-imap4-folder-exists-p): Ditto.
8983 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8984 (elmo-imap4-parse-bye): New function.
8985 (elmo-imap4-parse-response): Remove needless let.
8986 Call `elmo-imap4-parse-bye'.
8988 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8990 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8991 the mailbox does not exist.
8992 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8994 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8996 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8998 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
9000 * elmo-vars.el (elmo-search-mime-charset): Abolished.
9002 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9003 (elmo-network-initialize-session-buffer): Defined.
9005 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9007 (mmelmo-imap4-get-mime-entity): Rewrite.
9009 * elmo2.el (elmo-error): Capitalize error message.
9011 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9012 (elmo-network-session-buffer): New macro.
9013 (elmo-network-open-session): Use it.
9015 * elmo-imap4.el: Rewrite.
9017 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9019 * elmo-nntp.el (Toplevel): Require 'elmo-net.
9021 2000-08-27 Daiki Ueno <ueno@unixuser.org>
9023 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9024 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9025 (elmo-imap4-create-msgdb-from-overview-string): Use
9026 `elmo-msgdb-create-overview-from-buffer'.
9028 2000-08-26 Daiki Ueno <ueno@unixuser.org>
9030 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9031 (elmo-imap4-default-hierarchy-delimiter): New variable.
9032 (elmo-imap4-list-folders): Use it.
9034 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
9036 * elmo-net.el (elmo-network-open-session): Add user and
9037 stream-type for process-buffer name.
9039 * elmo-pop3.el (elmo-network-initialize-session): Call
9040 buffer-disable-undo.
9042 * elmo-imap4.el (elmo-network-initialize-session):
9043 Set current-buffer as an argument for `buffer-disable-undo'.
9045 * elmo-pop3.el (elmo-network-close-session): Don't use
9048 * elmo-vars.el (elmo-default-pop3-authenticate-type):
9049 Set default as 'user.
9051 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9053 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9054 and `elmo-imap4-flush-connection'.
9056 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9057 (elmo-pop3-get-spec): Assume auth as symbol.
9058 (elmo-open-network-stream): Moved to `elmo-net'.
9060 * elmo-pop3.el (toplevel): Require 'elmo-net.
9061 Define `sasl-cram-md5' to silence byte compilier.
9062 (elmo-pop3-connection-cache) Abolished.
9063 (elmo-pop3-authenticator-alist) New variable.
9064 (elmo-pop3-session): Define.
9065 (elmo-pop3-connection-get-process): Abolished.
9066 (elmo-pop3-connection-get-buffer): Ditto.
9067 (elmo-pop3-close-connection): Ditto.
9068 (elmo-pop3-flush-connection): Ditto.
9069 (elmo-pop3-get-connection): Ditto.
9070 (elmo-pop3-get-session): New function.
9071 (Replacement for `elmo-pop3-get-connection').
9072 All other related modules are changed.
9073 (elmo-network-close-session): Define.
9074 (elmo-pop3-send-command): Abolished argument `buffer'.
9075 All other related modules are changed.
9076 (elmo-pop3-read-response): Likewise.
9077 (elmo-pop3-open-connection): Abolished.
9078 (elmo-pop3-auth-user): New function.
9079 (elmo-pop3-auth-apop): Ditto.
9080 (elmo-pop3-auth-cram-md5): Ditto.
9081 (elmo-pop3-auth-scram-md5): Ditto.
9082 (elmo-pop3-auth-digest-md5): Ditto.
9083 (elmo-network-initialize-session): Define.
9084 (elmo-network-authenticate-session): Ditto.
9085 (elmo-network-setup-session): Ditto.
9087 * elmo-imap4.el (toplevel): Require 'elmo-net.
9088 (elmo-imap4-session): Define.
9089 (elmo-imap4-connection-cache): Abolished.
9090 (elmo-imap4-password-key): Ditto.
9091 (elmo-imap4-flush-connection): Ditto.
9092 (elmo-imap4-get-connection): Ditto.
9093 All other related modules are changed.
9094 (elmo-imap4-get-session): New function
9095 (Replacement for `elmo-imap4-get-connection').
9096 (elmo-imap4-read-response): Abolished argument `buffer'.
9097 All other related modules are changed.
9098 (elmo-imap4-send-command): Likewise.
9099 (elmo-imap4-select-folder): Abolished.
9100 All other related modules are changed.
9101 (elmo-imap4-select-mailbox): New function.
9102 (Replacement for `elmo-imap4-select-folder').
9103 (elmo-imap4-auth-login): Simplify.
9104 (Assume current buffer as process buffer)
9105 (elmo-imap4-auth-cram-md5): Ditto.
9106 (elmo-imap4-auth-digest-md5): Ditto.
9107 (elmo-imap4-login): Ditto.
9108 (elmo-imap4-open-connection): Abolished.
9109 (elmo-imap4-open-connection-1): Abolished.
9110 (elmo-network-initialize-sessoin): Define.
9111 (elmo-network-authenticate-session): Ditto.
9112 (elmo-network-setup-session): Ditto.
9114 * elmo-net.el: New module.
9116 2000-08-22 Daiki Ueno <ueno@unixuser.org>
9118 * elmo-util.el (elmo-define-error): New function.
9120 * elmo2.el (elmo-error): Define.
9121 (elmo-open-error): Define.
9122 (elmo-authenticate-error): Define.
9124 * elmo-imap4.el (elmo-imap4-error): Abolish.
9125 (elmo-imap4-error-type): Abolish.
9126 (elmo-imap4-error-process): Abolish.
9127 (elmo-imap4-error-message): Abolish
9128 (elmo-imap4-list-folders): Don't quote lambda.
9129 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9130 (elmo-imap4-parse-namespace): Ditto.
9131 (elmo-imap4-open-connection): Rewrite.
9132 (elmo-imap4-open-connection-1): Simplified (authenticate only).
9133 (elmo-imap4-get-connection): Abolish local variable `result'.
9135 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
9137 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9138 wrong-type-argument error when auth is nil.
9140 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
9142 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9143 (elmo-default-nntp-stream-type): Ditto.
9144 (elmo-default-pop3-stream-type): Ditto.
9145 (elmo-network-stream-type-alist): Ditto.
9146 (elmo-default-imap4-ssl): Abolished.
9147 (elmo-default-nntp-ssl): Ditto.
9148 (elmo-default-pop3-ssl): Ditto.
9150 * elmo-util.el: (toplevel): Removed needless requires.
9151 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9152 (elmo-open-network-stream): Open network stream according to
9153 the value of `elmo-network-stream-type-alist'.
9154 (elmo-get-network-stream-type): New function.
9155 (elmo-network-stream-type-spec-string): New macro.
9156 (elmo-network-stream-type-symbol): Ditto.
9157 (elmo-network-stream-type-function): Ditto.
9159 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9160 network-stream-type. All other related portions are changed.
9161 (elmo-pop3-open-connection): Ditto.
9163 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9164 network-stream-type. All other related portions are changed.
9166 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9167 network-stream-type.All other related portions are changed.
9168 (elmo-imap4-error): New macro.
9169 (elmo-imap4-error-type): Ditto.
9170 (elmo-imap4-error-process): Ditto.
9171 (elmo-imap4-error-message): Ditto.
9172 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9173 (elmo-imap4-auth-cram-md5): Ditto.
9174 (elmo-imap4-auth-digest-md5): Ditto.
9175 (elmo-imap4-login): Ditto.
9176 (elmo-imap4-open-connection): Remove password entry if authentication
9178 (elmo-imap4-user-at-host): Abolished.
9179 (elmo-imap4-password-key): New buffer local variable.
9180 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9181 using protocol, port, auth and stream-type.
9183 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9185 2000-08-13 Daiki Ueno <ueno@unixuser.org>
9187 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9189 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9191 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9192 (elmo-imap4-authenticator-alist): New variable.
9193 (elmo-imap4-open-connection-1): Rename from
9194 elmo-imap4-open-connection.
9195 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9196 only wraps elmo-imap4-open-connection-1.
9197 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9199 (elmo-imap4-auth-login): New function.
9200 (elmo-imap4-auth-cram-md5): New function.
9201 (elmo-imap4-auth-digest-md5): New function.
9202 (elmo-imap4-login): New function.
9204 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9206 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9209 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9211 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9213 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
9215 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9217 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
9219 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9220 for server responses, quote `*' regardless of where it appears.
9222 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9224 * elmo-maildir.el (elmo-maildir-commit): New alias.
9226 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9228 * elmo-util.el (elmo-display-progress):
9229 Use `progress-feedback-with-label'.
9231 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
9233 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9234 (elmo-imap4-non-atom-char-regex): Ditto.
9235 (elmo-imap4-non-text-char-regex): Ditto.
9236 (elmo-imap4-literal-threshold): Ditto.
9237 (elmo-imap4-atom-p): New function.
9238 (elmo-imap4-quotable-p): Ditto.
9239 (elmo-imap4-nil): Ditto.
9240 (elmo-imap4-atom): Ditto.
9241 (elmo-imap4-quoted): Ditto.
9242 (elmo-imap4-literal-subr): Ditto.
9243 (elmo-imap4-literal): Ditto.
9244 (elmo-imap4-buffer-literal): Ditto.
9245 (elmo-imap4-string-subr): Ditto.
9246 (elmo-imap4-string): Ditto.
9247 (elmo-imap4-buffer-string): Ditto.
9248 (elmo-imap4-astring-subr): Ditto.
9249 (elmo-imap4-astring): Ditto.
9250 (elmo-imap4-buffer-astring): Ditto.
9251 (elmo-imap4-nstring): Ditto.
9252 (elmo-imap4-buffer-nstring): Ditto.
9253 (elmo-imap4-mailbox): New alias.
9254 (elmo-imap4-field-body): Ditto.
9255 (elmo-imap4-userid): Ditto.
9256 (elmo-imap4-password): Ditto.
9257 (elmo-imap4-format-quoted): New function.
9258 (elmo-imap4-send-command): Rewritten. Accept a list of command
9259 arguments and handle "atom", "quoted" and "literal" string here.
9260 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9261 `elmo-imap4-send-command'.
9262 (elmo-imap4-folder-exists-p): Likewise.
9263 (elmo-imap4-create-folder): Likewise.
9264 (elmo-imap4-delete-folder): Likewise.
9265 (elmo-imap4-rename-folder): Likewise.
9266 (elmo-imap4-max-of-folder): Likewise.
9267 (elmo-imap4-check-validity): Likewise.
9268 (elmo-imap4-sync-validity): Likewise.
9269 (elmo-imap4-server-diff): Likewise.
9270 (elmo-imap4-select-folder): Likewise.
9271 (elmo-imap4-copy-msgs): Likewise.
9272 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9273 (elmo-imap4-mark-set-on-msgs): Likewise.
9274 (elmo-imap4-read-part): Likewise.
9275 (elmo-imap4-read-msg): Likewise.
9276 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9277 `elmo-imap4-password' for `elmo-imap4-send-command'.
9278 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9279 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9280 `elmo-imap4-buffer-literal'.
9281 (elmo-imap4-append-msg): Likewise.
9283 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9284 `delete' for removing dead connection from the connection cache.
9285 Move deletion of the process buffer after that.
9286 (elmo-imap4-list): Change `defsubst' to `defun'.
9287 (elmo-imap4-commit): Make error message verbose.
9288 (elmo-imap4-search): Ditto.
9289 (elmo-imap4-list): Ditto.
9290 (elmo-imap4-select-folder): Ditto.
9291 (elmo-imap4-copy-msgs): Ditto.
9292 (elmo-imap4-delete-msg-by-id): Ditto.
9293 (elmo-imap4-append-msg-by-id): Ditto.
9294 (elmo-imap4-append-msg): Ditto.
9296 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9298 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9299 when dired is used on XEmacs.
9301 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9303 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9304 instead of `append'.
9305 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9306 `elmo-plugged-p' directly.
9307 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9308 of `elmo-plugged-p' directly.
9310 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9311 Eliminate unused variable. Use `memq' for checking a process status.
9312 Use `cons' instead of `append' for updating the connection cache.
9313 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9314 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9316 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9318 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9319 `elmo-imap4-read-point' exactly.
9321 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9322 the local variable `folder' to `mailbox'.
9323 Rename the argument `fld' to `folder'.
9325 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9327 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9328 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9330 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9332 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9333 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9334 (elmo-pop3-uidl-number-hash): Ditto.
9335 (elmo-pop3-size-hash): Ditto.
9336 (elmo-pop3-uidl-done): Ditto.
9337 (elmo-pop3-list-done): Ditto.
9338 (elmo-pop3-connection-get-process): New defmacro.
9339 (elmo-pop3-connection-get-buffer): Ditto.
9340 (elmo-pop3-close-connection): Delete buffer and process.
9341 (elmo-pop3-flush-connection): Don't delete buffer and process.
9342 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9343 Setup UIDL and size hash.
9344 (elmo-pop3-send-command-no-erase): Deleted
9345 (elmo-pop3-send-command): Added optional argument `no-erase'.
9346 (elmo-pop3-parse-uidl-response): New function.
9347 (elmo-pop3-parse-list-response): Set size hash.
9348 (elmo-pop3-list-location): New function.
9349 (elmo-pop3-list-by-uidl-subr): Ditto.
9350 (elmo-pop3-list-by-list): Ditto.
9351 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9352 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9353 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9354 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9355 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9357 (elmo-pop3-uidl-to-number): New function.
9358 (elmo-pop3-number-to-uidl): Ditto.
9359 (elmo-pop3-number-to-size): Ditto.
9360 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9361 Set number by use of uidl.
9362 (elmo-pop3-msgdb-create-message): Likewise.
9363 Set size, loc-alist in msgdb.
9364 (elmo-pop3-read-msg): Set number by use of uidl.
9365 Added optional argument `msgdb'.
9366 (elmo-pop3-delete-msg): Ditto.
9367 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9368 (elmo-pop3-commit): Close connection.
9370 * elmo-pipe.el (elmo-pipe-max-of-folder):
9371 Bind `elmo-pop3-use-uidl' as nil.
9372 (elmo-pipe-drain): Ditto.
9375 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9376 (elmo-msgdb-overview-entity-set-size): New defsubst.
9378 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9380 * elmo-vars.el (elmo-use-killed-list): New variable
9381 (Renamed from `elmo-nntp-use-killed-list').
9382 (elmo-nntp-use-killed-list): Eliminated.
9384 * elmo-msgdb.el (elmo-msgdb-expand-path):
9385 Changed expanding msgdb path for elmo-multi.
9387 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9388 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9389 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9390 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9391 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9392 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9393 (toplevel): Deleted time-stamp line.
9395 * elmo2.el (elmo-clear-killed ): Defined as function
9396 (Abolished defining as a backend function).
9397 All other related modules are changed.
9399 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9401 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9403 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9405 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9407 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9409 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9411 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9413 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9414 asynchronous folder check.
9416 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9418 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9419 `elmo-nntp-use-killed-list'.
9420 (elmo-nntp-list-folder): Use killed list.
9421 (elmo-nntp-max-of-folder): Ditto.
9422 (elmo-nntp-msgdb-create): Set killed list.
9424 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9426 * elmo2.el (elmo-clear-killed): New backend function.
9427 All other related modules are changed.
9429 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9431 * elmo-util.el (elmo-imap4-spec-folder): Use
9432 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9433 All callers changed.
9435 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9437 * mmelmo-2.el (initialize-instance):
9438 Use `mime-buffer-entity-buffer-internal' instead of
9439 `mime-entity-buffer'.
9441 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9442 (mime-entity-body): Implemented.
9443 (mime-goto-header-start-point): Deleted.
9444 (mime-goto-body-end-point): Ditto.
9445 (mime-entity-point-min): Ditto.
9446 (mime-entity-point-max): Ditto.
9447 (mime-entity-children): Ditto.
9448 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9449 instead of `mime-entity-buffer'.
9450 (mime-entity-header-buffer): Ditto.
9451 (mime-entity-body-buffer): Ditto.
9452 (mime-write-entity-content): Ditto.
9454 * pldap.el (ldap-static-if): New macro.
9455 (toplevel): Use it instead of `static-if'.
9457 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9459 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9460 included in `attrs' argument.
9462 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9464 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9466 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9467 (ldap-ldif-safe-init-char-regexp): Ditto.
9468 (ldap-ldif-safe-string-regexp): Ditto.
9469 (ldap/ldif-safe-string-p): New macro.
9470 (ldap/ldif-insert-field): Ditto.
9471 (ldap-modify): Use it.
9473 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9474 (ldap-decode-attribute): Decode only when `attr' is consp.
9475 (ldap-delete): Bind `ret'.
9476 (toplevel): Require 'cl at compile time.
9477 Removed (require 'poe) and (require 'std11).
9478 (pldap-version): Eliminated.
9479 (ldap-search-basic): Removed auth and dn binding.
9480 (ldap-ldif-field-name-regexp): New constant.
9481 (ldap-ldif-field-head-regexp): Ditto.
9482 (ldap-ldif-next-field-head-regexp): Ditto.
9483 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9484 (ldap/field-end): New function.
9485 (ldap/field-body): Use it.
9486 (ldap/collect-field): Ditto.
9487 (ldap-search-basic): Use `ldap/field-body'.
9489 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9491 * pldap.el (ldap-default-attribute-encoder): New user option.
9492 (ldap/field-body): Decode base64 string.
9493 (ldap/collect-field): Ditto.
9494 (ldap-encode-attribute): New function.
9495 (ldap-add-entries): Use it.
9496 (ldap-modify-entries): Ditto.
9497 (ldap-search-entries): Enclosed decoding function with
9498 `with-temp-buffer' and set as unibyte.
9499 (ldap-search-basic): Set process buffer as unibyte.
9501 * elmo-util.el (elmo-folder-identical-system-p):
9502 Eliminated name space checking.
9504 * pldap.el: New module.
9505 toplevel: Changed condition to detect built-in ldap feature.
9506 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9507 (ldap-add): Added error handling.
9508 (ldap-modify): Ditto.
9509 (ldap-delete): Ditto.
9511 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9513 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9514 Initialize local variables with `let'. Inline a temporary
9515 variable for the progress percentage. Sort `setq' to reduce
9516 function call in the while-loop.
9518 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9519 into the conditional branch.
9521 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9523 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9524 Move a conditional out of the while-loop.
9526 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9528 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9529 elmo-msgdb-overview-get-entity-by-number.
9530 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9533 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9535 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9536 the local variable for a packed number self descriptively.
9538 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9540 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9541 * elmo-localdir.el (elmo-localdir-pack-number): Use
9542 `elmo-msgdb-overview-get-entity' instead of
9543 `elmo-msgdb-overview-get-entity-by-number'.
9544 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9545 (elmo-msgdb-search-overview-entity): Removed.
9546 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9547 by message-id or number.
9548 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9549 instead of `elmo-msgdb-overview-get-entity-by-number'.
9551 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9553 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9554 non-nil, use hash table for overview.
9555 (elmo-hash-maximum-size): New variable.
9556 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9557 (elmo-msgdb-make-overview-hashtb): New function.
9558 (elmo-msgdb-clear-overview-hashtb): New function.
9559 (elmo-clear-hash-val): New macro.
9560 All other related modules are changed.
9562 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9564 * elmo2.el (elmo-move-msgs): If there's other message with
9565 same message-id, don't use cache.
9567 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9569 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9570 number is already packed.
9572 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9574 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9576 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9578 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9579 All other related modules are changed.
9581 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9583 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9584 of refiling failure on Maildir.
9586 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9588 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9589 decoded mime-charset with cache.
9590 (elmo-msgdb-overview-entity-get-from): Ditto.
9591 (elmo-msgdb-overview-entity-get-subject): Ditto.
9592 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9594 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9596 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9597 (elmo-remove-passwd): Fill password with 0 before erase.
9598 * elmo-vars.el (elmo-passwd-life-time): New variable.
9601 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9603 * elmo-cache.el (elmo-buffer-cache-add):
9604 Set message cache buffer as unibyte.
9606 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9608 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9611 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9613 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9614 when display is finished.
9615 (elmo-nntp-msgdb-create): Ditto.
9616 (elmo-nntp-groups-read-response): Ditto.
9617 (elmo-nntp-retrieve-headers): Ditto.
9618 (elmo-nntp-msgdb-create-message): Ditto.
9619 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9620 (elmo-pop3-msgdb-create-message): Ditto.
9622 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9624 * elmo-maildir.el (elmo-maildir-msgdb-create):
9625 Use `elmo-msgdb-sort-by-date'.
9627 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9629 * elmo2.el (elmo-read-msg-no-cache):
9630 Eliminated arguments after `outbuf'.
9631 Don't use cache even if it exists.
9632 (elmo-read-msg): Don't pass arguments after `outbuf' to
9633 `elmo-read-msg-no-cache'.
9635 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9637 * elmo-archive.el (elmo-archive-list-folders):
9638 Use `file-name-directory' if base folder does not exist.
9640 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9642 * elmo-archive.el (elmo-archive-list-folders): Don't use
9643 `file-name-directory'.
9645 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9647 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9648 If `force' is non-nil, try flushing all operation queues.
9650 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9652 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9655 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9657 * elmo-util.el (elmo-display-progress): Fixed.
9659 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9661 * elmo-util.el (elmo-display-progress): New function.
9662 All other related modules are changed.