1 2010-08-27 TAKAHASHI Kaoru <kaoru@kaisei.org>
3 * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
4 (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
5 (elmo-string-to-list, elmo-list-to-string): Ditto.
7 2010-08-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
9 * elmo-archive.el (elmo-archive-field-condition-match)
10 (elmo-archive-suffix-alist)
11 (elmo-archive-create-file, elmo-archive-folder-append-buffer)
12 (elmo-archive-folder-message-make-temp-files)
13 (elmo-archive-append-files)
14 (elmo-archive-field-condition-match): Fix indent.
16 * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
17 Avoid `args-out-of-range 0, 1' error.
19 2010-08-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
21 * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
22 (delete-backward-char X) that deletes region in Emacs 24.
23 See delete-active-region described in NEWS.
24 * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
25 * elmo-util.el (elmo-get-file-string): Ditto.
26 * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
28 2010-08-09 David Maus <dmaus@ictsoc.de>
30 * elmo.el (elmo-folder-open-internal-p): New luna method.
31 (elmo-folder-move-messages): Open source folder only if necessary.
32 * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
33 * elmo-multi.el (elmo-folder-open-internal-p): Dto.
34 * elmo-map.el (elmo-folder-open-internal-p): Dto.
35 * elmo-filter.el (elmo-folder-open-internal-p): Dto.
37 2010-08-01 David Maus <dmaus@ictsoc.de>
39 * elmo.el (elmo-folder-move-messages): Open source folder before
42 2010-04-15 David Maus <dmaus@ictsoc.de>
44 * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
47 2010-04-14 David Maus <dmaus@ictsoc.de>
49 * elmo-imap4.el (elmo-imap4-disabled-extension): New
50 variable. List of server extensions that are disabled on the
52 (elmo-imap4-session-capable-p): Honour list of disabled
55 2010-03-17 David Maus <dmaus@ictsoc.de>
57 * elmo-imap4.el (elmo-imap4-folder-list-flagged)
58 (elmo-imap4-search-internal-primitive): Pass filter type to imap
59 search when performing search for flagged messages.
61 2010-01-22 Vitaly Mayatskih <v.mayatskih@gmail.com>
63 * modb-standard.el (modb-standard-save-entity): Use
64 `modb-standard-cleanup-stale-entities' to clean up stale entity
66 * elmo-imap4.el (elmo-network-authenticate-session): Ask for
67 capabilities after login.
69 2010-01-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
71 * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
72 indent (only cosmetic fix).
74 2010-01-15 Vitaly Mayatskih <v.mayatskih@gmail.com>
76 * elmo-version.el (elmo-version): Up to 2.15.9.
78 * elmo-imap4.el (elmo-imap4-elist): New function
79 * elmo-imap4.el (elmo-imap4-parse-response): Added support for
80 ESEARCH feature (RFC4731).
81 * elmo-imap4.el (toplevel): Require time-stamp
82 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
83 elmo-imap4-read-response elmo-imap4-read-untagged
84 elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
86 * elmo-imap4.el (elmo-folder-list-messages-plugged,
87 elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
88 for full uid range on folder entering, retrieve updates only for
89 newly appeared messages.
90 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
91 elmo-imap4-read-response, elmo-imap4-read-untagged,
92 elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
93 to format-time-string.
94 * elmo-vars.el (toplevel): New custom
95 `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
96 flag for some buggy servers.
97 * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
99 2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
101 * acap.el (acap-parse-response): Fix comment-out style. Use three
102 semicolons, that should start at the left margin.
103 See. also (Info-goto-node "(elisp)Comment Tips").
104 * elmo.el (toplevel, elmo-message-match-condition)
105 (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
107 * elmo-archive.el (elmo-archive-suffix-alist)
108 (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
109 (elmo-archive-method-list)
110 (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
112 * elmo-imap4.el (toplevel)
113 (elmo-imap4-send-command, elmo-imap4-check-validity)
114 (elmo-imap4-fetch-callback-1-subr)
115 (elmo-network-initialize-session, elmo-server-diff-async)
116 (elmo-imap4-folder-diff-plugged): Ditto
117 * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
118 * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
119 * elmo-net.el (elmo-network-close-session): Ditto.
120 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
121 (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
122 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
123 * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
124 (elmo-number-set-delete)
125 (elmo-cache-get-oldest-cache-file-entity): Ditto.
127 2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
129 * elmo-version.el (elmo-version): Up to 2.15.8.
131 * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
132 `with-current-buffer' instead of `save-excursion' (for suppress
135 * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
136 instead of `int-to-string'.
137 * elmo-archive.el (elmo-archive-message-fetch-internal)
138 (elmo-archive-folder-message-make-temp-files)
139 (elmo-archive-folder-append-buffer)
140 (elmo-folder-delete-messages-internal)
141 (elmo-archive-msgdb-create-entity)
142 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
143 * elmo-util.el (elmo-cache-expire-by-age): Ditto.
144 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
145 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
146 * elmo-imap4.el (elmo-imap4-make-number-set-list)
147 (elmo-folder-list-subfolders): Ditto.
148 * elmo-localdir.el (elmo-message-file-name)
149 (elmo-folder-message-make-temp-files)
150 (elmo-localdir-msgdb-create-entity)
151 (elmo-folder-append-messages-*-localdir)
152 (elmo-folder-pack-numbers): Ditto.
153 * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
154 * elmo-map.el (elmo-location-map-key): Ditto.
155 * elmo-nntp.el (elmo-nntp-folder-postfix)
156 (elmo-nntp-folder-list-subfolders)
157 (elmo-nntp-folder-msgdb-create): Ditto.
159 * elmo.el (elmo-crosspost-message-alist-save): Don't use
160 `function' for `lambda'.
161 * elmo-archive.el (elmo-archive-folder-list-subfolders)
162 (elmo-folder-append-messages-*-archive)
163 (elmo-folder-delete-messages-internal): Ditto.
164 * elmo-date.el (elmo-replace-in-string): Ditto.
165 * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
166 (elmo-folder-list-flagged): Ditto.
167 * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
168 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
169 * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
171 2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
173 * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
174 `elmo-dop-spool-folder' was used before it was defined"; Use
177 * pldap.el (ldap/ldif-safe-string-p): macro to function.
178 * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
180 * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
181 `mapcar'; Suppress compile warning.
182 * elmo-imap4.el (elmo-network-initialize-session-buffer)
183 (elmo-imap4-search-internal-primitive): Ditto.
184 * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
185 * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
187 * elmo-imap4.el (elmo-imap4-parse-address-list)
188 (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
189 (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
190 (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
191 `(string-to-char " ")' instead of `? ', `?\ '.
193 2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
195 * pldap.el (ldap-search-entries): Don't use `function' for lambda.
196 (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
197 (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
198 `function' for lambda.
200 * modb-standard.el (modb-standard-cleanup-stale-entities): Use
201 `string-to-number' instead of `string-to-int'.
203 * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
204 instead of `save-excursion' (for suppress compile warnings).
205 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
206 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
207 (elmo-nntp-post): Ditto.
209 2009-08-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
211 * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
212 Mule-UCS (to-utf-16).
213 (utf7-utf-16-coding-system): Change preference when Mule-UCS on
216 2009-07-11 Taiki SUGAWARA <buzz.taiki@gmail.com>
218 * utf7.el (utf7-find-coding-system-without-bom): New Function.
219 (utf7-utf-16-coding-system): use no-BOM coding system.
220 (utf7-get-u16char-converter): remove workaround for BOM.
222 2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
224 * elmo-util.el (elmo-union): New function, make a union of two lists.
226 * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
227 mime-view when displaying malformed base64 attach.
229 * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
230 (removed duplicated code)
232 * modb-standard.el (modb-standard-cleanup-stale-entities): New
233 function, Remove stale entities from elmo's cache.
235 2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
237 * elmo-version.el (elmo-version): Up to 2.15.7.
239 2009-03-22 Tetsurou Okazaki <okazaki@be.to>
241 * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
242 default value to `--auto-update'.
244 2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
246 * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
247 Add `elmo-pop3-read-point' barrier.
249 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
251 * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
252 goto the previous end-point insead of the head-point, and use
253 `search-forward' instead of `re-search-forward'.
255 2008-06-30 Tetsurou Okazaki <okazaki@be.to>
257 * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
259 2008-06-30 Don Bashford <Don.Bashford@stjude.org>
261 * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
262 case-insensitive fashion.
264 2008-03-30 Tetsurou Okazaki <okazaki@be.to>
266 * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
268 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
270 * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
271 `eval-and-compile' for suppress compile warnings.
273 * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
274 instead of `defun-maybe'
276 * elmo-util.el: Add (eval-when-compile (require 'static)).
278 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
280 * mmimap.el: Remove (require 'static).
283 * elmo-flag.el: Move ';;; Code:' comment.
284 * elmo-imap4.el: Ditto.
285 * elmo-net.el: Ditto.
287 * elmo-version.el (product-provide): Fix comment.
289 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
291 * slp.el: Add (eval-when-compile (require 'cl)).
292 * elmo-date.el: Ditto.
293 * elmo-pop3.el: Ditto.
294 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
296 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
298 * modb.el (elmo-msgdb-match-condition-primitive): Use
299 `string-to-number' instead of `string-to-int'.
301 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
302 (elmo-msgdb-message-match-condition)
303 (elmo-msgdb-create-message-entity-from-buffer): Use
304 `string-to-number' instead of `string-to-int'.
306 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
307 instead of `string-to-int'.
309 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
310 instead of `string-to-int'.
312 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
313 `string-to-number' instead of `string-to-int'.
315 * elmo-nntp.el (elmo-nntp-make-msglist)
316 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
317 (elmo-nntp-create-msgdb-from-overview-string)
318 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
319 (elmo-nntp-search-primitive): Use `string-to-number' instead of
322 * elmo-net.el (elmo-net-folder-set-parameters): Use
323 `string-to-number' instead of `string-to-int'.
325 * elmo-localdir.el (elmo-localdir-list-subr): Use
326 `string-to-number' instead of `string-to-int'.
328 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
329 `string-to-number' instead of `string-to-int'.
331 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
332 instead of `string-to-int'.
334 * elmo-archive.el (elmo-archive-list-folder-subr): Use
335 `string-to-number' instead of `string-to-int'.
337 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
339 * elmo-util.el (elmo-get-passwd): Fix typo.
341 * elmo-nntp.el (elmo-nntp-get-server-command)
342 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
343 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
344 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
345 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
347 * elmo-imap4.el (elmo-imap4-debug)
348 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
349 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
350 (elmo-imap4-response-value, elmo-imap4-response-error-text)
351 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
352 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
353 (elmo-imap4-identical-system-p): New backquote style.
355 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
357 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
358 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
359 (elmo-dop-queue-arguments): Ditto.
361 * elmo-date.el (elmo-match-substring): New backquote style.
362 (elmo-match-string, elmo-match-buffer): Ditto.
363 (elmo-date-make-sortable-string): Ditto.
365 * elmo-archive.el (elmo-archive-get-method):New backquote style.
366 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
368 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
371 * elmo-net.el (elmo-network-stream-type-spec-string): New
373 (elmo-network-stream-type-symbol): Ditto.
374 (elmo-network-stream-type-feature): Ditto.
375 (elmo-network-stream-type-function): Ditto.
376 (elmo-network-session-buffer): Ditto.
378 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
379 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
380 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
381 (elmo-bind-directory, elmo-set-work-buf): Ditto.
383 * elmo.el (elmo-folder-send): New backquote style.
385 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
387 * pldap.el (ldap-static-if): New backquote style.
388 (ldap/ldif-safe-string-p): Ditto.
389 (ldap/ldif-insert-field): Ditto.
391 * elmo-version.el (elmo-version): Up to 2.15.6.
393 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
395 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
396 messages with \Deleted flag.
397 (elmo-folder-delete-messages-plugged): Ask before sending expunge
398 command if there are messages with \Deleted flag.
400 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
402 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
403 http://seclists.org/bugtraq/2007/Apr/0018.html
404 (Suggested by Tatsuya Kinoshita)
406 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
408 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
409 with \Noselect attribute.
411 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
413 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
414 hierarchical folder structure with UW-imapd.
416 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
418 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
419 when the LOGINDISABLED capability is advertised.
421 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
423 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
425 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
427 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
429 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
430 if the message entity is exists.
432 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
434 * elmo-util.el (elmo-msgdb-insert-file-header): Call
435 `elmo-delete-cr-buffer'.
437 * elmo-localdir.el (elmo-message-fetch-internal): Use
438 `insert-file-contents-as-raw-text' instead of
439 `insert-file-contents-as-binary'.
441 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
443 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
445 * elmo-imap4.el (elmo-network-initialize-session): Check to
446 retrieve a whole greeting message.
448 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
450 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
452 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
454 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
455 (elmo-progress-notify): Use it instead of `plist-get'.
457 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
459 * elmo.el (elmo-generic-folder-append-messages): Remove unused
462 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
464 * elmo-pipe.el (elmo-folder-set-plugged): Define.
466 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
468 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
469 (elmo-spam-list-spam-messages): Check it option.
471 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
473 * elmo-util.el (elmo-with-progress-display): Return the value
474 of the last form in `body'.
476 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
478 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
479 `elmo-progress-counter' as t when a query callback returns nil.
480 (elmo-progress-clear): New function.
481 (elmo-progress-done): Split into `elmo-progress-clear'.
482 (elmo-progress-notify): Update a total slot when it is nil.
483 (elmo-with-progress-display): Call `elmo-progress-clear' in
484 unwind-protect and move calling `elmo-progress-done' to outside.
486 * elmo-imap4.el (elmo-imap4-find-next-line): Call
487 `elmo-progress-notify' with :total parameter instead of
488 `elmo-progress-counter-set-total'.
490 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
492 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
494 (elmo-progress-start): Avoid updating `elmo-progress-counter'
495 when a query callback returns nil. Return a progress counter
496 instead of t whenever a start callback was called.
498 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
500 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
501 (elmo-imap4-send-command): Use it.
502 (elmo-network-initialize-session): Ditto.
503 (elmo-network-setup-session): Ditto.
504 (elmo-folder-msgdb-create-plugged): Ditto.
506 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
508 * elmo-util.el (elmo-progress-done): Fix a miss refer to
509 `elmo-progress-counter'.
511 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
513 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
514 (elsp-bsfilter-list-spam-filter): New function.
515 (elsp-bsfilter-start-list-spam): Ditto.
516 (elsp-bsfilter-read-list-spam): Ditto.
517 (elmo-spam-list-spam-messages): Use async process to display
518 progress message by each message.
520 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
522 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
523 of flushing previously inserted message contents.
525 * elmo-imap4.el (elmo-folder-search): Fix return value.
527 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
529 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
530 of reporter is enable or not.
532 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
534 * elmo-util.el (elmo-list-bigger-diff): Abolish.
535 (elmo-display-progress): Ditto.
536 (elmo-progress-counter-alist): Ditto.
537 (elmo-progress-set): Ditto.
538 (elmo-progress-clear): Ditto.
539 (elmo-progress-counter-all-value): Rename to
540 `elmo-progress-counter-total'.
541 (elmo-progress-counter-format): Rename to
542 `elmo-progress-counter-action'.
543 (elmo-progress-counter): New internal variable.
544 (elmo-progress-callback-function): Ditto.
545 (elmo-progress-counter-label): New function.
546 (elmo-progress-counter-set-total): Ditto.
547 (elmo-progress-counter-set-action): Ditto.
548 (elmo-progress-call-callback): Ditto.
549 (elmo-progress-start): Ditto.
550 (elmo-progress-done): Ditto.
551 (elmo-progress-notify): Rewrite.
552 (elmo-with-progress-display): Remove first argument
553 `condition'. Add optional argument `var' in `spec'.
555 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
556 (elmo-display-retrieval-progress-threshold): Ditto.
557 (elmo-inhibit-display-retrieval-progress): Ditto.
559 * Replace all pair of `elmo-progress-set' and
560 `elmo-progress-clear' into `elmo-with-progress-display'.
562 * Replace to call `elmo-display-progress' into pair of
563 `elmo-progress-notify' and `elmo-with-progress-display'.
565 * elmo-version.el (elmo-version): Up to 2.15.5.
567 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
569 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
572 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
574 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
575 cleanup-forms [wl:14027].
577 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
579 * elmo-flag.el (elmo-global-flag-set-internal): Use
580 `elmo-copy-file' by priority when the message is a file.
582 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
584 * elmo.el: Fix typo: disptch -> dispatch.
586 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
588 * elmo.el (elmo-file-tag): New class.
589 (elmo-append-messages-disptch-table): New constant.
590 (elmo-folder-type-p): New function.
591 (elmo-folder-append-messages): Redefine as function.
593 * elmo-null.el (elmo-folder-append-messages): Renamed from
594 `elmo-folder-append-messages'.
596 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
597 (elmo-folder-append-messages-*-maildir): Renamed from
598 `elmo-folder-append-messages'.
600 * elmo-localdir.el (elmo-localdir-folder): Inherit
602 (elmo-folder-append-messages-*-localdir): Renamed from
603 `elmo-folder-append-messages'.
605 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
606 from `elmo-folder-append-messages'.
608 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
609 `elmo-folder-append-messages'.
611 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
613 (elmo-folder-append-messages-*-filter): Ditto.
615 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
617 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
618 (elmo-folder-append-messages-*-pipe): Renamed from
619 `elmo-folder-append-messages'.
621 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
623 * elmo-file.el (elmo-file-folder): Ditto.
625 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
627 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
628 from `elmo-folder-append-messages'
630 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
632 * elmo-map.el (elmo-location-map-setup): Change an argument
633 `locations' to optional.
634 (elmo-location-map-clear): Abolish.
635 (elmo-folder-clear): Follow the API change.
637 * elmo-pop3.el (elmo-folder-clear): Ditto.
639 * elmo-pop3.el (toplevel): Require elmo-map.
640 (elmo-pop3-folder): Inherit elmo-location-map and abolish
641 location-alist slot (All other related portions are changed).
642 (elmo-pop3-folder-use-uidl): New function.
643 (elmo-folder-msgdb-create): Don't sort message entities.
644 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
645 (elmo-pop3-number-to-size): Convert return value to number.
646 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
649 * elmo-map.el: Use `location-map' as a variable name for instance
651 (elmo-location-map-setup): Return location alist.
652 (elmo-location-map-update): Ditto.
654 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
656 * elmo-map.el (elmo-location-map): New class; split location and
657 number mapping from elmo-map-folder (All other related portions
660 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
663 * elmo-version.el (elmo-version): Up to 2.15.4.
665 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
667 * elmo-vars.el (elmo-use-hardlink): New user option.
669 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
672 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
674 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
675 instead of `*-internal'. Use `elmo-with-progress-display'.
677 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
679 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
680 `elmo-spam-process-messages-as-mbox'.
682 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
684 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
686 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
687 argument BUFFER of `call-process'.
689 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
691 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
693 (elsp-bsfilter-list-spam-files): Ditto.
695 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
697 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
698 (elmo-spam-bsfilter-max-messages-per-process): New use option.
699 (elmo-spam-bsfilter-debug): Fix a group.
700 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
702 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
703 (elsp-bsfilter-list-spam-files): New function.
704 (elmo-spam-list-spam-messages): Define.
705 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
706 (elmo-spam-bsfilter-register-messages): New function.
707 (elmo-spam-register-spam-messages): Define.
708 (elmo-spam-register-good-messages): Ditto.
710 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
712 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
715 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
717 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
718 hash table to test whether a location is exists.
720 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
722 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
723 even if some error occurred.
725 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
726 meaningless unwind-protect.
728 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
729 start-number correctly.
730 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
731 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
733 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
735 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
736 (elmo-folder-initialize): Use it.
737 (elmo-global-flag-replace-referrer): New function.
739 * elmo.el (toplevel): Added autoload setting for
740 `elmo-global-flag-replace-referrer'.
741 (elmo-folder-rename): Rewrite the last change use
742 `elmo-global-flag-replace-referrer'.
744 * elmo-pipe.el (elmo-folder-rename): Call
745 `elmo-global-flag-replace-referrer'.
747 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
749 * elmo.el (elmo-folder-rename): Set meta data for global flags
752 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
756 (elmo-folder-close): Ditto.
757 (elmo-filter-folder-number-list-loaded-p): New function.
758 (elmo-filter-folder-number-list): Check whether loaded or not.
759 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
760 of `elmo-filter-folder-number-list-internal'.
761 (elmo-folder-delete-messages): Ditto.
762 (elmo-folder-length): Check whether number-list is loaded or not.
764 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
766 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
767 field `real field' into each element of list.
768 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
769 (elmo-msgdb-message-entity-field): Ditto.
770 (modb-entity-ml-info-real-fields): New function.
772 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
774 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
775 `elmo-msgdb-extra-fields'.
777 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
779 * elmo-util.el (elmo-passwd-alist-load): Move point to min
780 position before read.
782 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
784 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
785 (elmo-global-flags-initialize): Ditto.
787 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
789 * elmo-archive.el (toplevel): Don't require emu, std11
792 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
795 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
797 * elmo.el (elmo-folder-confirm-appends): Display folder name.
799 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
801 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
804 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
806 * elmo-maildir.el (elmo-maildir-list-location): Reduce
807 `elmo-get-last-modification-time' call.
809 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
811 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
813 (elmo-maildir-set-mark): Ditto.
814 (elmo-maildir-delete-mark): Ditto.
816 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
818 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
819 optional argument `separators'.
821 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
823 * elmo.el (cache-changed): Abolish.
824 (status-changed): New signal.
825 (elmo-message-killed-p): New generic function and define for
827 (elmo-folder-recover-messages): Ditto.
828 (elmo-message-set-cached): Emit signal `status-changed' instead of
830 (elmo-message-status): New macro.
831 (elmo-message-status-folder): Ditto.
832 (elmo-message-status-number): Ditto.
833 (elmo-message-status-set-flags): Ditto.
834 (elmo-message-status-set-killed): Ditto.
835 (elmo-message-status-flags): New function.
836 (elmo-message-status-cached-p): Ditto.
837 (elmo-message-status-killed-p): Ditto.
839 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
840 `status-changed' instead of `cache-changed'.
841 (elmo-folder-recover-messages): Define.
842 (elmo-message-killed-p): Ditto.
844 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
845 `status-changed' instead of `cache-changed'.
847 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
848 (elmo-message-killed-p): Define.
849 (elmo-folder-recover-messages): Ditto.
851 * elmo-version.el (elmo-version): Up to 2.15.3.
853 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
855 * elmo-signal.el (elmo-signal-bindings): Use cons to append
857 (elmo-define-signal-handler): Add docstring.
858 (elmo-define-signal-filter): Ditto.
860 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
862 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
864 * elmo-util.el (elmo-flatten): Don't use recursive call.
866 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
868 (elmo-folder-message-make-temp-files): Use `number-to-string'
869 instead of `int-to-string'.
871 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
873 * elmo-search.el (elmo-folder-delete-messages): Define.
875 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
877 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
879 (elmo-mailing-list-count-spec-list): Ditto.
881 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
884 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
886 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
889 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
891 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
892 (elmo-mailing-list-count-spec-list): Ditto.
894 * elmo-util.el (elmo-map-until-success): New function.
895 (elmo-string-match-substring): Ditto.
896 (elmo-find-list-match-value): Ditto.
898 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
900 (modb-entity-extract-ml-info-from-subject): Ditto.
901 (modb-entity-extract-ml-info-from-return-path): Ditto.
902 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
903 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
904 (modb-entity-extract-ml-info-from-mailman): Ditto.
905 (modb-entity-extract-mailing-list-info-functions): Ditto.
906 (modb-entity-extract-mailing-list-info): Rewrite with
907 `elmo-find-list-match-value'.
909 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
911 * elmo-net.el (elmo-network-session-retry-count): New user option.
912 (elmo-network-session-buffer-name): New internal function.
913 (elmo-network-session-buffer-create): Ditto.
914 (elmo-network-open-session): Retry open network session
915 `elmo-network-session-retry-count' times.
917 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
919 * elmo-util.el (elmo-list-filter): Rewritten.
921 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
923 * elmo-util.el (elmo-string-member): Allow symbol element in list.
925 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
927 * elmo-search.el (elmo-make-search-engine): Use prefix
928 `elmo-search-' for require symbol instead of `else-'.
929 (elmo-search-engine-extprog): New class.
930 (elmo-search-engine-do-search): Remove nil from argument
931 list. Added argument pattern to evaluate element as function.
932 (elmo-search-engine-local-file): Derived from
933 `elmo-search-engine-extprog'.
934 (elmo-search-engine-create-message-entity): Check existance of file.
935 (elmo-search-engine-fetch-message): Ditto.
936 (elmo-search-namazu-index): Follow the API change.
937 (elmo-search-grep-target): Ditto.
939 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
941 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
942 characters of working buffer.
944 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
945 Does not bind `default-mime-charset'.
946 (elmo-msgdb-create-message-entity-from-buffer): Removed
947 unnecessary local bind.
949 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
951 (modb-entity-extract-mailing-list-info-functions): Added it.
953 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
955 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
956 when number and message-id are non-nil.
958 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
960 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
961 conditional steatment.
962 (elmo-pop3-auth-apop): Likewise.
963 (elmo-network-authenticate-session): Likewise.
965 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
967 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
968 symbol `fill-column'.
969 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
972 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
973 (elmo-decoded-field-body): Ditto.
975 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
977 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
978 `tokens' to `params'.
980 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
982 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
985 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
987 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
990 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
992 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
993 Set default value as nil.
994 (toplevel): Register search engines by
995 `elmo-search-register-engine' if there are not defined.
997 * elmo.el (autoload): Added autoload setting for
998 `elmo-search-register-engine'.
1000 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1002 * elmo.el (toplevel): `[' is redefined as the prefix of the search
1003 folder instead of nmz folder.
1004 (elmo-nmz-default-index-path): Added obsolete variable setting.
1005 (elmo-nmz-index-alias-alist): Ditto.
1006 (elmo-nmz-use-drive-letter): Ditto.
1008 * elmo-search.el (elmo-search-register-engine): New function.
1010 * elmo-nmz.el: Removed.
1012 * elmo-version.el (elmo-version): Up to 2.15.2.
1014 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1016 * elmo-search.el: New file.
1018 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1020 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1021 condition `larger' and `smaller'.
1023 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1025 * elmo-util.el (elmo-safe-filename): Rewrite to replace
1026 `"' (double quote) into "_Q_".
1028 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1030 * elmo-net.el (elmo-net-quote-chars): Abolish.
1031 (elmo-net-format-quoted): Ditto.
1033 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1035 * elmo.el (elmo-get-folder-function): New variable.
1036 (elmo-get-folder): New function.
1037 (elmo-folder-rename): Call `elmo-make-folder' with specified
1040 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1042 (elmo-split-subr): Ditto.
1044 * elmo-multi.el (elmo-folder-initialize): Ditto.
1046 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1048 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1049 (elmo-flag-get-folder): Ditto.
1051 * elmo-filter.el (elmo-folder-initialize): Ditto.
1053 * elmo-access.el (elmo-folder-initialize): Ditto.
1054 (elmo-access-folder-update-children): Ditto.
1056 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1057 (elmo-dop-queue-flush): Ditto.
1058 (elmo-folder-append-buffer-dop-delayed): Ditto.
1059 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1062 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1063 instead of `elmo-make-folder'.
1064 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
1065 destination folder instead of send `elmo-folder-rename-internal'.
1067 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1068 slot of subfolder instead of create it.
1070 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1072 * elmo-util.el (elmo-collect-separators): New function.
1073 (elmo-collect-separators-internal): Ditto.
1074 (elmo-collect-trail-separators): Ditto.
1075 (elmo-parse-separated-tokens): Ditto.
1076 (elmo-parse-separated-tokens-internal): Ditto.
1077 (elmo-quote-syntactical-element): Ditto.
1079 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1080 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1082 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1083 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1084 (elmo-nntp-folder-list-subfolders): Quote a user name.
1086 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1087 (elmo-net-parse-network): Abolish.
1088 (elmo-net-folder-set-parameters): New function.
1089 (elmo-folder-initialize): Follow the above change.
1091 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1092 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1093 (elmo-folder-list-subfolders): Use
1094 `elmo-quote-syntactical-element' instead of
1095 `elmo-net-format-quoted' to quote mailbox and user name.
1097 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1099 * elmo-util.el (elmo-token-valid-p): New function.
1100 (elmo-parse-token): Add optional argument `requirement'.
1101 (elmo-parse-prefixed-element): Likewise.
1103 * elmo-net.el (elmo-net-quote-chars): Renamed from
1104 `elmo-net-quote-chars-regexp'.
1105 (elmo-net-format-quoted): Add optional argument `extra-chars'.
1107 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1108 by info document. Check token `uidl' is started an alphabet.
1110 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1111 by info document. Check token `user' is started an alphabet.
1113 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1114 (elmo-folder-list-subfolders): Quote user.
1116 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1118 * elmo-util.el (elmo-quoted-specials-list): New constant.
1119 (elmo-quoted-token): New function.
1121 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1122 (elmo-net-format-quoted): New function.
1123 (elmo-net-parse-network): Ditto.
1124 (elmo-folder-initialize): Use it.
1126 * elmo-nntp.el (elmo-folder-initialize): Use
1127 `elmo-net-parse-network' to parse network specification instead of
1128 `elmo-folder-initialize#elmo-net'.
1130 * elmo-pop3.el (elmo-folder-initialize): Ditto.
1132 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1133 (elmo-folder-list-subfolders): Quote folder name by
1134 `elmo-net-format-quoted'.
1136 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1138 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1139 (elmo-folder-search): Use it.
1141 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1143 * modb-standard.el (modb-standard-loaded-message-id): Use
1144 `elmo-msgdb-message-entity-field'.
1146 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1148 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1151 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
1153 * elmo-util.el (elmo-set-auto-coding): New function.
1154 (elmo-object-load): Use it.
1156 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1158 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1159 (elmo-time<): Define as alias of `elmo-time-less-p'.
1160 (elmo-time-to-datevec): New function.
1162 * elmo-date.el (elmo-time-to-days): New function.
1164 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1166 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1169 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1171 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1174 * elmo-util.el (elmo-map-recursive): New function.
1176 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1177 (modb-entity-encode-string-recursive): Ditto.
1179 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
1181 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1182 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1183 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1184 compare sequence number when last modified time is nil.
1186 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1188 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1190 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1192 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
1194 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1195 modification time of the file.
1197 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1199 * elmo-util.el (elmo-condition-optimize): Discriminated against
1200 preserved fields, extra fields and the other weight.
1202 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1204 * modb-entity.el (initialize-instance): Define.
1205 (modb-entity-handler-mime-charset): New internal function.
1206 (modb-standard-entity-set-field): Use it.
1207 (elmo-msgdb-message-entity-field): Ditto.
1208 (elmo-msgdb-message-entity-field): Ditto.
1210 * modb.el (elmo-msgdb-match-condition): Rewrite with
1211 `elmo-condition-match'.
1212 (elmo-msgdb-match-condition-primitive): New function.
1214 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1215 arguments `flags' and `numbers'.
1216 (elmo-msgdb-match-condition-primitive): Abolished (merged to
1217 `elmo-msgdb-message-match-condition').
1218 (modb-buffer-entity-handler): New class.
1220 * elmo.el (elmo-folder-search): Optimize condition to use
1221 `elmo-condition-optimize'.
1222 (elmo-message-buffer-match-condition): New function.
1223 (elmo-message-match-condition): Use
1224 `elmo-message-buffer-match-condition' instead of
1225 `elmo-buffer-field-condition-match'.
1227 * elmo-util.el (elmo-condition-match): New function.
1228 (elmo-condition-optimize): Ditto.
1229 (elmo-buffer-field-primitive-condition-match): Abolish.
1230 (elmo-buffer-field-condition-match): Ditto.
1232 * elmo-archive.el (elmo-archive-field-condition-match): Use
1233 `elmo-message-buffer-match-condition' instead of
1234 `elmo-buffer-field-condition-match'.
1236 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1238 * elmo-flag.el (elmo-global-flags-initialize): Check the
1239 existence of the flag directory.
1241 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1243 * elmo-access.el (elmo-folder-initialize): Call
1244 `elmo-multi-connect-signals'.
1246 * elmo-pipe.el (elmo-folder-close): Define.
1248 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1251 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1254 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1257 * elmo-multi.el (elmo-message-entity): Don't use return value of
1258 `elmo-message-entity-set-number'.
1260 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1262 * modb.el (modb-generic): Added slot `mime-charset'.
1264 * modb-standard.el (modb-standard): Added slot `overview-handler'.
1265 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1266 and `modb-entity-handler-dump-parameters'.
1267 (modb-standard-default-entity-handler): Abolish.
1268 (elmo-msgdb-message-entity-handler): Save created handler by
1271 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1272 (modb-entity-handler-list-parameters): New method.
1273 (modb-entity-handler-equal-p): New function.
1274 (modb-entity-handler-dump-parameters): Ditto.
1275 (modb-entity-parse-address-string): Encode return value.
1276 (modb-entity-make-address-string): Decode argument value.
1277 (modb-entity-decode-string-recursive): New function.
1278 (modb-entity-encode-string-recursive): Ditto.
1279 (modb-standard-entity-normalizer): Set to encode field value.
1280 (modb-standard-entity-specializer): Follow the above change.
1281 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1282 mime-charset of handler.
1283 (elmo-msgdb-message-entity-field): Ditto.
1284 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1286 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1288 * elmo.el (elmo-folder): Added slot `mime-charset'.
1289 (elmo-make-folder): Added argument `mime-charset'.
1290 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1293 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1294 (elmo-make-msgdb): Likewise.
1296 * elmo-internal.el (elmo-internal-folder-initialize): Call
1297 `luna-make-entity' with :mime-charset parameter.
1299 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1301 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1302 encoded words in `from' and `subject' field.
1304 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1306 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1307 (elmo-msgdb-match-condition): Get handler from entity instead of
1310 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1311 (modb-standard-load-entity): Treat new file format.
1312 (modb-standard-save-entity-1): Save as new file format.
1313 (modb-standard-save-entity): Split messages into section here.
1314 (elmo-msgdb-message-field): Follow the API change.
1315 (modb-standard-default-entity-handler): New internal variable.
1316 (elmo-msgdb-message-entity-handler): Define.
1318 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1320 (modb-entity-field-extractor-alist): New user option.
1321 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1322 added argument `type'.
1323 (elmo-msgdb-copy-message-entity): Add optional argument
1325 (modb-set-field-converter): New function.
1326 (modb-convert-field-value): Ditto.
1327 (modb-entity-string-decoder): Ditto.
1328 (modb-entity-string-encoder): Ditto.
1329 (modb-entity-parse-date-string): Ditto.
1330 (modb-entity-make-date-string): Ditto.
1331 (modb-entity-mime-decoder): Ditto.
1332 (modb-entity-mime-encoder): Ditto.
1333 (modb-entity-address-list-decoder): Ditto.
1334 (modb-entity-address-list-encoder): Ditto.
1335 (modb-entity-parse-address-string): Ditto.
1336 (modb-entity-make-address-string): Ditto.
1337 (modb-entity-create-field-indices): Ditto.
1338 (modb-legacy-entity-field-slots): New constant.
1339 (modb-legacy-entity-field-indices): Ditto.
1340 (modb-legacy-entity-normalizer): New variable.
1341 (modb-legacy-entity-specializer): Ditto.
1342 (modb-legacy-entity-field-index): New macro.
1343 (modb-legacy-entity-set-field): New function.
1344 (modb-legacy-make-message-entity): Rewrite.
1345 (elmo-msgdb-create-message-entity-from-buffer): Use
1346 `elmo-msgdb-get-references-from-buffer'. Use
1347 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1348 Use `modb-legacy-entity-set-field' instead of
1349 `elmo-msgdb-message-entity-set-field'.
1350 (elmo-msgdb-message-entity-field): Rewrite.
1351 (elmo-msgdb-message-entity-set-field): Ditto.
1352 (elmo-msgdb-copy-message-entity): Make new entity by
1353 `make-handler' if it specified.
1354 (elmo-msgdb-message-match-condition): Define a method of
1355 `modb-entity-handler' and follow the API change.
1356 (modb-standard-entity-handler): New class.
1357 (modb-entity-extract-ml-info-from-x-sequence): New function.
1358 (modb-entity-extract-ml-info-from-subject): Ditto.
1359 (modb-entity-extract-ml-info-from-return-path): Ditto.
1360 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1361 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1362 (modb-entity-extract-mailing-list-info): Ditto.
1363 (modb-entity-extract-mailing-list-info-functions): New variable.
1365 * elmo.el (elmo-message-field): Add optional argument `type'.
1367 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1368 from `modb-entity.el'.
1370 * elmo-util.el (elmo-object-load): Decode by coding-system from
1371 `set-auto-coding-function'.
1372 (elmo-object-save): Use `detect-mime-charset-region' and add
1373 coding cookie if encode.
1374 (elmo-msgdb-get-references-from-buffer): New function.
1375 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1377 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1379 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1380 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1381 instead of `shimbun-make-header' and follow the API change.
1382 (elmo-shimbun-update-overview): Follow the API change.
1383 (elmo-map-folder-list-message-locations): Ditto.
1385 * elmo-pipe.el (elmo-message-field): Ditto.
1387 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1390 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1392 * elmo-multi.el (elmo-message-field): Ditto.
1394 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1395 (elmo-msgdb-sort-by-date): Ditto.
1396 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1397 `elmo-message-entity-field'.
1398 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1400 (elmo-msgdb-overview-entity-get-from): Ditto.
1401 (elmo-msgdb-overview-entity-get-subject): Ditto.
1402 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1403 (elmo-msgdb-overview-entity-get-date): Ditto.
1404 (elmo-msgdb-overview-entity-get-to): Ditto.
1405 (elmo-msgdb-overview-entity-get-cc): Ditto.
1407 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1408 (elmo-mime-collect-message/partial-pieces): Ditto.
1410 * elmo-filter.el (elmo-message-field): Ditto.
1412 * elmo-date.el (elmo-datevec-to-time): New function.
1413 (elmo-time-parse-date-string): Ditto.
1414 (elmo-time-make-date-string): Ditto.
1415 (elmo-time<): Ditto.
1417 * elmo-version.el (elmo-version): Up to 2.15.1.
1419 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1421 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1422 member of elmo-local-flags.
1424 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1426 * elmo-version.el (elmo-version): Up to 2.15.0.
1428 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1430 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1431 `ignore-msgdb' is non-nil.
1433 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1435 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1436 (elmo-condition-in-msgdb-p): Ditto.
1437 (elmo-file-field-primitive-condition-match): Ditto.
1438 (elmo-file-field-condition-match): Ditto.
1440 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1442 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1444 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1445 subdirectories here.
1446 (elmo-global-flags-initialize): New function.
1448 * elmo.el (toplevel): Added autoload setting for
1449 `elmo-global-flags-initialize'.
1451 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1453 * elmo.el (message-number-changed): Define new signal.
1454 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1455 message-number-changed signal.
1456 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1457 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1458 Respect `elmo-pack-number-check-strict'.
1460 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1462 * elmo-signal.el (elmo-connect-signal): Document.
1463 (elmo-emit-signal): Ditto.
1464 (elmo-emit-signal): It should pass source argument to filter and
1465 handler, not slot-source.
1467 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1469 * modb.el (elmo-msgdb-update-entity): New API and define generic
1472 * modb-standard.el (elmo-msgdb-update-entity): Define.
1474 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1475 API and define generic implement.
1477 * elmo.el (update-overview): New singnal.
1479 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1480 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1481 (elmo-message-entity-parent): Define.
1483 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1486 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1488 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1490 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1492 * elmo.el (elmo-folder-synchronize): Sort the return value of
1495 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1498 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1500 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1501 `default-enable-multibyte-characters'.
1502 (elmo-object-load): Use `with-temp-buffer' instead of
1503 `elmo-set-work-buf'.
1504 (elmo-object-save): Ditto.
1505 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1506 `elmo-set-work-buf'.
1507 (elmo-decoded-field-body): Ditto.
1509 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1511 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1512 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1514 * elmo-version.el (elmo-version): Up to 2.13.3.
1516 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1518 * elmo-util.el (elmo-list-diff): Fix the last change.
1519 Reverse order of result lists.
1521 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1523 * modb-standard.el (elmo-msgdb-set-flag): Use
1524 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1525 (elmo-msgdb-unset-flag): Ditto.
1527 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1530 * elmo-util.el (elmo-list-diff): Rewrite.
1531 (elmo-list-diff-nonsortable): New function.
1533 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1535 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1536 `elmo-multibypte-buffer-name'. All referers are updated.
1538 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1540 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1541 (elmo-mime-entity-fragment-p): New function.
1542 (mime-elmo-buffer-entity): Added slot `reassembled'.
1543 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1544 (elmo-message-mime-entity-internal): New function (renamed from
1545 `elmo-message-mime-entity').
1546 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1547 (elmo-mime-make-reassembled-mime-entity): New function.
1548 (elmo-message-reassembled-mime-entity): Ditto.
1549 (elmo-mime-collect-message/partial-pieces): Ditto.
1551 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1553 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1555 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1556 (elmo-with-enable-multibyte): New macro.
1558 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1560 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1562 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1564 (elmo-filter-connect-signals): Follow the above change.
1566 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1568 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1570 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1571 that only the first flag is used.
1573 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1575 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1578 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1580 * elmo-signal.el: New file.
1582 * elmo.el (toplevel): Require elmo-signal.
1583 (flag-changing, flag-changed, cache-changed): New signal.
1584 (elmo-folder): Remove slog `handlers'.
1585 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1586 `elmo-folder-notify-event'.
1587 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1588 (elmo-folder-unset-flag): Ditto.
1589 (elmo-event-handler): Abolish.
1590 (elmo-event-handler-flag-changed): Ditto.
1591 (elmo-event-handler-cache-changed): Ditto.
1592 (elmo-folder-add-handler): Ditto.
1593 (elmo-folder-remove-handler): Ditto.
1594 (elmo-folder-notify-event): Ditto.
1596 * elmo-pipe.el (toplevel): Require elmo-signal.
1597 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1598 (elmo-pipe-connect-signals): New function.
1599 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1600 (elmo-folder-set-flag): Ditto.
1601 (elmo-folder-unset-flag): Ditto.
1602 (elmo-message-set-cached): Ditto.
1604 * elmo-multi.el (toplevel): Require elmo-signal.
1605 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1606 (elmo-multi-connect-signals): New function.
1607 (elmo-multi-map-numbers): Ditto.
1608 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1609 (elmo-message-fetch): Ditto.
1610 (elmo-folder-set-flag): Ditto.
1611 (elmo-folder-unset-flag): Ditto.
1613 * elmo-filter.el (toplevel): Require elmo-signal.
1614 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1615 (elmo-filter-connect-signals): New function.
1616 (elmo-filter-add-flag-count): Ditto.
1617 (elmo-message-fetch): Does not call
1618 `elmo-filter-folder-countup-message-flags' and
1619 `elmo-folder-notify-event'.
1620 (elmo-message-set-cached): Ditto.
1621 (elmo-folder-set-flag): Ditto.
1622 (elmo-folder-unset-flag): Ditto.
1624 * elmo-version.el (elmo-version): Up to 2.13.2.
1626 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1628 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1631 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1633 * elmo-filter.el (elmo-message-set-cached): Call
1634 `elmo-folder-notify-event' with event `cache-changed'.
1636 * elmo-multi.el (elmo-message-set-cached): Ditto.
1638 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1640 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1642 * elmo.el (elmo-folder-encache): Abolish.
1644 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1646 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1647 (elmo-folder-next-message-number-dop): Return appropriate negative
1650 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1652 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1653 clearing pending operations.
1654 (elmo-folder-next-message-number-dop): Return appropriate negative
1657 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1659 * elmo.el (toplevel): Added autoload setting for `md5'.
1660 (elmo-msgdb-path-encode-threshold): New user option.
1661 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1662 longer than `elmo-msgdb-path-encode-threshold'.
1664 * elmo-flag.el (elmo-global-mark-migrate): Use
1665 `elmo-folder-expand-msgdb-path' instead of
1666 `elmo-folder-msgdb-path'.
1668 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1670 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1671 element of the difference is nil.
1673 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1675 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1676 to the check logic of file systems which are weak in colon character.
1678 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1680 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1682 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1684 * elmo-maildir.el (elmo-maildir-move-file): New function.
1685 (elmo-folder-append-buffer): Use it.
1686 (elmo-folder-append-messages): Ditto.
1687 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1689 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1690 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1692 * elmo-maildir.el (elmo-maildir-separator): New user option.
1693 (elmo-maildir-adjust-separator): New macro.
1694 (elmo-maildir-list-location): Use it.
1695 (elmo-maildir-update-current): Ditto.
1696 (elmo-maildir-set-mark): Ditto.
1697 (elmo-maildir-delete-mark): Ditto.
1698 (These changes are based on Hiroya Murata's patch [wl: 13437])
1700 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1702 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1704 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1706 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1707 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1708 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1710 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1712 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1713 Use `with-temp-buffer'.
1715 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1717 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1719 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1720 `wl-read-search-condition').
1721 (elmo-read-search-condition-internal): Likewise.
1723 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1724 (elmo-flag-valid-p): New function.
1725 (elmo-folder-initialize): Check flag name is valid.
1727 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1729 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1730 delimiter to obtain root mailbox itself.
1732 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1734 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1737 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1739 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1742 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1744 * elmo-shimbun.el (toplevel): Require cl at compile.
1746 * elmo-nntp.el (toplevel): Ditto.
1748 * elmo-nmz.el (toplevel): Ditto.
1750 * elmo-multi.el (toplevel): Ditto.
1752 * elmo-file.el (toplevel): Ditto.
1754 * elmo-dop.el (toplevel): Ditto.
1756 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1758 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1760 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1763 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1764 size of elmo-message-fetch-internal is 0 byte.
1766 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1768 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1770 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1772 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1775 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1777 * elmo-maildir.el (elmo-map-message-fetch): Call
1778 `elmo-map-folder-set-flag'.
1780 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1781 (elmo-message-fetch): Merge from
1782 `elmo-message-fetch-with-cache-process'.
1784 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1785 (elmo-message-fetch): Define.
1787 * elmo-nntp.el (elmo-message-fetch): Renamed from
1788 `elmo-message-fetch-with-cache-process'.
1790 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1791 (elmo-message-fetch): Define.
1793 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1796 * elmo-shimbun.el (shimbun-mua-search-id): Use
1797 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1798 (elmo-shimbun-folder-shimbun-header): Ditto.
1799 (elmo-shimbun-get-headers): Ditto.
1800 (elmo-shimbun-update-overview): Ditto.
1802 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1804 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1805 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1807 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1809 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1811 (elmo-message-fetch-string): Fixed argument.
1813 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1815 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1816 exchange order of arguments `section' and `unread'.
1817 (elmo-message-encache): Follow the API change.
1818 (elmo-message-match-condition): Ditto.
1819 (elmo-generic-folder-append-messages): Ditto.
1820 (elmo-message-fetch-string): New function.
1822 * elmo-split.el (elmo-split-subr): Ditto.
1824 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1826 * elmo-pipe.el (elmo-message-fetch): Ditto.
1828 * elmo-multi.el (elmo-message-fetch): Ditto.
1830 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1832 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1834 * elmo-filter.el (elmo-message-fetch): Ditto.
1836 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1838 * elmo-imap4.el (mime-imap-location-section-body): Use
1839 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1840 follow the API change.
1842 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1844 * elmo-access.el: New file.
1846 * elmo-null.el: Ditto.
1848 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1850 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1852 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1853 (elmo-network-session): New attribute `last-accessed'.
1854 (elmo-network-get-session): Discard network cache if elapsed time
1855 since last-accessed is larger than elmo-network-session-idle-timeout.
1857 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1859 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1860 and added `number', `require-entireness'.
1861 (elmo-find-fetch-strategy): Rewrite.
1862 (elmo-message-fetch): Unset `unread' flag when argument unread is
1865 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1867 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1868 (elmo-message-fetch): Notify event `flag-changed'.
1870 * elmo-pipe.el: Likewise.
1872 * elmo-mime.el (elmo-mime-entity): New class.
1873 (elmo-mime-entity-display-p): New generic function.
1874 (elmo-mime-entity-display): Ditto.
1875 (elmo-mime-entity-display-as-is): Ditto.
1876 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1878 (elmo-make-mime-message-location): Removed.
1879 (elmo-mime-message-display): Ditto.
1880 (elmo-mime-display-as-is): Ditto.
1881 (elmo-message-mime-entity): New function.
1883 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1885 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1887 (elmo-message-fetch): Re-count flagged message number and notify
1888 event `flag-changed'.
1890 * elmo-version.el (elmo-version): Up to 2.13.1.
1892 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1894 * elmo-filter.el (elmo-message-field): Define.
1895 (elmo-message-set-field): Ditto.
1897 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1899 * elmo.el (elmo-message-set-cached): Call
1900 `elmo-folder-notify-event' with cache-changed.
1901 (elmo-event-handler-cache-changed): New generic function.
1903 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1905 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1906 instead of elmo-add-name-to-file.
1907 (elmo-folder-append-messages): Ditto.
1909 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1911 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1913 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1915 * elmo-version.el (elmo-version): Up to 2.13.0.
1917 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1920 * modb-standard.el (modb-standard-economize-entity-size): Changed
1921 default value to `t'.
1923 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1926 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1927 after parsing greeting string.
1929 2004-11-23 Daishi Kato <daishi@axlight.com>
1931 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1933 (elmo-spam-spamoracle-call): Use it.
1935 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1937 * elmo.el (elmo-message-accessible-p): Message in dop spool
1940 2004-11-23 Daishi Kato <daishi@axlight.com>
1942 * elsp-spamoracle.el: New file.
1944 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1946 * elmo.el (elmo-message-flags-for-append): New function.
1947 (elmo-generic-folder-append-messages): Use it.
1949 * elmo-split.el (elmo-split-subr): Ditto.
1951 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1952 `flags' and use elmo-folder-append-buffer instead of
1953 write-region-as-binary.
1954 (elmo-dop-filter-pending-messages): New function.
1955 (elmo-folder-append-buffer-dop): Call
1956 elmo-dop-spool-folder-append-buffer with `flag'.
1957 (elmo-folder-set-flag-dop): Filter messages by
1958 elmo-dop-filter-pending-messages.
1959 (elmo-folder-unset-flag-dop): Ditto.
1960 (elmo-folder-append-buffer-dop-delayed): Use
1961 elmo-message-flags-for-append to get flags of the message and
1964 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1966 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1968 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1970 * elmo.el (elmo-folder): Added handlers slot.
1971 (elmo-event-handler): New class.
1972 (elmo-event-handler-flag-changed): New API.
1973 (elmo-folder-add-handler): New function.
1974 (elmo-folder-remove-handler): Ditto.
1975 (elmo-folder-notify-event): Ditto.
1976 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1978 (elmo-folder-unset-flag): Ditto.
1980 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1981 (elmo-folder-unset-flag): Ditto.
1983 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1984 (elmo-folder-unset-flag): Ditto.
1986 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1987 (elmo-folder-unset-flag): Ditto.
1989 * elmo-version.el (elmo-version): Up to 2.11.33.
1991 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1993 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1995 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1997 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1999 * elmo-flag.el (elmo-folder-unset-flag): Define.
2000 (elmo-global-flag-detach): Do process when the flag is not target
2003 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2005 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2007 (elmo-msgdb-create-message-entity-from-buffer): Use it.
2009 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2011 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2013 (elmo-folder-delete-messages): Detach messages before delete
2014 messages from target folder.
2015 (elmo-folder-detach-messages): Set updated number-list to slot.
2017 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2019 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2021 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2023 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2025 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2027 * elmo.el (elmo-folder-delete-messages-internal): New API (for
2029 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2031 (elmo-folder-delete-messages): Define.
2032 (elmo-folder-move-messages): Don't call
2033 `elmo-folder-detach-messages'.
2034 (elmo-folder-synchronize): Rewrite.
2035 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2037 * elmo-util.el (elmo-last): New function.
2038 (elmo-set-list): Ditto.
2039 (elmo-number-set-delete-list): Ditto.
2040 (elmo-number-set-delete): Ditto.
2042 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2044 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2045 `elmo-folder-delete-messages' and don't delete location map.
2046 (elmo-folder-detach-messages): Define.
2048 * elmo-imap4.el (elmo-folder-delete): Use
2049 `elmo-folder-delete-messages-internal' instead of
2050 `elmo-folder-delete-messages'.
2052 * elmo-filter.el (elmo-folder-delete-messages): Call
2053 `elmo-folder-detach-messages'.
2054 (elmo-folder-detach-messages): Don't call
2055 `elmo-folder-detach-messages' for target folder.
2057 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2058 message deletion is succeeded.
2060 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2062 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2063 from `elmo-folder-delete-messages'.
2065 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2067 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2069 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2071 * elmo-version.el (elmo-version): Up to 2.11.32.
2073 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
2075 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2076 (elmo-global-flag-list): Added obsolete variable setting.
2078 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2080 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2081 (elmo-mime-insert-header-from-buffer): Don't decode header content when
2082 `elmo-mime-display-header-analysis' is nil.
2084 * elmo-flag.el (elmo-global-flags): Renamed from
2085 `elmo-global-flag-list' (All other related portions are changed).
2086 (elmo-local-flags): New variable.
2087 (elmo-local-flag-p): New function.
2088 (elmo-global-flag-set-internal): Cause an error when flag is not
2091 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
2093 * elmo-util.el (elmo-concat-path): Treat empty path.
2095 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2097 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2099 (elmo-split-address-match): Ditto.
2100 (elmo-split-equal): Ditto.
2101 (elmo-split-match): Ditto.
2103 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
2105 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2106 (elmo-generic-folder-append-messages): If src message exists but
2107 has no flag, pass (read) for the FLAG argument of
2108 `elmo-folder-append-buffer'. Otherwise, pass nil.
2110 * elmo-split.el (elmo-split-subr): Likewise.
2112 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2114 * elmo-multi.el (elmo-message-flags): Ditto.
2116 * elmo-filter.el (elmo-message-flags): Ditto.
2118 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2119 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2120 pass (read) for the FLAG argument of elmo-folder-append-buffer.
2122 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
2124 * elmo-split.el (elmo-split-rule): Update comment.
2125 (elmo-split-address-equal): Allow 2nd argument to be a list.
2126 (elmo-split-address-match): Ditto.
2127 (elmo-split-equal): Ditto.
2128 (elmo-split-match): Ditto.
2130 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
2132 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2133 (elmo-folder-append-msgdb): Don't treat `read'.
2134 (elmo-message-flags): Don't return `read'.
2136 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2137 (elmo-folder-unset-read-delayed): Ditto.
2139 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2141 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
2143 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2146 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2148 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2151 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
2153 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2155 (elmo-msgdb-save): Bind inhibit-quit.
2156 (modb-standard-message-entity): Ditto.
2158 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2160 * elmo-database.el: No need to require elmo-msgdb.
2162 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2164 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2165 instead of `elmo-list-subdirectories'.
2167 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2169 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2171 (elmo-folder-exists-p): "[" is empty.
2172 (elmo-folder-list-subfolders): Define.
2173 (elmo-folder-have-subfolder-p): Ditto.
2175 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
2177 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2179 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
2181 * elmo-filter.el (elmo-folder-local-p): Define.
2183 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2185 * modb-standard.el (modb-standard-loaded-message-id): Return nil
2186 when entity is garbaged.
2187 (modb-standard-save-entity-1): Don't modify the original entity.
2189 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
2191 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2193 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2195 * elmo.el (elmo-strict-folder-diff): Use
2196 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2198 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2200 * modb.el (elmo-msgdb-flag-available-p): New generic function.
2201 (elmo-msgdb-message-number): Ditto.
2202 (elmo-msgdb-message-field): Ditto.
2204 * modb-standard.el (modb-standard-economize-entity-size): New user
2206 (modb-standard-loaded-message-id): New inline function.
2207 (modb-standard-load-entity): Use it.
2208 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2209 throw message-id string away.
2210 (elmo-msgdb-flag-available-p): Define.
2211 (elmo-msgdb-message-number): Ditto.
2212 (elmo-msgdb-message-field): Ditto.
2214 * modb-legacy.el (modb-legacy-flag-list): Fix typo
2215 (suppoted -> supported).
2216 (modb-legacy-supported-flag-p): Ditto.
2217 (elmo-msgdb-set-flag): Ditto.
2218 (elmo-msgdb-unset-flag): Ditto.
2219 (elmo-msgdb-flag-available-p): Define.
2221 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2222 is `t', treat it as legacy entity.
2224 * elmo.el (elmo-message-flag-available-p): New generic function.
2225 (elmo-message-number): Ditto.
2226 (elmo-message-field): Use `elmo-msgdb-message-field'.
2228 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2230 * elmo-pipe.el (elmo-message-flag-available-p): Define.
2231 (elmo-message-number): Ditto.
2233 * elmo-multi.el (elmo-message-number): Define.
2234 (elmo-message-flag-available-p): Ditto.
2236 * elmo-filter.el (elmo-message-flag-available-p): Define.
2237 (elmo-message-number): Ditto.
2239 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2240 (elmo-folder-initialize): Load `max-number'.
2241 (elmo-folder-commit): Save it.
2242 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2243 (elmo-global-flag-set-internal): Set up max-number slot.
2245 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2247 * elmo-version.el (elmo-version): Up to 2.11.31.
2249 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
2251 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2252 unibyte string of the current buffer for the argument of `md5'
2253 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2255 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2257 * modb-legacy.el (modb-legacy-flag-list): New constant.
2258 (modb-legacy-suppoted-flag-p): New internal function.
2259 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2260 (elmo-msgdb-unset-flag): Ditto.
2262 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
2264 * elmo.el (elmo-make-folder): Remove text properties for prefix.
2266 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2269 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2271 * elmo-multi.el (elmo-folder-count-flags): Changed return value
2272 (follow the API change).
2274 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2276 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2278 * modb-standard.el (modb-standard-digest-flags): Abolish.
2279 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2281 * elmo-vars.el (elmo-digest-flags): New variable.
2282 (elmo-preserved-flags): Moved from elmo-flag.el.
2284 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2285 (elmo-imap4-flag-to-imap-criteria): Ditto.
2286 (elmo-imap4-folder-list-flagged): Use it.
2288 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2290 * elmo.el (elmo-folder-count-flags): Changed return value.
2292 * elmo-flag.el (elmo-preserved-flags): New variable.
2293 (elmo-get-global-flags): Use it.
2295 * modb-standard.el (modb-standard-digest-flags): New variable.
2296 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2297 Changed behavior of `any'.
2299 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2300 which are defined the Internet draft
2301 (draft-melnikov-imap-keywords-03.txt).
2302 (elmo-imap4-flags-to-imap): New function.
2303 (elmo-folder-append-buffer): Use it.
2305 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2308 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2309 avoid the bug of Emacs 21.3.
2311 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2313 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2314 function find-coding-system does not exist.
2316 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2318 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2321 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2323 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2326 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2328 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2329 (elmo-network-close-session): Follow the changes in
2330 `elmo-pop3-read-response'.
2331 (elmo-pop3-auth-user): Ditto.
2332 (elmo-pop3-auth-apop): Ditto.
2333 (elmo-network-initialize-session): Ditto.
2334 (elmo-network-authenticate-session): Ditto.
2335 (elmo-network-setup-session): Ditto.
2336 (elmo-folder-status): Ditto.
2337 (elmo-message-fetch-plugged): Ditto.
2338 (elmo-pop3-delete-msg): Ditto.
2340 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2342 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2345 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2347 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2349 (elmo-bind-directory): Ditto.
2351 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2353 * elmo.el (elmo-folder-append-messages): Note on return value.
2354 * elmo-archive.el (elmo-folder-append-messages): Don't return
2355 message numbers which could not be appended.
2357 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2359 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2361 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2363 * elmo-version.el (elmo-version): Up to 2.11.30.
2365 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2367 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2370 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2372 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2373 (elmo-multi-split-numbers): Add elmo-folder object into each
2374 element of return value at first.
2375 (elmo-folder-delete-messages): Follow the above change.
2376 (elmo-folder-detach-messages): Ditto.
2378 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2379 number which is synchronized in target folder.
2381 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2383 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2384 Change default value to symbol `all'.
2385 (elmo-map-message-fetch): Change condition to update overview
2388 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2390 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2391 behavior to update overview.
2392 (elmo-shimbun-update-overview-folder-list): Note it.
2394 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2396 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2399 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2401 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2402 buffer-disable-undo, it is unnecessary.
2403 (elmo-spam-register-good-messages): Ditto.
2405 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2408 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2410 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2412 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2413 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2414 elmo-set-buffer-multibyte.
2415 (elmo-object-load): Ditto.
2416 (elmo-save-buffer): Ditto.
2417 (elmo-delete-char): Ditto.
2418 (elmo-file-field-primitive-condition-match): Ditto.
2419 (elmo-mime-string): Ditto.
2421 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2422 (elmo-archive-field-condition-match): Ditto.
2424 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2426 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2428 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2429 (elmo-nntp-msgdb-create-message): Ditto.
2431 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2433 * elmo.el (elmo-message-match-condition): Ditto.
2434 (elmo-message-match-condition): Ditto.
2436 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2439 * elmo-version.el (elmo-version): Up to 2.11.29.
2441 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2442 (elsp-header): New backend.
2444 * elmo-util.el (elmo-decoded-field-body): New function.
2446 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2448 * elmo-version.el (elmo-version): Up to 2.11.28.
2450 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2452 * elmo-filter.el: Rewrite.
2454 * elmo-version.el (elmo-version): Up to 2.11.27.
2456 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2458 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2459 msgdb path for the localdir folder with absolute path.
2461 * utf7.el: Synch up with latest gnus/utf7.el;
2462 Modified for latest Emacs.
2464 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2466 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2467 shimbun backend couldn't open.
2469 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2471 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2472 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2473 when a destination folder is a filter folder.
2475 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2477 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2478 (elmo-generic-folder-append-messages): Call elmo-message-flags
2479 with argument `msgid'.
2481 * elmo-split.el (elmo-split-subr): Ditto.
2483 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2485 * elmo-multi.el (elmo-message-flags): Ditto.
2487 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2489 * elmo.el (elmo-folder): Add new slot `flag-table'.
2490 (elmo-folder-flag-table): New API.
2491 (elmo-folder-close-flag-table): Ditto.
2492 (elmo-folder-preserve-flags): New function.
2493 (elmo-generic-folder-append-messages): Use
2494 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2495 Flag of a non-registered message, it sets to nil.
2496 Does not set flag to flag-table.
2498 * elmo-maildir.el (elmo-folder-append-buffer): Use
2499 `elmo-folder-preserve-flags'.
2500 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2501 `elmo-folder-close-flag-table'.
2503 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2504 (elmo-archive-folder-append-buffer): Use
2505 `elmo-folder-preserve-flags'.
2507 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2509 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2511 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2512 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2513 `elmo-folder-close-flag-table'.
2515 * elmo-version.el (elmo-version): Up to 2.11.26.
2517 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2519 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2521 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2522 md5's 4th and 5th argument (non-existent in flim one).
2524 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2526 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2527 message, It sets to nil.
2529 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2531 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2534 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2536 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2538 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2540 * elmo-util.el (elmo-uniq-sorted-list): New function.
2541 (elmo-make-number-list): Ditto.
2542 (elmo-number-set-to-number-list): Use elmo-make-number-list
2543 and don't use nreverse.
2545 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2547 * elmo-version.el (elmo-version): Up to 2.11.25.
2549 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2551 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2552 field not exists in message, Use md5 message digest of header.
2554 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2556 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2557 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2558 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2559 * elmo-split.el (elmo-split-subr): Check return value of
2560 elmo-folder-append-buffer.
2562 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2563 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2565 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2568 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2570 * elmo-split.el (elmo-split-subr): Append message with flag.
2572 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2573 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2574 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2576 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2578 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2579 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2580 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2582 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2584 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2585 with a function call of `process-buffer'. All callers are updated.
2586 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2587 Remove redundant `set-buffer' in a while loop.
2589 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2591 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2594 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2596 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2597 elsp-spamfilter-register-buffer-internal with current buffer.
2598 (elmo-spam-register-spam-buffer): Ditto.
2599 (elmo-spam-register-good-buffer): Ditto.
2601 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2603 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2604 if it is not contained in the response(A workaround for courier-imap).
2606 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2608 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2611 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2613 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2616 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2618 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2621 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2623 (elmo-msgdb-message-match-condition): Follow the change above.
2625 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2627 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2630 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2632 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2634 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2636 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2638 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2640 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2643 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2645 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2647 (elmo-file-command-argument): Undo last change for cygwin.
2648 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2650 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2652 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2654 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2655 value returned from elmo-file-find is nil.
2657 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2659 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2662 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2663 instead of insert-file-contents-as-binary.
2664 (elmo-message-set-field): New generic function.
2666 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2667 behavior change on `split-string'.
2669 * elmo-file.el (elmo-file-find): New function.
2670 (elmo-file-command): New user option.
2671 (elmo-file-command-argument): Ditto.
2672 (elmo-file-fetch-max-size): Ditto.
2673 (elmo-file-detect-format): New function.
2674 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2675 Use elmo-file-detect-format.
2676 (elmo-map-folder-list-message-locations): Don't treat directories.
2678 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2680 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2681 (elmo-passwd-alist-clear): Shred password before clear.
2682 (elmo-remove-passwd): Remove all mached pair.
2684 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2686 * elmo.el (elmo-folder-synchronize): Fix description of the return
2689 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2691 * elmo.el (elmo-message-fetch-bodystructure): New method.
2692 (elmo-message-fetch-bodystructure): Define default.
2694 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2695 elmo-message-fetch-bodystructure.
2696 (elmo-message-fetch-bodystructure): Define.
2698 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2700 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2702 * elmo-filter.el (elmo-message-folder): Define.
2704 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2706 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2707 elmo-delete-cr-buffer.
2709 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2711 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2713 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2715 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2716 type seems to be a text.
2718 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2720 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2721 (elmo-spam-register-good-buffer): Ditto.
2722 (elmo-spam-spamassassin-register-messages): Ditto.
2724 * elmo-util.el (elmo-string-member-ignore-case): Define with
2727 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2729 * elmo.el (elmo-folder-type): Undo last change.
2731 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2733 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2736 * elmo-file.el: New file.
2738 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2740 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2742 (elmo-spam-spamassassin-register-messages): New inline function.
2743 (elmo-spam-register-spam-messages): Define.
2744 (elmo-spam-register-good-messages): Ditto.
2746 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2749 * elmo.el (toplevel): Added autoload setting for
2750 `elmo-get-global-flags'.
2751 (elmo-message-has-global-flag-p): New function.
2752 (elmo-message-set-global-flags): Ditto.
2753 (elmo-folder-type): Improvement for name: format.
2755 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2756 availability of keyword flags.
2757 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2758 (elmo-folder-list-flagged-plugged): Renamed from
2759 elmo-folder-list-flagged-unplugged.
2760 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2761 accept any flag as keyword flag.
2762 (elmo-folder-set-flag-plugged): Accept keyword flags.
2763 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2765 * elmo-flag.el (elmo-get-global-flags): New function.
2767 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2770 * elmo-version.el (elmo-version): Up to 2.11.24.
2772 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2774 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2775 elmo-multiple-field-body instead of std11-field-body to check all
2778 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2780 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2783 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2785 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2786 unintern is unbound.
2788 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2790 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2791 Protect from infinite loop.
2793 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2795 * elsp-bogofilter.el
2796 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2797 (elmo-spam-bogofilter-register-messages): New internal function.
2798 (elmo-spam-register-spam-messages): Define.
2799 (elmo-spam-register-good-messages): Ditto.
2801 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2803 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2804 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2805 (elmo-spam-bogofilter-call): Fixed the last change.
2806 (elmo-spam-bogofilter-arguments): Ditto.
2808 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2809 Follow the options change of latest bogofilter.
2811 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2812 (elmo-spam-bogofilter-good-switch): Ditto.
2813 (elmo-spam-bogofilter-arguments-alist): New user option.
2814 (elmo-spam-bogofilter-debug): Ditto.
2815 (elmo-spam-bogofilter-call): Renamed from
2816 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2817 is non-nil, insert output in buffer for debug.
2818 (elmo-spam-bogofilter-arguments): New macro.
2819 (elmo-spam-buffer-spam-p): Use it.
2820 (elsp-bogofilter-register-buffer): Ditto.
2822 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2824 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2827 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2829 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2831 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2832 (elmo-spam-bsfilter-program): Set default value as full path for
2834 (elmo-spam-bsfilter-debug): New user option.
2835 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2836 non-nil, insert output in buffer for debug. Fix treating of
2839 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2841 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2842 `elmo-maildir-flag-specs' element instead of one.
2843 (elmo-map-folder-unset-flag): Ditto.
2844 (Reported by Ken Makimura <macky@astem.or.jp>)
2846 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2847 (elmo-folder-unset-flag-plugged): Ditto.
2849 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2851 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2852 to `reads' slot only if `in-msgdb' is nil.
2854 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2856 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2857 and complement argument list.
2859 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2861 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2862 instead of elmo-folder-list-flagged.
2864 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2866 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2868 * elsp-bsfilter.el: New file.
2870 * elmo-pipe.el (elmo-folder-list-unreads,
2871 elmo-folder-list-answereds,
2872 elmo-folder-list-importants,
2873 elmo-folder-flag-as-important,
2874 elmo-folder-unflag-important,
2875 elmo-folder-flag-as-read,
2876 elmo-folder-unflag-read,
2877 elmo-folder-flag-as-answered,
2878 elmo-folder-unflag-answered): Remove.
2879 (elmo-folder-set-flag): Define.
2880 (elmo-folder-unset-flag): Ditto.
2882 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2883 (elmo-folder-set-flag): Define.
2884 (elmo-folder-unset-flag): Ditto.
2885 (elmo-folder-list-unreads): Remove.
2886 (elmo-folder-list-flagged): Define.
2888 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2889 (elmo-folder-list-unreads,
2890 elmo-folder-list-importants,
2891 elmo-folder-list-answereds,
2892 elmo-folder-list-unreads-plugged,
2893 elmo-folder-list-importants-plugged,
2894 elmo-folder-list-answereds-plugged): Remove.
2895 (elmo-folder-list-flagged-plugged): New method.
2896 (elmo-folder-unflag-important,
2897 elmo-folder-flag-as-important,
2898 elmo-folder-unflag-read,
2899 elmo-folder-flag-as-read,
2900 elmo-folder-unflag-answered,
2901 elmo-folder-flag-as-answered,
2902 elmo-folder-flag-as-read-unplugged,
2903 elmo-folder-unflag-read-unplugged,
2904 elmo-folder-flag-as-important-unplugged,
2905 elmo-folder-unflag-important-unplugged,
2906 elmo-folder-flag-as-answered-unplugged,
2907 elmo-folder-unflag-answered-unplugged): Remove.
2908 (elmo-folder-set-flag): Define.
2909 (elmo-folder-unset-flag): Ditto.
2910 (elmo-folder-set-flag-unplugged): Ditto.
2911 (elmo-folder-unset-flag-unplugged): Ditto.
2913 * elmo-multi.el (elmo-folder-list-unreads,
2914 elmo-folder-list-answereds,
2915 elmo-folder-list-importants,
2916 elmo-folder-flag-as-important,
2917 elmo-folder-unflag-important,
2918 elmo-folder-flag-as-read,
2919 elmo-folder-unflag-read,
2920 elmo-folder-flag-as-answered,
2921 elmo-folder-unflag-answered): Remove.
2922 (elmo-folder-set-flag): Define.
2923 (elmo-folder-unset-flag): Ditto.
2925 * elmo-map.el (elmo-map-folder-unflag-important,
2926 elmo-map-folder-flag-as-important,
2927 elmo-map-folder-unflag-read,
2928 elmo-map-folder-flag-as-read,
2929 elmo-map-folder-unflag-answered,
2930 elmo-map-folder-flag-as-answered): Remove.
2931 (elmo-map-folder-set-flag): New method.
2932 (elmo-map-folder-unset-flag): Ditto.
2933 (elmo-map-folder-list-unreads,
2934 elmo-map-folder-list-importants,
2935 elmo-map-folder-list-answereds): Remove.
2936 (elmo-folder-list-flagged-internal): Define.
2937 (elmo-map-folder-list-flagged): New method.
2939 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2940 (elmo-map-folder-list-unreads,
2941 elmo-map-folder-list-importants,
2942 elmo-map-folder-list-flagged): Remove.
2943 (elmo-map-folder-list-flagged): Define.
2944 (elmo-map-folder-flag-as-important,
2945 elmo-map-folder-unflag-important,
2946 elmo-map-folder-flag-as-read,
2947 elmo-map-folder-unflag-read,
2948 elmo-map-folder-flag-as-answered,
2949 elmo-map-folder-unflag-answered): Remove.
2950 (elmo-maildir-set-mark-messages): New internal function.
2951 (elmo-map-folder-set-flag): Define.
2952 (elmo-map-folder-unset-flag): Ditto.
2954 * elmo.el (toplevel): Added autoload setting for
2955 `elmo-folder-list-global-flag-messages'.
2956 (elmo-folder-list-unreads,
2957 elmo-folder-list-importants,
2958 elmo-folder-list-answereds): Remove.
2959 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2960 Return a list whitch merged with messages have global flag.
2961 (elmo-folder-list-flagged-internal): New method.
2962 (elmo-folder-unflag-important,
2963 elmo-folder-flag-as-important,
2964 elmo-folder-unflag-read,
2965 elmo-folder-flag-as-read,
2966 elmo-folder-unflag-answered,
2967 elmo-folder-flag-as-answered): Remove.
2968 (elmo-folder-set-flag): New method.
2969 (elmo-folder-unset-flag): Ditto.
2970 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2971 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2973 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2974 (elmo-folder-list-unreads-plugged,
2975 elmo-folder-list-importants-plugged,
2976 elmo-folder-list-answereds-plugged,
2977 elmo-folder-list-flagged-unplugged,
2978 elmo-folder-unflag-important-plugged,
2979 elmo-folder-flag-as-important-plugged,
2980 elmo-folder-unflag-read-plugged,
2981 elmo-folder-flag-as-read-plugged,
2982 elmo-folder-unflag-answered-plugged,
2983 elmo-folder-flag-as-answered-plugged): Remove.
2984 (elmo-folder-set-flag-plugged,
2985 elmo-folder-unset-flag-plugged): Define.
2987 * elmo-flag.el (elmo-folder-initialize): Register to
2988 `elmo-global-flag-list' if flag is not global.
2989 (elmo-folder-append-messages): Set flag to source messages.
2991 * elmo-filter.el (elmo-filter-folder-list-unreads,
2992 elmo-folder-list-unreads,
2993 elmo-filter-folder-list-importants,
2994 elmo-folder-list-importants,
2995 elmo-folder-flag-as-read,
2996 elmo-folder-unflag-read,
2997 elmo-folder-flag-as-important,
2998 elmo-folder-unflag-important,
2999 elmo-folder-flag-as-answered,
3000 elmo-folder-unflag-answered): Remove.
3001 (elmo-folder-set-flag): Define.
3002 (elmo-folder-unset-flag): Ditto.
3004 * elmo-dop.el (elmo-folder-flag-as-read-dop,
3005 elmo-folder-unflag-read-dop,
3006 elmo-folder-flag-as-important-dop,
3007 elmo-folder-unflag-important-dop,
3008 elmo-folder-flag-as-answered-dop,
3009 elmo-folder-unflag-answered-dop): Remove.
3010 (elmo-folder-set-flag-dop,
3011 elmo-folder-unset-flag-dop,
3012 elmo-folder-set-important-delayed,
3013 elmo-folder-unset-important-delayed,
3014 elmo-folder-set-read-delayed,
3015 elmo-folder-unset-read-delayed,
3016 elmo-folder-set-answered-delayed,
3017 elmo-folder-unset-answered-delayed): New function.
3018 (elmo-dop-queue-merge-method-list): Follow the above chagned.
3019 (elmo-dop-queue-method-name-alist): Ditto.
3021 * elmo-version.el (elmo-version): Up to 2.11.23.
3023 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
3025 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3027 * elsp-sa.el: New file.
3029 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3031 * modb-standard.el (modb-standard-message-entity): New function.
3032 (elmo-msgdb-message-entity): Use it.
3034 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3036 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3037 behavior when one-level is nil.
3039 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3041 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3043 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3045 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3047 (elmo-generic-folder-diff): Ditto.
3049 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3050 (elmo-folder-update-number): Ditto.
3052 * elmo-dop.el (elmo-folder-status-dop): Ditto.
3053 (elmo-folder-next-message-number-dop): Ditto.
3055 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3057 * elmo-filter.el (elmo-folder-msgdb-create): Use
3058 `elmo-message-entity' and `elmo-message-flags' instead of
3059 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3061 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3063 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3066 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3068 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3070 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3072 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3074 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3076 * elmo-version.el (elmo-version): Up to 2.11.22.
3078 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3080 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3082 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3084 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3085 if the message dose not exist.
3087 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
3089 * elmo-version.el (elmo-version): Up to 2.11.21.
3091 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3093 * modb-standard.el (toplevel): Don't require mime.
3095 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3097 * elsp-bogofilter.el (toplevel): Don't require path-util.
3098 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3099 (elmo-spam-bogofilter-header): Abolish.
3100 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3101 (elmo-spam-bogofilter-args): New user option.
3102 (elsp-bogofilter-call-bogofilter): New internal function.
3103 (elmo-spam-buffer-spam-p): Use it.
3104 (elsp-bogofilter-register-buffer): Renamed from
3105 `elmo-spam-bogofilter-register-buffer';
3106 Use `elsp-bogofilter-call-bogofilter'.
3107 (elmo-spam-register-spam-buffer): Follow the change above.
3108 (elmo-spam-register-good-buffer): Ditto.
3110 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3112 * modb-standard.el (elmo-msgdb-append-entity): If entity or
3113 message-id is nil do nothing.
3115 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
3117 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3119 (elmo-imap4-session): Removed use-flag slot.
3120 (elmo-imap4-session-select-mailbox): Undo last change.
3121 (elmo-folder-use-flag-p): Use
3122 elmo-imap4-disuse-server-flag-mailbox-regexp.
3124 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3126 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3127 (elmo-imap4-session-select-mailbox): Set it up.
3128 (elmo-folder-use-flag-p): Return value of use-flag slot.
3130 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3132 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3134 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3136 * modb-entity.el (elmo-message-entity-handler): Likewise.
3138 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
3140 * elmo.el (toplevel): Remove setting of autoloding for
3141 elmo-global-flag-initialize.
3142 (elmo-init): Don't call elmo-global-flag-initialize.
3143 (toplevel): Added autoload setting for elmo-global-mark-migrate.
3145 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3146 (elmo-global-mark-migrate): Don't call it.
3147 (elmo-global-mark-upgrade): Ditto.
3149 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
3151 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3152 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3154 * elmo-vars.el (elmo-init-hook): New user option.
3156 * elmo.el (elmo-init): Run the elmo-init-hook.
3158 * elmo-flag.el (elmo-global-mark-migrate): New function.
3160 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3162 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3163 Undo last change (move to elmo-msgdb-unset-flag).
3164 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3167 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3169 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3171 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3172 (elmo-msgdb-unset-flag): Ditto.
3174 2003-11-05 Andreas Fuchs <asf@boinkor.net>
3176 * elmo-split.el (elmo-split): Return split message count.
3178 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3180 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3183 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3185 * elmo.el (elmo-folder-unflag-important): Call
3186 `elmo-global-flag-detach' with 4th argument delete-if-none that is
3189 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3191 (elmo-global-flag-detach): Delete the message from flag folder, if
3192 `delete-if-none' is a symbol `always'.
3194 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3196 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3197 `elmo-spam-spamfilter-decode-buffer'.
3198 (elsp-spamfilter-register-buffer-internal): New internal function.
3199 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3200 (elmo-spam-register-spam-buffer): Ditto.
3201 (elmo-spam-register-good-buffer): Ditto.
3203 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3205 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3206 (elmo-spam-register-spam-buffer): Follow the API change.
3207 (elmo-spam-register-good-buffer): Ditto.
3209 * elmo-split.el (toplevel): Require elmo-spam when copmile.
3210 (elmo-split-spam-p): Added argument plist; Call
3211 `elmo-spam-buffer-spam-p' with new argument register.
3213 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3215 (elmo-spam-message-spam-p): Ditto.
3216 (elmo-spam-register-spam-buffer): Added optional argument
3218 (elmo-spam-register-good-buffer): Ditto.
3219 (elmo-spam-register-spam-messages): Ditto.
3220 (elmo-spam-register-good-messages): Ditto.
3222 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3224 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3225 register into good corpus.
3226 (elmo-spam-register-good-buffer): Fixed to register into bad
3229 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3231 * elmo-version.el (elmo-version): Up to 2.11.20.
3233 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3236 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3237 flag without depending on \Recent flag.
3239 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3241 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3242 (elmo-spam-modified-p): Defined.
3243 (elmo-spam-save-status): Set `modified' slot to nil.
3244 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3245 (elmo-spam-register-good-buffer): Ditto.
3247 * elmo-spam.el (elmo-spam-modified-p): New API.
3249 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3251 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3252 duplicate definition.
3254 * elmo-util.el (elmo-unfold-field-body): New function.
3255 (elmo-msgdb-get-message-id-from-buffer): Use it.
3257 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3258 Fixed the last change; Use elmo-unfold-field-body.
3260 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3262 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3265 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3267 * elmo-spam.el (elmo-spam-save-status): New API.
3269 * elsp-spamfilter.el: New file.
3271 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3273 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3275 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3277 * elmo-split.el (elmo-split-spam-p): New function.
3279 * elmo-spam.el: New file.
3281 * elsp-bogofilter.el: Ditto.
3283 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3285 * elmo.el (elmo-folder-next-message-number): New API.
3286 (elmo-folder-next-message-number): Define.
3287 (elmo-message-field): Don't check folder length.
3289 * elmo-net.el (elmo-folder-next-message-number): Define.
3290 (elmo-folder-next-message-number-unplugged): Define.
3292 * elmo-map.el (elmo-folder-next-message-number): Define.
3293 (elmo-folder-delete-messages): Clear hash value.
3295 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3297 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3298 (elmo-folder-delete-messages-dop-delayed): Always return t.
3300 * elmo-version.el (elmo-version): Up to 2.11.19.
3302 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3304 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3307 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3308 identical cons cell into the mark-alist and the hash table.
3310 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3312 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3313 elmo-folder-list-messages with argument `visible-only' as t.
3315 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3316 (elmo-folder-msgdb-create): Check the target folder.
3318 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3320 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3321 `permanentflag' instead of `flags'.
3322 (elmo-folder-open): Ditto.
3323 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3324 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3325 (elmo-folder-use-flag-p): Always return t.
3326 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3327 `permanentflags' does not exist.
3328 (elmo-folder-open): Ditto.
3330 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3332 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3334 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3336 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3337 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3339 (elmo-folder-open): Ditto.
3340 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3341 slot of the session includes the flag.
3342 (elmo-imap4-session-flag-available-p): New function.
3343 (elmo-imap4-folder-list-flagged): Ditto.
3344 (elmo-folder-list-unreads-plugged): Use it.
3345 (elmo-folder-list-importants-plugged): Ditto.
3346 (elmo-folder-list-answereds-plugged): Ditto.
3347 (elmo-imap4-search-internal-primitive): Ditto.
3348 (elmo-imap4-folder-list-any-plugged,
3349 elmo-imap4-folder-list-digest-plugged): Abolish.
3351 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3354 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3356 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3358 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3360 * elmo-util.el (elmo-get-hash-val): Simplify.
3361 (elmo-set-hash-val): Rewrite.
3363 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3365 * elmo.el (elmo-folder-list-messages): Append killed messages into
3366 result if `visible-only' is nil and `in-msgdb' is non-nil.
3368 * elmo-util.el (elmo-uniq-list): Added optional argument
3371 * modb.el (elmo-msgdb-flag-count): New API.
3373 * modb-standard.el (modb-standard): Added slot flag-count.
3374 (modb-standard-countup-flags): New function.
3375 (modb-standard-load-flag): Call it.
3376 (elmo-msgdb-append): Ditto.
3377 (elmo-msgdb-clear): Clear slot flag-count.
3378 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3379 (elmo-msgdb-unset-flag): Treat `all' flag and call
3380 modb-standard-countup-flags.
3381 (elmo-msgdb-flag-count): Define.
3382 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3383 (elmo-msgdb-delete-messages): Ditto.
3385 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3386 (elmo-msgdb-flag-count): Define.
3388 * elmo.el (elmo-folder-list-messages): Undo last change.
3389 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3390 (elmo-folder-kill-messages): Unset all flags to numbers.
3392 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3393 elmo-folder-kill-messages.
3395 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3396 (elmo-nntp-folder-delete-messages): Abolish.
3398 * elmo-version.el (elmo-version): Up to 2.11.18.
3400 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3402 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3403 (elmo-folder-kill-messages-range): New function.
3404 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3405 instead of elmo-folder-kill-messages-before.
3407 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3409 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3410 elmo-imap4-current-msgdb to decide entity handler.
3412 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3414 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3416 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3418 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3419 (elmo-msgdb-overview-entity-set-number,
3420 elmo-msgdb-overview-entity-get-references,
3421 elmo-msgdb-overview-entity-set-references,
3422 elmo-msgdb-overview-entity-get-from-no-decode,
3423 elmo-msgdb-overview-entity-get-from,
3424 elmo-msgdb-overview-entity-set-from,
3425 elmo-msgdb-overview-entity-get-subject,
3426 elmo-msgdb-overview-entity-get-subject-no-decode,
3427 elmo-msgdb-overview-entity-set-subject,
3428 elmo-msgdb-overview-entity-get-date,
3429 elmo-msgdb-overview-entity-set-date,
3430 elmo-msgdb-overview-entity-get-to,
3431 elmo-msgdb-overview-entity-get-cc,
3432 elmo-msgdb-overview-entity-get-size,
3433 elmo-msgdb-overview-entity-set-size,
3434 elmo-msgdb-overview-entity-get-extra,
3435 elmo-msgdb-overview-entity-set-extra,
3436 elmo-msgdb-overview-entity-get-extra-field,
3437 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3438 (elmo-msgdb-make-index): Use
3439 `elmo-msgdb-overview-entity-get-number-internal'.
3440 (elmo-msgdb-clear-index): Ditto.
3441 (elmo-msgdb-append-entity): Ditto;
3442 Use `elmo-msgdb-overview-entity-get-id-internal'.
3444 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3445 elmo-msgdb-overview-entity-set-number,
3446 elmo-msgdb-overview-entity-get-references,
3447 elmo-msgdb-overview-entity-set-references,
3448 elmo-msgdb-overview-entity-get-from-no-decode,
3449 elmo-msgdb-overview-entity-get-from,
3450 elmo-msgdb-overview-entity-set-from,
3451 elmo-msgdb-overview-entity-get-subject,
3452 elmo-msgdb-overview-entity-get-subject-no-decode,
3453 elmo-msgdb-overview-entity-set-subject,
3454 elmo-msgdb-overview-entity-get-date,
3455 elmo-msgdb-overview-entity-set-date,
3456 elmo-msgdb-overview-entity-get-to,
3457 elmo-msgdb-overview-entity-get-cc,
3458 elmo-msgdb-overview-entity-get-size,
3459 elmo-msgdb-overview-entity-set-size,
3460 elmo-msgdb-overview-entity-get-extra,
3461 elmo-msgdb-overview-entity-set-extra,
3462 elmo-msgdb-overview-entity-get-extra-field,
3463 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3464 and rewrote for backward compatibility.
3466 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3468 * elmo.el (elmo-message-entity-number,
3469 elmo-message-entity-set-number,
3470 elmo-message-entity-field,
3471 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3473 * elmo-msgdb.el (elmo-message-entity-number,
3474 elmo-message-entity-set-number,
3475 elmo-message-entity-field,
3476 elmo-message-entity-set-field): Moved from elmo.el.
3478 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3480 * elmo.el (toplevel): Changed definition orders.
3482 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3484 * modb.el (elmo-msgdb-search): New API .
3485 (elmo-msgdb-match-condition): Ditto.
3487 * modb-standard.el (elmo-msgdb-search): Define.
3489 * modb-legacy.el (elmo-msgdb-search): Ditto.
3491 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3492 from elmo-msgdb-match-condition-internal.
3494 * elmo.el (elmo-folder-search-fast): Abolish.
3495 (elmo-folder-search): Use elmo-msgdb-search and
3496 elmo-with-progress-display.
3498 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3501 * elmo.el (elmo-folder): Remove slot message-modified and
3503 (elmo-folder-set-message-modified): Abolish.
3504 (elmo-generic-folder-commit): Follow the change above.
3505 (elmo-folder-synchronize): Ditto.
3507 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3509 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3511 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3513 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3515 * modb-standard.el (modb-standard-make-message-entity,
3516 elmo-msgdb-make-message-entity,
3517 elmo-msgdb-create-message-entity-from-buffer,
3518 elmo-msgdb-message-entity-number,
3519 elmo-msgdb-message-entity-set-number,
3520 elmo-msgdb-message-entity-field,
3521 elmo-msgdb-message-entity-set-field,
3522 elmo-msgdb-copy-message-entity,
3523 elmo-msgdb-match-condition-internal): Remove.
3525 * modb-entity.el: New file (again).
3527 * modb.el (toplevel): Require modb-entity.
3528 (elmo-msgdb-message-entity-handler): New method.
3530 * modb-standard.el (modb-standard-entity-id): Use
3531 elmo-message-entity-handler.
3532 (modb-standard-load-entity): Ditto.
3533 (elmo-msgdb-append-entity): Ditto.
3534 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3536 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3537 elmo-msgdb-decoded-cache-hashtb,
3538 (modb-legacy-make-message-entity,
3539 elmo-msgdb-make-message-entity,
3540 elmo-msgdb-create-message-entity-from-buffer,
3541 elmo-msgdb-message-entity-number,
3542 elmo-msgdb-message-entity-set-number,
3543 elmo-msgdb-message-entity-field,
3544 elmo-msgdb-message-entity-set-field,
3545 elmo-msgdb-copy-message-entity,
3546 elmo-msgdb-match-condition-internal,
3547 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3549 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3550 (elmo-message-entity-set-number): Ditto.
3551 (elmo-message-entity-field): Ditto.
3552 (elmo-message-entity-set-field): Ditto.
3554 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3556 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3558 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3560 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3561 (elmo-nntp-msgdb-create-message): Ditto.
3563 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3564 (elmo-folder-msgdb-create): Add unread flag.
3566 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3568 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3570 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3572 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3574 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3575 elmo-msgdb-messge-entity-handler.
3576 * elmo-version.el (elmo-version): Up to 2.11.17.
3578 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3580 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3583 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3585 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3587 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3588 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3589 (elmo-msgdb-flag-table): Ditto.
3590 (elmo-msgdb-sort-by-date): Ditto.
3592 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3594 * modb-standard.el (toplevel): Require mime.
3595 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3596 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3597 elmo-msgdb-message-entity-number.
3598 (elmo-msgdb-append-entity): Ditto.
3599 (elmo-msgdb-create-message-entity-from-file): Remove.
3600 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3601 corresponds to the entity.
3602 (elmo-msgdb-message-entity-number): Do nothing currently.
3603 (elmo-msgdb-message-entity-field): Ditto.
3604 (elmo-msgdb-message-entity-set-field): Ditto.
3605 (elmo-msgdb-copy-message-entity): Ditto.
3606 (elmo-msgdb-match-condition-internal): Ditto.
3608 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3610 (elmo-msgdb-create-message-entity-from-file): Remove.
3612 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3614 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3616 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3618 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3620 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3621 (elmo-msgdb-message-entity-field): Ditto.
3622 (elmo-msgdb-message-entity-number): Ditto.
3624 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3626 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3627 Fixed how to set extra field into entity.
3628 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3631 * modb-legacy.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 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3638 * modb.el (elmo-message-entity-db): New function.
3639 (elmo-msgdb-make-message-entity): New API.
3640 (elmo-msgdb-message-entity-number): Ditto.
3641 (elmo-msgdb-message-entity-set-number): Ditto.
3642 (elmo-msgdb-message-entity-field): Ditto.
3643 (elmo-msgdb-message-entity-set-field): Ditto.
3644 (elmo-msgdb-copy-message-entity): Ditto.
3645 (elmo-msgdb-create-message-entity-from-file): Ditto.
3646 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3647 (elmo-msgdb-match-condition-internal): Ditto.
3649 * modb-standard.el (modb-legacy): Require modb-legacy.
3650 (modb-standard-make-message-entity): New inline function.
3651 (elmo-msgdb-make-message-entity): Define.
3652 (elmo-msgdb-create-message-entity-from-file): Ditto.
3653 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3654 (elmo-msgdb-message-entity-field): Ditto.
3655 (elmo-msgdb-message-entity-set-field): Ditto.
3656 (elmo-msgdb-copy-message-entity): Ditto.
3657 (elmo-msgdb-match-condition-internal): Ditto.
3659 * modb-legacy.el: Don't require modb-entity.
3660 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3661 (elmo-msgdb-match-condition-primitive): Ditto.
3662 (elmo-msgdb-get-decoded-cache): Ditto.
3663 (elmo-msgdb-overview-entity-get-id): Ditto.
3664 (elmo-msgdb-overview-entity-get-number): Ditto.
3665 (elmo-msgdb-overview-entity-set-number): Ditto.
3666 (elmo-msgdb-overview-entity-get-references): Ditto.
3667 (elmo-msgdb-overview-entity-set-references): Ditto.
3668 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3669 (elmo-msgdb-overview-entity-get-from): Ditto.
3670 (elmo-msgdb-overview-entity-set-from): Ditto.
3671 (elmo-msgdb-overview-entity-get-subject): Ditto.
3672 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3673 (elmo-msgdb-overview-entity-set-subject): Ditto.
3674 (elmo-msgdb-overview-entity-get-date): Ditto.
3675 (elmo-msgdb-overview-entity-set-date): Ditto.
3676 (elmo-msgdb-overview-entity-get-to): Ditto.
3677 (elmo-msgdb-overview-entity-get-cc): Ditto.
3678 (elmo-msgdb-overview-entity-get-size): Ditto.
3679 (elmo-msgdb-overview-entity-set-size): Ditto.
3680 (elmo-msgdb-overview-entity-get-extra): Ditto.
3681 (elmo-msgdb-overview-entity-set-extra): Ditto.
3682 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3683 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3684 (elmo-msgdb-number-load): Ditto.
3685 (elmo-msgdb-overview-load): Ditto.
3686 (elmo-msgdb-mark-load): Ditto.
3687 (elmo-msgdb-number-save): Ditto.
3688 (elmo-msgdb-mark-save): Ditto.
3689 (elmo-msgdb-overview-save): Ditto.
3690 (modb-legacy-make-message-entity): New inline function.
3691 (elmo-msgdb-insert-file-header): Ditto.
3692 (elmo-msgdb-make-message-entity): Define.
3693 (elmo-msgdb-create-message-entity-from-file): Ditto.
3694 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3695 (elmo-msgdb-message-entity-number): Ditto.
3696 (elmo-msgdb-message-entity-set-number): Ditto.
3697 (elmo-msgdb-message-entity-field): Ditto.
3698 (elmo-msgdb-message-entity-set-field): Ditto.
3699 (elmo-msgdb-copy-message-entity): Ditto.
3700 (elmo-msgdb-match-condition-internal): Ditto.
3702 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3703 (elmo-message-copy-entity): Rewrite.
3704 (elmo-message-entity-number): Ditto.
3705 (elmo-message-entity-set-number): Ditto.
3706 (elmo-message-entity-field): Use elmo-message-entity-db.
3707 (elmo-message-entity-set-field): Ditto.
3708 (elmo-message-field): Rewrite.
3710 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3712 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3714 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3715 elmo-message-entity-field.
3716 (elmo-shimbun-folder-shimbun-header): Ditto.
3717 (elmo-shimbun-entity-to-header): Ditto.
3718 (elmo-folder-msgdb-create): Ditto.
3719 (elmo-shimbun-msgdb-create-entity): Ditto;
3720 Use elmo-msgdb-create-message-entity-from-buffer.
3721 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3722 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3724 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3725 elmo-msgdb-create-message-entity-from-file and
3726 elmo-message-entity-field.
3728 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3729 elmo-message-entity-number.
3730 (elmo-pop3-msgdb-create-message): Use
3731 elmo-msgdb-create-message-entity-from-buffer,
3732 elmo-message-entity-set-field, elmo-message-entity-number and
3733 elmo-message-entity-set-number.
3735 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3736 the API change in elmo-msgdb-make-message-entity.
3737 (elmo-nntp-msgdb-create-message): Use
3738 elmo-msgdb-create-message-entity-from-buffer.
3740 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3741 elmo-message-entity-field and
3742 elmo-msgdb-create-message-entity-from-file.
3744 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3745 (elmo-msgdb-get-field): Abolish.
3746 (elmo-msgdb-get-number): Rewrite.
3747 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3748 (elmo-msgdb-flag-table): Ditto.
3749 (elmo-msgdb-get-last-message-id,
3750 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3751 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3752 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3753 (elmo-msgdb-create-overview-from-buffer,
3754 elmo-msgdb-overview-get-parent-entity): Abolish.
3756 * elmo-mime.el (elmo-mime-display-as-is): Use
3757 elmo-message-entity-field.
3759 * elmo-map.el (elmo-folder-pack-numbers): Use
3760 elmo-message-entity-set-number.
3762 * elmo-maildir.el (elmo-folder-msgdb-create):
3763 elmo-msgdb-create-message-entity-from-file instead of
3764 elmo-msgdb-create-overview-entity-from-file.
3766 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3768 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3769 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3771 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3772 elmo-messge-entity-field and elmo-message-entity-number.
3773 (elmo-imap4-fetch-callback-1): Call
3774 elmo-msgdb-create-message-entity-from-buffer instead of
3775 elmo-msgdb-create-overview-from-buffer.
3776 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3777 (elmo-find-fetch-strategy): Likewise.
3779 * elmo-flag.el (elmo-folder-msgdb-create): Call
3780 elmo-localdir-msgdb-create-entity with argument msgdb.
3782 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3783 and elmo-message-entity-set-number.
3785 * elmo-cache.el (elmo-folder-msgdb-create): Use
3786 elmo-message-entity-field.
3787 (elmo-folder-msgdb-create): Call
3788 elmo-msgdb-create-message-entity-from-file instead of
3789 elmo-msgdb-create-overview-entity-from-file.
3791 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3792 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3793 instead of elmo-msgdb-create-overview-from-buffer.
3794 (elmo-archive-msgdb-create-entity): Ditto.
3795 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3796 elmo-message-entity-field.
3797 (elmo-archive-parse-mmdf): Ditto.
3799 * modb-entity.el: Removed.
3801 * elmo-version.el (elmo-version): Up to 2.11.16.
3803 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3805 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3807 (elmo-folder-flag-as-answered): Ditto.
3809 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3811 * modb-standard.el: New file.
3813 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3814 elmo-msgdb-convert-type is `sync'.
3816 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3817 (elmo-msgdb-convert-type): New user option.
3819 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3820 (elmo-load-msgdb): Auto detect saved type.
3822 * elmo-version.el (elmo-version): Up to 2.11.15.
3824 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3826 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3828 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3829 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3830 with argument `delete-if-none' when dst-folder is 'null.
3832 * elmo-flag.el (elmo-folder-append-messages): Defined.
3833 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3835 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3837 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3839 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3841 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3842 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3843 (elmo-folder-commit): Ditto.
3845 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3847 * elmo-flag.el: New file.
3849 * elmo-mark.el: Removed.
3851 * modb-legacy.el (modb-legacy-new-mark,
3852 modb-legacy-unread-uncached-mark,
3853 modb-legacy-unread-cached-mark,
3854 modb-legacy-read-uncached-mark,
3855 modb-legacy-answered-cached-mark,
3856 modb-legacy-answered-uncached-mark,
3857 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3858 All other related portions are changed.
3860 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3861 (elmo-folder-list-messages-with-global-mark): Abolish.
3862 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3863 (elmo-folder-flag-as-important): Ditto.
3864 (elmo-folder-unflag-read): Ditto.
3865 (elmo-folder-flag-as-read): Ditto.
3866 (elmo-folder-unflag-answered): Ditto.
3867 (elmo-folder-flag-as-answered): Ditto.
3868 (elmo-message-encache): Return the cache path.
3869 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3870 (elmo-message-set-flag): Transitional implementation.
3871 (elmo-message-unset-flag): Ditto.
3872 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3873 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3874 (elmo-init): Call elmo-global-flag-initialize.
3875 (toplevel): Added autoload settings for elmo-flag.
3877 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3879 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3880 (elmo-file-cache-delete): Don't treat global-mark.
3882 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3884 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3886 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3887 `elmo-global-flags-set'.
3889 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3891 (elmo-folder-unflag-read): Ditto.
3892 (elmo-folder-unflag-important): Ditto.
3893 (elmo-folder-flag-as-important): Ditto.
3894 (elmo-folder-unflag-answered): Ditto.
3895 (elmo-folder-flag-as-answered): Ditto.
3897 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3898 `elmo-global-flags-set'.
3899 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3901 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3903 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3905 (elmo-folder-flag-as-important): Ditto.
3906 (elmo-folder-unflag-important): Ditto.
3907 (elmo-folder-flag-as-important): Ditto.
3908 (elmo-folder-unflag-read): Ditto.
3909 (elmo-folder-flag-as-read): Ditto.
3910 (elmo-folder-unflag-answered): Ditto.
3911 (elmo-folder-flag-as-answered): Ditto.
3913 * elmo-multi.el (elmo-folder-list-importants): Don't call
3914 elmo-folder-list-messages-with-global-mark.
3915 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3916 (elmo-folder-unflag-important): Ditto.
3917 (elmo-folder-flag-as-read): Ditto.
3918 (elmo-folder-unflag-read): Ditto.
3919 (elmo-folder-flag-as-answered): Ditto.
3920 (elmo-folder-unflag-answered): Ditto.
3922 * elmo-msgdb.el (elmo-msgdb-new-mark,
3923 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3924 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3925 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3926 (Moved to modb-legacy.el).
3927 (elmo-flag-table-get): Treat important flag too.
3929 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3931 (elmo-map-folder-flag-as-important): Ditto.
3932 (elmo-map-folder-unflag-read): Ditto.
3933 (elmo-map-folder-flag-as-read): Ditto.
3934 (elmo-map-folder-unflag-answered): Ditto.
3935 (elmo-map-folder-flag-as-answered): Ditto.
3936 (elmo-folder-unflag-important): Ditto.
3937 (elmo-folder-flag-as-important): Ditto.
3938 (elmo-folder-unflag-read): Ditto.
3939 (elmo-folder-flag-as-read): Ditto.
3940 (elmo-folder-unflag-answered): Ditto.
3941 (elmo-folder-flag-as-answered): Ditto.
3943 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3944 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3946 (elmo-map-folder-unflag-important): Ditto.
3947 (elmo-map-folder-flag-as-read): Ditto.
3948 (elmo-map-folder-unflag-read): Ditto.
3949 (elmo-map-folder-flag-as-answered): Ditto.
3950 (elmo-map-folder-unflag-answered): Ditto.
3952 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3953 `elmo-global-flags-set'.
3954 (elmo-global-flags-set): Added autoload setting.
3956 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3959 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3960 `elmo-msgdb-global-mark-set'.
3961 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3962 Call `elmo-global-flags-set'.
3963 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3965 (elmo-folder-flag-as-important-plugged): Ditto.
3966 (elmo-folder-unflag-read-plugged): Ditto.
3967 (elmo-folder-flag-as-read-plugged): Ditto.
3968 (elmo-folder-unflag-answered-plugged): Ditto.
3969 (elmo-folder-flag-as-answered-plugged): Ditto.
3970 (elmo-global-flags-set): Added autoload setting.
3972 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3974 (elmo-folder-unflag-read): Ditto.
3975 (elmo-folder-flag-as-important): Ditto.
3976 (elmo-folder-unflag-important): Ditto.
3977 (elmo-folder-flag-as-answered): Ditto.
3978 (elmo-folder-unflag-answered): Ditto.
3980 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3981 change of `mark'->`flag'.
3982 (elmo-dop-queue-method-name-alist): Ditto.
3983 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3984 (elmo-folder-unflag-read-dop): Ditto.
3985 (elmo-folder-flag-as-important-dop): Ditto.
3986 (elmo-folder-unflag-important-dop): Ditto.
3987 (elmo-folder-flag-as-answered-dop): Ditto.
3988 (elmo-folder-unflag-answered-dop): Ditto.
3990 * elmo-cache.el (elmo-folder-msgdb-create): Call
3991 `elmo-global-flags-set'.
3993 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3994 Call `elmo-global-flags-set'.
3995 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3996 elmo-archive-parse-mmdf with argument `folder'.
3997 (elmo-archive-parse-mmdf): Added argument `folder';
3998 Call `elmo-global-flags-set'.
4000 * elmo-version.el (elmo-version): Up to 2.11.14.
4002 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4004 * modb.el (elmo-msgdb-length): Define.
4006 * elmo.el (elmo-make-folder): Fixed.
4007 (elmo-generic-folder-append-messages): Follow the API change.
4009 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4012 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4014 * modb.el: New file.
4016 * modb-entity.el: Ditto.
4018 * modb-legacy.el: Ditto.
4020 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4021 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4022 of `elmo-msgdb-overview-get-entity'.
4023 (elmo-msgdb-get-field): Ditto.
4024 (elmo-msgdb-merge): Moved to `elmo.el'.
4025 (elmo-msgdb-length): Removed; redefine as modb method.
4026 (elmo-msgdb-change-mark): Abolish.
4027 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4028 (elmo-msgdb-match-condition): Don't use mark.
4029 (elmo-msgdb-overview-get-entity): Abolish.
4030 Split modb part into `modb*.el'.
4032 * elmo-vars.el (elmo-msgdb-default-type): New user option.
4034 * elmo-shimbun.el (shimbun-mua-search-id): Use
4035 `elmo-msgdb-message-entity' instead of
4036 `elmo-msgdb-overview-get-entity'.
4037 (elmo-shimbun-folder-shimbun-header): Ditto.
4038 (elmo-shimbun-get-headers): Ditto.
4039 (elmo-shimbun-update-overview): Ditto.
4041 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4043 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4045 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4046 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4048 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4049 `elmo-msgdb-mark-to-flags'.
4051 * elmo-map.el (elmo-folder-pack-numbers): Don't use
4052 `elmo-msgdb-set-path'.
4054 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4056 * elmo-version.el (elmo-version): Up to 2.11.13.
4058 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4060 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4063 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
4065 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4068 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4070 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4071 instead of `elmo-msgdb-get-cached'.
4072 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4074 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4075 (elmo-msgdb-set-cached): Ditto.
4076 (elmo-msgdb-set-flag): Rewrite.
4077 (elmo-msgdb-unset-flag): Ditto.
4079 * elmo-msgdb.el: Rewrite with luna.
4081 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4082 (elmo-folder-msgdb): Follow the change above.
4083 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4084 (elmo-folder-unmark-important): Follow the API change.
4085 (elmo-folder-mark-as-important): Ditto.
4086 (elmo-folder-unmark-read): Ditto.
4087 (elmo-folder-mark-as-read): Ditto.
4088 (elmo-folder-unmark-answered): Ditto.
4089 (elmo-folder-mark-as-answered): Ditto.
4090 (elmo-folder-clear): Likewise.
4092 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4093 instead of `elmo-msgdb-load' (renamed).
4095 * elmo-version.el (elmo-version): Up to 2.11.12.
4097 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4099 * elmo.el (elmo-generic-folder-append-messages): Follow the API
4101 (elmo-message-mark): Abolish.
4102 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4103 instead of `elmo-msgdb-change-mark'.
4105 * elmo-pipe.el (elmo-message-mark): Abolish.
4107 * elmo-multi.el (elmo-message-mark): Ditto.
4109 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4110 (elmo-msgdb-unread-uncached-mark): Ditto.
4111 (elmo-msgdb-unread-cached-mark): Ditto.
4112 (elmo-msgdb-read-uncached-mark): Ditto.
4113 (elmo-msgdb-answered-cached-mark): Ditto.
4114 (elmo-msgdb-answered-uncached-mark): Ditto.
4115 (elmo-msgdb-important-mark): Ditto.
4116 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4118 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4120 (elmo-flag-table-load): Changed flag to list of flag.
4121 (elmo-flag-table-set): If flags is nil, set read flag.
4122 (elmo-flag-table-get): Return derived flags from global mark,
4123 cache status and saved flags.
4124 (elmo-msgdb-flag-table): Follow the change above.
4125 (elmo-msgdb-out-of-date-messages): New function.
4127 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4129 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4131 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4133 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4134 (elmo-nntp-msgdb-create-message): Ditto.
4136 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4138 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4140 (elmo-folder-msgdb-create): Follow the API change.
4142 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4143 (elmo-folder-append-messages): Ditto.
4145 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4146 (elmo-folder-append-buffer): Ditto.
4148 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4150 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4152 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4153 (elmo-archive-parse-mmdf): Ditto.
4155 * elmo-version.el (elmo-version): Up to 2.11.11.
4157 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4159 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4162 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4164 * elmo-pipe.el (elmo-message-flags): Defined.
4166 * elmo-multi.el (elmo-message-flags): Ditto.
4168 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4170 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4171 `elmo-msgdb-delete-msgs'.
4173 * elmo.el (elmo-folder-count-flags): Don't use
4174 `elmo-msgdb-get-mark-alist'.
4175 (elmo-folder-detach-messages): Follow the API change.
4177 * elmo.el (elmo-folder-list-messages): Append killed messages into
4178 result if `visible-only' is nil.
4180 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4182 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4183 (elmo-folder-update-number): Likewise.
4185 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4186 (elmo-pop3-sort-msgdb-by-original-number): Use
4187 `elmo-msgdb-sort-entities'.
4189 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4190 (elmo-msgdb-sort-by-date): Use it.
4191 (elmo-msgdb-overview-sort-by-date): Abolish.
4193 * elmo-dop.el (elmo-folder-status-dop): Fixed.
4195 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4196 (elmo-msgdb-flags): New function.
4197 (elmo-msgdb-merge): Use elmo-msgdb-append.
4199 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4202 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4204 * elmo-dop.el (elmo-folder-status-dop): Use
4205 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4207 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4209 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4211 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4213 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4215 * elmo-util.el (elmo-with-progress-display): New macro.
4217 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4219 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4221 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4222 `elmo-folder-list-message-entities' instead of
4223 `elmo-msgdb-get-overview'.
4224 (elmo-map-folder-list-message-locations): Ditto.
4226 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4227 methods instead of treat directly).
4228 (elmo-msgdb-clear): Ditto.
4229 (elmo-msgdb-delete-msgs): Ditto.
4230 (elmo-msgdb-sort-by-date): Ditto.
4232 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4234 (elmo-nntp-folder-msgdb-create): Follow the API change.
4236 * elmo-version.el (elmo-version): Up to 2.11.10.
4238 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4240 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4241 (elmo-msgdb-flags-to-mark): Ditto.
4242 (elmo-msgdb-append-entity): Ditto.
4244 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4245 Use `elmo-msgdb-append-entity' instead of construct msgdb.
4246 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4247 (elmo-archive-parse-mmdf): Ditto.
4249 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4251 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4253 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4255 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4257 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4259 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4261 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4263 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4265 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4266 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4269 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4270 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4271 instead of directly construction.
4272 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4273 instead of construct msgdb.
4275 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4276 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4277 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4278 instead of construct msgdb.
4280 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4282 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4283 when field is from or subject.
4285 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4287 * elmo-multi.el (elmo-message-entity-parent): Define.
4288 (elmo-folder-search): Rewrite.
4290 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4292 * elmo-multi.el (elmo-message-cached-p): Define.
4294 * elmo.el (elmo-message-cached-p): New method.
4295 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4296 (elmo-message-flags): New method.
4297 (elmo-message-flagged-p): New function.
4299 * elmo-version.el (elmo-version): Up to 2.11.9.
4301 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4303 * elmo-version.el (elmo-version): Up to 2.11.8.
4305 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4307 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4309 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4311 * elmo.el (elmo-folder-detach-messages): Undo last change.
4313 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4315 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4317 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4318 only when src folder type is pop3.
4320 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4322 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4323 elmo-msgdb-overview-entity-get-number instead of
4324 elmo-message-entity-number.
4326 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4328 * elmo-version.el (elmo-version): Up to 2.11.7.
4330 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4332 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4335 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4336 (elmo-msgdb-merge): New function.
4337 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4338 (elmo-msgdb-make-index): Rewrite.
4340 * elmo-version.el (elmo-version): Up to 2.11.6.
4342 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4343 use it as a the path for loading message entities.
4345 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4347 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4349 * elmo-filter.el (elmo-folder-set-message-modified): Set
4350 message-modified slot of itself if it does not require target msgdb.
4352 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4353 if folder length is zero.
4354 (elmo-mime-display-as-is): Ditto.
4356 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4358 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4360 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4362 * elmo.el (elmo-folder-set-message-modified): New method.
4363 (elmo-generic-folder-commit): Use it.
4364 (elmo-folder-synchronize): Ditto.
4366 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4367 (elmo-folder-commit): Remove duplicate definition.
4369 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4371 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4373 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4375 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4376 (elmo-strict-folder-diff): Ditto.
4377 (elmo-folder-set-info-max-by-numdb): Simplify.
4379 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4380 elmo-msgdb-list-messages.
4382 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4383 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4385 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4387 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4388 visible-only is non-nil.
4389 (elmo-folder-confirm-appends): Changed message.
4390 (elmo-folder-synchronize): Added argument disable-killed.
4392 * elmo-multi.el (elmo-folder-synchronize): Added argument
4395 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4397 * elmo-version.el (elmo-version): Up to 2.11.5.
4399 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4402 * elmo-util.el (elmo-list-filter): Simplify.
4404 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4405 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4406 (elmo-generic-folder-diff): Abolish argument.
4407 (elmo-msgdb-load): Don't use number-alist.
4409 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4411 * elmo-pipe.el (elmo-folder-diff): Ditto.
4413 * elmo-nmz.el (elmo-folder-diff): Ditto.
4415 * elmo-net.el (elmo-folder-diff): Ditto.
4417 * elmo-maildir.el (elmo-folder-diff): Ditto.
4419 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4421 * elmo-multi.el (elmo-folder-diff): Ditto
4422 (elmo-multi-folder-diff): Rewrite.
4424 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4426 * elmo-pipe.el (elmo-folder-msgdb): Define.
4428 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4430 * elmo.el (elmo-message-set-cached): Define as a method.
4432 * elmo-pipe.el (elmo-message-set-cached): Define.
4433 (elmo-find-fetch-strategy): Ditto.
4435 * elmo-multi.el (elmo-message-set-cached): Define.
4436 (elmo-find-fetch-strategy): Rewrite.
4438 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4440 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4442 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4444 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4445 instead of number-alist.
4447 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4448 mark nor message-id when msgdb of source folder is not loaded.
4450 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4452 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4454 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4456 * elmo.el (elmo-folder-length): Don't require msgdb.
4458 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4460 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4461 (elmo-message-field): Ditto.
4463 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4464 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4466 (elmo-map-folder-list-answereds): Define.
4467 (elmo-maildir-list-location): Treat 'R' info.
4468 (elmo-folder-msgdb-create): Treat flag-table.
4469 (elmo-folder-append-messages): Save flag-table.
4471 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4473 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4474 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4476 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4478 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4480 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4481 'read when mark is null.
4483 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4485 * elmo-version.el (elmo-version): Up to 2.11.4.
4487 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4489 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4490 (elmo-folder-mark-as-answered): Ditto.
4492 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4494 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4495 (elmo-pop3-get-session): Make msgdb directory after session.
4496 (elmo-folder-exists-p): Check exactly at the first time even when the
4497 elmo-pop3-exists-exactly is nil.
4499 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4500 (elmo-folder-list-messages): Define instead of
4501 elmo-folder-list-messages-internal.
4502 (elmo-folder-check): Check destination folder.
4503 (elmo-folder-synchronize): Drain the pipe.
4505 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4506 when msgdb is not loaded.
4508 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4510 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4511 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4514 * elmo.el (elmo-folder-kill-messages-before): New function.
4515 (elmo-folder-kill-messages): Ditto.
4516 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4518 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4519 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4520 killed not by synchronize (e.g. scoring).
4522 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4524 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4526 (elmo-folder-search): Follow the change above.
4528 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4529 into the candidates of search field.
4531 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4533 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4534 (elmo-msgdb-unset-flag): Ditto.
4536 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4538 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4540 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4541 (elmo-folder-commit): Define.
4542 (elmo-folder-synchronize): Ditto.
4543 (elmo-folder-list-flagged): Ditto.
4544 (elmo-folder-commit): Ditto.
4545 (elmo-folder-length): Ditto.
4546 (elmo-folder-count-flags): Ditto.
4547 (elmo-message-mark): Ditto.
4548 (elmo-message-field): Ditto.
4549 (elmo-message-entity): Ditto.
4550 (elmo-message-folder): Ditto.
4552 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4554 * elmo.el (elmo-message-field): Define as a method.
4556 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4557 (elmo-message-field): Define.
4559 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4560 (elmo-folder-list-importants): Ditto.
4561 (elmo-folder-list-answereds): Ditto.
4563 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4565 (elmo-folder-mark-as-read): Ditto.
4566 (elmo-folder-unmark-read): Ditto.
4567 (elmo-folder-mark-as-answered): Ditto.
4568 (elmo-folder-unmark-answered): Ditto.
4569 (elmo-folder-list-flagged): Define.
4570 (elmo-folder-commit): Ditto.
4571 (elmo-folder-length): Ditto.
4572 (elmo-folder-count-flags): Ditto.
4574 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4576 * elmo.el (elmo-folder-detach-messages): New method.
4577 (elmo-folder-move-messages): Use it.
4578 (elmo-folder-synchronize): Ditto.
4580 * elmo-multi.el (elmo-folder-detach-messages): Define.
4582 * elmo.el (elmo-message-copy-entity): New function.
4583 (elmo-message-entity-set-number): Ditto.
4584 (elmo-message-mark): Define as method.
4586 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4587 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4588 (elmo-message-entity): Fixed last change.
4589 (elmo-message-mark): Define.
4590 (elmo-folder-msgdb-create): Abolish.
4591 (elmo-multi-folder-append-msgdb): Ditto.
4592 (elmo-multi-folder-diff): Fixed.
4593 (elmo-multi-split-number-alist): Removed.
4594 (elmo-multi-split-mark-alist): Removed.
4595 (elmo-folder-list-messages): Define.
4596 (elmo-folder-list-messages-internal): Removed.
4598 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4599 local file messages.
4600 (elmo-folder-msgdb-create): Fixed read mark.
4602 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4604 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4607 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4609 * elmo.el (elmo-folder-list-message-entities): Define as inline
4611 (elmo-folder-messages): Abolish.
4613 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4615 (elmo-folder-synchronize): Define.
4616 (elmo-message-entity): Define.
4618 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4620 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4621 elmo-imap4-session-select-mailbox.
4623 * elmo.el (elmo-folder-move-messages): Don't display any message.
4625 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4627 (elmo-imap4-session-check): Don't wait CHECK response.
4628 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4630 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4632 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4634 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4636 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4638 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4641 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4642 (elmo-folder-list-message-entities): Added argument in-msgdb and
4644 (elmo-folder-synchronize): Define as a method.
4646 * elmo-nntp.el (elmo-folder-initialize): Don't use
4647 elmo-nntp-default-user if zero-length username is specified
4650 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4652 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4653 server name in case with username.
4654 (XXX: this is ad-hoc fix against username includes "@", it
4655 should be solved fundamentally)
4657 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4659 * elmo-nntp.el (elmo-nntp-debug): New function.
4660 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4661 (elmo-network-authenticate-session): Hide auth-info from the log.
4663 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4664 user name if it is equal to elmo-nntp-default-user.
4666 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4668 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4669 instead of shimbun-server-internal;
4670 Use shimbun-current-group instead of shimbun-current-group-internal.
4671 (elmo-folder-plugged-p): Use shimbun-server instead of
4672 shimbun-server-internal.
4673 (elmo-folder-set-plugged): Ditto.
4674 (elmo-net-port-info): Ditto.
4675 (elmo-folder-check): Ditto.
4676 (elmo-folder-expand-msgdb-path): Ditto.
4677 (elmo-folder-list-subfolders): Ditto.
4679 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4681 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4682 Convert field-name to lower case.
4683 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4685 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4687 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4688 `message' and `error' take format string.
4690 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4692 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4694 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4696 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4697 recursive call (can't byte compile on emacs 20.7).
4699 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4701 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4702 (elmo-folder-list-message-entities): New API.
4703 (elmo-message-entity): Ditto.
4704 (elmo-message-entity-parent): Ditto.
4705 (elmo-folder-do-each-message-entity): Ditto.
4706 (elmo-message-entity-number): Ditto.
4707 (elmo-message-entity-field): Ditto.
4708 (elmo-message-entity-set-field): Ditto.
4709 (elmo-folder-count-flags): Ditto.
4710 (elmo-folder-length): Ditto.
4712 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4715 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4716 (elmo-msgdb-count-marks): Abolish.
4717 (elmo-msgdb-make-entity): Ditto.
4718 (elmo-msgdb-do-each-entity): Ditto.
4719 (elmo-msgdb-message-entity): New inline function.
4720 (elmo-msgdb-message-entity-field): Ditto.
4721 (elmo-msgdb-message-entity-set-field): Ditto.
4722 (elmo-msgdb-make-message-entity): New function.
4724 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4726 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4727 to flag. (All other related portions are changed.)
4728 (elmo-folder-msgdb-create): Likewise.
4729 (elmo-generic-folder-append-messages): Use flag-table instead of
4731 (elmo-folder-move-messages): Removed redundant process.
4732 (elmo-folder-synchronize): Likewise.
4734 * elmo-msgdb.el (elmo-flag-table-get): New function.
4735 (elmo-flag-table-save): Fixed.
4736 (elmo-msgdb-length): New inline function.
4737 (elmo-msgdb-flag-table): New function.
4738 (elmo-msgdb-mark): Add optional argument new.
4739 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4740 (elmo-msgdb-seen-list): Ditto.
4741 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4744 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4746 * elmo.el (elmo-message-set-mark): Abolish.
4747 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4748 (All related portions are changed.)
4750 * elmo-msgdb.el (toplevel): Added comment.
4751 (elmo-load-msgdb): Added 4th element `path'.
4752 (elmo-msgdb-append): Follow the change above.
4753 (elmo-msgdb-clear): Ditto.
4754 (elmo-msgdb-delete-msgs): Ditto.
4755 (elmo-msgdb-get-path): New inline function.
4756 (elmo-msgdb-set-path): Ditto.
4757 (elmo-flag-table-filename): New variable.
4758 (elmo-flag-table-load): New function.
4759 (elmo-flag-table-set): Ditto.
4760 (elmo-flag-table-save): Ditto.
4761 (elmo-msgdb-get-field-value): Abolish.
4762 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4764 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4766 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4767 the folder has been deleted successfully.
4768 * elmo-imap4.el (elmo-folder-delete): Ditto.
4769 * elmo-archive.el (elmo-folder-delete): Ditto.
4770 * elmo-localdir.el (elmo-folder-delete): Ditto.
4771 * elmo-maildir.el (elmo-folder-delete): Ditto.
4773 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4775 * elmo-util.el (elmo-string-member-ignore-case): New function.
4776 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4777 (elmo-imap4-fetch-callback-1-subr): Likewise.
4779 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4781 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4782 the case of the name attribute "\Noselect".
4784 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4786 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4788 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4789 flist, is not always a member of onum-alist.
4791 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4793 * elmo-version.el (elmo-version): Up to 2.11.3.
4795 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4797 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4798 copied from localdir's one.
4800 * elmo-pipe.el (elmo-folder-rename): New method, rename
4801 destination folder with leaving source folder as it is.
4803 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4805 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4808 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4810 * elmo-version.el (elmo-version): Up to 2.11.2.
4812 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4814 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4815 shimbun-open in case of "@".
4816 (elmo-folder-open-internal): Cope with shimbun = nil case.
4817 (elmo-folder-plugged-p): Ditto.
4818 (elmo-folder-list-subfolders): Make list for "@/" group.
4820 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4822 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4823 mailbox (e.g. for %~/something).
4825 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4827 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4828 Replace nested conditional with guard clauses.
4830 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4832 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4835 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4838 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4840 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4841 Replace nested conditional with guard clauses.
4843 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4845 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4846 (elmo-passwd-alist-save): Ditto.
4847 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4849 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4851 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4852 dir-name only if it is absolute path.
4853 (TODO: distinguish +/something and +something)
4855 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4857 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4858 path for "+~/something".
4860 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4862 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4863 as non-directory, cause error before rename-file.
4864 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4865 apropriately, mimic localdir's one.
4866 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4868 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4870 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4872 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4874 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4876 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4878 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4879 is included in the global-mark or not.
4881 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4883 * utf7.el (toplevel): Avoid error when the function
4884 find-coding-system does not exist.
4886 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4888 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4889 cache even if the folder is plugged.
4890 (elmo-nntp-search-primitive): Do nothing when body search is
4891 invoked (although it is not used by the change above).
4892 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4894 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4896 * elmo-version.el (elmo-version): Up to 2.11.1.
4898 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4900 * elmo-archive.el: Specify charset.
4902 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4904 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4905 process buffer lives or not.
4907 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4908 while flushing queues (It causes infinite loop).
4910 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4912 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4914 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4916 * utf7.el (toplevel): Check the ucs features dynamically.
4917 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4919 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4920 folder is creatabe or not if it already exists.
4922 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4924 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4926 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4928 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4929 (elmo-imap4-read-response): Take care of garbage response.
4931 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4933 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4934 just return nil instead of error.
4936 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4938 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4939 search-key is "body".
4941 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4943 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4944 of elmo-string-matched-assoc to use match-data.
4945 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4947 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4949 * elmo-split.el (elmo-split->): New function.
4950 (elmo-split-<): Ditto.
4952 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4954 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4955 workaround for invalid message-id.
4957 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4959 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4960 return normal pop3 session or pop3 biff session.
4962 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4964 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4965 info part to the cur files when the new files already have it.
4966 (Adviced by Jared Rhine <jared@wordzoo.com>)
4968 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4970 * elmo-split.el (elmo-split-default-action): New variable.
4971 (elmo-split-subr): Use it if all other conditions are passed.
4972 Extend `fname' and rename it as `action'. (implemented
4973 Teranishi-san's idea in [wl:10800])
4975 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4977 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4978 * elmo-util.el: Ditto.
4980 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4982 * elmo.el (elmo-message-accessible-p): Renamed from
4983 elmo-message-cached-p and rewritten.
4985 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4987 * elmo.el (elmo-folder-list-flagged): New generic function.
4988 (elmo-folder-list-importants): New implementation.
4989 (elmo-folder-list-answereds): Ditto.
4990 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4992 (elmo-message-cached-p): New function.
4993 (elmo-message-set-flag): Ditto (no content).
4994 (elmo-message-unset-flag): Ditto.
4995 (elmo-folder-list-messages-mark-match): Abolish.
4997 * elmo-util.el (elmo-regexp-opt): New function.
4999 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5000 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5002 (elmo-msgdb-list-flagged): New function.
5004 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5005 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5008 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5010 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
5012 * elmo-version.el (elmo-version): Up to 2.11.0.
5014 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5016 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5017 `elmo-file-cache-exists-p'; use proper mark that depends on
5019 (elmo-msgdb-unset-flag): Ditto.
5020 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5022 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5023 with 4th argument `use-cache'.
5025 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
5027 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5028 (elmo-folder-mark-as-important): Ditto.
5029 (elmo-folder-unmark-read): Ditto.
5030 (elmo-folder-mark-as-read): Ditto.
5031 (elmo-folder-unmark-answered): Ditto.
5032 (elmo-folder-mark-as-answered): Ditto.
5034 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5036 (elmo-msgdb-mark): Likewise.
5037 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5038 (elmo-msgdb-unset-flag): Likewise.
5040 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5042 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5044 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5047 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5049 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5050 set spool-length to 0.
5052 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5054 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5055 (elmo-dop-queue-flush): Fixed last change.
5057 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5059 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5060 if require-msgdb slot is nil.
5061 (elmo-folder-list-importants): Likewise.
5063 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5065 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5068 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5069 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5072 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
5074 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5076 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
5078 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5080 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5082 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5084 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5085 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5087 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5089 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5090 the problem reported by Sean Rima [wl-en:180].
5092 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5094 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5096 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5098 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5100 * elmo-map.el (elmo-folder-unmark-read): Ditto.
5102 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5104 * elmo-net.el (elmo-folder-unmark-read): Ditto.
5106 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5108 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
5110 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5113 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5115 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5116 (elmo-folder-mark-as-read): Follow the API change.
5117 (elmo-message-set-cached): New function.
5119 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5121 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5123 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5124 (elmo-folder-mark-as-important): Ditto.
5125 (elmo-folder-unmark-read): Ditto.
5126 (elmo-folder-mark-as-read): Ditto.
5127 (elmo-folder-unmark-answered): Ditto.
5128 (elmo-folder-mark-as-answered): Ditto.
5130 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5131 (elmo-folder-unmark-important): Ditto.
5132 (elmo-folder-mark-as-read): Ditto.
5133 (elmo-folder-unmark-read): Ditto.
5134 (elmo-folder-mark-as-answered): Ditto.
5135 (elmo-folder-unmark-answered): Ditto.
5137 * elmo-mark.el (toplevel): Removed some mark method definitions.
5139 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5140 (elmo-map-folder-mark-as-answered): Ditto.
5141 (elmo-folder-unmark-important): Add :before qualifier.
5142 (elmo-folder-mark-as-important): Ditto.
5143 (elmo-folder-unmark-read): Ditto.
5144 (elmo-folder-mark-as-read): Ditto.
5145 (elmo-folder-unmark-answered): Define.
5146 (elmo-folder-mark-as-answered): Ditto.
5148 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5149 (elmo-map-folder-unmark-answered): Ditto.
5151 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5153 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5154 (elmo-folder-mark-as-important): Ditto.
5155 (elmo-folder-unmark-read): Ditto.
5156 (elmo-folder-mark-as-read): Ditto.
5157 (elmo-folder-unmark-answered): Ditto.
5158 (elmo-folder-mark-as-answered): Ditto.
5160 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5161 `mark'; evaluate mark condition.
5162 (elmo-msgdb-match-condition-internal): New function.
5163 (elmo-msgdb-match-condition): Call it; changed argument.
5165 * elmo.el (elmo-folder-search): Follow the API change on
5166 `elmo-msgdb-match-condition'.
5168 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5170 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5171 original mark is non-nil.
5173 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5175 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5176 (elmo-map-folder-list-answereds): New method.
5177 (elmo-folder-list-unreads): Add :around qualifier.
5178 (elmo-folder-list-importants): Ditto.
5179 (elmo-folder-list-answereds): Ditto.
5181 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
5183 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5185 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5186 method if msgdb is not required.
5187 (elmo-filter-folder-list-importants): Don't treat global-mark.
5189 * elmo.el (elmo-folder-list-importants): Ditto.
5191 * elmo-net.el (elmo-folder-list-importants): Ditto.
5193 * elmo-map.el (elmo-folder-list-importants): Ditto.
5195 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5197 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5198 (elmo-imap4-folder-list-any-plugged): New function.
5199 (elmo-imap4-search-internal-primitive): Use it.
5201 * elmo-filter.el (elmo-folder-check): Synchronize original folder
5202 only when require-msgdb slot is non-nil.
5203 (elmo-folder-close): Clear target folder's msgdb.
5205 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5207 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5208 (elmo-pop3-msgdb-create-by-header): Ditto.
5209 (elmo-pop3-msgdb-create-message): Ditto.
5211 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5213 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5215 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5217 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5218 (elmo-folder-msgdb-create): Ditto.
5219 (elmo-nntp-folder-msgdb-create): Ditto.
5220 (elmo-nntp-msgdb-create-by-header): Ditto.
5221 (elmo-nntp-msgdb-create-message): Ditto.
5222 (elmo-folder-list-unreads): Define.
5224 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5225 (elmo-folder-append-messages): Ditto.
5226 (elmo-folder-list-unreads): Define.
5227 (elmo-folder-list-importants): Ditto.
5228 (elmo-folder-list-answereds): Ditto.
5230 * elmo-net.el (elmo-folder-list-unreads): Define.
5231 (elmo-folder-list-importants): Ditto.
5232 (elmo-folder-list-answereds): Ditto.
5233 (elmo-folder-list-answereds-plugged): Ditto.
5234 (elmo-folder-msgdb-create): Follow the API change.
5235 (elmo-folder-msgdb-create-unplugged): Ditto.
5236 (elmo-folder-unmark-answered): Define.
5237 (elmo-folder-mark-as-answered-unplugged): Ditto.
5238 (elmo-folder-unmark-answered-unplugged): Ditto.
5240 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5241 (elmo-msgdb-unread-uncached-mark): Ditto.
5242 (elmo-msgdb-unread-cached-mark): Ditto.
5243 (elmo-msgdb-read-uncached-mark): Ditto.
5244 (elmo-msgdb-answered-cached-mark): Ditto.
5245 (elmo-msgdb-answered-uncached-mark): Ditto.
5246 (elmo-msgdb-important-mark): Ditto.
5247 (elmo-msgdb-set-mark): Rewrite.
5248 (elmo-msgdb-count-marks): Rewrite.
5249 (elmo-msgdb-mark-alist-set): Abolish.
5250 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5251 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5253 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5254 (elmo-folder-close): Define.
5255 (elmo-folder-msgdb-create): Follow the API change.
5256 (elmo-folder-list-unreads): Rewrite.
5257 (elmo-folder-mark-as-important): Ditto.
5258 (elmo-folder-unmark-important): Ditto.
5259 (elmo-folder-mark-as-read): Ditto.
5260 (elmo-folder-unmark-read): Ditto.
5261 (elmo-folder-mark-as-answered): Define.
5262 (elmo-folder-unmark-answered): Ditto.
5264 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5265 (elmo-folder-append-messages): Ditto.
5267 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5269 * elmo-map.el (elmo-folder-list-unreads): Ditto.
5270 (elmo-folder-list-importants): Ditto.
5272 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5273 (elmo-folder-append-messages): Ditto.
5275 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5277 (elmo-folder-msgdb-create-plugged): Ditto.
5278 (elmo-folder-append-messages): Ditto.
5279 (elmo-folder-list-answereds-plugged): Define.
5280 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5281 (elmo-folder-unmark-answered-plugged): Define.
5282 (elmo-folder-mark-as-answered-plugged): Ditto.
5283 (elmo-folder-search-requires-msgdb-p): Ditto.
5285 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5286 (elmo-folder-initialize): Set it.
5287 (elmo-folder-msgdb): Define.
5288 (elmo-folder-check): Call elmo-folder-synchronize.
5289 (elmo-folder-close): Define.
5290 (elmo-folder-commit): Ditto.
5291 (elmo-folder-msgdb-create): Rewrite.
5292 (elmo-folder-list-unreads): Ditto.
5293 (elmo-folder-list-importants): Ditto.
5294 (elmo-folder-mark-as-read): Ditto.
5295 (elmo-folder-unmark-read): Ditto.
5296 (elmo-folder-mark-as-important): Ditto.
5297 (elmo-folder-unmark-important): Ditto.
5298 (elmo-folder-mark-as-answered): Define.
5299 (elmo-folder-unmark-answered): Ditto.
5301 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5302 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5303 (elmo-dop-queue-method-name-alist): Likewise.
5304 (elmo-folder-mark-as-answered-dop): New inline function.
5305 (elmo-folder-unmark-answered-dop): Ditto.
5306 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5308 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5309 (elmo-folder-msgdb-create): Ditto.
5310 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5311 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5312 (elmo-archive-parse-mmdf): Ditto.
5314 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5315 (elmo-folder-list-unreads-internal): Ditto.
5317 * elmo.el (elmo-folder-msgdb): Define as generic function.
5318 (elmo-folder-list-messages): Added argument `in-msgdb'.
5319 (elmo-folder-list-unreads): Define as generic function.
5320 (elmo-folder-list-importants): Ditto.
5321 (elmo-folder-list-answereds): Ditto.
5322 (elmo-folder-list-messages-with-global-mark): New function.
5323 (elmo-folder-msgdb-create): Removed mark arguments.
5324 (elmo-folder-unmark-answered): New generic function.
5325 (elmo-folder-mark-as-answered): Ditto.
5326 (elmo-folder-append-messages): Removed argunment `unread-marks'
5327 (elmo-folder-list-unreads-internal): Abolish.
5328 (elmo-folder-list-importants-internal): Ditto.
5329 (elmo-folder-search-requires-msgdb-p): New generic function.
5330 (elmo-folder-search-requires-msgdb-p-internal): New function.
5331 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5333 (elmo-folder-search-fast): Added key 'mark'.
5334 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5335 instead of unread-marks argument.
5336 (elmo-folder-move-messages): Removed argunment `unread-marks'
5337 (elmo-folder-unmark-important): Define.
5338 (elmo-folder-mark-as-important): Ditto.
5339 (elmo-folder-unmark-read): Ditto.
5340 (elmo-folder-mark-as-read): Ditto.
5341 (elmo-folder-unmark-answered): Ditto.
5342 (elmo-folder-mark-as-answered): Ditto.
5343 (elmo-folder-replace-marks): Abolish.
5344 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5346 (elmo-folder-synchronize): Removed mark arguments;
5347 return crosspost only number.
5349 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5351 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5352 Remove redundunt connectivity check.
5354 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5356 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5357 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5359 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5361 * pldap.el (ldap-decode-string): Return string as-is if
5362 `ldap-coding-system' is nil.
5363 (ldap-encode-string): Ditto.
5364 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5365 (ldap-default-host): Fixed docstring.
5367 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5369 * elmo-util.el (elmo-warning): Define as a macro which uses
5370 `display-warning' if it is defined as a function.
5372 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5373 (elmo-split-equal): Use it.
5374 (elmo-split-match): Ditto.
5375 (elmo-split-message-entity): New buffer-local variable.
5376 (elmo-split-subr): Set it.
5378 * elmo-version.el (elmo-version): Up to 2.9.15.
5380 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5382 * elmo-imap4.el (elmo-network-initialize-session):
5383 Check capability after starttls.
5385 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5387 * elmo-util.el (elmo-list-delete): Added optional argument
5390 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5392 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5394 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5396 * elmo-imap4.el (elmo-folder-initialize): Don't use
5397 elmo-imap4-default-mailbox.
5399 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5401 * elmo-split.el (toplevel): Use `product-provide'.
5402 (elmo-split): Checkdoc.
5404 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5406 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5407 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5408 the function `elmo-imap4-debug-1'.
5410 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5412 * elmo-split.el (elmo-split): Moved to run hooks and to show
5413 message from elmo-split-subr.
5414 (elmo-split-subr): Follow the change above.
5416 * elmo-split.el (elmo-split-subr): New function (renamed from
5418 (elmo-split): Changed to call elmo-split-subr by element of
5420 (elmo-split-folder): Changed customization type to choice.
5422 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5424 * elmo-split.el (elmo-split-and): Fixed condition.
5426 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5428 * elmo-split.el: New file.
5429 (elmo-split): Fixed logic.
5430 Display "Test:" instead of "Folder:" when reharsal.
5432 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5435 * elmo-version.el (elmo-version): Up to 2.9.14.
5437 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5440 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5442 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5443 message with no message-id field.
5445 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5447 * elmo-version.el (elmo-version): Up to 2.9.13.
5449 * elmo-dop.el (elmo-folder-status-dop): Fix.
5451 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5453 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5455 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5456 changing default value of default-mime-charset.
5457 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5459 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5461 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5462 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5463 instead of elmo-dop-queue-method-name-alist to check merging queue.
5464 (elmo-folder-delete-messages-dop): Delete from queue if negative
5466 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5467 file is already removed.
5469 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5471 * elmo-vars.el: Bind colon keywords for old Emacsen.
5473 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5475 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5476 against non-exsisting charset.
5478 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5480 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5481 Use eword-decode-and-unfold-unstructured-field-body.
5483 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5484 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5485 exists to decode raw subject string.
5486 (toplevel): Require 'mime.
5488 * elmo-version.el (elmo-version): Up to 2.9.12.
5490 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5492 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5493 (elmo-msgdb-set-mark): Ditto.
5495 * elmo-version.el (elmo-version): Up to 2.9.11.
5497 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5499 * elmo-util.el (elmo-delete-match-files): New function.
5501 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5502 instead of elmo-delete-directory.
5504 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5505 elmo-hash-minimun-size as 63.
5507 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5508 elmo-diff-unread is nil.
5510 * elmo-imap4.el (elmo-folder-open): Fix.
5512 * elmo.el (elmo-message-mark): Rewrite.
5513 (elmo-message-field): Ditto.
5514 (elmo-message-set-mark): Ditto.
5515 (elmo-folder-replace-marks): New function.
5516 (elmo-generic-folder-append-msgdb): Removed third argument for
5518 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5519 (elmo-msgdb-load): New implementation.
5521 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5523 * elmo-util.el (elmo-list-insert): New implementation.
5525 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5526 argument for elmo-msgdb-append.
5529 * elmo-msgdb.el (elmo-load-msgdb): New function.
5530 (elmo-make-msgdb): Ditto.
5531 (elmo-msgdb-get-index): New inline function.
5532 (elmo-msgdb-set-index): Ditto.
5533 (elmo-msgdb-get-entity-hashtb): Ditto.
5534 (elmo-msgdb-get-mark-hashtb): Ditto.
5535 (elmo-msgdb-get-mark): Ditto.
5536 (elmo-msgdb-set-mark): Ditto.
5537 (elmo-msgdb-count-marks): Ditto.
5538 (elmo-msgdb-get-number): Ditto.
5539 (elmo-msgdb-get-field): Ditto.
5540 (elmo-msgdb-seen-list): Ditto.
5541 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5542 (elmo-msgdb-delete-msgs): Follow the changes above.
5543 (elmo-msgdb-overview-get-entity): Ditto.
5544 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5545 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5547 (elmo-msgdb-make-index): Likewise.
5548 (elmo-msgdb-append): Removed third argument.
5549 (elmo-msgdb-clear): Clear index as nil.
5550 (elmo-folder-set-info-hashtb): Removed.
5551 (elmo-folder-set-info-max-by-numdb): Ditto.
5552 (elmo-folder-info-make-hashtb): Ditto.
5554 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5556 * elmo-map.el (elmo-folder-pack-number): Ditto.
5558 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5560 * elmo-version.el (elmo-version): Up to 2.9.10.
5562 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5564 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5566 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5568 * elmo-utils.el (elmo-make-directory): Add option.
5569 Default file mode is 700.
5571 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5573 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5575 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5577 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5580 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5583 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5585 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5586 (elmo-shimbun-folder-entity-hash): New function.
5587 (elmo-shimbun-folder-shimbun-header): Ditto.
5588 (elmo-shimbun-entity-to-header): Ditto.
5589 (elmo-shimbun-msgdb-to-headers): Removed.
5590 (elmo-shimbun-folder-setup): Ditto.
5591 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5593 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5594 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5595 Removed useless local bind.
5596 (elmo-folder-open-internal): Don't call
5597 `elmo-shimbun-folder-setup'.
5598 (elmo-folder-close-internal): Clear entity-hash slot.
5599 (elmo-folder-clear): Ditto.
5600 (elmo-shimbun-msgdb-create-entity): Use
5601 `elmo-shimbun-folder-shimbun-header'.
5602 (elmo-map-message-fetch): Ditto.
5603 (elmo-shimbun-update-overview): Use overview entity instead of
5604 shimbun header to lookup id by references.
5605 (elmo-map-folder-list-message-locations): Use not only headers but
5606 also overviews to list locations.
5608 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5610 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5613 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5615 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5617 * elmo-util.el (elmo-read-search-condition-internal): Give default
5620 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5622 * elmo-util.el (elmo-condition-parse-search-value): Accept
5623 YYYY-MM-DD format to search.
5624 * elmo-date.el (elmo-date-get-datevec): Likewise.
5626 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5628 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5631 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5633 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5636 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5638 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5639 case from `elmo-folder-exists-p'.
5640 (elmo-folder-exists-p): Removed.
5641 (elmo-folder-creatable-p) Ditto.
5643 * elmo-net.el (elmo-folder-create): Defined.
5644 (elmo-folder-create-unplugged): New function.
5645 (elmo-folder-exists-p): Changed default value to nil from t.
5647 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5648 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5650 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5651 `elmo-create-folder-dop' and append queue
5652 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5653 (elmo-folder-create-dop-delayed): New function.
5655 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5657 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5659 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5660 (elmo-folder-writable-p) : Ditto.
5662 * elmo-version.el (elmo-version): Up to 2.9.9.
5664 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5666 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5667 `elmo-message-use-cache-p' returns nil.
5668 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5669 (ignore cache file and refer the substance in local folders)
5671 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5673 * elmo-version.el (elmo-version): Up to 2.9.8.
5675 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5677 * elmo-version.el (elmo-version): Up to 2.9.7.
5679 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5681 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5683 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5685 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5687 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5689 (elmo-map-folder-list-message-locations): Reverse location list.
5691 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5693 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5695 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5697 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5699 (elmo-nntp-folder-list-subfolders): Follow the change above.
5701 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5703 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5704 name if authentication type is specified.
5706 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5708 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5710 (elmo-default-nntp-stream-type): Ditto.
5711 (elmo-default-pop3-stream-type): Ditto.
5713 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5715 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5717 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5719 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5721 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5723 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5724 (elmo-maildir-folder-path): Ditto.
5725 (elmo-maildir-list): Ditto (abolished).
5727 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5729 * elmo-version.el (elmo-version): Up to 2.9.6.
5731 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5733 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5734 (elmo-maildir-folder-path): Ditto.
5735 (elmo-msgdb-directory): Ditto.
5736 (elmo-passwd-life-time): Ditto.
5737 (elmo-msgdb-extra-fields): Ditto.
5738 (elmo-enable-disconnected-operation): Ditto.
5740 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5742 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5744 (elmo-pop3-default-authenticate-type): Ditto.
5746 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5748 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5750 (elmo-pop3-default-authenticate-type): Ditto.
5752 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5754 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5755 mailbox to new-folder.
5757 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5759 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5760 less than new, set new as unread.
5762 * elmo-util.el (elmo-string): Don't put text-property if nil.
5764 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5766 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5767 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5769 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5771 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5772 is nil on `completing-read'.
5774 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5776 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5778 (elmo-imap4-parse-namespace-subr): Ditto.
5779 (elmo-folder-list-subfolders): Append a delimiter when the specified
5780 folder path is a root with namespace and does not end with delimiter.
5782 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5784 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5787 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5789 * elmo-util.el (elmo-save-buffer): The first argument of message
5790 is a format control string.
5792 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5794 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5795 `elmo-folder-diff').
5796 (elmo-diff-unread): Likewise.
5798 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5800 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5801 is t on `completing-read'.
5803 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5805 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5806 method of target folder with self mark-alist if MARK-ALIST is nil.
5808 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5810 * elmo-version.el (elmo-version): Up to 2.9.5.
5812 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5814 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5815 (elmo-dop-merge-funcs): Remove.
5817 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5819 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5820 Return t if PATH is directory, too.
5821 Use `dolist' instead of while loop.
5823 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5825 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5828 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5830 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5832 (elmo-folder-list-messages-unplugged): Return t if
5833 elmo-enable-disconnected-operation is nil.
5835 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5836 `elmo-folder-list-messages-internal'.
5838 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5840 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5841 Change to looking-at `[23][0-9]+'.
5842 (elmo-network-initialize-session): Use 'error-msg'
5843 * elmo-net.el (elmo-network-open-session): Set unplugged
5844 if elmo-network-initialize-session returns 'elmo-open-err.
5846 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5848 * elmo-version.el (elmo-version): Up to 2.9.4.
5850 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5852 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5853 `elmo-folder-list-messages-internal'.
5855 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5857 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5858 (elmo-message-match-condition): New method.
5859 (elmo-folder-search-fast): New inline function.
5860 (elmo-msgdb-search): Removed.
5862 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5863 target folder if it is unplugged.
5864 (elmo-folder-list-messages-internal): Return t if target folder is
5865 unplugged and itself is persistent; In this case, use list be
5868 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5869 (elmo-msgdb-search-internal-primitive): Ditto.
5870 (elmo-msgdb-match-condition): New function.
5871 (elmo-msgdb-match-condition-primitive): Ditto.
5873 * elmo-util.el (elmo-filter-condition-p): New macro.
5875 * elmo-cache.el (elmo-folder-search): Removed.
5877 * elmo-localdir.el (elmo-folder-search): Ditto.
5879 * elmo-maildir.el (elmo-folder-search): Ditto.
5881 * elmo-mark.el (elmo-folder-search): Ditto.
5883 * elmo-nmz.el (elmo-folder-search): Ditto.
5885 * elmo-sendlog.el (elmo-folder-search): Ditto.
5887 * elmo-shimbun.el (elmo-folder-search): Ditto.
5889 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5890 if folder is unplugged.
5892 * elmo-nntp.el (elmo-folder-search): Likewise.
5893 (elmo-nntp-search-internal): New function.
5895 * elmo-version.el (elmo-version): Up to 2.9.3.
5897 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5899 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5901 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5903 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5905 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5907 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5909 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5911 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5912 (elmo-map-folder-list-message-locations): Do drive letter conversion
5913 on Windows environment.
5914 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5915 (elmo-map-message-fetch): Ditto.
5917 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5919 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5920 (elmo-network-initialize-session): Ditto.
5922 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5924 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5926 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5928 * elmo-util.el (elmo-progress-clear): Ditto.
5930 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5931 `DD-Mon-YYYY' type date.
5933 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5935 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5936 `elmo-date-make-sortable-string' instead of
5937 `timezone-make-date-sortable'.
5939 * elmo-date.el (elmo-date-make-sortable-string): Use
5940 `timezone-make-time-string'.
5942 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5944 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5946 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5947 `since'; Fix timezone.
5949 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5951 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5953 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5955 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5957 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5959 * elmo.el (elmo-generic-folder-append-messages): Make
5960 fetch-strategy with `use-cache' as 'maybe. Check return value of
5961 `elmo-message-fetch'.
5962 (elmo-message-fetch): Return return value of
5963 `elmo-message-fetch-with-cache-process'.
5964 (elmo-message-fetch-with-cache-process): Return non-nil if
5965 fetching was succeed. Load cache when fetching was failed and
5966 fetch-strategy-use-cache is 'maybe.
5968 * elmo-util.el (elmo-file-cache-load): New function.
5970 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5973 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5974 non-nil if fetching was succeed.
5976 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5978 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5980 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5981 (elmo-message-fetch-with-cache-process): Likwise.
5983 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5985 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5987 * elmo-version.el (elmo-version): Up to 2.9.2.
5989 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5991 * elmo.el (elmo-folder-delete): Delete msgdb path.
5993 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5995 * elmo-maildir.el (elmo-folder-delete): Ditto.
5997 * elmo-localdir.el (elmo-folder-delete): Ditto.
5999 * elmo-imap4.el (elmo-folder-delete): Ditto.
6001 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
6003 * elmo.el (luna-define-class): Added `biff' slot.
6005 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6006 (elmo-pop3-debug-inhibit-logging): Abolished.
6007 (elmo-network-close-session): Eliminated needless let.
6008 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6009 (elmo-pop3-send-command): Added `no-log' argument.
6010 (elmo-pop3-process-filter): Use `with-current-buffer'.
6011 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6013 (elmo-pop3-auth-apop): Likewise.
6014 (elmo-network-authenticate-session): Likewise.
6016 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6019 * elmo-net.el (elmo-network-session-password-key): Use class symbol
6020 string to determine protocol.
6021 (elmo-network-session-name-prefix): Abolished.
6022 (elmo-network-session-cache-key): Follow the change above.
6023 (elmo-network-open-session): Ditto.
6025 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6026 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6028 * elmo-version.el (elmo-version): Up to 2.9.1.
6030 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6031 unmatch condition checking.
6033 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6036 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6038 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6040 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
6042 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6043 test for while loop to execute at least one SEARCH command.
6045 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
6047 * elmo-version.el (elmo-version): Up to 2.9.0.
6049 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6051 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6052 (elmo-archive-folder-path): Define.
6053 (elmo-folder-initialize): Setup `dir-name' slot.
6054 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6055 Use `dir-name' as prefix of each subfolders.
6056 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6058 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6060 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6061 (elmo-pipe-folder-list-target-messages): New internal function.
6062 (elmo-pipe-drain): Use new argument `ignore-list' instead of
6064 (elmo-pipe-folder-copied-list-load): New function.
6065 (elmo-pipe-folder-copied-list-save): Ditto.
6066 (elmo-folder-open-internal): Follow the change above.
6067 (elmo-folder-status): Fixed for copy.
6069 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
6071 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6073 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
6075 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6076 elmo-copy-file instead of elmo-add-name-to-file.
6078 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6080 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6083 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6084 of accept-process-output as 1.
6085 (elmo-pop3-read-contents): Ditto.
6086 (elmo-pop3-read-body): Ditto.
6088 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
6090 * elmo-version.el (product-version-as-string): Remove define.
6092 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6094 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6095 (elmo-imap4-copy-messages): Chop number set using
6096 `elmo-imap4-number-set-chop-length'.
6097 (elmo-imap4-set-flag): Ditto.
6098 (elmo-imap4-search-internal-primitive): Ditto.
6100 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
6102 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6103 `elmo-folder-make-temp-dir'
6105 * elmo-vars.el (elmo-cache-directory): New variable.
6106 (elmo-cache-dir): Abolished.
6107 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6109 * elmo-version.el (elmo-version): Up to 2.7.7.
6111 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6113 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6114 defcustom; Set default value as t.
6116 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
6118 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6119 (ldap-search-program-arguments): Changed default value.
6120 (ldap-search-basic): Accept exit status 4.
6121 (ldap/field-body): Parse options.
6122 (ldap/collect-field): Ditto.
6123 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6125 * elmo-imap4.el (elmo-imap4-process-bye): New function.
6126 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6127 (elmo-imap4-accept-ok): Ditto.
6128 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6129 'notify-bye, only BYE error is reported.
6130 (elmo-folder-exists-p-plugged): Set no-error argument of
6131 `elmo-imap4-session-select-mailbox' as 'notify-bye.
6133 * elmo.el (elmo-imap4-bye-error): Changed message.
6135 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6136 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6137 queues (It causes infinite loop).
6139 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
6141 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6142 (RECENT UNSEEN MESSAGES) extension.
6144 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
6146 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6147 Check number of overview fields.
6149 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6151 * elmo.el (elmo-folder-confirm-appends): Changed message.
6152 (elmo-folder-confirm-appends): Ditto.
6154 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6156 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6158 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6160 * elmo.el (elmo-folder-confirm-appends): Check whether the value
6161 of elmo-folder-update-threshold is nil, which can be set by
6162 wl-summary-update-confirm-threshold.
6164 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
6166 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6167 (elmo-nmz-index-alias-alist): Ditto.
6168 (elmo-map-folder-list-message-locations): Follow the change above.
6170 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6172 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6174 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6176 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6178 * elmo-util.el (elmo-read): Ditto.
6179 (elmo-display-error): Ditto.
6181 * elmo-vars.el (elmo-date-match): Ditto.
6183 * pldap.el (ldap-coding-system): Ditto.
6185 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6186 `elmo-inhibit-number-mapping' as nil.
6188 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
6190 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6191 space delimiter for list response.
6193 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6195 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6197 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6199 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6200 (elmo-map-message-fetch): Fix.
6201 * elmo-map.el (elmo-folder-status): Fix for killed.
6203 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6205 * elmo-sendlog.el: New file.
6206 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6208 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6210 * acap.el (acap-logging-out): New buffer local variable.
6211 (acap-close): Set it.
6212 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6215 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6217 * acap.el (acap-response-bye-p): New function.
6218 (acap-response-bye-message): Ditto.
6219 (acap-wait-for-response): If bye response is received, cause an error.
6220 (acap-parse-response): Make bye response when 'Bye' is received.
6222 2001-11-23 Kenichi OKADA <okada@opaopa.org>
6224 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6226 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6228 * elmo-util.el (elmo-copy-file): Added argument
6229 `ok-if-already-exists'.
6230 (elmo-copy-file): Fixed typo.
6232 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6234 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6236 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6238 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6240 2001-11-20 Kenichi OKADA <okada@opaopa.org>
6242 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6245 2001-11-19 Kenichi OKADA <okada@opaopa.org>
6247 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6248 (elmo-folder-initialize): Fix for `copy'.
6249 (elmo-pipe-drain): Ditto.
6250 (elmo-folder-open-internal): Ditto.
6251 (elmo-folder-newsgroups): Fix.
6253 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
6255 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6258 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6259 recent value is returned from imap folder.
6261 * elmo.el (elmo-folder-newsgroups): New generic function.
6263 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6264 (elmo-folder-initialize): Set it.
6265 (elmo-folder-expand-msgdb-path): Use it.
6266 (elmo-folder-newsgroups): Define.
6268 * elmo-filter.el (elmo-folder-newsgroups): Define.
6270 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6272 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6274 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6276 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6278 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6280 (elmo-shimbun-header-extra-field): New inline function.
6281 (elmo-shimbun-header-set-extra-field): Ditto.
6282 (elmo-shimbun-folder-header-hash-setup): Ditto.
6283 (elmo-shimbun-update-overview): Ditto.
6284 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6285 (elmo-shimbun-folder-setup): Use
6286 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6287 (elmo-shimbun-get-headers): Ditto.
6288 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6289 Insert `X-Shimbun-Id:' header if extra field is set.
6290 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6291 field's value instead of `shimbun-header-id'.
6293 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6295 (elmo-msgdb-overview-entity-set-date): Ditto.
6296 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6298 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6300 * mmimap.el (mmimap-entity-section): Changed body node number from
6303 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6305 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6306 `elmo-folder-delete-messages'.
6308 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6309 (elmo-folder-initialize): Changed to expand alias into index path.
6311 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6312 `elmo-mime-insert-header-from-buffer' with 6th arg
6315 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6317 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6319 * elmo.el (elmo-diff-new): New inline function.
6320 (elmo-diff-unread): Ditto.
6321 (elmo-diff-all): Ditto.
6323 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6324 value from responseb.
6325 (elmo-imap4-folder-diff-plugged): Ditto.
6326 (elmo-imap4-server-diff-async): Added recent argument.
6327 (elmo-server-diff-async): Ditto.
6328 (elmo-imap4-folder-diff-plugged): Ditto.
6330 * elmo-version.el (elmo-version): Up to 2.7.6.
6332 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6334 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6337 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6339 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6341 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6343 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6345 * elmo-multi.el (elmo-folder-initialize): Ditto.
6347 * elmo-util.el (elmo-parse-token): New function.
6348 (elmo-parse-prefixed-element): Ditto.
6350 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6352 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6354 (elmo-imap4-accept-ok): Ditto.
6356 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6358 * mmimap.el (mime-imap-entity-header-string): Don't check first
6359 element of node-id is `0' (Follow last change).
6361 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6363 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6364 assigned irregular node-id to nested multipart section.
6365 (initialize-instance): Followed above change.
6367 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6369 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6370 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6371 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6372 `elmo-shimbun-get-headers');
6373 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6374 visible article on summary exists in headers).
6375 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6377 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6379 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6382 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6384 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6386 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6388 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6389 header separator into loop condition.
6391 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6393 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6394 Return duplicate folder if it has subfolder.
6396 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6398 * elmo.el (elmo-make-folder): Add folder name error check.
6400 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6401 (elmo-nntp-encode-group-string): New inline function.
6402 (elmo-nntp-decode-group-string): Ditto.
6403 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6404 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6405 Use `not' instead of `null';
6406 Use elmo-nntp-decode-group-string.
6408 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6410 * elmo-version.el (elmo-version): Up to 2.7.5.
6412 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6414 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6415 Hide progress gauge if `elmo-folder-move-messages' exits
6418 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6420 * elmo-imap4.el (elmo-folder-initialize): Use
6421 `elmo-imap4-encode-folder-string' for folder name.
6423 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6425 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6428 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6430 * elmo-util.el (elmo-progress-counter-alist): New internal
6432 (elmo-progress-counter-value): New macro.
6433 (elmo-progress-counter-all-value): Ditto.
6434 (elmo-progress-counter-format): Ditto.
6435 (elmo-progress-counter-set-value): Ditto.
6436 (elmo-progress-set): New function.
6437 (elmo-progress-clear): Ditto.
6438 (elmo-progress-notify): Ditto.
6440 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6443 * elmo.el (elmo-generic-folder-append-messages): Call
6444 `elmo-progress-notify'.
6445 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6447 * elmo-archive.el (elmo-folder-append-messages): Call
6448 `elmo-progress-notify'.
6450 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6452 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6454 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6456 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6458 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6460 (elmo-message-encache-dop): Added argument `read'.
6462 * elmo-shimbun.el (elmo-message-encache): Ditto.
6464 * elmo-net.el (elmo-message-encache): Ditto.
6466 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6467 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6468 elmo-imap4-seen-messages.
6469 (elmo-folder-msgdb-create-plugged): Initialize
6470 elmo-imap4-seen-messages;
6471 Set seen mark on elmo-imap4-seen-messages.
6473 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6475 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6476 elmo-folder-append-buffer.
6477 (elmo-folder-encache): Added optional argument `read'.
6478 (elmo-message-encache): Ditto.
6480 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6482 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6484 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6485 if append buffer content succeds.
6487 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6489 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6490 elmo-display-progress.
6492 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6493 Set 4th argument of mime-display-message.
6494 (elmo-mime-display-as-is): Ditto.
6496 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6498 * elmo-nmz.el (toplevel): Require 'mime-edit.
6499 (elmo-nmz-content-type-alist): Abolished.
6500 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6501 content is not a message.
6502 (elmo-map-message-fetch): Changed behavior exept for message content;
6503 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6504 content-type, Add From: and Subject: field.
6506 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6508 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6509 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6512 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6514 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6515 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6517 * elmo-archive.el (elmo-folder-writable-p): Defined.
6519 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6521 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6523 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6525 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6527 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6529 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6531 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6533 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6535 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6537 * elmo-util.el (elmo-address-quote-specials): New function;
6538 Renamed from `wl-address-quote-specials'.
6540 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6542 * elmo-version.el (elmo-version): Up to 2.7.4.
6544 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6546 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6548 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6550 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6551 both compile-time and run-time to avoid byte-compile warning.
6553 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6555 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6557 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6559 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6561 (elmo-mime-display-as-is-internal): Use it.
6563 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6564 if `read-passwd' is not defined.
6566 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6568 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6570 (elmo-folder-status): Call `elmo-folder-open-internal';
6571 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6572 (elmo-folder-close-internal): Set location-alist as nil.
6573 (elmo-folder-clear): Define.
6574 (elmo-folder-check): Don't set location-alist as nil.
6576 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6578 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6580 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6581 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6583 * mmimap.el (mime-imap-entity::requested): New slot.
6584 (mime-imap-location-fetch-entity-p): New generic function.
6585 (mime-decode-parameters): Define using `defun-maybe'.
6586 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6587 content-type structure.
6588 (mime-entity-body): Return empty body if
6589 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6591 * elmo.el (elmo-message-displaying): New variable.
6593 * elmo-mime.el (elmo-mime-message-display): Bind
6594 elmo-message-displaying as t.
6596 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6598 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6600 * acap.el (acap-open): erase buffer before starting network process.
6601 (acap-store): Rewrite.
6603 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6605 * elmo-imap4.el (elmo-imap4-default-mailbox,
6606 elmo-imap4-default-server
6607 elmo-imap4-default-authenticate-type,
6608 elmo-imap4-default-user,
6609 elmo-imap4-default-port,
6610 elmo-imap4-default-stream-type,
6611 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6613 * elmo-pop3.el (elmo-pop3-default-user,
6614 elmo-pop3-default-server,
6615 elmo-pop3-default-authenticate-type,
6616 elmo-pop3-default-port,
6617 elmo-pop3-default-stream-type,
6618 elmo-pop3-stream-type-alist): Ditto.
6620 * elmo-nntp.el (elmo-nntp-default-server,
6621 elmo-nntp-default-user,
6622 elmo-nntp-default-port,
6623 elmo-nntp-default-stream-type,
6624 elmo-nntp-stream-type-alist): Ditto.
6626 * elmo-vars.el: Follow changes above.
6627 (elmo-setting): New custom group; added 'elmo-setting group to
6630 * elmo-version.el (elmo-version): Up to 2.7.3.
6632 * acap.el (acap-parse-response): Don't delete process when BYE
6633 response (It causes hang-up on slow network environment).
6634 (toplevel): Added comment.
6636 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6638 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6640 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6642 (acap-parse-return-metadata): Ditto.
6645 (toplevel): Fixed typo.
6647 * acap.el: New file.
6648 (acap-network-stream-open): Show "Connecting..." message.
6649 (acap-parse-response): Fixed problem for BYE untagged response.
6650 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6651 (toplevel): Added tiny comments.
6653 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6655 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6656 space delimiter for uidl response.
6658 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6660 * elmo-vars.el (elmo-use-semi): Eliminated.
6662 * elmo-util.el (elmo-string-assoc-all): New function.
6664 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6666 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6667 property 'mime-preview-situation for `mime-preview-quit'.
6669 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6671 * elmo.el (elmo-message-fetch-with-cache-process): Call
6672 elmo-message-fetch-internal instead of causing an error when fetch
6673 strategy is 'entire but only 'section cache is available.
6675 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6677 * elmo-version.el (elmo-version): Up to 2.7.2.
6679 * elmo.el (elmo-generic-folder-append-messages): Make
6680 fetch-strategy with `use-cache'.
6682 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6683 (elmo-dop-queue-method-name): New macro.
6685 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6687 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6688 unbalanced parenthesis.
6690 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6692 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6694 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6696 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6697 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6699 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6701 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6704 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6706 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6707 (elmo-message-use-cache-p): Define.
6708 (elmo-folder-msgdb-create): Treat cache.
6710 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6712 * elmo-nntp.el (elmo-network-initialize-session): Call
6713 `elmo-nntp-send-mode-reader'.
6714 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6716 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6718 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6720 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6723 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6724 for `elmo-plugged-p'.
6725 (elmo-open-network-stream): Fixed stream-type argument.
6727 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6729 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6730 unknown archive type is specified.
6732 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6734 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6736 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6737 while loading msgdb.
6739 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6740 (elmo-folder-open-internal): Rewrite.
6742 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6744 * elmo-mime.el (elmo-mime-display-as-is-internal):
6745 Adjust buffer-multibyte status.
6747 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6749 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6750 of elmo-condition-find-key.
6752 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6753 (elmo-condition-in-msgdb-p): Ditto.
6754 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6757 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6759 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6761 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6763 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6764 label for elmo-display-progress.
6766 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6768 * elmo.el (elmo-folder-clear): New method.
6769 (elmo-folder-clear): Define.
6770 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6772 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6773 (elmo-folder-clear): Define.
6775 * elmo-map.el (elmo-folder-clear): Define.
6777 * elmo-version.el (elmo-version): Up to 2.7.1.
6779 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6781 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6784 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6786 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6787 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6789 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6791 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6793 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6796 * elmo-imap4.el (elmo-folder-initialize): Use
6797 elmo-get-network-stream-type.
6799 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6801 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6803 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6805 * elmo.el (elmo-message-encache): Set unread argument for
6808 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6810 * elmo.el (elmo-net-port-info): New method.
6812 * elmo-shimbun.el (elmo-net-port-info): Define.
6813 (elmo-message-encache): Ditto.
6815 * elmo-net.el (elmo-net-port-info): Define as method.
6817 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6818 unplugged status when elmo-enable-disconnected-operation is t.
6820 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6821 of spool folder before checking new number.
6823 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6825 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6826 (elmo-network-setup-session): Ditto.
6827 (elmo-message-fetch-plugged): Ditto.
6828 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6829 (elmo-network-initialize-session): Ditto.
6830 (elmo-pop3-read-response): Abolish 3rd argument.
6831 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6832 (elmo-pop3-read-contents): Ditto.
6833 (elmo-pop3-read-body): Ditto.
6834 (elmo-folder-status): Call elmo-folder-close.
6835 (elmo-pop3-lock): Abolish.
6836 (elmo-pop3-unlock): Ditto.
6837 (elmo-pop3-locked-p): Ditto.
6838 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6840 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6842 * elmo-version.el (elmo-version): Up to 2.7.0.
6844 * elmo-pop3.el (elmo-pop3-debug): New variable.
6845 (elmo-pop3-debug-inhibit-logging): Ditto.
6846 (elmo-pop3-debug): New function.
6847 (elmo-pop3-send-command): Call elmo-pop3-debug.
6848 (elmo-pop3-read-response): Added keep-lock optional argument;
6849 Don't unlock if keep-lock is non-nil.
6850 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6851 (elmo-network-authenticate-session): Bind
6852 elmo-pop3-debug-inhibit-logging as t.
6853 (elmo-network-setup-session): Call elmo-pop3-read-response with
6855 (elmo-pop3-read-msg): Ditto.
6856 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6857 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6858 (elmo-network-initialize-session): Call elmo-pop3-lock.
6859 (elmo-folder-close-internal): Don't clear location-alist slot.
6860 (elmo-folder-check): Clear location-alist slot.
6862 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6864 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6865 (elmo-pop3-send-command): Call elmo-pop3-lock.
6866 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6867 (elmo-pop3-read-contents): Ditto.
6868 (elmo-pop3-lock): New function.
6869 (elmo-pop3-unlock): Ditto.
6870 (elmo-pop3-locked-p): Ditto.
6871 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6874 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6876 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6878 * elmo-util.el (elmo-file-field-primitive-condition-match):
6879 New inline function (Don't fetch file content if "first" or "last").
6880 (elmo-file-field-condition-match): Use
6881 elmo-file-field-primitive-condition-match.
6883 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6886 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6887 (elmo-message-fetch-plugged): Fixed.
6889 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6891 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6893 * elmo.el (elmo-folder-move-messages): Bind
6894 elmo-inhibit-display-retrieval-progress as t while moving messages.
6896 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6898 (elmo-inhibit-display-retrieval-progress): Ditto.
6900 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6901 for retrieval progress;
6902 Don't display progress when total buffer size is smaller than
6903 elmo-display-retrieval-progress-threshold.
6904 (elmo-message-fetch-plugged): Don't display progress when
6905 elmo-inhibit-display-retrieval-progress is non-nil.
6907 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6908 for retrieval progress;
6909 Don't display progress when literal size is smaller than
6910 elmo-display-retrieval-progress-threshold.
6911 (elmo-imap4-message-fetch): Don't display progress when
6912 elmo-inhibit-display-retrieval-progress is non-nil.
6914 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6916 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6917 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6918 (elmo-imap4-message-fetch): Likewise.
6920 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6921 (elmo-shimbun-index-range-alist): Ditto.
6922 (elmo-shimbun-use-entire-index): Abolish.
6923 (shimbun-mua-use-entire-index): Ditto.
6924 (elmo-shimbun-folder): Added new slot `range'.
6925 (elmo-folder-initialize): Setup slot `range'.
6927 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6929 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6930 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6931 (elmo-shimbun-get-headers): Use return value of
6932 `shimbun-article-expiration-days'.
6933 (elmo-folder-close-internal): Clean up last-check slot.
6935 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6936 (elmo-pop3-total-size): New variable.
6937 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6939 * elmo.el (elmo-folder-reserve-status-p): New method.
6941 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6942 (elmo-shimbun-use-entire-index): New user option.
6943 (shimbun-elmo-mua): New class.
6944 (shimbun-mua-search-id): Define.
6945 (shimbun-mua-use-entire-index): Ditto.
6946 (elmo-shimbun-folder:last-check): New slot.
6947 (elmo-shimbun-headers-cache-header-list): Abolish.
6948 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6949 (elmo-shimbun-headers-cache-header-hash): Ditto.
6950 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6951 (elmo-shimbun-headers-cache-last-check): Ditto.
6952 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6953 (elmo-shimbun-headers-check-p): Rewrite.
6954 (elmo-shimbun-msgdb-to-headers): New function.
6955 (elmo-shimbun-get-headers): Rewrite.
6956 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6957 (elmo-folder-open-internal): Get headers only if
6958 `elmo-shimbun-headers-check-p' is non-nil.
6959 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6961 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6962 (elmo-quit): Removed.
6964 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6966 (elmo-msgdb-overview-entity-set-extra): Ditto.
6967 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6969 * elmo-map.el (elmo-folder-status): Don't call
6970 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6973 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6975 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6976 of `elmo-msgdb-search-internal-primitive' when condition's car is
6979 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6981 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6983 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6985 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6986 call `elmo-pipe-drain'.
6988 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6990 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6991 typo. (elmo-cache-folder -> elmo-mark-folder)
6993 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6995 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6996 `elmo-message-fetch'.
6998 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7000 * elmo-net.el (elmo-message-encache): Fixed typo.
7001 (elmo-message-fetch-unplugged): Changed call
7002 `elmo-message-fetch-internal' without argument `outbuf'.
7004 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
7006 * elmo.el (elmo-message-encache): Define as generic function.
7007 (elmo-message-fetch-field): New generic function.
7008 (elmo-message-fetch-with-cache-process): Cause an error when
7009 fetch strategy is 'entire but only 'section cache is available.
7010 (toplevel): Fixed nmz folder definition.
7012 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7013 (elmo-msgdb-resume-list-filename): Ditto.
7014 (elmo-queue-filename): Ditto.
7015 (elmo-enable-disconnected-operation): Changed default value to t.
7017 * elmo-util.el (elmo-cache-path-section-p): New function.
7018 (elmo-file-cache-get): Use it.
7019 (elmo-dop-queue-filename): Moved from elmo-dop.el.
7020 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7021 (elmo-dop-queue-save): Ditto.
7023 * elmo-net.el (elmo-folder-status-unplugged): Call
7024 elmo-folder-status-dop.
7025 (elmo-folder-list-messages-unplugged): Implemented.
7026 (elmo-folder-delete-messages-unplugged): Define.
7027 (elmo-folder-msgdb-create): Define.
7028 (elmo-folder-msgdb-create-unplugged): Define.
7029 (elmo-folder-mark-as-read-unplugged): Ditto.
7030 (elmo-folder-unmark-read-unplugged): Ditto.
7031 (elmo-folder-mark-as-important-unplugged): Ditto.
7032 (elmo-folder-unmark-important-unplugged): Ditto.
7033 (elmo-message-encache): Ditto.
7035 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7036 (elmo-dop-queue-save): Ditto.
7038 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7039 `elmo-folder-msgdb-create'.
7040 (elmo-folder-append-buffer): Implemented unplugged operation.
7041 (elmo-folder-append-messages): Call parent method in unplugged status.
7042 (elmo-message-fetch-unplugged): Removed definition.
7043 (elmo-message-fetch-field): Implemented.
7045 * elmo-dop.el (toplevel): Require 'elmo-localdir.
7046 (elmo-dop-folder): Removed variable definition.
7047 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7048 (elmo-dop-queue-flush): Implemented.
7049 (elmo-dop-queue-merge): Removed definition (TODO).
7050 (elmo-dop-spool-folder): New function.
7051 (elmo-dop-spool-folder-append-buffer): Ditto.
7052 (elmo-dop-spool-folder-list-messages): Ditto.
7053 (elmo-dop-list-deleting-messages): Ditto.
7054 (elmo-folder-append-buffer-dop): Ditto.
7055 (elmo-folder-delete-messages-dop): Ditto.
7056 (elmo-message-encache-dop): New inline function.
7057 (elmo-create-folder-dop): Ditto.
7058 (elmo-folder-mark-as-read-dop): Ditto.
7059 (elmo-folder-unmark-read-dop): Ditto.
7060 (elmo-folder-mark-as-important-dop): Ditto.
7061 (elmo-folder-unmark-important-dop): Ditto.
7062 (elmo-folder-status-dop): Fixed.
7063 (elmo-folder-append-buffer-dop-delayed): New function.
7064 (elmo-folder-delete-messages-dop-delayed): Ditto.
7065 (elmo-dop-msgdb): Ditto.
7067 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7069 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7071 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7073 * elmo.el (elmo-folder-move-messages): Fixed problem when
7074 `dst-folder' is 'null.
7076 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7078 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7079 instead of current mark.
7081 * elmo-multi.el (elmo-folder-list-importants-internal): No
7082 operation if importants is not list.
7084 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7085 Return t if importants is not list.
7087 * elmo-map.el (elmo-map-folder-list-importants): Define.
7088 (elmo-folder-list-importants-internal): Check return value of
7089 `elmo-map-folder-list-importants-internal'.
7091 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7093 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7095 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7097 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7099 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
7101 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7102 (Patch is provided by <kita@coe.nttdata.co.jp>).
7104 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7106 * elmo.el (elmo-folder-synchronize): Don't check important mark in
7109 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7111 * elmo.el (elmo-message-fetch): Define.
7112 (elmo-message-fetch-with-cache-process): New generic method.
7113 (elmo-message-fetch-internal): New generic method.
7114 (elmo-folder-synchronize):
7116 * elmo-archive.el (elmo-message-fetch-internal): Define.
7117 (elmo-message-fetch): Eliminated.
7119 * elmo-localdir.el (elmo-message-fetch-internal): Define.
7120 (elmo-message-fetch): Eliminated.
7122 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7124 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7126 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7127 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7129 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7130 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7132 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7134 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7136 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7138 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7139 (elmo-message-fetch-unplugged): New generic method.
7140 (elmo-message-fetch-internal): Remove cache process (Renamed from
7141 `elmo-message-fetch').
7143 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7144 (elmo-message-fetch): Eliminated.
7145 (elmo-message-fetch-unplugged): Ditto.
7147 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7149 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7151 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7152 of `to-be-deleted' from number-alist to number-list.
7154 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7156 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7157 (elmo-folder-mark-as-important): Ditto.
7159 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
7161 * elmo.el (elmo-folder): Added process-duplicates slot.
7163 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7164 (elmo-folder-unmark-read): Ditto.
7165 (elmo-folder-unmark-important): Ditto.
7166 (elmo-folder-mark-as-important): Ditto.
7168 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7169 duplicated message processing.
7171 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7173 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7175 * elmo-util.el (elmo-list-subdirectories-1): New function.
7176 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7177 (elmo-mapcar-list-of-list): New function.
7179 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7180 `elmo-mapcar-list-of-list' instead of `mapcar'.
7182 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7184 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7185 `elmo-have-link-count'. Return the fully qualified folder name.
7187 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
7189 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7190 (elmo-shimbun-headers-cache): New internal variable.
7191 (elmo-shimbun-headers-cache-header-list): New inline function.
7192 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7193 (elmo-shimbun-headers-cache-header-hash): Ditto.
7194 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7195 (elmo-shimbun-headers-cache-last-check): Ditto.
7196 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7197 (elmo-shimbun-lapse-seconds): Ditto.
7198 (elmo-shimbun-headers-cache-check-p): Ditto.
7199 (elmo-shimbun-get-headers): New function.
7200 (elmo-folder-open-internal): Call it.
7201 (elmo-quit): Define (Clear headers-cache).
7203 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
7205 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7207 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7208 (elmo-msgdb-flist-save): Ditto.
7210 * elmo-shimbun.el (elmo-folder-list-subfolders):
7211 Use `shimbun-groups' instead of `shimbun-groups-internal'.
7212 (elmo-folder-exists-p): Ditto.
7214 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7215 argument for `shimbun-header-insert'.
7217 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
7219 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7222 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7223 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7225 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
7227 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7228 (elmo-folder-plugged-p): Define.
7229 (elmo-folder-set-plugged): Ditto.
7230 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7231 (elmo-folder-list-messages-internal): Return t if unplugged.
7232 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7234 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7235 when elmo-folder-list-messages-internal method of children returns t.
7237 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7239 (elmo-folder-open-internal): Don't update if unplugged status.
7241 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
7243 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7246 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
7248 * elmo-util.el (elmo-file-cache-save): Ignore errors.
7250 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7253 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
7255 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7257 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7258 (elmo-folder-open-internal): Set up headers slot.
7259 (elmo-folder-check): Call elmo-folder-close-internal and
7260 elmo-folder-open-internal.
7261 (elmo-folder-close-internal): Clean up headers slot.
7263 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7265 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7266 exactly folder list.
7267 (elmo-folder-append-messages): Fixed append archive with prefix.
7269 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7270 make temp files with start-number.
7272 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7274 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7276 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7277 argument `visible-only'.
7278 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7281 * elmo-pop3.el (elmo-folder-open-internal): Check
7282 `elmo-inhibit-number-mapping' is non-nil.
7284 * elmo-pipe.el (elmo-folder-status): Fixed.
7286 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7288 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7290 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7291 (elmo-folder-open-internal): Setup `header-hash' slot.
7292 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7294 (elmo-map-message-fetch): Ditto.
7296 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7298 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7299 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7300 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7301 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7303 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7305 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7307 * sb-airs.el: Added footer.
7309 * shimbun.el (shimbun-article): Define as luna-method.
7311 * sb-tcup.el: New file.
7313 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7314 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7316 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7318 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7319 (shimbun-get-headers): Ditto.
7321 * elmo.el: Moved obsolete variable definitions from
7322 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7324 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7327 * shimbun.el: New file.
7329 * elmo-shimbun.el: New file.
7331 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7332 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7333 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7334 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7336 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7338 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7341 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7343 * elmo.el (elmo-folder-msgdb): Define as macro.
7344 (elmo-folder-open): Added argument `load-msgdb'.
7345 (elmo-generic-folder-open): Ditto.
7346 (elmo-folder-encache): New function.
7348 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7350 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7352 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7353 Eliminated argument FOLDER and added argument MSGDB.
7354 (elmo-dop-queue-load): Moved from elmo-dop.el.
7355 (elmo-dop-queue-save): Ditto.
7357 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7359 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7361 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7362 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7363 (elmo-filter-folder-list-importants-internal): Ditto.
7365 * elmo-map.el (elmo-folder-pack-number): Ditto.
7367 * elmo-mime.el (elmo-mime-message-display): Ditto.
7369 * elmo.el (elmo-generic-folder-commit): Ditto.
7370 (elmo-folder-list-unreads): Ditto.
7371 (elmo-folder-list-importants): Ditto.
7372 (elmo-generic-folder-commit): Ditto.
7373 (elmo-message-set-mark): Ditto.
7374 (elmo-generic-folder-append-msgdb): Ditto.
7375 (elmo-folder-synchronize): Ditto.
7376 (elmo-folder-messages): Ditto.
7377 (elmo-init): Call elmo-dop-queue-load.
7378 (elmo-folder-list-messages): Ditto.
7380 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7381 (elmo-nntp-folder-process-crosspost): Ditto.
7382 (elmo-folder-list-unreads-internal): Ditto.
7384 * elmo-dop.el: Removed old functions.
7386 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7388 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7389 `folder' to `msgdb'.
7391 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7393 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7394 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7396 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7399 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7401 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7404 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7405 (mmimap-parse-parameters-from-list): Define as alias for
7406 `mime-decode-parameter-plist' if it is defined as function.
7407 (mmimap-make-mime-entity): Added argument `number'.
7408 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7410 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7412 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7414 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7416 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7418 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7420 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7422 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7423 when elmo-imap4-default-authenticate-type is nil.
7424 (elmo-folder-list-subfolders): Ditto
7425 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7426 (elmo-imap4-fetch-callback-1-subr): Renamed from
7427 `elmo-imap4-fetch-callback-1' and define as inline function.
7428 (elmo-imap4-fetch-callback-1):
7429 Renamed from `elmo-imap4-fetch-callback'.
7430 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7432 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7433 msgdb path (To keep compatibility with main trunk).
7435 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7437 * elmo-util.el (elmo-make-file-cache): Moved position of
7440 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7441 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7442 instead of `elmo-pop3-inhibit-uidl'.
7443 (elmo-folder-exists-p): Ditto.
7444 (elmo-pop3-folder-list-messages): Ditto.
7446 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7447 instead of `elmo-pop3-inhibit-uidl'.
7448 (elmo-folder-status): Ditto.
7450 * elmo-dop.el (elmo-dop-folder): New variable.
7451 (elmo-dop-lock-message): Eliminated.
7452 (elmo-dop-unlock-message): Ditto.
7453 (elmo-dop-lock-list-load): Ditto.
7454 (elmo-dop-lock-list-save): Ditto.
7455 (elmo-dop-delete-folder): Ditto.
7456 (elmo-dop-rename-folder): Ditto.
7458 * elmo.el: Removed incomplete commentary.
7460 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7462 * elmo.el (toplevel): Require 'elmo-version first;
7463 for little `recursive-load-depth' settings.
7464 Fix "ends here" comment.
7466 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7468 * elmo-util.el (toplevel): Require 'poem;
7469 Some functions are moved from elmo-cache.el.
7471 * elmo-net.el (toplevel): Require 'elmo-cache.
7473 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7475 * elmo.el (toplevel): Ditto.
7477 * elmo-cache.el: Rewrite with luna;
7478 Some functions are moved to elmo-util.el.
7480 * elmo-internal.el (elmo-internal-folder-list): New variable.
7481 (elmo-internal-folder-initialize): Rewrite.
7482 (elmo-folder-list-subfolders): Ditto.
7484 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7485 (elmo-cache-collect-sub-directories): Ditto.
7487 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7489 * elmo-version.el (elmo-version): Up to 2.5.8.
7491 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7493 * elmo-util.el (elmo-list-insert): New function.
7495 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7497 * elmo.el (elmo-init): New function.
7498 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7500 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7501 (Renamed from `elmo-localdir-header-chop-length').
7503 * elmo-pop3.el (elmo-pop3-use-cache,
7504 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7506 * elmo-nntp.el (elmo-message-fetch): Define.
7507 (elmo-message-fetch-unplugged): Ditto.
7508 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7509 (elmo-nntp-use-cache): Ditto.
7510 (elmo-nntp-max-number-precedes-list-active): Ditto.
7512 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7514 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7515 `elmo-msgdb-insert-file-header'.
7516 Use `elmo-msgdb-file-header-chop-length'.
7518 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7521 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7522 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7523 `elmo-msgdb-insert-file-header'.
7525 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7527 Define obsolete variables with `elmo-define-obsolete-variable',
7529 * elmo-util.el (elmo-warning-buffer-name): New constant.
7530 (elmo-warning): New function.
7531 (elmo-obsolete-variable-alist): New variable.
7532 (elmo-obsolete-variable-show-warnings): New variable.
7533 (elmo-define-obsolete-variable): New function.
7534 (elmo-resque-obsolete-variable): Ditto.
7535 (elmo-resque-obsolete-variables): Ditto.
7537 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7539 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7542 * elmo-pop3.el, elmo-nntp.el: Use custom.
7544 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7546 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7547 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7549 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7551 * Luna-fy Kenichi OKADA's following changes.
7552 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7554 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7556 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7558 * elmo-util.el (elmo-display-progress): Prefer
7559 `progress-feedback-with-label' to `lprogress-display'.
7561 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7563 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7565 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7567 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7568 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7569 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7570 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7571 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7572 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7573 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7574 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7575 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7576 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7577 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7578 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7579 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7581 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7583 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7584 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7586 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7588 * elmo.el (elmo-folder-process-crosspost): New generic method.
7589 (elmo-folder-writable-p): Ditto.
7590 (elmo-folder-message-appendable-p): Eliminated.
7591 (elmo-generic-folder-append-msgdb): Rewrite.
7592 (elmo-newsgroups-hashtb): New internal variable.
7593 (elmo-crosspost-message-set): Eliminated.
7594 (elmo-crosspost-message-delete): Ditto.
7595 (elmo-setup-subscribed-newsgroups): New function.
7596 (elmo-crosspost-message-alist-modified): New internal variable.
7597 (elmo-crosspost-message-alist-load): New function (Renamed from
7598 `wl-crosspost-alist-load').
7599 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7600 `wl-crosspost-alist-save').
7602 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7604 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7606 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7607 elmo-newsgroups-hashtb).
7608 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7609 `elmo-nntp-folder-update-crosspost-message-alist'.
7610 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7611 `elmo-nntp-groups-hashtb'.
7612 (elmo-nntp-make-groups-hashtb): Eliminated.
7613 (elmo-nntp-parse-newsgroups): New function (Renamed from
7614 `wl-parse-newsgroups').
7615 (elmo-folder-creatable-p, elmo-folder-writable-p,
7616 elmo-folder-close-internal, elmo-folder-mark-as-read,
7617 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7619 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7621 * elmo-net.el (elmo-message-fetch): Check buffer size.
7623 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7625 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7627 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7628 before `close' command.
7630 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7631 `mark-alist' (All other related portions are changed).
7633 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7635 * elmo-util.el (elmo-create-hash-size): Eliminated.
7636 (elmo-make-hash) Make a hash with `one less than a power of two'
7639 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7640 (elmo-hash-maximum-size): Changed value.
7642 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7644 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7645 (elmo-mime-message-display-as-is): Ditto.
7647 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7649 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7650 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7652 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7654 * elmo-mark.el: New file.
7656 * elmo-internal.el: Rewrite (Almost empty).
7658 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7660 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7661 (mime-imap-entity-header-string): Ditto.
7662 (mmimap-entity-section): Rewrite.
7664 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7666 * elmo-nmz.el: New file.
7668 * elmo-pipe.el: Rewrite with luna.
7670 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7672 * elmo-archive.el: Rewrite with luna.
7674 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7675 (elmo-folder-list-importants-internal): Ditto.
7677 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7679 * elmo-archive.el (elmo-archive-version): Abolish.
7680 (toplevel) Removed `boso' comment.
7682 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7684 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7685 elmo-msgdb-add-msgs-to-seen-list-subr;
7686 Changed argument seen-marks to unread-marks.
7688 * elmo-nntp.el: Rewrite with luna.
7690 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7692 * elmo-filter.el: Rewrite with luna.
7694 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7696 * elmo-pop3.el: Rewrite with luna.
7698 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7700 * elmo-multi.el: Rewrite with luna.
7702 * elmo-vars.el (elmo-use-killed-list): Abolish.
7703 All other related portions are changed.
7704 (elmo-filename-replace-string-alist): Renamed from
7705 elmo-msgid-replace-string-alist.
7707 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7709 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7711 * elmo-map.el: New file.
7712 * elmo-maildir.el: Rewrite with luna.
7714 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7716 * elmo.el: Changed meaning of `elmo-folder-commit'.
7717 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7719 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7721 * elmo.el (elmo-folder-append-buffer): New function.
7722 (Renamed from `elmo-append-msg')
7724 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7726 * elmo-mime.el: New file.
7728 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7730 * elmo-cache.el: Rewrite.
7732 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7734 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7736 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7738 * elmo-vars.el (elmo): New group.
7739 (elmo-strict-diff-folder-regexp): New variable.
7741 * elmo-util.el (elmo-call-func): Abolish.
7742 (elmo-folder-get-type): Ditto.
7743 (elmo-*-get-spec): Ditto.
7744 (elmo-*-spec-*): Ditto.
7745 (elmo-imap4-identical-name-space-p): Ditto.
7746 (elmo-folder-identical-system-p): Ditto.
7747 (elmo-folder-direct-copy-alist): Ditto.
7748 (elmo-folder-direct-copy-p): Ditto.
7750 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7751 (elmo-folder-initialize): Define.
7752 (elmo-folder-get-primitive-list): Ditto.
7754 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7755 (elmo-folder-initialize): Define.
7756 Renamed `elmo-network-session-host-internal' to
7757 `elmo-network-session-server-internal'.
7759 * elmo-multi.el (elmo-multi-folder): New luna class.
7760 (elmo-folder-initialize): Define.
7761 (elmo-folder-get-primitive-list): Ditto.
7762 (elmo-folder-contains-type): Ditto.
7763 (elmo-message-use-cache-p): Ditto.
7765 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7766 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7768 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7769 (elmo-folder-initialize): Define.
7771 * elmo-filter.el (elmo-filter-folder): New luna class.
7772 (elmo-folder-initialize): Define.
7773 (elmo-folder-get-primitive-list): Ditto.
7774 (elmo-folder-contains-type): Ditto.
7776 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7778 * elmo-imap4.el: Rewrite with luna.
7780 * mmimap.el: New file.
7782 * mmelmo.el, mmelmo-imap4.el: Removed.
7784 * elmo-net.el: Ditto.
7786 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7787 (elmo-folder-initialize): Define.
7789 * elmo-archive.el (elmo-archive-folder): New luna class.
7790 (elmo-folder-initialize): Define.
7792 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7793 `elmo-folder-msgdb-path'.
7794 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7797 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7799 * elmo.el: New file.
7801 * elmo2.el: Renamed to elmo.el.
7804 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7806 * elmo-cache.el (elmo-cache-expire-by-size): Count
7807 a disk usage for a cache file entry in KB even when
7808 its kind is a directory.
7810 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7812 * elmo-version.el (elmo-version): Up to 2.5.7.
7814 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7816 * elmo-version.el (elmo-version): Up to 2.5.6.
7818 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7820 * elmo-version.el (elmo-version): Up to 2.5.5.
7822 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7824 * elmo-imap4.el (elmo-network-authenticate-session):
7825 Fixed a logic for response checking.
7827 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7829 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7830 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7831 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7834 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7835 for `starttls-open-stream' and `starttls-negotiate'.
7837 * elmo-nntp.el: Remove autoload settings for
7838 `starttls-open-stream' and `starttls-negotiate'.
7840 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7841 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7842 `luna-define-class' with `eval-and-compile'.
7844 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7846 * elmo-util.el (elmo-read-search-condition-internal):
7847 Require an element of table for searching field.
7849 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7851 * elmo-version.el (elmo-version): Up to 2.5.4.
7853 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7855 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7857 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7859 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7861 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7863 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7866 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7868 * elmo-imap4.el (elmo-imap4-delete-folder):
7869 Send "close" before "delete" (Use commented out line).
7870 (elmo-imap4-rename-folder): Ditto.
7872 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7873 folder string itself.
7874 (elmo-dop-list-deleted): New function.
7875 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7878 * elmo-util.el (elmo-string-rassoc-all): New function.
7880 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7882 * elmo-version.el (elmo-version): Up to 2.5.3.
7884 * elmo-net.el (elmo-network-get-session): Changed logic for
7885 checking process status.
7887 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7889 Changed logic for checking process status.
7891 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7893 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7895 (elmo-network-setup-session): Set UIDL hash size according to
7896 the length of list response.
7897 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7898 according to the length of list response;
7899 Return the length of list response.
7900 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7902 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7904 * elmo-imap4.el (toplevel): Require 'ssl.
7905 Add autoload 'starttls.
7906 * elmo-pop3.el (toplevel): Ditto.
7907 * elmo-nntp.el (toplevel): Ditto.
7909 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7911 * elmo-imap4.el (toplevel): defun at compile time.
7912 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7913 sasl-next-step, sasl-step-data, sasl-step-set-data.
7914 * elmo-pop3.el (toplevel): Ditto.
7916 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7918 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7920 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7922 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7924 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7925 and `elmo-pop-auth-apop'.
7927 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7929 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7931 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7933 * elmo-pop3.el (elmo-network-authenticate-session): Split
7934 encoded response value.
7936 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7938 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7939 `elmo-pop3-force-login'.
7940 Redefine `sasl-mechanisms'.
7941 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7943 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7945 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7946 Delete `elmo-imap4-authenticator-alist'.
7947 (elmo-imap4-auth-cram-md5): Delete.
7948 (elmo-imap4-auth-digest-md5): Delete.
7950 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7952 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7953 (elmo-pop3-auth-scram-md5): Ditto.
7954 (elmo-pop3-auth-cram-md5): Ditto.
7956 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7958 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7959 Delete `elmo-pop3-authenticator-alist'.
7961 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7963 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7965 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7967 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7969 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7971 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7973 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7974 Fixed problem when `elmo-pop3-use-uidl' is nil.
7975 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7977 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7979 * elmo-version.el (elmo-version): Up to 2.5.2.
7981 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7983 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7985 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7986 (elmo-pop3-msgdb-create-as-numlist): Use it.
7988 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7989 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7991 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7992 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7994 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7996 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7997 when elmo-mark-as-read is called with second argument nil.
7999 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
8001 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8002 Moved to elmo-util.el.
8004 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8005 Moved from elmo-pipe.el
8007 * elmo-archive.el (elmo-archive-call-process): Enclose with
8010 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8011 "RFC822" (because RFC822.PEEK is obsolete).
8012 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8014 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
8016 * elmo-archive.el (elmo-archive-call-process): Don't check for
8017 the exit status when Nemacs is running.
8019 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
8021 * elmo-net.el (elmo-network-session-password-key): Don't set default to
8024 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8025 (elmo-pop3-get-spec): Set default of auth to 'user.
8027 * elmo-imap4.el (elmo-imap4-session-check):
8028 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8029 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8030 (elmo-imap4-auth-login): New function; Revival.
8031 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8032 `elmo-imap4-auth-login'.
8034 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
8036 * elmo2.el (toplevel): Move `product-provide' declare.
8037 * mmelmo.el (toplevel): Ditto.
8039 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8041 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8043 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
8045 * elmo-util.el (elmo-folder-get-store-type): New function.
8046 (elmo-folder-direct-copy-p): Use it.
8048 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8050 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8051 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8052 and result of `elmo-imap4-use-flag-p'.
8053 (elmo-imap4-fetch-callback-1): Set mark according to
8054 the result of `elmo-imap4-use-flag-p'.
8056 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
8058 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8059 (elmo-generic-list-folder-unread): Ditto.
8060 (elmo-folder-get-info): Ditto.
8061 (elmo-folder-set-info-max-by-numdb): Ditto.
8062 (elmo-folder-get-info-max): Ditto.
8063 (elmo-folder-get-info-length): Ditto.
8064 (elmo-folder-get-info-unread): Ditto.
8065 (elmo-folder-info-make-hashtb): Ditto.
8067 * elmo2.el: Removed above functions.
8069 2000-11-21 Kenichi OKADA <okada@opaopa.org>
8071 * elmo-imap4.el (toplevel): Require 'ssl.
8072 Add autoload 'starttls.
8073 * elmo-pop3.el (toplevel): Ditto.
8074 * elmo-nntp.el (toplevel): Ditto.
8076 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8078 * elmo-imap4.el (toplevel): defun at compile time.
8079 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8080 sasl-next-step, sasl-step-data, sasl-step-set-data.
8081 * elmo-pop3.el (toplevel): Ditto.
8083 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8085 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8087 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8089 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8091 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8092 and `elmo-pop-auth-apop'.
8094 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8096 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8098 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8100 * elmo-pop3.el (elmo-network-authenticate-session): Split
8101 encoded response value.
8103 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8105 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8106 `elmo-pop3-force-login'.
8107 Redefine `sasl-mechanisms'.
8108 * elmo-vars.el (elmo-pop3-force-login): Ditto.
8110 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8112 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8113 Delete `elmo-imap4-authenticator-alist'.
8114 (elmo-imap4-auth-cram-md5): Delete.
8115 (elmo-imap4-auth-digest-md5): Delete.
8117 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8119 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8120 (elmo-pop3-auth-scram-md5): Ditto.
8121 (elmo-pop3-auth-cram-md5): Ditto.
8123 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8125 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8126 Delete `elmo-pop3-authenticator-alist'.
8128 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8130 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8132 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8135 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
8137 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8139 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
8141 * elmo-nntp.el (elmo-nntp-get-folders-info):
8142 Fixed problem when '\' character is contained in user-id.
8143 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8146 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
8148 * elmo-imap4.el (elmo-imap4-delete-folder):
8149 Send "close" before "delete" (Use commented out line).
8150 (elmo-imap4-rename-folder): Ditto.
8152 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8153 folder string itself.
8154 (elmo-dop-list-deleted): New function.
8155 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8158 * elmo-util.el (elmo-string-rassoc-all): New function.
8160 * elmo-version.el (elmo-version): Up to 2.5.1.
8162 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
8164 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8166 * elmo-internal.el (elmo-internal-search): Fix last change.
8168 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
8170 * elmo-internal.el (elmo-internal-search): Rewrite.
8171 (Fixed problem which is pointed out by Akihiro MOTOKI
8172 <motoki@da.jp.nec.com>)
8174 * elmo-version.el (elmo-version): Up to 2.5.0.
8176 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8178 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8180 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8182 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8183 non-nil, make hierarchy.
8185 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
8187 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8188 `elmo-pop3-use-uidl' must be bound to nil.
8189 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8191 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
8193 * elmo-util.el (elmo-copy-file): Don't cause an error after
8194 `add-name-to-file' failed.
8196 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8197 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8199 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
8201 * elmo-version.el (elmo-version): Up to 2.3.93.
8203 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
8205 * elmo-util.el (elmo-flatten): New function.
8207 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
8209 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8211 * elmo-cache.el (toplevel): Ditto.
8212 * elmo-database.el (toplevel): Ditto.
8213 * elmo-date.el (toplevel): Ditto.
8214 * elmo-dop.el (toplevel): Ditto.
8215 * elmo-filter.el (toplevel): Ditto.
8216 * elmo-imap4.el (toplevel): Ditto.
8217 * elmo-internal.el (toplevel): Ditto.
8218 * elmo-localdir.el (toplevel): Ditto.
8219 * elmo-localnews.el (toplevel): Ditto.
8220 * elmo-maildir.el (toplevel): Ditto.
8221 * elmo-msgdb.el (toplevel): Ditto.
8222 * elmo-multi.el (toplevel): Ditto.
8223 * elmo-net.el (toplevel): Ditto.
8224 * elmo-nntp.el (toplevel): Ditto.
8225 * elmo-pipe.el (toplevel): Ditto.
8226 * elmo-pop3.el (toplevel): Ditto.
8227 * elmo-util.el (toplevel): Ditto.
8228 * elmo-vars.el (toplevel): Ditto.
8229 * elmo2.el (toplevel): Ditto.
8230 * mmelmo-imap4.el (toplevel): Ditto.
8231 * mmelmo.el (toplevel): Ditto.
8233 * elmo-version.el (elmo-version): Move to top.
8235 * elmo-cache.el (toplevel): Fixed multiple Author header format.
8236 * elmo-imap4.el (toplevel): Ditto.
8237 * elmo-localdir.el (toplevel): Ditto.
8238 * elmo-msgdb.el (toplevel): Ditto.
8239 * elmo-nntp.el (toplevel): Ditto.
8240 * elmo-pop3.el (toplevel): Ditto.
8241 * elmo-version.el (toplevel): Ditto.
8243 * elmo-localnews.el (toplevel): Added Keyword header.
8245 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
8247 * elmo-version.el (product-version-as-string): Defined using
8251 * elmo-localdir.el (toplevel): Updated copyright notice.
8252 * elmo-version.el (toplevel): Ditto.
8253 * elmo-msgdb.el (toplevel): Ditto.
8254 * elmo-imap4.el (toplevel): Ditto.
8255 * elmo-nntp.el (toplevel): Ditto.
8256 * elmo-pop3.el (toplevel): Ditto.
8258 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
8260 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8263 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8264 parameter value (It sometimes contains raw kanji).
8266 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8268 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8269 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8271 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8273 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8275 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8277 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8278 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8280 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8282 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8283 value if selecting folder succceeded.
8284 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8286 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8288 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8291 * elmo-util.el (elmo-string-matched-member): New function.
8293 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8295 * elmo-util.el (elmo-unintern): New macro.
8296 (elmo-number-set-member): Fixed docstring.
8298 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8301 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8303 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8304 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8306 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8308 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8311 Return non-nil if selecting folder succeeded.
8312 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8314 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8316 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8317 `file-name-completion' returns t.
8318 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8319 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8320 directory if it does not exist.
8321 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8324 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8326 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8327 enclosure (It's harmful in unplugged status).
8329 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8331 * mmelmo-1.el: Removed.
8333 * mmelmo-2.el: Ditto.
8335 * mmelmo-imap4-1.el: Ditto.
8337 * mmelmo-imap4-2.el: Ditto.
8339 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8341 * mmelmo.el: Merged mmelmo-2.el.
8343 * elmo-version.el (elmo-version): Up to 2.3.92.
8345 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8347 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8348 elmo-update-number): Remove last period in "...done." message.
8349 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8351 * elmo-cache.el (elmo-cache-expire-by-size,
8352 elmo-cache-get-sorted-cache-file-list,
8353 elmo-cache-msgdb-create-as-numlist): Ditto.
8354 * elmo-dop.el (elmo-dop-save-pending-messages,
8355 (elmo-dop-flush-pending-append-operations): Ditto.
8356 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8357 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8358 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8359 (elmo-localdir-pack-number): Ditto.
8360 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8361 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8362 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8363 mime-write-entity-content): Ditto.
8364 * pldap.el (ldap-search-basic): Ditto.
8366 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8368 * elmo-version.el (elmo-version): Up to 2.3.91.
8370 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8371 Only when filter is 'last'.
8373 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8374 (elmo-condition-parse-search-value): Use it.
8375 (elmo-read-search-condition-internal): Quote value only when
8378 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8380 * elmo2.el (elmo-generic-folder-diff): Fix.
8382 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8384 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8385 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8386 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8387 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8388 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8389 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8391 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8393 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8396 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8398 * elmo-version.el (elmo-version): Up to 2.3.90.
8400 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8401 (elmo-imap4-list-folder-important): Ditto.
8403 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8405 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8407 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8409 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8411 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8413 * elmo-nntp.el (elmo-network-initialize-session):
8414 Add starttls negotiation.
8416 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8418 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8420 (elmo-network-setup-session): Define.
8421 Call `elmo-nntp-send-mode-reader' when session opened.
8423 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8425 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8427 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8429 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8430 an invalid SPACE character ahead of `SEARCH' command. Move
8431 a valid SPACE character following `SEARCH' from conditional
8432 `format' arguments to control-strings.
8434 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8436 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8439 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8441 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8443 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8444 `w32-get-true-file-link-count' as t.
8446 * elmo-imap4.el (elmo-imap4-read): Abolished.
8447 (Renamed to `elmo-read' and moved to elmo-util.el)
8448 All other related portions are changed.
8450 * elmo-util.el (elmo-read): New function.
8451 (elmo-condition-parse-search-value): Use it.
8453 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8455 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8457 * elmo-nntp.el (elmo-nntp-session): Define.
8458 (elmo-nntp-setting): Abolished.
8459 All other related portions are changed.
8460 (elmo-nntp-get-server-command): Changed argument.
8461 (elmo-nntp-set-server-command): Ditto.
8462 (elmo-nntp-xover-p): Ditto.
8463 (elmo-nntp-set-xover): Ditto.
8464 (elmo-nntp-listgroup-p): Ditto.
8465 (elmo-nntp-set-listgroup): Ditto.
8466 (elmo-nntp-list-active-p): Ditto.
8467 (elmo-nntp-set-list-active): Ditto.
8468 (elmo-nntp-xhdr-p): Ditto.
8469 (elmo-nntp-set-xhdr): Ditto.
8470 (elmo-nntp-flush-connection): Abolished.
8471 (elmo-nntp-get-connection): Abolished.
8472 (elmo-nntp-get-session): New function.
8473 (elmo-network-initialize-session): Defined.
8474 (elmo-network-authenticate-session): Ditto.
8475 (elmo-nntp-send-mode-reader): Changed argument.
8476 (elmo-nntp-send-command): Changed argument.
8477 All other related portions are changed.
8478 (elmo-nntp-read-response): Ditto.
8479 (elmo-nntp-read-raw-response): Ditto.
8480 (elmo-nntp-read-contents): Ditto.
8481 (elmo-nntp-read-body): Ditto.
8482 (elmo-nntp-goto-folder): Abolished.
8483 (elmo-nntp-select-group): New function.
8484 All other related portions are changed.
8485 (This function substitutes `elmo-nntp-goto-folder')
8486 (elmo-nntp-msgdb-create-by-header): Rewrite.
8487 (elmo-nntp-get-overview): Eliminated.
8488 (elmo-nntp-get-message): Ditto.
8489 (elmo-nntp-open-connection) Abolished.
8490 (elmo-nntp-read-msg): Rewrite.
8491 (elmo-nntp-post): Ditto.
8492 (elmo-nntp-send-data): Abolished.
8493 (elmo-nntp-send-buffer): New function.
8494 (elmo-nntp-send-data-line): Define as inline function.
8495 (elmo-nntp-get-folders-info-prepare): Use session as key.
8496 (elmo-nntp-groups-read-response): Changed argument.
8497 (elmo-nntp-retrieve-headers): Ditto.
8498 (elmo-nntp-msgdb-create-message): Ditto.
8500 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8501 when searching by 'since' or 'before'.
8503 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8505 * elmo-version.el (toplevel): Use product-version-as-string for set
8506 verstion-string, if defined.
8508 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8510 * elmo-util.el: Doc fixes.
8512 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8514 * elmo-archive.el (toplevel): Use product-provide.
8515 * elmo-cache.el (toplevel): Ditto.
8516 * elmo-database.el (toplevel): Ditto.
8517 * elmo-date.el (toplevel): Ditto.
8518 * elmo-dop.el (toplevel): Ditto.
8519 * elmo-filter.el (toplevel): Ditto.
8520 * elmo-imap4.el (toplevel): Ditto.
8521 * elmo-internal.el (toplevel): Ditto.
8522 * elmo-localdir.el (toplevel): Ditto.
8523 * elmo-localnews.el (toplevel): Ditto.
8524 * elmo-maildir.el (toplevel): Ditto.
8525 * elmo-msgdb.el (toplevel): Ditto.
8526 * elmo-multi.el (toplevel): Ditto.
8527 * elmo-net.el (toplevel): Ditto.
8528 * elmo-nntp.el (toplevel): Ditto.
8529 * elmo-pipe.el (toplevel): Ditto.
8530 * elmo-pop3.el (toplevel): Ditto.
8531 * elmo-util.el (toplevel): Ditto.
8532 * elmo-vars.el (toplevel): Ditto.
8533 * elmo2.el (toplevel): Ditto.
8534 * mmelmo-1.el (toplevel): Ditto.
8535 * mmelmo-2.el (toplevel): Ditto.
8536 * mmelmo-imap4-1.el (toplevel): Ditto.
8537 * mmelmo-imap4-2.el (toplevel): Ditto.
8538 * mmelmo-imap4.el (toplevel): Ditto.
8539 * mmelmo.el (toplevel): Ditto.
8541 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8543 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8544 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8546 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8548 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8550 (elmo-multi-split-number-alist): Ditto.
8552 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8554 * elmo-version.el: New file. Use product.el.
8555 * elmo2.el: Add (require 'elmo-version).
8556 * elmo-vars.el (elmo-appname, elmo-version): Move to
8559 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8561 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8562 `elmo-msgdb-expand-path'.
8563 (elmo-msgdb-load): Ditto.
8564 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8565 (elmo-generic-list-folder-unread): Rewrite.
8566 (elmo-generic-list-folder-important): Changed argument.
8567 (elmo-list-folder-unread): Ditto.
8568 (elmo-list-folder-important): Ditto.
8569 (elmo-folder-diff): Rewrite.
8570 (elmo-generic-folder-diff): New function.
8571 (elmo-multi-get-number-alist-list): Abolished
8572 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8573 (elmo-multi-folder-diff): Moved to elmo-multi.el
8574 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8576 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8577 `elmo-msgdb-expand-path'.
8578 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8579 (elmo-pop3-read-msg): Ditto.
8580 (elmo-pop3-delete-msgs): Ditto.
8581 (elmo-pop3-folder-diff): New alias.
8583 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8584 `elmo-msgdb-expand-path'.
8585 (elmo-pipe-list-folder-unread): Changed arguments.
8586 (elmo-pipe-list-folder-important): Ditto.
8587 (elmo-pipe-folder-diff): New alias.
8589 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8590 `elmo-msgdb-expand-path'.
8591 (elmo-nntp-max-of-folder): Ditto.
8592 (elmo-nntp-msgdb-create): Ditto.
8593 (elmo-nntp-delete-msgs): Ditto.
8594 (elmo-nntp-folder-diff): New alias.
8596 * elmo-multi.el (elmo-multi-folder-diff): New function.
8597 (elmo-multi-split-mark-alist): Ditto.
8598 (elmo-multi-split-number-alist): Ditto.
8599 (elmo-multi-mark-alist-list): Abolished (Renamed to
8600 elmo-multi-split-mark-alist).
8601 (elmo-multi-list-folder-unread): Rewrite.
8602 (elmo-multi-list-folder-important): Ditto.
8603 (elmo-multi-list-folder): Set `spec' as 1st argument for
8604 `elmo-msgdb-expand-path'.
8605 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8606 instead of `elmo-multi-get-number-alist-list'.
8608 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8609 If 1st argument is not string, treat as spec.
8610 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8611 `elmo-msgdb-expand-path'.
8612 (elmo-msgdb-flist-load): Ditto.
8613 (elmo-msgdb-flist-save): Ditto.
8614 (elmo-msgdb-delete-path): Ditto.
8615 (elmo-msgdb-rename-path): Ditto.
8617 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8618 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8619 (elmo-maildir-delete-mark-msgs): Ditto.
8620 (elmo-maildir-msgdb-create): Ditto.
8621 (elmo-maildir-read-msg): Ditto.
8622 (elmo-maildir-delete-msgs): Ditto.
8623 (elmo-maildir-list-folder-subr): Ditto.
8624 (elmo-maildir-search): Ditto.
8625 (elmo-maildir-get-msg-filename): Ditto.
8626 (elmo-maildir-pack-number): Ditto.
8627 (elmo-maildir-folder-diff): New alias.
8629 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8631 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8632 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8633 (elmo-localdir-folder-diff): New alias.
8635 * elmo-internal.el (elmo-internal-list-folder-subr):
8636 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8637 (elmo-internal-list-folder-by-location): Ditto.
8638 (elmo-internal-msgdb-create): Ditto.
8639 (elmo-internal-delete-msgs): Ditto.
8640 (elmo-internal-read-msg): Ditto.
8641 (elmo-internal-folder-diff): New alias.
8643 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8644 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8645 `elmo-msgdb-expand-path'.
8646 (elmo-imap4-list-folder-unread): Changed arguments.
8647 (elmo-imap4-list-folder-important): Ditto.
8649 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8650 (elmo-filter-list-folder-important): Ditto.
8651 (elmo-filter-folder-diff): New function.
8653 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8655 * elmo-cache.el (elmo-cache-list-folder):
8656 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8657 (elmo-cache-copy-msgs): Ditto.
8658 (elmo-cache-folder-diff): New alias.
8660 * elmo-archive.el (elmo-archive-list-folder-subr):
8661 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8662 (elmo-archive-get-archive-name): Ditto.
8663 (elmo-archive-create-file): Ditto.
8664 (elmo-archive-append-msg): Ditto.
8665 (elmo-archive-copy-msgs): Ditto.
8666 (elmo-archive-copy-msgs-froms): Ditto.
8667 (elmo-archive-get-msg-filename): Ditto.
8668 (elmo-archive-folder-diff): New alias.
8670 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8672 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8673 (elmo-pop3-stream-type-alist): New variable.
8674 (elmo-nntp-stream-type-alist): New variable.
8676 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8677 (elmo-kill-buffer): Ditto.
8678 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8679 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8680 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8681 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8682 (elmo-imap4-get-spec): Take into account
8683 `elmo-imap4-stream-type-alist'.
8685 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8687 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8688 (elmo-nntp-list-folders-get-cache): Ditto.
8690 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8692 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8693 character before 'uid'.
8695 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8697 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8699 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8701 * elmo-util.el (elmo-number-set-member): New function.
8702 (elmo-number-set-append-list): Ditto.
8703 (elmo-number-set-append): Ditto.
8705 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8706 Use `elmo-number-set-member'.
8707 (elmo-living-messages): Ditto.
8708 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8709 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8711 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8712 (elmo-imap4-add-to-cont-list): Abolished.
8713 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8714 instead of elmo-imap4-add-to-cont-list.
8716 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8717 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8719 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8721 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8723 * elmo-util.el (elmo-condition-parse-search-value):
8726 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8728 * elmo-util.el (elmo-condition-find-key-internal): New function.
8729 (elmo-condition-find-key): Ditto.
8731 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8732 (elmo-msgdb-search-internal): Ditto.
8733 (elmo-msgdb-search): Ditto.
8735 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8737 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8738 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8740 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8741 (elmo-nntp-search-primitive): Fixed problem when condition is
8744 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8746 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8747 (elmo-nntp-xhdr-p): New macro.
8748 (elmo-nntp-set-xhdr): Ditto.
8749 (elmo-nntp-parse-xhdr-response): New function.
8750 (elmo-nntp-retrieve-field): Ditto.
8751 (elmo-nntp-search-primitive): Ditto.
8752 (elmo-nntp-search): Implemented.
8754 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8756 * elmo-archive.el (elmo-archive-search): Set all number list to
8757 `elmo-archive-field-condition-match'
8759 * elmo-localdir.el (elmo-localdir-search): Likewise.
8761 * elmo-maildir.el (elmo-maildir-search): Likewise.
8763 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8765 * elmo-msgdb.el (elmo-living-messages): New function.
8766 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8767 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8768 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8769 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8770 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8771 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8772 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8773 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8774 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8775 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8776 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8778 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8780 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8782 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8784 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8786 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8787 arguments for `SEARCH' command.
8788 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8789 All other related portions are changed.
8791 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8793 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8794 (elmo-list-folder-unread): Rewrite.
8795 (elmo-list-folder-important): Ditto.
8797 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8798 (elmo-condition-parse-error): New inline function.
8799 (elmo-read-search-condition): New function.
8800 (elmo-read-search-condition-internal): Ditto.
8801 (elmo-parse-search-condition): Rewrite.
8802 (elmo-condition-parse): New function.
8803 (elmo-condition-parse-or-expr): Ditto.
8804 (elmo-condition-parse-and-expr): Ditto.
8805 (elmo-condition-parse-primitive): Ditto.
8806 (elmo-condition-parse-search-value): Ditto.
8807 (elmo-buffer-field-primitive-condition-match): Ditto.
8808 (elmo-buffer-field-condition-match): Rewrite.
8809 (elmo-file-field-condition-match): Ditto.
8811 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8812 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8814 * elmo-internal.el (elmo-internal-search): Set `number' and
8815 `number-list' argument of `elmo-file-field-condition-match'.
8817 * elmo-maildir.el (elmo-maildir-search): Ditto.
8819 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8820 `msgdb' as argument instead of `mark-alist'.
8821 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8824 * elmo-multi.el: Likewise.
8826 * elmo-pipe.el: Likewise.
8828 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8829 (elmo-imap4-search-internal): Rewrite.
8830 (elmo-imap4-search): Ditto.
8832 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8833 (elmo-filter-list-folder-unread): Ditto.
8834 (elmo-filter-list-folder-important): Ditto.
8835 (elmo-filter-search): Rewrite.
8837 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8838 `number-list' argument of `elmo-file-field-condition-match'.
8839 (elmo-cache-search): Ditto.
8841 * elmo-localdir.el: Likewise.
8843 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8844 number-list and pass it to `elmo-buffer-field-condition-match'.
8845 (elmo-archive-field-condition-match): Pass `number-list' to
8846 `elmo-archive-field-condition-match'
8848 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8850 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8853 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8854 (elmo-folder-diff-async-callback-data): Ditto.
8855 (elmo-folder-diff-async): New function.
8857 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8858 (elmo-network-session-cache-key): Use it as a prefix of the session
8860 (elmo-network-open-session): Ditto.
8862 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8863 (elmo-imap4-status-callback-data): Ditto.
8864 (elmo-imap4-server-diff-async-callback): New variable.
8865 (elmo-imap4-server-diff-async-callback-data): Ditto.
8866 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8867 `elmo-imap4-status-callback-data'.
8868 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8869 `elmo-imap4-status-callback-data' as nil.
8870 (elmo-imap4-server-diff): Ditto.
8871 (elmo-imap4-server-diff-async-callback-1): New function.
8872 (elmo-imap4-server-diff-async): Ditto.
8873 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8875 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8877 * elmo-util.el (elmo-list-delete): Doc fix.
8878 (elmo-delete-lists): Abolish.
8879 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8880 instead of `elmo-delete-lists'.
8882 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8884 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8887 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8889 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8890 `elmo-imap4-literal-subr'.
8891 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8892 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8894 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8896 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8897 (elmo-archive-list-folder): Fix.
8898 (elmo-archive-max-of-folder): Fix.
8900 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8902 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8903 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8904 (elmo-localdir-append-msg): Ditto.
8905 (elmo-localdir-list-folder): Fix for `nonsort'.
8906 (elmo-localdir-list-folder-subr): Fix for `killed'.
8907 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8908 (elmo-maildir-list-folder-subr): Ditto.
8909 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8910 (elmo-archive-list-folder-subr): Ditto.
8911 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8912 (elmo-internal-list-folder-subr): Ditto.
8914 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8916 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8918 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8920 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8922 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8924 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8925 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8927 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8929 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8930 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8932 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8934 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8936 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8937 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8938 before STORE command.
8940 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8942 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8944 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8945 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8947 (elmo-imap4-list-folders): Removed unused local variable.
8948 (elmo-network-initialize-session): Ditto.
8949 (elmo-imap4-delete-msg-by-id): Ditto.
8950 (elmo-imap4-parse-fetch): Ditto.
8951 (elmo-imap4-copy-msgs): Ditto.
8952 Use `dst-spec' instead of `dst-folder'.
8953 (elmo-network-authenticate-session): Check authenticate type `plain'.
8955 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8957 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8959 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8960 `elmo-imap4-response-value'.
8961 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8963 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8965 * elmo-imap4.el (elmo-imap4-send-command):
8966 Cause elmo-imap4-bye-error when current response is BYE.
8967 (elmo-imap4-arrival-filter): Changed greeting response value.
8969 * elmo2.el (elmo-imap4-bye-error): Define.
8971 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8972 (elmo-imap4-server-diff): Ditto.
8973 (elmo-imap4-response-bye-p): New macro.
8974 (elmo-imap4-response-error-text): Get text from BYE response.
8975 (elmo-imap4-read-response): Return if BYE response.
8976 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8977 (elmo-imap4-folder-exists-p): Ditto.
8978 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8979 (elmo-imap4-parse-bye): New function.
8980 (elmo-imap4-parse-response): Remove needless let.
8981 Call `elmo-imap4-parse-bye'.
8983 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8985 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8986 the mailbox does not exist.
8987 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8989 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8991 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8993 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8995 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8997 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8998 (elmo-network-initialize-session-buffer): Defined.
9000 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9002 (mmelmo-imap4-get-mime-entity): Rewrite.
9004 * elmo2.el (elmo-error): Capitalize error message.
9006 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9007 (elmo-network-session-buffer): New macro.
9008 (elmo-network-open-session): Use it.
9010 * elmo-imap4.el: Rewrite.
9012 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9014 * elmo-nntp.el (Toplevel): Require 'elmo-net.
9016 2000-08-27 Daiki Ueno <ueno@unixuser.org>
9018 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9019 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9020 (elmo-imap4-create-msgdb-from-overview-string): Use
9021 `elmo-msgdb-create-overview-from-buffer'.
9023 2000-08-26 Daiki Ueno <ueno@unixuser.org>
9025 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9026 (elmo-imap4-default-hierarchy-delimiter): New variable.
9027 (elmo-imap4-list-folders): Use it.
9029 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
9031 * elmo-net.el (elmo-network-open-session): Add user and
9032 stream-type for process-buffer name.
9034 * elmo-pop3.el (elmo-network-initialize-session): Call
9035 buffer-disable-undo.
9037 * elmo-imap4.el (elmo-network-initialize-session):
9038 Set current-buffer as an argument for `buffer-disable-undo'.
9040 * elmo-pop3.el (elmo-network-close-session): Don't use
9043 * elmo-vars.el (elmo-default-pop3-authenticate-type):
9044 Set default as 'user.
9046 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9048 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9049 and `elmo-imap4-flush-connection'.
9051 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9052 (elmo-pop3-get-spec): Assume auth as symbol.
9053 (elmo-open-network-stream): Moved to `elmo-net'.
9055 * elmo-pop3.el (toplevel): Require 'elmo-net.
9056 Define `sasl-cram-md5' to silence byte compilier.
9057 (elmo-pop3-connection-cache) Abolished.
9058 (elmo-pop3-authenticator-alist) New variable.
9059 (elmo-pop3-session): Define.
9060 (elmo-pop3-connection-get-process): Abolished.
9061 (elmo-pop3-connection-get-buffer): Ditto.
9062 (elmo-pop3-close-connection): Ditto.
9063 (elmo-pop3-flush-connection): Ditto.
9064 (elmo-pop3-get-connection): Ditto.
9065 (elmo-pop3-get-session): New function.
9066 (Replacement for `elmo-pop3-get-connection').
9067 All other related modules are changed.
9068 (elmo-network-close-session): Define.
9069 (elmo-pop3-send-command): Abolished argument `buffer'.
9070 All other related modules are changed.
9071 (elmo-pop3-read-response): Likewise.
9072 (elmo-pop3-open-connection): Abolished.
9073 (elmo-pop3-auth-user): New function.
9074 (elmo-pop3-auth-apop): Ditto.
9075 (elmo-pop3-auth-cram-md5): Ditto.
9076 (elmo-pop3-auth-scram-md5): Ditto.
9077 (elmo-pop3-auth-digest-md5): Ditto.
9078 (elmo-network-initialize-session): Define.
9079 (elmo-network-authenticate-session): Ditto.
9080 (elmo-network-setup-session): Ditto.
9082 * elmo-imap4.el (toplevel): Require 'elmo-net.
9083 (elmo-imap4-session): Define.
9084 (elmo-imap4-connection-cache): Abolished.
9085 (elmo-imap4-password-key): Ditto.
9086 (elmo-imap4-flush-connection): Ditto.
9087 (elmo-imap4-get-connection): Ditto.
9088 All other related modules are changed.
9089 (elmo-imap4-get-session): New function
9090 (Replacement for `elmo-imap4-get-connection').
9091 (elmo-imap4-read-response): Abolished argument `buffer'.
9092 All other related modules are changed.
9093 (elmo-imap4-send-command): Likewise.
9094 (elmo-imap4-select-folder): Abolished.
9095 All other related modules are changed.
9096 (elmo-imap4-select-mailbox): New function.
9097 (Replacement for `elmo-imap4-select-folder').
9098 (elmo-imap4-auth-login): Simplify.
9099 (Assume current buffer as process buffer)
9100 (elmo-imap4-auth-cram-md5): Ditto.
9101 (elmo-imap4-auth-digest-md5): Ditto.
9102 (elmo-imap4-login): Ditto.
9103 (elmo-imap4-open-connection): Abolished.
9104 (elmo-imap4-open-connection-1): Abolished.
9105 (elmo-network-initialize-sessoin): Define.
9106 (elmo-network-authenticate-session): Ditto.
9107 (elmo-network-setup-session): Ditto.
9109 * elmo-net.el: New module.
9111 2000-08-22 Daiki Ueno <ueno@unixuser.org>
9113 * elmo-util.el (elmo-define-error): New function.
9115 * elmo2.el (elmo-error): Define.
9116 (elmo-open-error): Define.
9117 (elmo-authenticate-error): Define.
9119 * elmo-imap4.el (elmo-imap4-error): Abolish.
9120 (elmo-imap4-error-type): Abolish.
9121 (elmo-imap4-error-process): Abolish.
9122 (elmo-imap4-error-message): Abolish
9123 (elmo-imap4-list-folders): Don't quote lambda.
9124 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9125 (elmo-imap4-parse-namespace): Ditto.
9126 (elmo-imap4-open-connection): Rewrite.
9127 (elmo-imap4-open-connection-1): Simplified (authenticate only).
9128 (elmo-imap4-get-connection): Abolish local variable `result'.
9130 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
9132 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9133 wrong-type-argument error when auth is nil.
9135 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
9137 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9138 (elmo-default-nntp-stream-type): Ditto.
9139 (elmo-default-pop3-stream-type): Ditto.
9140 (elmo-network-stream-type-alist): Ditto.
9141 (elmo-default-imap4-ssl): Abolished.
9142 (elmo-default-nntp-ssl): Ditto.
9143 (elmo-default-pop3-ssl): Ditto.
9145 * elmo-util.el: (toplevel): Removed needless requires.
9146 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9147 (elmo-open-network-stream): Open network stream according to
9148 the value of `elmo-network-stream-type-alist'.
9149 (elmo-get-network-stream-type): New function.
9150 (elmo-network-stream-type-spec-string): New macro.
9151 (elmo-network-stream-type-symbol): Ditto.
9152 (elmo-network-stream-type-function): Ditto.
9154 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9155 network-stream-type. All other related portions are changed.
9156 (elmo-pop3-open-connection): Ditto.
9158 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9159 network-stream-type. All other related portions are changed.
9161 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9162 network-stream-type.All other related portions are changed.
9163 (elmo-imap4-error): New macro.
9164 (elmo-imap4-error-type): Ditto.
9165 (elmo-imap4-error-process): Ditto.
9166 (elmo-imap4-error-message): Ditto.
9167 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9168 (elmo-imap4-auth-cram-md5): Ditto.
9169 (elmo-imap4-auth-digest-md5): Ditto.
9170 (elmo-imap4-login): Ditto.
9171 (elmo-imap4-open-connection): Remove password entry if authentication
9173 (elmo-imap4-user-at-host): Abolished.
9174 (elmo-imap4-password-key): New buffer local variable.
9175 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9176 using protocol, port, auth and stream-type.
9178 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9180 2000-08-13 Daiki Ueno <ueno@unixuser.org>
9182 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9184 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9186 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9187 (elmo-imap4-authenticator-alist): New variable.
9188 (elmo-imap4-open-connection-1): Rename from
9189 elmo-imap4-open-connection.
9190 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9191 only wraps elmo-imap4-open-connection-1.
9192 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9194 (elmo-imap4-auth-login): New function.
9195 (elmo-imap4-auth-cram-md5): New function.
9196 (elmo-imap4-auth-digest-md5): New function.
9197 (elmo-imap4-login): New function.
9199 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9201 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9204 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9206 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9208 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
9210 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9212 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
9214 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9215 for server responses, quote `*' regardless of where it appears.
9217 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9219 * elmo-maildir.el (elmo-maildir-commit): New alias.
9221 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9223 * elmo-util.el (elmo-display-progress):
9224 Use `progress-feedback-with-label'.
9226 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
9228 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9229 (elmo-imap4-non-atom-char-regex): Ditto.
9230 (elmo-imap4-non-text-char-regex): Ditto.
9231 (elmo-imap4-literal-threshold): Ditto.
9232 (elmo-imap4-atom-p): New function.
9233 (elmo-imap4-quotable-p): Ditto.
9234 (elmo-imap4-nil): Ditto.
9235 (elmo-imap4-atom): Ditto.
9236 (elmo-imap4-quoted): Ditto.
9237 (elmo-imap4-literal-subr): Ditto.
9238 (elmo-imap4-literal): Ditto.
9239 (elmo-imap4-buffer-literal): Ditto.
9240 (elmo-imap4-string-subr): Ditto.
9241 (elmo-imap4-string): Ditto.
9242 (elmo-imap4-buffer-string): Ditto.
9243 (elmo-imap4-astring-subr): Ditto.
9244 (elmo-imap4-astring): Ditto.
9245 (elmo-imap4-buffer-astring): Ditto.
9246 (elmo-imap4-nstring): Ditto.
9247 (elmo-imap4-buffer-nstring): Ditto.
9248 (elmo-imap4-mailbox): New alias.
9249 (elmo-imap4-field-body): Ditto.
9250 (elmo-imap4-userid): Ditto.
9251 (elmo-imap4-password): Ditto.
9252 (elmo-imap4-format-quoted): New function.
9253 (elmo-imap4-send-command): Rewritten. Accept a list of command
9254 arguments and handle "atom", "quoted" and "literal" string here.
9255 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9256 `elmo-imap4-send-command'.
9257 (elmo-imap4-folder-exists-p): Likewise.
9258 (elmo-imap4-create-folder): Likewise.
9259 (elmo-imap4-delete-folder): Likewise.
9260 (elmo-imap4-rename-folder): Likewise.
9261 (elmo-imap4-max-of-folder): Likewise.
9262 (elmo-imap4-check-validity): Likewise.
9263 (elmo-imap4-sync-validity): Likewise.
9264 (elmo-imap4-server-diff): Likewise.
9265 (elmo-imap4-select-folder): Likewise.
9266 (elmo-imap4-copy-msgs): Likewise.
9267 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9268 (elmo-imap4-mark-set-on-msgs): Likewise.
9269 (elmo-imap4-read-part): Likewise.
9270 (elmo-imap4-read-msg): Likewise.
9271 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9272 `elmo-imap4-password' for `elmo-imap4-send-command'.
9273 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9274 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9275 `elmo-imap4-buffer-literal'.
9276 (elmo-imap4-append-msg): Likewise.
9278 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9279 `delete' for removing dead connection from the connection cache.
9280 Move deletion of the process buffer after that.
9281 (elmo-imap4-list): Change `defsubst' to `defun'.
9282 (elmo-imap4-commit): Make error message verbose.
9283 (elmo-imap4-search): Ditto.
9284 (elmo-imap4-list): Ditto.
9285 (elmo-imap4-select-folder): Ditto.
9286 (elmo-imap4-copy-msgs): Ditto.
9287 (elmo-imap4-delete-msg-by-id): Ditto.
9288 (elmo-imap4-append-msg-by-id): Ditto.
9289 (elmo-imap4-append-msg): Ditto.
9291 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9293 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9294 when dired is used on XEmacs.
9296 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9298 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9299 instead of `append'.
9300 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9301 `elmo-plugged-p' directly.
9302 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9303 of `elmo-plugged-p' directly.
9305 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9306 Eliminate unused variable. Use `memq' for checking a process status.
9307 Use `cons' instead of `append' for updating the connection cache.
9308 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9309 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9311 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9313 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9314 `elmo-imap4-read-point' exactly.
9316 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9317 the local variable `folder' to `mailbox'.
9318 Rename the argument `fld' to `folder'.
9320 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9322 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9323 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9325 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9327 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9328 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9329 (elmo-pop3-uidl-number-hash): Ditto.
9330 (elmo-pop3-size-hash): Ditto.
9331 (elmo-pop3-uidl-done): Ditto.
9332 (elmo-pop3-list-done): Ditto.
9333 (elmo-pop3-connection-get-process): New defmacro.
9334 (elmo-pop3-connection-get-buffer): Ditto.
9335 (elmo-pop3-close-connection): Delete buffer and process.
9336 (elmo-pop3-flush-connection): Don't delete buffer and process.
9337 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9338 Setup UIDL and size hash.
9339 (elmo-pop3-send-command-no-erase): Deleted
9340 (elmo-pop3-send-command): Added optional argument `no-erase'.
9341 (elmo-pop3-parse-uidl-response): New function.
9342 (elmo-pop3-parse-list-response): Set size hash.
9343 (elmo-pop3-list-location): New function.
9344 (elmo-pop3-list-by-uidl-subr): Ditto.
9345 (elmo-pop3-list-by-list): Ditto.
9346 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9347 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9348 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9349 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9350 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9352 (elmo-pop3-uidl-to-number): New function.
9353 (elmo-pop3-number-to-uidl): Ditto.
9354 (elmo-pop3-number-to-size): Ditto.
9355 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9356 Set number by use of uidl.
9357 (elmo-pop3-msgdb-create-message): Likewise.
9358 Set size, loc-alist in msgdb.
9359 (elmo-pop3-read-msg): Set number by use of uidl.
9360 Added optional argument `msgdb'.
9361 (elmo-pop3-delete-msg): Ditto.
9362 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9363 (elmo-pop3-commit): Close connection.
9365 * elmo-pipe.el (elmo-pipe-max-of-folder):
9366 Bind `elmo-pop3-use-uidl' as nil.
9367 (elmo-pipe-drain): Ditto.
9370 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9371 (elmo-msgdb-overview-entity-set-size): New defsubst.
9373 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9375 * elmo-vars.el (elmo-use-killed-list): New variable
9376 (Renamed from `elmo-nntp-use-killed-list').
9377 (elmo-nntp-use-killed-list): Eliminated.
9379 * elmo-msgdb.el (elmo-msgdb-expand-path):
9380 Changed expanding msgdb path for elmo-multi.
9382 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9383 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9384 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9385 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9386 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9387 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9388 (toplevel): Deleted time-stamp line.
9390 * elmo2.el (elmo-clear-killed ): Defined as function
9391 (Abolished defining as a backend function).
9392 All other related modules are changed.
9394 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9396 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9398 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9400 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9402 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9404 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9406 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9408 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9409 asynchronous folder check.
9411 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9413 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9414 `elmo-nntp-use-killed-list'.
9415 (elmo-nntp-list-folder): Use killed list.
9416 (elmo-nntp-max-of-folder): Ditto.
9417 (elmo-nntp-msgdb-create): Set killed list.
9419 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9421 * elmo2.el (elmo-clear-killed): New backend function.
9422 All other related modules are changed.
9424 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9426 * elmo-util.el (elmo-imap4-spec-folder): Use
9427 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9428 All callers changed.
9430 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9432 * mmelmo-2.el (initialize-instance):
9433 Use `mime-buffer-entity-buffer-internal' instead of
9434 `mime-entity-buffer'.
9436 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9437 (mime-entity-body): Implemented.
9438 (mime-goto-header-start-point): Deleted.
9439 (mime-goto-body-end-point): Ditto.
9440 (mime-entity-point-min): Ditto.
9441 (mime-entity-point-max): Ditto.
9442 (mime-entity-children): Ditto.
9443 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9444 instead of `mime-entity-buffer'.
9445 (mime-entity-header-buffer): Ditto.
9446 (mime-entity-body-buffer): Ditto.
9447 (mime-write-entity-content): Ditto.
9449 * pldap.el (ldap-static-if): New macro.
9450 (toplevel): Use it instead of `static-if'.
9452 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9454 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9455 included in `attrs' argument.
9457 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9459 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9461 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9462 (ldap-ldif-safe-init-char-regexp): Ditto.
9463 (ldap-ldif-safe-string-regexp): Ditto.
9464 (ldap/ldif-safe-string-p): New macro.
9465 (ldap/ldif-insert-field): Ditto.
9466 (ldap-modify): Use it.
9468 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9469 (ldap-decode-attribute): Decode only when `attr' is consp.
9470 (ldap-delete): Bind `ret'.
9471 (toplevel): Require 'cl at compile time.
9472 Removed (require 'poe) and (require 'std11).
9473 (pldap-version): Eliminated.
9474 (ldap-search-basic): Removed auth and dn binding.
9475 (ldap-ldif-field-name-regexp): New constant.
9476 (ldap-ldif-field-head-regexp): Ditto.
9477 (ldap-ldif-next-field-head-regexp): Ditto.
9478 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9479 (ldap/field-end): New function.
9480 (ldap/field-body): Use it.
9481 (ldap/collect-field): Ditto.
9482 (ldap-search-basic): Use `ldap/field-body'.
9484 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9486 * pldap.el (ldap-default-attribute-encoder): New user option.
9487 (ldap/field-body): Decode base64 string.
9488 (ldap/collect-field): Ditto.
9489 (ldap-encode-attribute): New function.
9490 (ldap-add-entries): Use it.
9491 (ldap-modify-entries): Ditto.
9492 (ldap-search-entries): Enclosed decoding function with
9493 `with-temp-buffer' and set as unibyte.
9494 (ldap-search-basic): Set process buffer as unibyte.
9496 * elmo-util.el (elmo-folder-identical-system-p):
9497 Eliminated name space checking.
9499 * pldap.el: New module.
9500 toplevel: Changed condition to detect built-in ldap feature.
9501 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9502 (ldap-add): Added error handling.
9503 (ldap-modify): Ditto.
9504 (ldap-delete): Ditto.
9506 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9508 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9509 Initialize local variables with `let'. Inline a temporary
9510 variable for the progress percentage. Sort `setq' to reduce
9511 function call in the while-loop.
9513 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9514 into the conditional branch.
9516 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9518 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9519 Move a conditional out of the while-loop.
9521 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9523 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9524 elmo-msgdb-overview-get-entity-by-number.
9525 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9528 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9530 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9531 the local variable for a packed number self descriptively.
9533 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9535 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9536 * elmo-localdir.el (elmo-localdir-pack-number): Use
9537 `elmo-msgdb-overview-get-entity' instead of
9538 `elmo-msgdb-overview-get-entity-by-number'.
9539 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9540 (elmo-msgdb-search-overview-entity): Removed.
9541 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9542 by message-id or number.
9543 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9544 instead of `elmo-msgdb-overview-get-entity-by-number'.
9546 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9548 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9549 non-nil, use hash table for overview.
9550 (elmo-hash-maximum-size): New variable.
9551 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9552 (elmo-msgdb-make-overview-hashtb): New function.
9553 (elmo-msgdb-clear-overview-hashtb): New function.
9554 (elmo-clear-hash-val): New macro.
9555 All other related modules are changed.
9557 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9559 * elmo2.el (elmo-move-msgs): If there's other message with
9560 same message-id, don't use cache.
9562 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9564 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9565 number is already packed.
9567 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9569 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9571 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9573 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9574 All other related modules are changed.
9576 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9578 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9579 of refiling failure on Maildir.
9581 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9583 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9584 decoded mime-charset with cache.
9585 (elmo-msgdb-overview-entity-get-from): Ditto.
9586 (elmo-msgdb-overview-entity-get-subject): Ditto.
9587 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9589 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9591 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9592 (elmo-remove-passwd): Fill password with 0 before erase.
9593 * elmo-vars.el (elmo-passwd-life-time): New variable.
9596 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9598 * elmo-cache.el (elmo-buffer-cache-add):
9599 Set message cache buffer as unibyte.
9601 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9603 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9606 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9608 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9609 when display is finished.
9610 (elmo-nntp-msgdb-create): Ditto.
9611 (elmo-nntp-groups-read-response): Ditto.
9612 (elmo-nntp-retrieve-headers): Ditto.
9613 (elmo-nntp-msgdb-create-message): Ditto.
9614 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9615 (elmo-pop3-msgdb-create-message): Ditto.
9617 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9619 * elmo-maildir.el (elmo-maildir-msgdb-create):
9620 Use `elmo-msgdb-sort-by-date'.
9622 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9624 * elmo2.el (elmo-read-msg-no-cache):
9625 Eliminated arguments after `outbuf'.
9626 Don't use cache even if it exists.
9627 (elmo-read-msg): Don't pass arguments after `outbuf' to
9628 `elmo-read-msg-no-cache'.
9630 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9632 * elmo-archive.el (elmo-archive-list-folders):
9633 Use `file-name-directory' if base folder does not exist.
9635 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9637 * elmo-archive.el (elmo-archive-list-folders): Don't use
9638 `file-name-directory'.
9640 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9642 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9643 If `force' is non-nil, try flushing all operation queues.
9645 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9647 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9650 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9652 * elmo-util.el (elmo-display-progress): Fixed.
9654 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9656 * elmo-util.el (elmo-display-progress): New function.
9657 All other related modules are changed.