1 2011-07-03 David Maus <dmaus@ictsoc.de>
3 * elmo-imap4.el (elmo-imap4-session-unselect-mailbox): New
4 function. Leave selected state without silent EXPUNGE.
5 (elmo-folder-rename-internal): Use function.
7 2011-06-03 David Maus <dmaus@ictsoc.de>
9 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't mark
10 unread messages with important or answered flag read.
12 2011-05-29 David Maus <dmaus@ictsoc.de>
14 * elmo-imap4.el (elmo-network-authenticate-session): Always ask
15 for capabilities after login.
16 (elmo-imap4-parse-response): Remove superfluous third argument to
19 2011-01-12 David Maus <dmaus@ictsoc.de>
21 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Remove accidental
22 rebinding of new message db symbol.
24 2010-11-02 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
26 * elmo-pop3.el (elmo-folder-open-internal): Don't load location
27 map if it is already loaded.
29 2010-10-31 David Maus <dmaus@ictsoc.de>
31 * elmo-map.el (elmo-folder-open-internal): Don't load location map
32 if it is already loaded.
34 * elmo.el (elmo-folder-open-internal-p)
35 (elmo-folder-move-messages): Method removed.
36 * elmo-filter.el (elmo-folder-open-internal-p): Dto.
37 * elmo-map.el (elmo-folder-open-internal-p): Dto.
38 * elmo-multi.el (elmo-folder-open-internal-p): Dto.
39 * elmo-pipe.el (elmo-folder-open-internal-p): Dto.
40 * elmo-pop3.el (elmo-folder-open-internal-p): Dto.
41 * elmo-shimbun.el (elmo-folder-open-internal-p): Dto.
43 2010-10-24 David Maus <dmaus@ictsoc.de>
45 * elmo-pop3.el (elmo-folder-open-internal-p): Define method for
47 * elmo-shimbun.el (elmo-folder-open-internal-p): Dto.
48 * elmo-multi.el (elmo-folder-open-internal-p): Fix invalid let
51 2010-10-14 David Maus <dmaus@ictsoc.de>
53 * elmo-multi.el (elmo-folder-open-internal-p): Evaluate symbol to
54 return state of child folders.
56 2010-10-13 David Maus <dmaus@ictsoc.de>
58 * elmo-multi.el (elmo-folder-open-internal-p): Start with t and
59 set to nil if one of the child folders is not open.
60 (elmo-folder-open-internal): Open child folders only if they are
63 2010-08-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
65 * elmo-imap4.el: Remove trailing whitespace.
67 * elmo-localdir.el (elmo-folder-pack-numbers): Fix
68 `elmo-bind-directory' indent.
70 * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
73 2010-08-27 TAKAHASHI Kaoru <kaoru@kaisei.org>
75 * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
76 (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
77 (elmo-string-to-list, elmo-list-to-string): Ditto.
79 2010-08-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
81 * elmo-archive.el (elmo-archive-field-condition-match)
82 (elmo-archive-suffix-alist)
83 (elmo-archive-create-file, elmo-archive-folder-append-buffer)
84 (elmo-archive-folder-message-make-temp-files)
85 (elmo-archive-append-files)
86 (elmo-archive-field-condition-match): Fix indent.
88 * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
89 Avoid `args-out-of-range 0, 1' error.
91 2010-08-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
93 * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
94 (delete-backward-char X) that deletes region in Emacs 24.
95 See delete-active-region described in NEWS.
96 * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
97 * elmo-util.el (elmo-get-file-string): Ditto.
98 * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
100 2010-08-09 David Maus <dmaus@ictsoc.de>
102 * elmo.el (elmo-folder-open-internal-p): New luna method.
103 (elmo-folder-move-messages): Open source folder only if necessary.
104 * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
105 * elmo-multi.el (elmo-folder-open-internal-p): Dto.
106 * elmo-map.el (elmo-folder-open-internal-p): Dto.
107 * elmo-filter.el (elmo-folder-open-internal-p): Dto.
109 2010-08-01 David Maus <dmaus@ictsoc.de>
111 * elmo.el (elmo-folder-move-messages): Open source folder before
114 2010-04-15 David Maus <dmaus@ictsoc.de>
116 * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
119 2010-04-14 David Maus <dmaus@ictsoc.de>
121 * elmo-imap4.el (elmo-imap4-disabled-extension): New
122 variable. List of server extensions that are disabled on the
124 (elmo-imap4-session-capable-p): Honour list of disabled
127 2010-03-17 David Maus <dmaus@ictsoc.de>
129 * elmo-imap4.el (elmo-imap4-folder-list-flagged)
130 (elmo-imap4-search-internal-primitive): Pass filter type to imap
131 search when performing search for flagged messages.
133 2010-01-22 Vitaly Mayatskih <v.mayatskih@gmail.com>
135 * modb-standard.el (modb-standard-save-entity): Use
136 `modb-standard-cleanup-stale-entities' to clean up stale entity
138 * elmo-imap4.el (elmo-network-authenticate-session): Ask for
139 capabilities after login.
141 2010-01-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
143 * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
144 indent (only cosmetic fix).
146 2010-01-15 Vitaly Mayatskih <v.mayatskih@gmail.com>
148 * elmo-version.el (elmo-version): Up to 2.15.9.
150 * elmo-imap4.el (elmo-imap4-elist): New function
151 * elmo-imap4.el (elmo-imap4-parse-response): Added support for
152 ESEARCH feature (RFC4731).
153 * elmo-imap4.el (toplevel): Require time-stamp
154 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
155 elmo-imap4-read-response elmo-imap4-read-untagged
156 elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
158 * elmo-imap4.el (elmo-folder-list-messages-plugged,
159 elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
160 for full uid range on folder entering, retrieve updates only for
161 newly appeared messages.
162 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
163 elmo-imap4-read-response, elmo-imap4-read-untagged,
164 elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
165 to format-time-string.
166 * elmo-vars.el (toplevel): New custom
167 `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
168 flag for some buggy servers.
169 * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
171 2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
173 * acap.el (acap-parse-response): Fix comment-out style. Use three
174 semicolons, that should start at the left margin.
175 See. also (Info-goto-node "(elisp)Comment Tips").
176 * elmo.el (toplevel, elmo-message-match-condition)
177 (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
179 * elmo-archive.el (elmo-archive-suffix-alist)
180 (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
181 (elmo-archive-method-list)
182 (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
184 * elmo-imap4.el (toplevel)
185 (elmo-imap4-send-command, elmo-imap4-check-validity)
186 (elmo-imap4-fetch-callback-1-subr)
187 (elmo-network-initialize-session, elmo-server-diff-async)
188 (elmo-imap4-folder-diff-plugged): Ditto
189 * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
190 * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
191 * elmo-net.el (elmo-network-close-session): Ditto.
192 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
193 (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
194 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
195 * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
196 (elmo-number-set-delete)
197 (elmo-cache-get-oldest-cache-file-entity): Ditto.
199 2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
201 * elmo-version.el (elmo-version): Up to 2.15.8.
203 * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
204 `with-current-buffer' instead of `save-excursion' (for suppress
207 * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
208 instead of `int-to-string'.
209 * elmo-archive.el (elmo-archive-message-fetch-internal)
210 (elmo-archive-folder-message-make-temp-files)
211 (elmo-archive-folder-append-buffer)
212 (elmo-folder-delete-messages-internal)
213 (elmo-archive-msgdb-create-entity)
214 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
215 * elmo-util.el (elmo-cache-expire-by-age): Ditto.
216 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
217 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
218 * elmo-imap4.el (elmo-imap4-make-number-set-list)
219 (elmo-folder-list-subfolders): Ditto.
220 * elmo-localdir.el (elmo-message-file-name)
221 (elmo-folder-message-make-temp-files)
222 (elmo-localdir-msgdb-create-entity)
223 (elmo-folder-append-messages-*-localdir)
224 (elmo-folder-pack-numbers): Ditto.
225 * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
226 * elmo-map.el (elmo-location-map-key): Ditto.
227 * elmo-nntp.el (elmo-nntp-folder-postfix)
228 (elmo-nntp-folder-list-subfolders)
229 (elmo-nntp-folder-msgdb-create): Ditto.
231 * elmo.el (elmo-crosspost-message-alist-save): Don't use
232 `function' for `lambda'.
233 * elmo-archive.el (elmo-archive-folder-list-subfolders)
234 (elmo-folder-append-messages-*-archive)
235 (elmo-folder-delete-messages-internal): Ditto.
236 * elmo-date.el (elmo-replace-in-string): Ditto.
237 * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
238 (elmo-folder-list-flagged): Ditto.
239 * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
240 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
241 * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
243 2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
245 * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
246 `elmo-dop-spool-folder' was used before it was defined"; Use
249 * pldap.el (ldap/ldif-safe-string-p): macro to function.
250 * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
252 * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
253 `mapcar'; Suppress compile warning.
254 * elmo-imap4.el (elmo-network-initialize-session-buffer)
255 (elmo-imap4-search-internal-primitive): Ditto.
256 * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
257 * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
259 * elmo-imap4.el (elmo-imap4-parse-address-list)
260 (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
261 (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
262 (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
263 `(string-to-char " ")' instead of `? ', `?\ '.
265 2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
267 * pldap.el (ldap-search-entries): Don't use `function' for lambda.
268 (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
269 (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
270 `function' for lambda.
272 * modb-standard.el (modb-standard-cleanup-stale-entities): Use
273 `string-to-number' instead of `string-to-int'.
275 * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
276 instead of `save-excursion' (for suppress compile warnings).
277 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
278 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
279 (elmo-nntp-post): Ditto.
281 2009-08-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
283 * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
284 Mule-UCS (to-utf-16).
285 (utf7-utf-16-coding-system): Change preference when Mule-UCS on
288 2009-07-11 Taiki SUGAWARA <buzz.taiki@gmail.com>
290 * utf7.el (utf7-find-coding-system-without-bom): New Function.
291 (utf7-utf-16-coding-system): use no-BOM coding system.
292 (utf7-get-u16char-converter): remove workaround for BOM.
294 2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
296 * elmo-util.el (elmo-union): New function, make a union of two lists.
298 * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
299 mime-view when displaying malformed base64 attach.
301 * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
302 (removed duplicated code)
304 * modb-standard.el (modb-standard-cleanup-stale-entities): New
305 function, Remove stale entities from elmo's cache.
307 2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
309 * elmo-version.el (elmo-version): Up to 2.15.7.
311 2009-03-22 Tetsurou Okazaki <okazaki@be.to>
313 * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
314 default value to `--auto-update'.
316 2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
318 * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
319 Add `elmo-pop3-read-point' barrier.
321 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
323 * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
324 goto the previous end-point insead of the head-point, and use
325 `search-forward' instead of `re-search-forward'.
327 2008-06-30 Tetsurou Okazaki <okazaki@be.to>
329 * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
331 2008-06-30 Don Bashford <Don.Bashford@stjude.org>
333 * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
334 case-insensitive fashion.
336 2008-03-30 Tetsurou Okazaki <okazaki@be.to>
338 * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
340 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
342 * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
343 `eval-and-compile' for suppress compile warnings.
345 * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
346 instead of `defun-maybe'
348 * elmo-util.el: Add (eval-when-compile (require 'static)).
350 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
352 * mmimap.el: Remove (require 'static).
355 * elmo-flag.el: Move ';;; Code:' comment.
356 * elmo-imap4.el: Ditto.
357 * elmo-net.el: Ditto.
359 * elmo-version.el (product-provide): Fix comment.
361 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
363 * slp.el: Add (eval-when-compile (require 'cl)).
364 * elmo-date.el: Ditto.
365 * elmo-pop3.el: Ditto.
366 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
368 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
370 * modb.el (elmo-msgdb-match-condition-primitive): Use
371 `string-to-number' instead of `string-to-int'.
373 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
374 (elmo-msgdb-message-match-condition)
375 (elmo-msgdb-create-message-entity-from-buffer): Use
376 `string-to-number' instead of `string-to-int'.
378 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
379 instead of `string-to-int'.
381 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
382 instead of `string-to-int'.
384 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
385 `string-to-number' instead of `string-to-int'.
387 * elmo-nntp.el (elmo-nntp-make-msglist)
388 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
389 (elmo-nntp-create-msgdb-from-overview-string)
390 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
391 (elmo-nntp-search-primitive): Use `string-to-number' instead of
394 * elmo-net.el (elmo-net-folder-set-parameters): Use
395 `string-to-number' instead of `string-to-int'.
397 * elmo-localdir.el (elmo-localdir-list-subr): Use
398 `string-to-number' instead of `string-to-int'.
400 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
401 `string-to-number' instead of `string-to-int'.
403 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
404 instead of `string-to-int'.
406 * elmo-archive.el (elmo-archive-list-folder-subr): Use
407 `string-to-number' instead of `string-to-int'.
409 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
411 * elmo-util.el (elmo-get-passwd): Fix typo.
413 * elmo-nntp.el (elmo-nntp-get-server-command)
414 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
415 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
416 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
417 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
419 * elmo-imap4.el (elmo-imap4-debug)
420 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
421 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
422 (elmo-imap4-response-value, elmo-imap4-response-error-text)
423 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
424 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
425 (elmo-imap4-identical-system-p): New backquote style.
427 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
429 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
430 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
431 (elmo-dop-queue-arguments): Ditto.
433 * elmo-date.el (elmo-match-substring): New backquote style.
434 (elmo-match-string, elmo-match-buffer): Ditto.
435 (elmo-date-make-sortable-string): Ditto.
437 * elmo-archive.el (elmo-archive-get-method):New backquote style.
438 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
440 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
443 * elmo-net.el (elmo-network-stream-type-spec-string): New
445 (elmo-network-stream-type-symbol): Ditto.
446 (elmo-network-stream-type-feature): Ditto.
447 (elmo-network-stream-type-function): Ditto.
448 (elmo-network-session-buffer): Ditto.
450 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
451 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
452 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
453 (elmo-bind-directory, elmo-set-work-buf): Ditto.
455 * elmo.el (elmo-folder-send): New backquote style.
457 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
459 * pldap.el (ldap-static-if): New backquote style.
460 (ldap/ldif-safe-string-p): Ditto.
461 (ldap/ldif-insert-field): Ditto.
463 * elmo-version.el (elmo-version): Up to 2.15.6.
465 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
467 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
468 messages with \Deleted flag.
469 (elmo-folder-delete-messages-plugged): Ask before sending expunge
470 command if there are messages with \Deleted flag.
472 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
474 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
475 http://seclists.org/bugtraq/2007/Apr/0018.html
476 (Suggested by Tatsuya Kinoshita)
478 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
480 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
481 with \Noselect attribute.
483 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
485 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
486 hierarchical folder structure with UW-imapd.
488 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
490 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
491 when the LOGINDISABLED capability is advertised.
493 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
495 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
497 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
499 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
501 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
502 if the message entity is exists.
504 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
506 * elmo-util.el (elmo-msgdb-insert-file-header): Call
507 `elmo-delete-cr-buffer'.
509 * elmo-localdir.el (elmo-message-fetch-internal): Use
510 `insert-file-contents-as-raw-text' instead of
511 `insert-file-contents-as-binary'.
513 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
515 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
517 * elmo-imap4.el (elmo-network-initialize-session): Check to
518 retrieve a whole greeting message.
520 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
522 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
524 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
526 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
527 (elmo-progress-notify): Use it instead of `plist-get'.
529 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
531 * elmo.el (elmo-generic-folder-append-messages): Remove unused
534 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
536 * elmo-pipe.el (elmo-folder-set-plugged): Define.
538 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
540 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
541 (elmo-spam-list-spam-messages): Check it option.
543 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
545 * elmo-util.el (elmo-with-progress-display): Return the value
546 of the last form in `body'.
548 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
550 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
551 `elmo-progress-counter' as t when a query callback returns nil.
552 (elmo-progress-clear): New function.
553 (elmo-progress-done): Split into `elmo-progress-clear'.
554 (elmo-progress-notify): Update a total slot when it is nil.
555 (elmo-with-progress-display): Call `elmo-progress-clear' in
556 unwind-protect and move calling `elmo-progress-done' to outside.
558 * elmo-imap4.el (elmo-imap4-find-next-line): Call
559 `elmo-progress-notify' with :total parameter instead of
560 `elmo-progress-counter-set-total'.
562 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
564 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
566 (elmo-progress-start): Avoid updating `elmo-progress-counter'
567 when a query callback returns nil. Return a progress counter
568 instead of t whenever a start callback was called.
570 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
572 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
573 (elmo-imap4-send-command): Use it.
574 (elmo-network-initialize-session): Ditto.
575 (elmo-network-setup-session): Ditto.
576 (elmo-folder-msgdb-create-plugged): Ditto.
578 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
580 * elmo-util.el (elmo-progress-done): Fix a miss refer to
581 `elmo-progress-counter'.
583 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
585 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
586 (elsp-bsfilter-list-spam-filter): New function.
587 (elsp-bsfilter-start-list-spam): Ditto.
588 (elsp-bsfilter-read-list-spam): Ditto.
589 (elmo-spam-list-spam-messages): Use async process to display
590 progress message by each message.
592 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
594 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
595 of flushing previously inserted message contents.
597 * elmo-imap4.el (elmo-folder-search): Fix return value.
599 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
601 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
602 of reporter is enable or not.
604 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
606 * elmo-util.el (elmo-list-bigger-diff): Abolish.
607 (elmo-display-progress): Ditto.
608 (elmo-progress-counter-alist): Ditto.
609 (elmo-progress-set): Ditto.
610 (elmo-progress-clear): Ditto.
611 (elmo-progress-counter-all-value): Rename to
612 `elmo-progress-counter-total'.
613 (elmo-progress-counter-format): Rename to
614 `elmo-progress-counter-action'.
615 (elmo-progress-counter): New internal variable.
616 (elmo-progress-callback-function): Ditto.
617 (elmo-progress-counter-label): New function.
618 (elmo-progress-counter-set-total): Ditto.
619 (elmo-progress-counter-set-action): Ditto.
620 (elmo-progress-call-callback): Ditto.
621 (elmo-progress-start): Ditto.
622 (elmo-progress-done): Ditto.
623 (elmo-progress-notify): Rewrite.
624 (elmo-with-progress-display): Remove first argument
625 `condition'. Add optional argument `var' in `spec'.
627 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
628 (elmo-display-retrieval-progress-threshold): Ditto.
629 (elmo-inhibit-display-retrieval-progress): Ditto.
631 * Replace all pair of `elmo-progress-set' and
632 `elmo-progress-clear' into `elmo-with-progress-display'.
634 * Replace to call `elmo-display-progress' into pair of
635 `elmo-progress-notify' and `elmo-with-progress-display'.
637 * elmo-version.el (elmo-version): Up to 2.15.5.
639 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
641 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
644 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
646 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
647 cleanup-forms [wl:14027].
649 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
651 * elmo-flag.el (elmo-global-flag-set-internal): Use
652 `elmo-copy-file' by priority when the message is a file.
654 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
656 * elmo.el: Fix typo: disptch -> dispatch.
658 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
660 * elmo.el (elmo-file-tag): New class.
661 (elmo-append-messages-disptch-table): New constant.
662 (elmo-folder-type-p): New function.
663 (elmo-folder-append-messages): Redefine as function.
665 * elmo-null.el (elmo-folder-append-messages): Renamed from
666 `elmo-folder-append-messages'.
668 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
669 (elmo-folder-append-messages-*-maildir): Renamed from
670 `elmo-folder-append-messages'.
672 * elmo-localdir.el (elmo-localdir-folder): Inherit
674 (elmo-folder-append-messages-*-localdir): Renamed from
675 `elmo-folder-append-messages'.
677 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
678 from `elmo-folder-append-messages'.
680 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
681 `elmo-folder-append-messages'.
683 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
685 (elmo-folder-append-messages-*-filter): Ditto.
687 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
689 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
690 (elmo-folder-append-messages-*-pipe): Renamed from
691 `elmo-folder-append-messages'.
693 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
695 * elmo-file.el (elmo-file-folder): Ditto.
697 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
699 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
700 from `elmo-folder-append-messages'
702 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
704 * elmo-map.el (elmo-location-map-setup): Change an argument
705 `locations' to optional.
706 (elmo-location-map-clear): Abolish.
707 (elmo-folder-clear): Follow the API change.
709 * elmo-pop3.el (elmo-folder-clear): Ditto.
711 * elmo-pop3.el (toplevel): Require elmo-map.
712 (elmo-pop3-folder): Inherit elmo-location-map and abolish
713 location-alist slot (All other related portions are changed).
714 (elmo-pop3-folder-use-uidl): New function.
715 (elmo-folder-msgdb-create): Don't sort message entities.
716 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
717 (elmo-pop3-number-to-size): Convert return value to number.
718 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
721 * elmo-map.el: Use `location-map' as a variable name for instance
723 (elmo-location-map-setup): Return location alist.
724 (elmo-location-map-update): Ditto.
726 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
728 * elmo-map.el (elmo-location-map): New class; split location and
729 number mapping from elmo-map-folder (All other related portions
732 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
735 * elmo-version.el (elmo-version): Up to 2.15.4.
737 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
739 * elmo-vars.el (elmo-use-hardlink): New user option.
741 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
744 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
746 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
747 instead of `*-internal'. Use `elmo-with-progress-display'.
749 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
751 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
752 `elmo-spam-process-messages-as-mbox'.
754 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
756 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
758 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
759 argument BUFFER of `call-process'.
761 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
763 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
765 (elsp-bsfilter-list-spam-files): Ditto.
767 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
769 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
770 (elmo-spam-bsfilter-max-messages-per-process): New use option.
771 (elmo-spam-bsfilter-debug): Fix a group.
772 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
774 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
775 (elsp-bsfilter-list-spam-files): New function.
776 (elmo-spam-list-spam-messages): Define.
777 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
778 (elmo-spam-bsfilter-register-messages): New function.
779 (elmo-spam-register-spam-messages): Define.
780 (elmo-spam-register-good-messages): Ditto.
782 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
784 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
787 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
789 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
790 hash table to test whether a location is exists.
792 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
794 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
795 even if some error occurred.
797 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
798 meaningless unwind-protect.
800 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
801 start-number correctly.
802 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
803 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
805 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
807 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
808 (elmo-folder-initialize): Use it.
809 (elmo-global-flag-replace-referrer): New function.
811 * elmo.el (toplevel): Added autoload setting for
812 `elmo-global-flag-replace-referrer'.
813 (elmo-folder-rename): Rewrite the last change use
814 `elmo-global-flag-replace-referrer'.
816 * elmo-pipe.el (elmo-folder-rename): Call
817 `elmo-global-flag-replace-referrer'.
819 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
821 * elmo.el (elmo-folder-rename): Set meta data for global flags
824 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
826 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
828 (elmo-folder-close): Ditto.
829 (elmo-filter-folder-number-list-loaded-p): New function.
830 (elmo-filter-folder-number-list): Check whether loaded or not.
831 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
832 of `elmo-filter-folder-number-list-internal'.
833 (elmo-folder-delete-messages): Ditto.
834 (elmo-folder-length): Check whether number-list is loaded or not.
836 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
838 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
839 field `real field' into each element of list.
840 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
841 (elmo-msgdb-message-entity-field): Ditto.
842 (modb-entity-ml-info-real-fields): New function.
844 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
846 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
847 `elmo-msgdb-extra-fields'.
849 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
851 * elmo-util.el (elmo-passwd-alist-load): Move point to min
852 position before read.
854 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
856 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
857 (elmo-global-flags-initialize): Ditto.
859 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
861 * elmo-archive.el (toplevel): Don't require emu, std11
864 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
867 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
869 * elmo.el (elmo-folder-confirm-appends): Display folder name.
871 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
873 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
876 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
878 * elmo-maildir.el (elmo-maildir-list-location): Reduce
879 `elmo-get-last-modification-time' call.
881 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
883 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
885 (elmo-maildir-set-mark): Ditto.
886 (elmo-maildir-delete-mark): Ditto.
888 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
890 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
891 optional argument `separators'.
893 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
895 * elmo.el (cache-changed): Abolish.
896 (status-changed): New signal.
897 (elmo-message-killed-p): New generic function and define for
899 (elmo-folder-recover-messages): Ditto.
900 (elmo-message-set-cached): Emit signal `status-changed' instead of
902 (elmo-message-status): New macro.
903 (elmo-message-status-folder): Ditto.
904 (elmo-message-status-number): Ditto.
905 (elmo-message-status-set-flags): Ditto.
906 (elmo-message-status-set-killed): Ditto.
907 (elmo-message-status-flags): New function.
908 (elmo-message-status-cached-p): Ditto.
909 (elmo-message-status-killed-p): Ditto.
911 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
912 `status-changed' instead of `cache-changed'.
913 (elmo-folder-recover-messages): Define.
914 (elmo-message-killed-p): Ditto.
916 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
917 `status-changed' instead of `cache-changed'.
919 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
920 (elmo-message-killed-p): Define.
921 (elmo-folder-recover-messages): Ditto.
923 * elmo-version.el (elmo-version): Up to 2.15.3.
925 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
927 * elmo-signal.el (elmo-signal-bindings): Use cons to append
929 (elmo-define-signal-handler): Add docstring.
930 (elmo-define-signal-filter): Ditto.
932 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
934 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
936 * elmo-util.el (elmo-flatten): Don't use recursive call.
938 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
940 (elmo-folder-message-make-temp-files): Use `number-to-string'
941 instead of `int-to-string'.
943 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
945 * elmo-search.el (elmo-folder-delete-messages): Define.
947 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
949 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
951 (elmo-mailing-list-count-spec-list): Ditto.
953 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
956 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
958 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
961 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
963 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
964 (elmo-mailing-list-count-spec-list): Ditto.
966 * elmo-util.el (elmo-map-until-success): New function.
967 (elmo-string-match-substring): Ditto.
968 (elmo-find-list-match-value): Ditto.
970 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
972 (modb-entity-extract-ml-info-from-subject): Ditto.
973 (modb-entity-extract-ml-info-from-return-path): Ditto.
974 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
975 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
976 (modb-entity-extract-ml-info-from-mailman): Ditto.
977 (modb-entity-extract-mailing-list-info-functions): Ditto.
978 (modb-entity-extract-mailing-list-info): Rewrite with
979 `elmo-find-list-match-value'.
981 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
983 * elmo-net.el (elmo-network-session-retry-count): New user option.
984 (elmo-network-session-buffer-name): New internal function.
985 (elmo-network-session-buffer-create): Ditto.
986 (elmo-network-open-session): Retry open network session
987 `elmo-network-session-retry-count' times.
989 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
991 * elmo-util.el (elmo-list-filter): Rewritten.
993 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
995 * elmo-util.el (elmo-string-member): Allow symbol element in list.
997 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
999 * elmo-search.el (elmo-make-search-engine): Use prefix
1000 `elmo-search-' for require symbol instead of `else-'.
1001 (elmo-search-engine-extprog): New class.
1002 (elmo-search-engine-do-search): Remove nil from argument
1003 list. Added argument pattern to evaluate element as function.
1004 (elmo-search-engine-local-file): Derived from
1005 `elmo-search-engine-extprog'.
1006 (elmo-search-engine-create-message-entity): Check existance of file.
1007 (elmo-search-engine-fetch-message): Ditto.
1008 (elmo-search-namazu-index): Follow the API change.
1009 (elmo-search-grep-target): Ditto.
1011 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1013 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
1014 characters of working buffer.
1016 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1017 Does not bind `default-mime-charset'.
1018 (elmo-msgdb-create-message-entity-from-buffer): Removed
1019 unnecessary local bind.
1021 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
1023 (modb-entity-extract-mailing-list-info-functions): Added it.
1025 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1027 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
1028 when number and message-id are non-nil.
1030 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
1032 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
1033 conditional steatment.
1034 (elmo-pop3-auth-apop): Likewise.
1035 (elmo-network-authenticate-session): Likewise.
1037 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1039 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
1040 symbol `fill-column'.
1041 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
1044 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
1045 (elmo-decoded-field-body): Ditto.
1047 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1049 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
1050 `tokens' to `params'.
1052 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1054 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
1057 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1059 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
1062 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1064 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1065 Set default value as nil.
1066 (toplevel): Register search engines by
1067 `elmo-search-register-engine' if there are not defined.
1069 * elmo.el (autoload): Added autoload setting for
1070 `elmo-search-register-engine'.
1072 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1074 * elmo.el (toplevel): `[' is redefined as the prefix of the search
1075 folder instead of nmz folder.
1076 (elmo-nmz-default-index-path): Added obsolete variable setting.
1077 (elmo-nmz-index-alias-alist): Ditto.
1078 (elmo-nmz-use-drive-letter): Ditto.
1080 * elmo-search.el (elmo-search-register-engine): New function.
1082 * elmo-nmz.el: Removed.
1084 * elmo-version.el (elmo-version): Up to 2.15.2.
1086 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1088 * elmo-search.el: New file.
1090 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1092 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1093 condition `larger' and `smaller'.
1095 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1097 * elmo-util.el (elmo-safe-filename): Rewrite to replace
1098 `"' (double quote) into "_Q_".
1100 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1102 * elmo-net.el (elmo-net-quote-chars): Abolish.
1103 (elmo-net-format-quoted): Ditto.
1105 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1107 * elmo.el (elmo-get-folder-function): New variable.
1108 (elmo-get-folder): New function.
1109 (elmo-folder-rename): Call `elmo-make-folder' with specified
1112 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1114 (elmo-split-subr): Ditto.
1116 * elmo-multi.el (elmo-folder-initialize): Ditto.
1118 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1120 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1121 (elmo-flag-get-folder): Ditto.
1123 * elmo-filter.el (elmo-folder-initialize): Ditto.
1125 * elmo-access.el (elmo-folder-initialize): Ditto.
1126 (elmo-access-folder-update-children): Ditto.
1128 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1129 (elmo-dop-queue-flush): Ditto.
1130 (elmo-folder-append-buffer-dop-delayed): Ditto.
1131 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1134 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1135 instead of `elmo-make-folder'.
1136 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
1137 destination folder instead of send `elmo-folder-rename-internal'.
1139 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1140 slot of subfolder instead of create it.
1142 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1144 * elmo-util.el (elmo-collect-separators): New function.
1145 (elmo-collect-separators-internal): Ditto.
1146 (elmo-collect-trail-separators): Ditto.
1147 (elmo-parse-separated-tokens): Ditto.
1148 (elmo-parse-separated-tokens-internal): Ditto.
1149 (elmo-quote-syntactical-element): Ditto.
1151 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1152 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1154 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1155 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1156 (elmo-nntp-folder-list-subfolders): Quote a user name.
1158 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1159 (elmo-net-parse-network): Abolish.
1160 (elmo-net-folder-set-parameters): New function.
1161 (elmo-folder-initialize): Follow the above change.
1163 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1164 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1165 (elmo-folder-list-subfolders): Use
1166 `elmo-quote-syntactical-element' instead of
1167 `elmo-net-format-quoted' to quote mailbox and user name.
1169 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1171 * elmo-util.el (elmo-token-valid-p): New function.
1172 (elmo-parse-token): Add optional argument `requirement'.
1173 (elmo-parse-prefixed-element): Likewise.
1175 * elmo-net.el (elmo-net-quote-chars): Renamed from
1176 `elmo-net-quote-chars-regexp'.
1177 (elmo-net-format-quoted): Add optional argument `extra-chars'.
1179 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1180 by info document. Check token `uidl' is started an alphabet.
1182 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1183 by info document. Check token `user' is started an alphabet.
1185 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1186 (elmo-folder-list-subfolders): Quote user.
1188 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1190 * elmo-util.el (elmo-quoted-specials-list): New constant.
1191 (elmo-quoted-token): New function.
1193 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1194 (elmo-net-format-quoted): New function.
1195 (elmo-net-parse-network): Ditto.
1196 (elmo-folder-initialize): Use it.
1198 * elmo-nntp.el (elmo-folder-initialize): Use
1199 `elmo-net-parse-network' to parse network specification instead of
1200 `elmo-folder-initialize#elmo-net'.
1202 * elmo-pop3.el (elmo-folder-initialize): Ditto.
1204 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1205 (elmo-folder-list-subfolders): Quote folder name by
1206 `elmo-net-format-quoted'.
1208 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1210 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1211 (elmo-folder-search): Use it.
1213 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1215 * modb-standard.el (modb-standard-loaded-message-id): Use
1216 `elmo-msgdb-message-entity-field'.
1218 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1220 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1223 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
1225 * elmo-util.el (elmo-set-auto-coding): New function.
1226 (elmo-object-load): Use it.
1228 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1230 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1231 (elmo-time<): Define as alias of `elmo-time-less-p'.
1232 (elmo-time-to-datevec): New function.
1234 * elmo-date.el (elmo-time-to-days): New function.
1236 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1238 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1241 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1243 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1246 * elmo-util.el (elmo-map-recursive): New function.
1248 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1249 (modb-entity-encode-string-recursive): Ditto.
1251 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
1253 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1254 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1255 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1256 compare sequence number when last modified time is nil.
1258 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1260 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1262 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1264 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
1266 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1267 modification time of the file.
1269 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1271 * elmo-util.el (elmo-condition-optimize): Discriminated against
1272 preserved fields, extra fields and the other weight.
1274 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1276 * modb-entity.el (initialize-instance): Define.
1277 (modb-entity-handler-mime-charset): New internal function.
1278 (modb-standard-entity-set-field): Use it.
1279 (elmo-msgdb-message-entity-field): Ditto.
1280 (elmo-msgdb-message-entity-field): Ditto.
1282 * modb.el (elmo-msgdb-match-condition): Rewrite with
1283 `elmo-condition-match'.
1284 (elmo-msgdb-match-condition-primitive): New function.
1286 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1287 arguments `flags' and `numbers'.
1288 (elmo-msgdb-match-condition-primitive): Abolished (merged to
1289 `elmo-msgdb-message-match-condition').
1290 (modb-buffer-entity-handler): New class.
1292 * elmo.el (elmo-folder-search): Optimize condition to use
1293 `elmo-condition-optimize'.
1294 (elmo-message-buffer-match-condition): New function.
1295 (elmo-message-match-condition): Use
1296 `elmo-message-buffer-match-condition' instead of
1297 `elmo-buffer-field-condition-match'.
1299 * elmo-util.el (elmo-condition-match): New function.
1300 (elmo-condition-optimize): Ditto.
1301 (elmo-buffer-field-primitive-condition-match): Abolish.
1302 (elmo-buffer-field-condition-match): Ditto.
1304 * elmo-archive.el (elmo-archive-field-condition-match): Use
1305 `elmo-message-buffer-match-condition' instead of
1306 `elmo-buffer-field-condition-match'.
1308 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1310 * elmo-flag.el (elmo-global-flags-initialize): Check the
1311 existence of the flag directory.
1313 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1315 * elmo-access.el (elmo-folder-initialize): Call
1316 `elmo-multi-connect-signals'.
1318 * elmo-pipe.el (elmo-folder-close): Define.
1320 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1323 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1326 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1329 * elmo-multi.el (elmo-message-entity): Don't use return value of
1330 `elmo-message-entity-set-number'.
1332 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1334 * modb.el (modb-generic): Added slot `mime-charset'.
1336 * modb-standard.el (modb-standard): Added slot `overview-handler'.
1337 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1338 and `modb-entity-handler-dump-parameters'.
1339 (modb-standard-default-entity-handler): Abolish.
1340 (elmo-msgdb-message-entity-handler): Save created handler by
1343 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1344 (modb-entity-handler-list-parameters): New method.
1345 (modb-entity-handler-equal-p): New function.
1346 (modb-entity-handler-dump-parameters): Ditto.
1347 (modb-entity-parse-address-string): Encode return value.
1348 (modb-entity-make-address-string): Decode argument value.
1349 (modb-entity-decode-string-recursive): New function.
1350 (modb-entity-encode-string-recursive): Ditto.
1351 (modb-standard-entity-normalizer): Set to encode field value.
1352 (modb-standard-entity-specializer): Follow the above change.
1353 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1354 mime-charset of handler.
1355 (elmo-msgdb-message-entity-field): Ditto.
1356 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1358 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1360 * elmo.el (elmo-folder): Added slot `mime-charset'.
1361 (elmo-make-folder): Added argument `mime-charset'.
1362 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1365 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1366 (elmo-make-msgdb): Likewise.
1368 * elmo-internal.el (elmo-internal-folder-initialize): Call
1369 `luna-make-entity' with :mime-charset parameter.
1371 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1373 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1374 encoded words in `from' and `subject' field.
1376 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1378 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1379 (elmo-msgdb-match-condition): Get handler from entity instead of
1382 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1383 (modb-standard-load-entity): Treat new file format.
1384 (modb-standard-save-entity-1): Save as new file format.
1385 (modb-standard-save-entity): Split messages into section here.
1386 (elmo-msgdb-message-field): Follow the API change.
1387 (modb-standard-default-entity-handler): New internal variable.
1388 (elmo-msgdb-message-entity-handler): Define.
1390 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1392 (modb-entity-field-extractor-alist): New user option.
1393 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1394 added argument `type'.
1395 (elmo-msgdb-copy-message-entity): Add optional argument
1397 (modb-set-field-converter): New function.
1398 (modb-convert-field-value): Ditto.
1399 (modb-entity-string-decoder): Ditto.
1400 (modb-entity-string-encoder): Ditto.
1401 (modb-entity-parse-date-string): Ditto.
1402 (modb-entity-make-date-string): Ditto.
1403 (modb-entity-mime-decoder): Ditto.
1404 (modb-entity-mime-encoder): Ditto.
1405 (modb-entity-address-list-decoder): Ditto.
1406 (modb-entity-address-list-encoder): Ditto.
1407 (modb-entity-parse-address-string): Ditto.
1408 (modb-entity-make-address-string): Ditto.
1409 (modb-entity-create-field-indices): Ditto.
1410 (modb-legacy-entity-field-slots): New constant.
1411 (modb-legacy-entity-field-indices): Ditto.
1412 (modb-legacy-entity-normalizer): New variable.
1413 (modb-legacy-entity-specializer): Ditto.
1414 (modb-legacy-entity-field-index): New macro.
1415 (modb-legacy-entity-set-field): New function.
1416 (modb-legacy-make-message-entity): Rewrite.
1417 (elmo-msgdb-create-message-entity-from-buffer): Use
1418 `elmo-msgdb-get-references-from-buffer'. Use
1419 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1420 Use `modb-legacy-entity-set-field' instead of
1421 `elmo-msgdb-message-entity-set-field'.
1422 (elmo-msgdb-message-entity-field): Rewrite.
1423 (elmo-msgdb-message-entity-set-field): Ditto.
1424 (elmo-msgdb-copy-message-entity): Make new entity by
1425 `make-handler' if it specified.
1426 (elmo-msgdb-message-match-condition): Define a method of
1427 `modb-entity-handler' and follow the API change.
1428 (modb-standard-entity-handler): New class.
1429 (modb-entity-extract-ml-info-from-x-sequence): New function.
1430 (modb-entity-extract-ml-info-from-subject): Ditto.
1431 (modb-entity-extract-ml-info-from-return-path): Ditto.
1432 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1433 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1434 (modb-entity-extract-mailing-list-info): Ditto.
1435 (modb-entity-extract-mailing-list-info-functions): New variable.
1437 * elmo.el (elmo-message-field): Add optional argument `type'.
1439 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1440 from `modb-entity.el'.
1442 * elmo-util.el (elmo-object-load): Decode by coding-system from
1443 `set-auto-coding-function'.
1444 (elmo-object-save): Use `detect-mime-charset-region' and add
1445 coding cookie if encode.
1446 (elmo-msgdb-get-references-from-buffer): New function.
1447 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1449 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1451 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1452 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1453 instead of `shimbun-make-header' and follow the API change.
1454 (elmo-shimbun-update-overview): Follow the API change.
1455 (elmo-map-folder-list-message-locations): Ditto.
1457 * elmo-pipe.el (elmo-message-field): Ditto.
1459 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1462 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1464 * elmo-multi.el (elmo-message-field): Ditto.
1466 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1467 (elmo-msgdb-sort-by-date): Ditto.
1468 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1469 `elmo-message-entity-field'.
1470 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1472 (elmo-msgdb-overview-entity-get-from): Ditto.
1473 (elmo-msgdb-overview-entity-get-subject): Ditto.
1474 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1475 (elmo-msgdb-overview-entity-get-date): Ditto.
1476 (elmo-msgdb-overview-entity-get-to): Ditto.
1477 (elmo-msgdb-overview-entity-get-cc): Ditto.
1479 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1480 (elmo-mime-collect-message/partial-pieces): Ditto.
1482 * elmo-filter.el (elmo-message-field): Ditto.
1484 * elmo-date.el (elmo-datevec-to-time): New function.
1485 (elmo-time-parse-date-string): Ditto.
1486 (elmo-time-make-date-string): Ditto.
1487 (elmo-time<): Ditto.
1489 * elmo-version.el (elmo-version): Up to 2.15.1.
1491 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1493 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1494 member of elmo-local-flags.
1496 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1498 * elmo-version.el (elmo-version): Up to 2.15.0.
1500 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1502 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1503 `ignore-msgdb' is non-nil.
1505 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1507 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1508 (elmo-condition-in-msgdb-p): Ditto.
1509 (elmo-file-field-primitive-condition-match): Ditto.
1510 (elmo-file-field-condition-match): Ditto.
1512 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1514 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1516 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1517 subdirectories here.
1518 (elmo-global-flags-initialize): New function.
1520 * elmo.el (toplevel): Added autoload setting for
1521 `elmo-global-flags-initialize'.
1523 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1525 * elmo.el (message-number-changed): Define new signal.
1526 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1527 message-number-changed signal.
1528 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1529 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1530 Respect `elmo-pack-number-check-strict'.
1532 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1534 * elmo-signal.el (elmo-connect-signal): Document.
1535 (elmo-emit-signal): Ditto.
1536 (elmo-emit-signal): It should pass source argument to filter and
1537 handler, not slot-source.
1539 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1541 * modb.el (elmo-msgdb-update-entity): New API and define generic
1544 * modb-standard.el (elmo-msgdb-update-entity): Define.
1546 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1547 API and define generic implement.
1549 * elmo.el (update-overview): New singnal.
1551 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1552 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1553 (elmo-message-entity-parent): Define.
1555 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1558 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1560 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1562 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1564 * elmo.el (elmo-folder-synchronize): Sort the return value of
1567 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1570 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1572 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1573 `default-enable-multibyte-characters'.
1574 (elmo-object-load): Use `with-temp-buffer' instead of
1575 `elmo-set-work-buf'.
1576 (elmo-object-save): Ditto.
1577 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1578 `elmo-set-work-buf'.
1579 (elmo-decoded-field-body): Ditto.
1581 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1583 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1584 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1586 * elmo-version.el (elmo-version): Up to 2.13.3.
1588 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1590 * elmo-util.el (elmo-list-diff): Fix the last change.
1591 Reverse order of result lists.
1593 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1595 * modb-standard.el (elmo-msgdb-set-flag): Use
1596 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1597 (elmo-msgdb-unset-flag): Ditto.
1599 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1602 * elmo-util.el (elmo-list-diff): Rewrite.
1603 (elmo-list-diff-nonsortable): New function.
1605 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1607 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1608 `elmo-multibypte-buffer-name'. All referers are updated.
1610 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1612 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1613 (elmo-mime-entity-fragment-p): New function.
1614 (mime-elmo-buffer-entity): Added slot `reassembled'.
1615 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1616 (elmo-message-mime-entity-internal): New function (renamed from
1617 `elmo-message-mime-entity').
1618 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1619 (elmo-mime-make-reassembled-mime-entity): New function.
1620 (elmo-message-reassembled-mime-entity): Ditto.
1621 (elmo-mime-collect-message/partial-pieces): Ditto.
1623 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1625 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1627 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1628 (elmo-with-enable-multibyte): New macro.
1630 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1632 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1634 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1636 (elmo-filter-connect-signals): Follow the above change.
1638 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1640 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1642 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1643 that only the first flag is used.
1645 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1647 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1650 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1652 * elmo-signal.el: New file.
1654 * elmo.el (toplevel): Require elmo-signal.
1655 (flag-changing, flag-changed, cache-changed): New signal.
1656 (elmo-folder): Remove slog `handlers'.
1657 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1658 `elmo-folder-notify-event'.
1659 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1660 (elmo-folder-unset-flag): Ditto.
1661 (elmo-event-handler): Abolish.
1662 (elmo-event-handler-flag-changed): Ditto.
1663 (elmo-event-handler-cache-changed): Ditto.
1664 (elmo-folder-add-handler): Ditto.
1665 (elmo-folder-remove-handler): Ditto.
1666 (elmo-folder-notify-event): Ditto.
1668 * elmo-pipe.el (toplevel): Require elmo-signal.
1669 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1670 (elmo-pipe-connect-signals): New function.
1671 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1672 (elmo-folder-set-flag): Ditto.
1673 (elmo-folder-unset-flag): Ditto.
1674 (elmo-message-set-cached): Ditto.
1676 * elmo-multi.el (toplevel): Require elmo-signal.
1677 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1678 (elmo-multi-connect-signals): New function.
1679 (elmo-multi-map-numbers): Ditto.
1680 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1681 (elmo-message-fetch): Ditto.
1682 (elmo-folder-set-flag): Ditto.
1683 (elmo-folder-unset-flag): Ditto.
1685 * elmo-filter.el (toplevel): Require elmo-signal.
1686 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1687 (elmo-filter-connect-signals): New function.
1688 (elmo-filter-add-flag-count): Ditto.
1689 (elmo-message-fetch): Does not call
1690 `elmo-filter-folder-countup-message-flags' and
1691 `elmo-folder-notify-event'.
1692 (elmo-message-set-cached): Ditto.
1693 (elmo-folder-set-flag): Ditto.
1694 (elmo-folder-unset-flag): Ditto.
1696 * elmo-version.el (elmo-version): Up to 2.13.2.
1698 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1700 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1703 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1705 * elmo-filter.el (elmo-message-set-cached): Call
1706 `elmo-folder-notify-event' with event `cache-changed'.
1708 * elmo-multi.el (elmo-message-set-cached): Ditto.
1710 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1712 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1714 * elmo.el (elmo-folder-encache): Abolish.
1716 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1718 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1719 (elmo-folder-next-message-number-dop): Return appropriate negative
1722 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1724 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1725 clearing pending operations.
1726 (elmo-folder-next-message-number-dop): Return appropriate negative
1729 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1731 * elmo.el (toplevel): Added autoload setting for `md5'.
1732 (elmo-msgdb-path-encode-threshold): New user option.
1733 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1734 longer than `elmo-msgdb-path-encode-threshold'.
1736 * elmo-flag.el (elmo-global-mark-migrate): Use
1737 `elmo-folder-expand-msgdb-path' instead of
1738 `elmo-folder-msgdb-path'.
1740 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1742 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1743 element of the difference is nil.
1745 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1747 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1748 to the check logic of file systems which are weak in colon character.
1750 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1752 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1754 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1756 * elmo-maildir.el (elmo-maildir-move-file): New function.
1757 (elmo-folder-append-buffer): Use it.
1758 (elmo-folder-append-messages): Ditto.
1759 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1761 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1762 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1764 * elmo-maildir.el (elmo-maildir-separator): New user option.
1765 (elmo-maildir-adjust-separator): New macro.
1766 (elmo-maildir-list-location): Use it.
1767 (elmo-maildir-update-current): Ditto.
1768 (elmo-maildir-set-mark): Ditto.
1769 (elmo-maildir-delete-mark): Ditto.
1770 (These changes are based on Hiroya Murata's patch [wl: 13437])
1772 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1774 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1776 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1778 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1779 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1780 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1782 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1784 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1785 Use `with-temp-buffer'.
1787 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1789 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1791 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1792 `wl-read-search-condition').
1793 (elmo-read-search-condition-internal): Likewise.
1795 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1796 (elmo-flag-valid-p): New function.
1797 (elmo-folder-initialize): Check flag name is valid.
1799 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1801 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1802 delimiter to obtain root mailbox itself.
1804 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1806 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1809 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1811 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1814 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1816 * elmo-shimbun.el (toplevel): Require cl at compile.
1818 * elmo-nntp.el (toplevel): Ditto.
1820 * elmo-nmz.el (toplevel): Ditto.
1822 * elmo-multi.el (toplevel): Ditto.
1824 * elmo-file.el (toplevel): Ditto.
1826 * elmo-dop.el (toplevel): Ditto.
1828 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1830 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1832 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1835 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1836 size of elmo-message-fetch-internal is 0 byte.
1838 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1840 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1842 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1844 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1847 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1849 * elmo-maildir.el (elmo-map-message-fetch): Call
1850 `elmo-map-folder-set-flag'.
1852 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1853 (elmo-message-fetch): Merge from
1854 `elmo-message-fetch-with-cache-process'.
1856 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1857 (elmo-message-fetch): Define.
1859 * elmo-nntp.el (elmo-message-fetch): Renamed from
1860 `elmo-message-fetch-with-cache-process'.
1862 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1863 (elmo-message-fetch): Define.
1865 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1868 * elmo-shimbun.el (shimbun-mua-search-id): Use
1869 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1870 (elmo-shimbun-folder-shimbun-header): Ditto.
1871 (elmo-shimbun-get-headers): Ditto.
1872 (elmo-shimbun-update-overview): Ditto.
1874 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1876 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1877 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1879 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1881 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1883 (elmo-message-fetch-string): Fixed argument.
1885 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1887 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1888 exchange order of arguments `section' and `unread'.
1889 (elmo-message-encache): Follow the API change.
1890 (elmo-message-match-condition): Ditto.
1891 (elmo-generic-folder-append-messages): Ditto.
1892 (elmo-message-fetch-string): New function.
1894 * elmo-split.el (elmo-split-subr): Ditto.
1896 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1898 * elmo-pipe.el (elmo-message-fetch): Ditto.
1900 * elmo-multi.el (elmo-message-fetch): Ditto.
1902 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1904 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1906 * elmo-filter.el (elmo-message-fetch): Ditto.
1908 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1910 * elmo-imap4.el (mime-imap-location-section-body): Use
1911 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1912 follow the API change.
1914 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1916 * elmo-access.el: New file.
1918 * elmo-null.el: Ditto.
1920 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1922 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1924 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1925 (elmo-network-session): New attribute `last-accessed'.
1926 (elmo-network-get-session): Discard network cache if elapsed time
1927 since last-accessed is larger than elmo-network-session-idle-timeout.
1929 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1931 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1932 and added `number', `require-entireness'.
1933 (elmo-find-fetch-strategy): Rewrite.
1934 (elmo-message-fetch): Unset `unread' flag when argument unread is
1937 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1939 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1940 (elmo-message-fetch): Notify event `flag-changed'.
1942 * elmo-pipe.el: Likewise.
1944 * elmo-mime.el (elmo-mime-entity): New class.
1945 (elmo-mime-entity-display-p): New generic function.
1946 (elmo-mime-entity-display): Ditto.
1947 (elmo-mime-entity-display-as-is): Ditto.
1948 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1950 (elmo-make-mime-message-location): Removed.
1951 (elmo-mime-message-display): Ditto.
1952 (elmo-mime-display-as-is): Ditto.
1953 (elmo-message-mime-entity): New function.
1955 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1957 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1959 (elmo-message-fetch): Re-count flagged message number and notify
1960 event `flag-changed'.
1962 * elmo-version.el (elmo-version): Up to 2.13.1.
1964 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1966 * elmo-filter.el (elmo-message-field): Define.
1967 (elmo-message-set-field): Ditto.
1969 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1971 * elmo.el (elmo-message-set-cached): Call
1972 `elmo-folder-notify-event' with cache-changed.
1973 (elmo-event-handler-cache-changed): New generic function.
1975 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1977 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1978 instead of elmo-add-name-to-file.
1979 (elmo-folder-append-messages): Ditto.
1981 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1983 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1985 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1987 * elmo-version.el (elmo-version): Up to 2.13.0.
1989 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1992 * modb-standard.el (modb-standard-economize-entity-size): Changed
1993 default value to `t'.
1995 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1998 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1999 after parsing greeting string.
2001 2004-11-23 Daishi Kato <daishi@axlight.com>
2003 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
2005 (elmo-spam-spamoracle-call): Use it.
2007 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
2009 * elmo.el (elmo-message-accessible-p): Message in dop spool
2012 2004-11-23 Daishi Kato <daishi@axlight.com>
2014 * elsp-spamoracle.el: New file.
2016 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2018 * elmo.el (elmo-message-flags-for-append): New function.
2019 (elmo-generic-folder-append-messages): Use it.
2021 * elmo-split.el (elmo-split-subr): Ditto.
2023 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
2024 `flags' and use elmo-folder-append-buffer instead of
2025 write-region-as-binary.
2026 (elmo-dop-filter-pending-messages): New function.
2027 (elmo-folder-append-buffer-dop): Call
2028 elmo-dop-spool-folder-append-buffer with `flag'.
2029 (elmo-folder-set-flag-dop): Filter messages by
2030 elmo-dop-filter-pending-messages.
2031 (elmo-folder-unset-flag-dop): Ditto.
2032 (elmo-folder-append-buffer-dop-delayed): Use
2033 elmo-message-flags-for-append to get flags of the message and
2036 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2038 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
2040 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2042 * elmo.el (elmo-folder): Added handlers slot.
2043 (elmo-event-handler): New class.
2044 (elmo-event-handler-flag-changed): New API.
2045 (elmo-folder-add-handler): New function.
2046 (elmo-folder-remove-handler): Ditto.
2047 (elmo-folder-notify-event): Ditto.
2048 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
2050 (elmo-folder-unset-flag): Ditto.
2052 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
2053 (elmo-folder-unset-flag): Ditto.
2055 * elmo-multi.el (elmo-folder-set-flag): Ditto.
2056 (elmo-folder-unset-flag): Ditto.
2058 * elmo-filter.el (elmo-folder-set-flag): Ditto.
2059 (elmo-folder-unset-flag): Ditto.
2061 * elmo-version.el (elmo-version): Up to 2.11.33.
2063 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2065 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2067 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2069 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2071 * elmo-flag.el (elmo-folder-unset-flag): Define.
2072 (elmo-global-flag-detach): Do process when the flag is not target
2075 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2077 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2079 (elmo-msgdb-create-message-entity-from-buffer): Use it.
2081 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2083 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2085 (elmo-folder-delete-messages): Detach messages before delete
2086 messages from target folder.
2087 (elmo-folder-detach-messages): Set updated number-list to slot.
2089 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2091 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2093 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2095 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2097 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2099 * elmo.el (elmo-folder-delete-messages-internal): New API (for
2101 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2103 (elmo-folder-delete-messages): Define.
2104 (elmo-folder-move-messages): Don't call
2105 `elmo-folder-detach-messages'.
2106 (elmo-folder-synchronize): Rewrite.
2107 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2109 * elmo-util.el (elmo-last): New function.
2110 (elmo-set-list): Ditto.
2111 (elmo-number-set-delete-list): Ditto.
2112 (elmo-number-set-delete): Ditto.
2114 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2116 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2117 `elmo-folder-delete-messages' and don't delete location map.
2118 (elmo-folder-detach-messages): Define.
2120 * elmo-imap4.el (elmo-folder-delete): Use
2121 `elmo-folder-delete-messages-internal' instead of
2122 `elmo-folder-delete-messages'.
2124 * elmo-filter.el (elmo-folder-delete-messages): Call
2125 `elmo-folder-detach-messages'.
2126 (elmo-folder-detach-messages): Don't call
2127 `elmo-folder-detach-messages' for target folder.
2129 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2130 message deletion is succeeded.
2132 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2134 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2135 from `elmo-folder-delete-messages'.
2137 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2139 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2141 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2143 * elmo-version.el (elmo-version): Up to 2.11.32.
2145 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
2147 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2148 (elmo-global-flag-list): Added obsolete variable setting.
2150 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2152 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2153 (elmo-mime-insert-header-from-buffer): Don't decode header content when
2154 `elmo-mime-display-header-analysis' is nil.
2156 * elmo-flag.el (elmo-global-flags): Renamed from
2157 `elmo-global-flag-list' (All other related portions are changed).
2158 (elmo-local-flags): New variable.
2159 (elmo-local-flag-p): New function.
2160 (elmo-global-flag-set-internal): Cause an error when flag is not
2163 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
2165 * elmo-util.el (elmo-concat-path): Treat empty path.
2167 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2169 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2171 (elmo-split-address-match): Ditto.
2172 (elmo-split-equal): Ditto.
2173 (elmo-split-match): Ditto.
2175 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
2177 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2178 (elmo-generic-folder-append-messages): If src message exists but
2179 has no flag, pass (read) for the FLAG argument of
2180 `elmo-folder-append-buffer'. Otherwise, pass nil.
2182 * elmo-split.el (elmo-split-subr): Likewise.
2184 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2186 * elmo-multi.el (elmo-message-flags): Ditto.
2188 * elmo-filter.el (elmo-message-flags): Ditto.
2190 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2191 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2192 pass (read) for the FLAG argument of elmo-folder-append-buffer.
2194 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
2196 * elmo-split.el (elmo-split-rule): Update comment.
2197 (elmo-split-address-equal): Allow 2nd argument to be a list.
2198 (elmo-split-address-match): Ditto.
2199 (elmo-split-equal): Ditto.
2200 (elmo-split-match): Ditto.
2202 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
2204 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2205 (elmo-folder-append-msgdb): Don't treat `read'.
2206 (elmo-message-flags): Don't return `read'.
2208 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2209 (elmo-folder-unset-read-delayed): Ditto.
2211 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2213 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
2215 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2218 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2220 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2223 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
2225 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2227 (elmo-msgdb-save): Bind inhibit-quit.
2228 (modb-standard-message-entity): Ditto.
2230 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2232 * elmo-database.el: No need to require elmo-msgdb.
2234 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2236 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2237 instead of `elmo-list-subdirectories'.
2239 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2241 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2243 (elmo-folder-exists-p): "[" is empty.
2244 (elmo-folder-list-subfolders): Define.
2245 (elmo-folder-have-subfolder-p): Ditto.
2247 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
2249 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2251 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
2253 * elmo-filter.el (elmo-folder-local-p): Define.
2255 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2257 * modb-standard.el (modb-standard-loaded-message-id): Return nil
2258 when entity is garbaged.
2259 (modb-standard-save-entity-1): Don't modify the original entity.
2261 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
2263 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2265 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2267 * elmo.el (elmo-strict-folder-diff): Use
2268 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2270 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2272 * modb.el (elmo-msgdb-flag-available-p): New generic function.
2273 (elmo-msgdb-message-number): Ditto.
2274 (elmo-msgdb-message-field): Ditto.
2276 * modb-standard.el (modb-standard-economize-entity-size): New user
2278 (modb-standard-loaded-message-id): New inline function.
2279 (modb-standard-load-entity): Use it.
2280 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2281 throw message-id string away.
2282 (elmo-msgdb-flag-available-p): Define.
2283 (elmo-msgdb-message-number): Ditto.
2284 (elmo-msgdb-message-field): Ditto.
2286 * modb-legacy.el (modb-legacy-flag-list): Fix typo
2287 (suppoted -> supported).
2288 (modb-legacy-supported-flag-p): Ditto.
2289 (elmo-msgdb-set-flag): Ditto.
2290 (elmo-msgdb-unset-flag): Ditto.
2291 (elmo-msgdb-flag-available-p): Define.
2293 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2294 is `t', treat it as legacy entity.
2296 * elmo.el (elmo-message-flag-available-p): New generic function.
2297 (elmo-message-number): Ditto.
2298 (elmo-message-field): Use `elmo-msgdb-message-field'.
2300 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2302 * elmo-pipe.el (elmo-message-flag-available-p): Define.
2303 (elmo-message-number): Ditto.
2305 * elmo-multi.el (elmo-message-number): Define.
2306 (elmo-message-flag-available-p): Ditto.
2308 * elmo-filter.el (elmo-message-flag-available-p): Define.
2309 (elmo-message-number): Ditto.
2311 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2312 (elmo-folder-initialize): Load `max-number'.
2313 (elmo-folder-commit): Save it.
2314 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2315 (elmo-global-flag-set-internal): Set up max-number slot.
2317 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2319 * elmo-version.el (elmo-version): Up to 2.11.31.
2321 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
2323 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2324 unibyte string of the current buffer for the argument of `md5'
2325 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2327 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2329 * modb-legacy.el (modb-legacy-flag-list): New constant.
2330 (modb-legacy-suppoted-flag-p): New internal function.
2331 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2332 (elmo-msgdb-unset-flag): Ditto.
2334 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
2336 * elmo.el (elmo-make-folder): Remove text properties for prefix.
2338 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2341 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2343 * elmo-multi.el (elmo-folder-count-flags): Changed return value
2344 (follow the API change).
2346 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2348 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2350 * modb-standard.el (modb-standard-digest-flags): Abolish.
2351 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2353 * elmo-vars.el (elmo-digest-flags): New variable.
2354 (elmo-preserved-flags): Moved from elmo-flag.el.
2356 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2357 (elmo-imap4-flag-to-imap-criteria): Ditto.
2358 (elmo-imap4-folder-list-flagged): Use it.
2360 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2362 * elmo.el (elmo-folder-count-flags): Changed return value.
2364 * elmo-flag.el (elmo-preserved-flags): New variable.
2365 (elmo-get-global-flags): Use it.
2367 * modb-standard.el (modb-standard-digest-flags): New variable.
2368 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2369 Changed behavior of `any'.
2371 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2372 which are defined the Internet draft
2373 (draft-melnikov-imap-keywords-03.txt).
2374 (elmo-imap4-flags-to-imap): New function.
2375 (elmo-folder-append-buffer): Use it.
2377 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2380 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2381 avoid the bug of Emacs 21.3.
2383 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2385 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2386 function find-coding-system does not exist.
2388 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2390 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2393 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2395 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2398 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2400 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2401 (elmo-network-close-session): Follow the changes in
2402 `elmo-pop3-read-response'.
2403 (elmo-pop3-auth-user): Ditto.
2404 (elmo-pop3-auth-apop): Ditto.
2405 (elmo-network-initialize-session): Ditto.
2406 (elmo-network-authenticate-session): Ditto.
2407 (elmo-network-setup-session): Ditto.
2408 (elmo-folder-status): Ditto.
2409 (elmo-message-fetch-plugged): Ditto.
2410 (elmo-pop3-delete-msg): Ditto.
2412 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2414 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2417 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2419 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2421 (elmo-bind-directory): Ditto.
2423 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2425 * elmo.el (elmo-folder-append-messages): Note on return value.
2426 * elmo-archive.el (elmo-folder-append-messages): Don't return
2427 message numbers which could not be appended.
2429 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2431 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2433 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2435 * elmo-version.el (elmo-version): Up to 2.11.30.
2437 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2439 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2442 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2444 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2445 (elmo-multi-split-numbers): Add elmo-folder object into each
2446 element of return value at first.
2447 (elmo-folder-delete-messages): Follow the above change.
2448 (elmo-folder-detach-messages): Ditto.
2450 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2451 number which is synchronized in target folder.
2453 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2455 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2456 Change default value to symbol `all'.
2457 (elmo-map-message-fetch): Change condition to update overview
2460 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2462 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2463 behavior to update overview.
2464 (elmo-shimbun-update-overview-folder-list): Note it.
2466 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2468 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2471 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2473 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2474 buffer-disable-undo, it is unnecessary.
2475 (elmo-spam-register-good-messages): Ditto.
2477 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2480 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2482 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2484 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2485 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2486 elmo-set-buffer-multibyte.
2487 (elmo-object-load): Ditto.
2488 (elmo-save-buffer): Ditto.
2489 (elmo-delete-char): Ditto.
2490 (elmo-file-field-primitive-condition-match): Ditto.
2491 (elmo-mime-string): Ditto.
2493 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2494 (elmo-archive-field-condition-match): Ditto.
2496 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2498 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2500 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2501 (elmo-nntp-msgdb-create-message): Ditto.
2503 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2505 * elmo.el (elmo-message-match-condition): Ditto.
2506 (elmo-message-match-condition): Ditto.
2508 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2511 * elmo-version.el (elmo-version): Up to 2.11.29.
2513 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2514 (elsp-header): New backend.
2516 * elmo-util.el (elmo-decoded-field-body): New function.
2518 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2520 * elmo-version.el (elmo-version): Up to 2.11.28.
2522 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2524 * elmo-filter.el: Rewrite.
2526 * elmo-version.el (elmo-version): Up to 2.11.27.
2528 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2530 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2531 msgdb path for the localdir folder with absolute path.
2533 * utf7.el: Synch up with latest gnus/utf7.el;
2534 Modified for latest Emacs.
2536 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2538 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2539 shimbun backend couldn't open.
2541 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2543 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2544 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2545 when a destination folder is a filter folder.
2547 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2549 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2550 (elmo-generic-folder-append-messages): Call elmo-message-flags
2551 with argument `msgid'.
2553 * elmo-split.el (elmo-split-subr): Ditto.
2555 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2557 * elmo-multi.el (elmo-message-flags): Ditto.
2559 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2561 * elmo.el (elmo-folder): Add new slot `flag-table'.
2562 (elmo-folder-flag-table): New API.
2563 (elmo-folder-close-flag-table): Ditto.
2564 (elmo-folder-preserve-flags): New function.
2565 (elmo-generic-folder-append-messages): Use
2566 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2567 Flag of a non-registered message, it sets to nil.
2568 Does not set flag to flag-table.
2570 * elmo-maildir.el (elmo-folder-append-buffer): Use
2571 `elmo-folder-preserve-flags'.
2572 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2573 `elmo-folder-close-flag-table'.
2575 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2576 (elmo-archive-folder-append-buffer): Use
2577 `elmo-folder-preserve-flags'.
2579 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2581 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2583 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2584 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2585 `elmo-folder-close-flag-table'.
2587 * elmo-version.el (elmo-version): Up to 2.11.26.
2589 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2591 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2593 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2594 md5's 4th and 5th argument (non-existent in flim one).
2596 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2598 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2599 message, It sets to nil.
2601 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2603 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2606 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2608 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2610 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2612 * elmo-util.el (elmo-uniq-sorted-list): New function.
2613 (elmo-make-number-list): Ditto.
2614 (elmo-number-set-to-number-list): Use elmo-make-number-list
2615 and don't use nreverse.
2617 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2619 * elmo-version.el (elmo-version): Up to 2.11.25.
2621 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2623 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2624 field not exists in message, Use md5 message digest of header.
2626 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2628 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2629 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2630 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2631 * elmo-split.el (elmo-split-subr): Check return value of
2632 elmo-folder-append-buffer.
2634 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2635 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2637 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2640 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2642 * elmo-split.el (elmo-split-subr): Append message with flag.
2644 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2645 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2646 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2648 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2650 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2651 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2652 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2654 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2656 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2657 with a function call of `process-buffer'. All callers are updated.
2658 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2659 Remove redundant `set-buffer' in a while loop.
2661 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2663 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2666 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2668 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2669 elsp-spamfilter-register-buffer-internal with current buffer.
2670 (elmo-spam-register-spam-buffer): Ditto.
2671 (elmo-spam-register-good-buffer): Ditto.
2673 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2675 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2676 if it is not contained in the response(A workaround for courier-imap).
2678 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2680 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2683 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2685 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2688 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2690 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2693 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2695 (elmo-msgdb-message-match-condition): Follow the change above.
2697 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2699 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2702 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2704 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2706 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2708 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2710 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2712 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2715 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2717 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2719 (elmo-file-command-argument): Undo last change for cygwin.
2720 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2722 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2724 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2726 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2727 value returned from elmo-file-find is nil.
2729 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2731 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2734 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2735 instead of insert-file-contents-as-binary.
2736 (elmo-message-set-field): New generic function.
2738 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2739 behavior change on `split-string'.
2741 * elmo-file.el (elmo-file-find): New function.
2742 (elmo-file-command): New user option.
2743 (elmo-file-command-argument): Ditto.
2744 (elmo-file-fetch-max-size): Ditto.
2745 (elmo-file-detect-format): New function.
2746 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2747 Use elmo-file-detect-format.
2748 (elmo-map-folder-list-message-locations): Don't treat directories.
2750 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2752 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2753 (elmo-passwd-alist-clear): Shred password before clear.
2754 (elmo-remove-passwd): Remove all mached pair.
2756 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2758 * elmo.el (elmo-folder-synchronize): Fix description of the return
2761 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2763 * elmo.el (elmo-message-fetch-bodystructure): New method.
2764 (elmo-message-fetch-bodystructure): Define default.
2766 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2767 elmo-message-fetch-bodystructure.
2768 (elmo-message-fetch-bodystructure): Define.
2770 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2772 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2774 * elmo-filter.el (elmo-message-folder): Define.
2776 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2778 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2779 elmo-delete-cr-buffer.
2781 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2783 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2785 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2787 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2788 type seems to be a text.
2790 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2792 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2793 (elmo-spam-register-good-buffer): Ditto.
2794 (elmo-spam-spamassassin-register-messages): Ditto.
2796 * elmo-util.el (elmo-string-member-ignore-case): Define with
2799 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2801 * elmo.el (elmo-folder-type): Undo last change.
2803 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2805 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2808 * elmo-file.el: New file.
2810 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2812 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2814 (elmo-spam-spamassassin-register-messages): New inline function.
2815 (elmo-spam-register-spam-messages): Define.
2816 (elmo-spam-register-good-messages): Ditto.
2818 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2821 * elmo.el (toplevel): Added autoload setting for
2822 `elmo-get-global-flags'.
2823 (elmo-message-has-global-flag-p): New function.
2824 (elmo-message-set-global-flags): Ditto.
2825 (elmo-folder-type): Improvement for name: format.
2827 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2828 availability of keyword flags.
2829 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2830 (elmo-folder-list-flagged-plugged): Renamed from
2831 elmo-folder-list-flagged-unplugged.
2832 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2833 accept any flag as keyword flag.
2834 (elmo-folder-set-flag-plugged): Accept keyword flags.
2835 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2837 * elmo-flag.el (elmo-get-global-flags): New function.
2839 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2842 * elmo-version.el (elmo-version): Up to 2.11.24.
2844 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2846 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2847 elmo-multiple-field-body instead of std11-field-body to check all
2850 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2852 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2855 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2857 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2858 unintern is unbound.
2860 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2862 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2863 Protect from infinite loop.
2865 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2867 * elsp-bogofilter.el
2868 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2869 (elmo-spam-bogofilter-register-messages): New internal function.
2870 (elmo-spam-register-spam-messages): Define.
2871 (elmo-spam-register-good-messages): Ditto.
2873 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2875 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2876 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2877 (elmo-spam-bogofilter-call): Fixed the last change.
2878 (elmo-spam-bogofilter-arguments): Ditto.
2880 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2881 Follow the options change of latest bogofilter.
2883 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2884 (elmo-spam-bogofilter-good-switch): Ditto.
2885 (elmo-spam-bogofilter-arguments-alist): New user option.
2886 (elmo-spam-bogofilter-debug): Ditto.
2887 (elmo-spam-bogofilter-call): Renamed from
2888 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2889 is non-nil, insert output in buffer for debug.
2890 (elmo-spam-bogofilter-arguments): New macro.
2891 (elmo-spam-buffer-spam-p): Use it.
2892 (elsp-bogofilter-register-buffer): Ditto.
2894 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2896 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2899 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2901 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2903 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2904 (elmo-spam-bsfilter-program): Set default value as full path for
2906 (elmo-spam-bsfilter-debug): New user option.
2907 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2908 non-nil, insert output in buffer for debug. Fix treating of
2911 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2913 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2914 `elmo-maildir-flag-specs' element instead of one.
2915 (elmo-map-folder-unset-flag): Ditto.
2916 (Reported by Ken Makimura <macky@astem.or.jp>)
2918 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2919 (elmo-folder-unset-flag-plugged): Ditto.
2921 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2923 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2924 to `reads' slot only if `in-msgdb' is nil.
2926 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2928 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2929 and complement argument list.
2931 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2933 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2934 instead of elmo-folder-list-flagged.
2936 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2938 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2940 * elsp-bsfilter.el: New file.
2942 * elmo-pipe.el (elmo-folder-list-unreads,
2943 elmo-folder-list-answereds,
2944 elmo-folder-list-importants,
2945 elmo-folder-flag-as-important,
2946 elmo-folder-unflag-important,
2947 elmo-folder-flag-as-read,
2948 elmo-folder-unflag-read,
2949 elmo-folder-flag-as-answered,
2950 elmo-folder-unflag-answered): Remove.
2951 (elmo-folder-set-flag): Define.
2952 (elmo-folder-unset-flag): Ditto.
2954 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2955 (elmo-folder-set-flag): Define.
2956 (elmo-folder-unset-flag): Ditto.
2957 (elmo-folder-list-unreads): Remove.
2958 (elmo-folder-list-flagged): Define.
2960 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2961 (elmo-folder-list-unreads,
2962 elmo-folder-list-importants,
2963 elmo-folder-list-answereds,
2964 elmo-folder-list-unreads-plugged,
2965 elmo-folder-list-importants-plugged,
2966 elmo-folder-list-answereds-plugged): Remove.
2967 (elmo-folder-list-flagged-plugged): New method.
2968 (elmo-folder-unflag-important,
2969 elmo-folder-flag-as-important,
2970 elmo-folder-unflag-read,
2971 elmo-folder-flag-as-read,
2972 elmo-folder-unflag-answered,
2973 elmo-folder-flag-as-answered,
2974 elmo-folder-flag-as-read-unplugged,
2975 elmo-folder-unflag-read-unplugged,
2976 elmo-folder-flag-as-important-unplugged,
2977 elmo-folder-unflag-important-unplugged,
2978 elmo-folder-flag-as-answered-unplugged,
2979 elmo-folder-unflag-answered-unplugged): Remove.
2980 (elmo-folder-set-flag): Define.
2981 (elmo-folder-unset-flag): Ditto.
2982 (elmo-folder-set-flag-unplugged): Ditto.
2983 (elmo-folder-unset-flag-unplugged): Ditto.
2985 * elmo-multi.el (elmo-folder-list-unreads,
2986 elmo-folder-list-answereds,
2987 elmo-folder-list-importants,
2988 elmo-folder-flag-as-important,
2989 elmo-folder-unflag-important,
2990 elmo-folder-flag-as-read,
2991 elmo-folder-unflag-read,
2992 elmo-folder-flag-as-answered,
2993 elmo-folder-unflag-answered): Remove.
2994 (elmo-folder-set-flag): Define.
2995 (elmo-folder-unset-flag): Ditto.
2997 * elmo-map.el (elmo-map-folder-unflag-important,
2998 elmo-map-folder-flag-as-important,
2999 elmo-map-folder-unflag-read,
3000 elmo-map-folder-flag-as-read,
3001 elmo-map-folder-unflag-answered,
3002 elmo-map-folder-flag-as-answered): Remove.
3003 (elmo-map-folder-set-flag): New method.
3004 (elmo-map-folder-unset-flag): Ditto.
3005 (elmo-map-folder-list-unreads,
3006 elmo-map-folder-list-importants,
3007 elmo-map-folder-list-answereds): Remove.
3008 (elmo-folder-list-flagged-internal): Define.
3009 (elmo-map-folder-list-flagged): New method.
3011 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
3012 (elmo-map-folder-list-unreads,
3013 elmo-map-folder-list-importants,
3014 elmo-map-folder-list-flagged): Remove.
3015 (elmo-map-folder-list-flagged): Define.
3016 (elmo-map-folder-flag-as-important,
3017 elmo-map-folder-unflag-important,
3018 elmo-map-folder-flag-as-read,
3019 elmo-map-folder-unflag-read,
3020 elmo-map-folder-flag-as-answered,
3021 elmo-map-folder-unflag-answered): Remove.
3022 (elmo-maildir-set-mark-messages): New internal function.
3023 (elmo-map-folder-set-flag): Define.
3024 (elmo-map-folder-unset-flag): Ditto.
3026 * elmo.el (toplevel): Added autoload setting for
3027 `elmo-folder-list-global-flag-messages'.
3028 (elmo-folder-list-unreads,
3029 elmo-folder-list-importants,
3030 elmo-folder-list-answereds): Remove.
3031 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
3032 Return a list whitch merged with messages have global flag.
3033 (elmo-folder-list-flagged-internal): New method.
3034 (elmo-folder-unflag-important,
3035 elmo-folder-flag-as-important,
3036 elmo-folder-unflag-read,
3037 elmo-folder-flag-as-read,
3038 elmo-folder-unflag-answered,
3039 elmo-folder-flag-as-answered): Remove.
3040 (elmo-folder-set-flag): New method.
3041 (elmo-folder-unset-flag): Ditto.
3042 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
3043 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
3045 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
3046 (elmo-folder-list-unreads-plugged,
3047 elmo-folder-list-importants-plugged,
3048 elmo-folder-list-answereds-plugged,
3049 elmo-folder-list-flagged-unplugged,
3050 elmo-folder-unflag-important-plugged,
3051 elmo-folder-flag-as-important-plugged,
3052 elmo-folder-unflag-read-plugged,
3053 elmo-folder-flag-as-read-plugged,
3054 elmo-folder-unflag-answered-plugged,
3055 elmo-folder-flag-as-answered-plugged): Remove.
3056 (elmo-folder-set-flag-plugged,
3057 elmo-folder-unset-flag-plugged): Define.
3059 * elmo-flag.el (elmo-folder-initialize): Register to
3060 `elmo-global-flag-list' if flag is not global.
3061 (elmo-folder-append-messages): Set flag to source messages.
3063 * elmo-filter.el (elmo-filter-folder-list-unreads,
3064 elmo-folder-list-unreads,
3065 elmo-filter-folder-list-importants,
3066 elmo-folder-list-importants,
3067 elmo-folder-flag-as-read,
3068 elmo-folder-unflag-read,
3069 elmo-folder-flag-as-important,
3070 elmo-folder-unflag-important,
3071 elmo-folder-flag-as-answered,
3072 elmo-folder-unflag-answered): Remove.
3073 (elmo-folder-set-flag): Define.
3074 (elmo-folder-unset-flag): Ditto.
3076 * elmo-dop.el (elmo-folder-flag-as-read-dop,
3077 elmo-folder-unflag-read-dop,
3078 elmo-folder-flag-as-important-dop,
3079 elmo-folder-unflag-important-dop,
3080 elmo-folder-flag-as-answered-dop,
3081 elmo-folder-unflag-answered-dop): Remove.
3082 (elmo-folder-set-flag-dop,
3083 elmo-folder-unset-flag-dop,
3084 elmo-folder-set-important-delayed,
3085 elmo-folder-unset-important-delayed,
3086 elmo-folder-set-read-delayed,
3087 elmo-folder-unset-read-delayed,
3088 elmo-folder-set-answered-delayed,
3089 elmo-folder-unset-answered-delayed): New function.
3090 (elmo-dop-queue-merge-method-list): Follow the above chagned.
3091 (elmo-dop-queue-method-name-alist): Ditto.
3093 * elmo-version.el (elmo-version): Up to 2.11.23.
3095 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
3097 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3099 * elsp-sa.el: New file.
3101 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3103 * modb-standard.el (modb-standard-message-entity): New function.
3104 (elmo-msgdb-message-entity): Use it.
3106 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3108 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3109 behavior when one-level is nil.
3111 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3113 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3115 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3117 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3119 (elmo-generic-folder-diff): Ditto.
3121 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3122 (elmo-folder-update-number): Ditto.
3124 * elmo-dop.el (elmo-folder-status-dop): Ditto.
3125 (elmo-folder-next-message-number-dop): Ditto.
3127 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3129 * elmo-filter.el (elmo-folder-msgdb-create): Use
3130 `elmo-message-entity' and `elmo-message-flags' instead of
3131 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3133 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3135 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3138 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3140 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3142 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3144 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3146 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3148 * elmo-version.el (elmo-version): Up to 2.11.22.
3150 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3152 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3154 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3156 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3157 if the message dose not exist.
3159 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
3161 * elmo-version.el (elmo-version): Up to 2.11.21.
3163 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3165 * modb-standard.el (toplevel): Don't require mime.
3167 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3169 * elsp-bogofilter.el (toplevel): Don't require path-util.
3170 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3171 (elmo-spam-bogofilter-header): Abolish.
3172 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3173 (elmo-spam-bogofilter-args): New user option.
3174 (elsp-bogofilter-call-bogofilter): New internal function.
3175 (elmo-spam-buffer-spam-p): Use it.
3176 (elsp-bogofilter-register-buffer): Renamed from
3177 `elmo-spam-bogofilter-register-buffer';
3178 Use `elsp-bogofilter-call-bogofilter'.
3179 (elmo-spam-register-spam-buffer): Follow the change above.
3180 (elmo-spam-register-good-buffer): Ditto.
3182 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3184 * modb-standard.el (elmo-msgdb-append-entity): If entity or
3185 message-id is nil do nothing.
3187 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
3189 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3191 (elmo-imap4-session): Removed use-flag slot.
3192 (elmo-imap4-session-select-mailbox): Undo last change.
3193 (elmo-folder-use-flag-p): Use
3194 elmo-imap4-disuse-server-flag-mailbox-regexp.
3196 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3198 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3199 (elmo-imap4-session-select-mailbox): Set it up.
3200 (elmo-folder-use-flag-p): Return value of use-flag slot.
3202 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3204 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3206 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3208 * modb-entity.el (elmo-message-entity-handler): Likewise.
3210 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
3212 * elmo.el (toplevel): Remove setting of autoloding for
3213 elmo-global-flag-initialize.
3214 (elmo-init): Don't call elmo-global-flag-initialize.
3215 (toplevel): Added autoload setting for elmo-global-mark-migrate.
3217 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3218 (elmo-global-mark-migrate): Don't call it.
3219 (elmo-global-mark-upgrade): Ditto.
3221 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
3223 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3224 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3226 * elmo-vars.el (elmo-init-hook): New user option.
3228 * elmo.el (elmo-init): Run the elmo-init-hook.
3230 * elmo-flag.el (elmo-global-mark-migrate): New function.
3232 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3234 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3235 Undo last change (move to elmo-msgdb-unset-flag).
3236 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3239 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3241 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3243 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3244 (elmo-msgdb-unset-flag): Ditto.
3246 2003-11-05 Andreas Fuchs <asf@boinkor.net>
3248 * elmo-split.el (elmo-split): Return split message count.
3250 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3252 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3255 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3257 * elmo.el (elmo-folder-unflag-important): Call
3258 `elmo-global-flag-detach' with 4th argument delete-if-none that is
3261 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3263 (elmo-global-flag-detach): Delete the message from flag folder, if
3264 `delete-if-none' is a symbol `always'.
3266 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3268 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3269 `elmo-spam-spamfilter-decode-buffer'.
3270 (elsp-spamfilter-register-buffer-internal): New internal function.
3271 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3272 (elmo-spam-register-spam-buffer): Ditto.
3273 (elmo-spam-register-good-buffer): Ditto.
3275 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3277 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3278 (elmo-spam-register-spam-buffer): Follow the API change.
3279 (elmo-spam-register-good-buffer): Ditto.
3281 * elmo-split.el (toplevel): Require elmo-spam when copmile.
3282 (elmo-split-spam-p): Added argument plist; Call
3283 `elmo-spam-buffer-spam-p' with new argument register.
3285 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3287 (elmo-spam-message-spam-p): Ditto.
3288 (elmo-spam-register-spam-buffer): Added optional argument
3290 (elmo-spam-register-good-buffer): Ditto.
3291 (elmo-spam-register-spam-messages): Ditto.
3292 (elmo-spam-register-good-messages): Ditto.
3294 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3296 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3297 register into good corpus.
3298 (elmo-spam-register-good-buffer): Fixed to register into bad
3301 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3303 * elmo-version.el (elmo-version): Up to 2.11.20.
3305 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3308 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3309 flag without depending on \Recent flag.
3311 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3313 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3314 (elmo-spam-modified-p): Defined.
3315 (elmo-spam-save-status): Set `modified' slot to nil.
3316 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3317 (elmo-spam-register-good-buffer): Ditto.
3319 * elmo-spam.el (elmo-spam-modified-p): New API.
3321 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3323 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3324 duplicate definition.
3326 * elmo-util.el (elmo-unfold-field-body): New function.
3327 (elmo-msgdb-get-message-id-from-buffer): Use it.
3329 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3330 Fixed the last change; Use elmo-unfold-field-body.
3332 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3334 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3337 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3339 * elmo-spam.el (elmo-spam-save-status): New API.
3341 * elsp-spamfilter.el: New file.
3343 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3345 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3347 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3349 * elmo-split.el (elmo-split-spam-p): New function.
3351 * elmo-spam.el: New file.
3353 * elsp-bogofilter.el: Ditto.
3355 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3357 * elmo.el (elmo-folder-next-message-number): New API.
3358 (elmo-folder-next-message-number): Define.
3359 (elmo-message-field): Don't check folder length.
3361 * elmo-net.el (elmo-folder-next-message-number): Define.
3362 (elmo-folder-next-message-number-unplugged): Define.
3364 * elmo-map.el (elmo-folder-next-message-number): Define.
3365 (elmo-folder-delete-messages): Clear hash value.
3367 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3369 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3370 (elmo-folder-delete-messages-dop-delayed): Always return t.
3372 * elmo-version.el (elmo-version): Up to 2.11.19.
3374 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3376 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3379 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3380 identical cons cell into the mark-alist and the hash table.
3382 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3384 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3385 elmo-folder-list-messages with argument `visible-only' as t.
3387 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3388 (elmo-folder-msgdb-create): Check the target folder.
3390 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3392 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3393 `permanentflag' instead of `flags'.
3394 (elmo-folder-open): Ditto.
3395 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3396 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3397 (elmo-folder-use-flag-p): Always return t.
3398 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3399 `permanentflags' does not exist.
3400 (elmo-folder-open): Ditto.
3402 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3404 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3406 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3408 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3409 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3411 (elmo-folder-open): Ditto.
3412 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3413 slot of the session includes the flag.
3414 (elmo-imap4-session-flag-available-p): New function.
3415 (elmo-imap4-folder-list-flagged): Ditto.
3416 (elmo-folder-list-unreads-plugged): Use it.
3417 (elmo-folder-list-importants-plugged): Ditto.
3418 (elmo-folder-list-answereds-plugged): Ditto.
3419 (elmo-imap4-search-internal-primitive): Ditto.
3420 (elmo-imap4-folder-list-any-plugged,
3421 elmo-imap4-folder-list-digest-plugged): Abolish.
3423 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3426 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3428 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3430 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3432 * elmo-util.el (elmo-get-hash-val): Simplify.
3433 (elmo-set-hash-val): Rewrite.
3435 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3437 * elmo.el (elmo-folder-list-messages): Append killed messages into
3438 result if `visible-only' is nil and `in-msgdb' is non-nil.
3440 * elmo-util.el (elmo-uniq-list): Added optional argument
3443 * modb.el (elmo-msgdb-flag-count): New API.
3445 * modb-standard.el (modb-standard): Added slot flag-count.
3446 (modb-standard-countup-flags): New function.
3447 (modb-standard-load-flag): Call it.
3448 (elmo-msgdb-append): Ditto.
3449 (elmo-msgdb-clear): Clear slot flag-count.
3450 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3451 (elmo-msgdb-unset-flag): Treat `all' flag and call
3452 modb-standard-countup-flags.
3453 (elmo-msgdb-flag-count): Define.
3454 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3455 (elmo-msgdb-delete-messages): Ditto.
3457 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3458 (elmo-msgdb-flag-count): Define.
3460 * elmo.el (elmo-folder-list-messages): Undo last change.
3461 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3462 (elmo-folder-kill-messages): Unset all flags to numbers.
3464 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3465 elmo-folder-kill-messages.
3467 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3468 (elmo-nntp-folder-delete-messages): Abolish.
3470 * elmo-version.el (elmo-version): Up to 2.11.18.
3472 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3474 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3475 (elmo-folder-kill-messages-range): New function.
3476 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3477 instead of elmo-folder-kill-messages-before.
3479 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3481 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3482 elmo-imap4-current-msgdb to decide entity handler.
3484 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3486 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3488 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3490 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3491 (elmo-msgdb-overview-entity-set-number,
3492 elmo-msgdb-overview-entity-get-references,
3493 elmo-msgdb-overview-entity-set-references,
3494 elmo-msgdb-overview-entity-get-from-no-decode,
3495 elmo-msgdb-overview-entity-get-from,
3496 elmo-msgdb-overview-entity-set-from,
3497 elmo-msgdb-overview-entity-get-subject,
3498 elmo-msgdb-overview-entity-get-subject-no-decode,
3499 elmo-msgdb-overview-entity-set-subject,
3500 elmo-msgdb-overview-entity-get-date,
3501 elmo-msgdb-overview-entity-set-date,
3502 elmo-msgdb-overview-entity-get-to,
3503 elmo-msgdb-overview-entity-get-cc,
3504 elmo-msgdb-overview-entity-get-size,
3505 elmo-msgdb-overview-entity-set-size,
3506 elmo-msgdb-overview-entity-get-extra,
3507 elmo-msgdb-overview-entity-set-extra,
3508 elmo-msgdb-overview-entity-get-extra-field,
3509 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3510 (elmo-msgdb-make-index): Use
3511 `elmo-msgdb-overview-entity-get-number-internal'.
3512 (elmo-msgdb-clear-index): Ditto.
3513 (elmo-msgdb-append-entity): Ditto;
3514 Use `elmo-msgdb-overview-entity-get-id-internal'.
3516 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3517 elmo-msgdb-overview-entity-set-number,
3518 elmo-msgdb-overview-entity-get-references,
3519 elmo-msgdb-overview-entity-set-references,
3520 elmo-msgdb-overview-entity-get-from-no-decode,
3521 elmo-msgdb-overview-entity-get-from,
3522 elmo-msgdb-overview-entity-set-from,
3523 elmo-msgdb-overview-entity-get-subject,
3524 elmo-msgdb-overview-entity-get-subject-no-decode,
3525 elmo-msgdb-overview-entity-set-subject,
3526 elmo-msgdb-overview-entity-get-date,
3527 elmo-msgdb-overview-entity-set-date,
3528 elmo-msgdb-overview-entity-get-to,
3529 elmo-msgdb-overview-entity-get-cc,
3530 elmo-msgdb-overview-entity-get-size,
3531 elmo-msgdb-overview-entity-set-size,
3532 elmo-msgdb-overview-entity-get-extra,
3533 elmo-msgdb-overview-entity-set-extra,
3534 elmo-msgdb-overview-entity-get-extra-field,
3535 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3536 and rewrote for backward compatibility.
3538 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3540 * elmo.el (elmo-message-entity-number,
3541 elmo-message-entity-set-number,
3542 elmo-message-entity-field,
3543 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3545 * elmo-msgdb.el (elmo-message-entity-number,
3546 elmo-message-entity-set-number,
3547 elmo-message-entity-field,
3548 elmo-message-entity-set-field): Moved from elmo.el.
3550 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3552 * elmo.el (toplevel): Changed definition orders.
3554 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3556 * modb.el (elmo-msgdb-search): New API .
3557 (elmo-msgdb-match-condition): Ditto.
3559 * modb-standard.el (elmo-msgdb-search): Define.
3561 * modb-legacy.el (elmo-msgdb-search): Ditto.
3563 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3564 from elmo-msgdb-match-condition-internal.
3566 * elmo.el (elmo-folder-search-fast): Abolish.
3567 (elmo-folder-search): Use elmo-msgdb-search and
3568 elmo-with-progress-display.
3570 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3573 * elmo.el (elmo-folder): Remove slot message-modified and
3575 (elmo-folder-set-message-modified): Abolish.
3576 (elmo-generic-folder-commit): Follow the change above.
3577 (elmo-folder-synchronize): Ditto.
3579 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3581 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3583 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3585 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3587 * modb-standard.el (modb-standard-make-message-entity,
3588 elmo-msgdb-make-message-entity,
3589 elmo-msgdb-create-message-entity-from-buffer,
3590 elmo-msgdb-message-entity-number,
3591 elmo-msgdb-message-entity-set-number,
3592 elmo-msgdb-message-entity-field,
3593 elmo-msgdb-message-entity-set-field,
3594 elmo-msgdb-copy-message-entity,
3595 elmo-msgdb-match-condition-internal): Remove.
3597 * modb-entity.el: New file (again).
3599 * modb.el (toplevel): Require modb-entity.
3600 (elmo-msgdb-message-entity-handler): New method.
3602 * modb-standard.el (modb-standard-entity-id): Use
3603 elmo-message-entity-handler.
3604 (modb-standard-load-entity): Ditto.
3605 (elmo-msgdb-append-entity): Ditto.
3606 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3608 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3609 elmo-msgdb-decoded-cache-hashtb,
3610 (modb-legacy-make-message-entity,
3611 elmo-msgdb-make-message-entity,
3612 elmo-msgdb-create-message-entity-from-buffer,
3613 elmo-msgdb-message-entity-number,
3614 elmo-msgdb-message-entity-set-number,
3615 elmo-msgdb-message-entity-field,
3616 elmo-msgdb-message-entity-set-field,
3617 elmo-msgdb-copy-message-entity,
3618 elmo-msgdb-match-condition-internal,
3619 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3621 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3622 (elmo-message-entity-set-number): Ditto.
3623 (elmo-message-entity-field): Ditto.
3624 (elmo-message-entity-set-field): Ditto.
3626 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3628 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3630 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3632 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3633 (elmo-nntp-msgdb-create-message): Ditto.
3635 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3636 (elmo-folder-msgdb-create): Add unread flag.
3638 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3640 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3642 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3644 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3646 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3647 elmo-msgdb-messge-entity-handler.
3648 * elmo-version.el (elmo-version): Up to 2.11.17.
3650 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3652 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3655 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3657 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3659 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3660 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3661 (elmo-msgdb-flag-table): Ditto.
3662 (elmo-msgdb-sort-by-date): Ditto.
3664 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3666 * modb-standard.el (toplevel): Require mime.
3667 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3668 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3669 elmo-msgdb-message-entity-number.
3670 (elmo-msgdb-append-entity): Ditto.
3671 (elmo-msgdb-create-message-entity-from-file): Remove.
3672 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3673 corresponds to the entity.
3674 (elmo-msgdb-message-entity-number): Do nothing currently.
3675 (elmo-msgdb-message-entity-field): Ditto.
3676 (elmo-msgdb-message-entity-set-field): Ditto.
3677 (elmo-msgdb-copy-message-entity): Ditto.
3678 (elmo-msgdb-match-condition-internal): Ditto.
3680 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3682 (elmo-msgdb-create-message-entity-from-file): Remove.
3684 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3686 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3688 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3690 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3692 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3693 (elmo-msgdb-message-entity-field): Ditto.
3694 (elmo-msgdb-message-entity-number): Ditto.
3696 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3698 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3699 Fixed how to set extra field into entity.
3700 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3703 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3704 Fixed how to set extra field into entity.
3705 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3708 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3710 * modb.el (elmo-message-entity-db): New function.
3711 (elmo-msgdb-make-message-entity): New API.
3712 (elmo-msgdb-message-entity-number): Ditto.
3713 (elmo-msgdb-message-entity-set-number): Ditto.
3714 (elmo-msgdb-message-entity-field): Ditto.
3715 (elmo-msgdb-message-entity-set-field): Ditto.
3716 (elmo-msgdb-copy-message-entity): Ditto.
3717 (elmo-msgdb-create-message-entity-from-file): Ditto.
3718 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3719 (elmo-msgdb-match-condition-internal): Ditto.
3721 * modb-standard.el (modb-legacy): Require modb-legacy.
3722 (modb-standard-make-message-entity): New inline function.
3723 (elmo-msgdb-make-message-entity): Define.
3724 (elmo-msgdb-create-message-entity-from-file): Ditto.
3725 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3726 (elmo-msgdb-message-entity-field): Ditto.
3727 (elmo-msgdb-message-entity-set-field): Ditto.
3728 (elmo-msgdb-copy-message-entity): Ditto.
3729 (elmo-msgdb-match-condition-internal): Ditto.
3731 * modb-legacy.el: Don't require modb-entity.
3732 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3733 (elmo-msgdb-match-condition-primitive): Ditto.
3734 (elmo-msgdb-get-decoded-cache): Ditto.
3735 (elmo-msgdb-overview-entity-get-id): Ditto.
3736 (elmo-msgdb-overview-entity-get-number): Ditto.
3737 (elmo-msgdb-overview-entity-set-number): Ditto.
3738 (elmo-msgdb-overview-entity-get-references): Ditto.
3739 (elmo-msgdb-overview-entity-set-references): Ditto.
3740 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3741 (elmo-msgdb-overview-entity-get-from): Ditto.
3742 (elmo-msgdb-overview-entity-set-from): Ditto.
3743 (elmo-msgdb-overview-entity-get-subject): Ditto.
3744 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3745 (elmo-msgdb-overview-entity-set-subject): Ditto.
3746 (elmo-msgdb-overview-entity-get-date): Ditto.
3747 (elmo-msgdb-overview-entity-set-date): Ditto.
3748 (elmo-msgdb-overview-entity-get-to): Ditto.
3749 (elmo-msgdb-overview-entity-get-cc): Ditto.
3750 (elmo-msgdb-overview-entity-get-size): Ditto.
3751 (elmo-msgdb-overview-entity-set-size): Ditto.
3752 (elmo-msgdb-overview-entity-get-extra): Ditto.
3753 (elmo-msgdb-overview-entity-set-extra): Ditto.
3754 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3755 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3756 (elmo-msgdb-number-load): Ditto.
3757 (elmo-msgdb-overview-load): Ditto.
3758 (elmo-msgdb-mark-load): Ditto.
3759 (elmo-msgdb-number-save): Ditto.
3760 (elmo-msgdb-mark-save): Ditto.
3761 (elmo-msgdb-overview-save): Ditto.
3762 (modb-legacy-make-message-entity): New inline function.
3763 (elmo-msgdb-insert-file-header): Ditto.
3764 (elmo-msgdb-make-message-entity): Define.
3765 (elmo-msgdb-create-message-entity-from-file): Ditto.
3766 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3767 (elmo-msgdb-message-entity-number): Ditto.
3768 (elmo-msgdb-message-entity-set-number): Ditto.
3769 (elmo-msgdb-message-entity-field): Ditto.
3770 (elmo-msgdb-message-entity-set-field): Ditto.
3771 (elmo-msgdb-copy-message-entity): Ditto.
3772 (elmo-msgdb-match-condition-internal): Ditto.
3774 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3775 (elmo-message-copy-entity): Rewrite.
3776 (elmo-message-entity-number): Ditto.
3777 (elmo-message-entity-set-number): Ditto.
3778 (elmo-message-entity-field): Use elmo-message-entity-db.
3779 (elmo-message-entity-set-field): Ditto.
3780 (elmo-message-field): Rewrite.
3782 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3784 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3786 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3787 elmo-message-entity-field.
3788 (elmo-shimbun-folder-shimbun-header): Ditto.
3789 (elmo-shimbun-entity-to-header): Ditto.
3790 (elmo-folder-msgdb-create): Ditto.
3791 (elmo-shimbun-msgdb-create-entity): Ditto;
3792 Use elmo-msgdb-create-message-entity-from-buffer.
3793 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3794 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3796 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3797 elmo-msgdb-create-message-entity-from-file and
3798 elmo-message-entity-field.
3800 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3801 elmo-message-entity-number.
3802 (elmo-pop3-msgdb-create-message): Use
3803 elmo-msgdb-create-message-entity-from-buffer,
3804 elmo-message-entity-set-field, elmo-message-entity-number and
3805 elmo-message-entity-set-number.
3807 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3808 the API change in elmo-msgdb-make-message-entity.
3809 (elmo-nntp-msgdb-create-message): Use
3810 elmo-msgdb-create-message-entity-from-buffer.
3812 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3813 elmo-message-entity-field and
3814 elmo-msgdb-create-message-entity-from-file.
3816 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3817 (elmo-msgdb-get-field): Abolish.
3818 (elmo-msgdb-get-number): Rewrite.
3819 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3820 (elmo-msgdb-flag-table): Ditto.
3821 (elmo-msgdb-get-last-message-id,
3822 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3823 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3824 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3825 (elmo-msgdb-create-overview-from-buffer,
3826 elmo-msgdb-overview-get-parent-entity): Abolish.
3828 * elmo-mime.el (elmo-mime-display-as-is): Use
3829 elmo-message-entity-field.
3831 * elmo-map.el (elmo-folder-pack-numbers): Use
3832 elmo-message-entity-set-number.
3834 * elmo-maildir.el (elmo-folder-msgdb-create):
3835 elmo-msgdb-create-message-entity-from-file instead of
3836 elmo-msgdb-create-overview-entity-from-file.
3838 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3840 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3841 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3843 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3844 elmo-messge-entity-field and elmo-message-entity-number.
3845 (elmo-imap4-fetch-callback-1): Call
3846 elmo-msgdb-create-message-entity-from-buffer instead of
3847 elmo-msgdb-create-overview-from-buffer.
3848 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3849 (elmo-find-fetch-strategy): Likewise.
3851 * elmo-flag.el (elmo-folder-msgdb-create): Call
3852 elmo-localdir-msgdb-create-entity with argument msgdb.
3854 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3855 and elmo-message-entity-set-number.
3857 * elmo-cache.el (elmo-folder-msgdb-create): Use
3858 elmo-message-entity-field.
3859 (elmo-folder-msgdb-create): Call
3860 elmo-msgdb-create-message-entity-from-file instead of
3861 elmo-msgdb-create-overview-entity-from-file.
3863 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3864 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3865 instead of elmo-msgdb-create-overview-from-buffer.
3866 (elmo-archive-msgdb-create-entity): Ditto.
3867 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3868 elmo-message-entity-field.
3869 (elmo-archive-parse-mmdf): Ditto.
3871 * modb-entity.el: Removed.
3873 * elmo-version.el (elmo-version): Up to 2.11.16.
3875 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3877 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3879 (elmo-folder-flag-as-answered): Ditto.
3881 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3883 * modb-standard.el: New file.
3885 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3886 elmo-msgdb-convert-type is `sync'.
3888 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3889 (elmo-msgdb-convert-type): New user option.
3891 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3892 (elmo-load-msgdb): Auto detect saved type.
3894 * elmo-version.el (elmo-version): Up to 2.11.15.
3896 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3898 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3900 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3901 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3902 with argument `delete-if-none' when dst-folder is 'null.
3904 * elmo-flag.el (elmo-folder-append-messages): Defined.
3905 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3907 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3909 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3911 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3913 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3914 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3915 (elmo-folder-commit): Ditto.
3917 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3919 * elmo-flag.el: New file.
3921 * elmo-mark.el: Removed.
3923 * modb-legacy.el (modb-legacy-new-mark,
3924 modb-legacy-unread-uncached-mark,
3925 modb-legacy-unread-cached-mark,
3926 modb-legacy-read-uncached-mark,
3927 modb-legacy-answered-cached-mark,
3928 modb-legacy-answered-uncached-mark,
3929 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3930 All other related portions are changed.
3932 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3933 (elmo-folder-list-messages-with-global-mark): Abolish.
3934 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3935 (elmo-folder-flag-as-important): Ditto.
3936 (elmo-folder-unflag-read): Ditto.
3937 (elmo-folder-flag-as-read): Ditto.
3938 (elmo-folder-unflag-answered): Ditto.
3939 (elmo-folder-flag-as-answered): Ditto.
3940 (elmo-message-encache): Return the cache path.
3941 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3942 (elmo-message-set-flag): Transitional implementation.
3943 (elmo-message-unset-flag): Ditto.
3944 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3945 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3946 (elmo-init): Call elmo-global-flag-initialize.
3947 (toplevel): Added autoload settings for elmo-flag.
3949 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3951 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3952 (elmo-file-cache-delete): Don't treat global-mark.
3954 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3956 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3958 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3959 `elmo-global-flags-set'.
3961 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3963 (elmo-folder-unflag-read): Ditto.
3964 (elmo-folder-unflag-important): Ditto.
3965 (elmo-folder-flag-as-important): Ditto.
3966 (elmo-folder-unflag-answered): Ditto.
3967 (elmo-folder-flag-as-answered): Ditto.
3969 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3970 `elmo-global-flags-set'.
3971 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3973 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3975 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3977 (elmo-folder-flag-as-important): Ditto.
3978 (elmo-folder-unflag-important): Ditto.
3979 (elmo-folder-flag-as-important): Ditto.
3980 (elmo-folder-unflag-read): Ditto.
3981 (elmo-folder-flag-as-read): Ditto.
3982 (elmo-folder-unflag-answered): Ditto.
3983 (elmo-folder-flag-as-answered): Ditto.
3985 * elmo-multi.el (elmo-folder-list-importants): Don't call
3986 elmo-folder-list-messages-with-global-mark.
3987 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3988 (elmo-folder-unflag-important): Ditto.
3989 (elmo-folder-flag-as-read): Ditto.
3990 (elmo-folder-unflag-read): Ditto.
3991 (elmo-folder-flag-as-answered): Ditto.
3992 (elmo-folder-unflag-answered): Ditto.
3994 * elmo-msgdb.el (elmo-msgdb-new-mark,
3995 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3996 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3997 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3998 (Moved to modb-legacy.el).
3999 (elmo-flag-table-get): Treat important flag too.
4001 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
4003 (elmo-map-folder-flag-as-important): Ditto.
4004 (elmo-map-folder-unflag-read): Ditto.
4005 (elmo-map-folder-flag-as-read): Ditto.
4006 (elmo-map-folder-unflag-answered): Ditto.
4007 (elmo-map-folder-flag-as-answered): Ditto.
4008 (elmo-folder-unflag-important): Ditto.
4009 (elmo-folder-flag-as-important): Ditto.
4010 (elmo-folder-unflag-read): Ditto.
4011 (elmo-folder-flag-as-read): Ditto.
4012 (elmo-folder-unflag-answered): Ditto.
4013 (elmo-folder-flag-as-answered): Ditto.
4015 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4016 (elmo-map-folder-flag-as-important): Renamed from `mark' to
4018 (elmo-map-folder-unflag-important): Ditto.
4019 (elmo-map-folder-flag-as-read): Ditto.
4020 (elmo-map-folder-unflag-read): Ditto.
4021 (elmo-map-folder-flag-as-answered): Ditto.
4022 (elmo-map-folder-unflag-answered): Ditto.
4024 * elmo-localdir.el (elmo-folder-msgdb-create): Call
4025 `elmo-global-flags-set'.
4026 (elmo-global-flags-set): Added autoload setting.
4028 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
4031 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
4032 `elmo-msgdb-global-mark-set'.
4033 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
4034 Call `elmo-global-flags-set'.
4035 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
4037 (elmo-folder-flag-as-important-plugged): Ditto.
4038 (elmo-folder-unflag-read-plugged): Ditto.
4039 (elmo-folder-flag-as-read-plugged): Ditto.
4040 (elmo-folder-unflag-answered-plugged): Ditto.
4041 (elmo-folder-flag-as-answered-plugged): Ditto.
4042 (elmo-global-flags-set): Added autoload setting.
4044 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
4046 (elmo-folder-unflag-read): Ditto.
4047 (elmo-folder-flag-as-important): Ditto.
4048 (elmo-folder-unflag-important): Ditto.
4049 (elmo-folder-flag-as-answered): Ditto.
4050 (elmo-folder-unflag-answered): Ditto.
4052 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
4053 change of `mark'->`flag'.
4054 (elmo-dop-queue-method-name-alist): Ditto.
4055 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
4056 (elmo-folder-unflag-read-dop): Ditto.
4057 (elmo-folder-flag-as-important-dop): Ditto.
4058 (elmo-folder-unflag-important-dop): Ditto.
4059 (elmo-folder-flag-as-answered-dop): Ditto.
4060 (elmo-folder-unflag-answered-dop): Ditto.
4062 * elmo-cache.el (elmo-folder-msgdb-create): Call
4063 `elmo-global-flags-set'.
4065 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4066 Call `elmo-global-flags-set'.
4067 (elmo-archive-msgdb-create-as-numlist-subr2): Call
4068 elmo-archive-parse-mmdf with argument `folder'.
4069 (elmo-archive-parse-mmdf): Added argument `folder';
4070 Call `elmo-global-flags-set'.
4072 * elmo-version.el (elmo-version): Up to 2.11.14.
4074 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4076 * modb.el (elmo-msgdb-length): Define.
4078 * elmo.el (elmo-make-folder): Fixed.
4079 (elmo-generic-folder-append-messages): Follow the API change.
4081 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4084 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4086 * modb.el: New file.
4088 * modb-entity.el: Ditto.
4090 * modb-legacy.el: Ditto.
4092 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4093 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4094 of `elmo-msgdb-overview-get-entity'.
4095 (elmo-msgdb-get-field): Ditto.
4096 (elmo-msgdb-merge): Moved to `elmo.el'.
4097 (elmo-msgdb-length): Removed; redefine as modb method.
4098 (elmo-msgdb-change-mark): Abolish.
4099 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4100 (elmo-msgdb-match-condition): Don't use mark.
4101 (elmo-msgdb-overview-get-entity): Abolish.
4102 Split modb part into `modb*.el'.
4104 * elmo-vars.el (elmo-msgdb-default-type): New user option.
4106 * elmo-shimbun.el (shimbun-mua-search-id): Use
4107 `elmo-msgdb-message-entity' instead of
4108 `elmo-msgdb-overview-get-entity'.
4109 (elmo-shimbun-folder-shimbun-header): Ditto.
4110 (elmo-shimbun-get-headers): Ditto.
4111 (elmo-shimbun-update-overview): Ditto.
4113 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4115 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4117 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4118 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4120 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4121 `elmo-msgdb-mark-to-flags'.
4123 * elmo-map.el (elmo-folder-pack-numbers): Don't use
4124 `elmo-msgdb-set-path'.
4126 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4128 * elmo-version.el (elmo-version): Up to 2.11.13.
4130 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4132 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4135 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
4137 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4140 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4142 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4143 instead of `elmo-msgdb-get-cached'.
4144 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4146 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4147 (elmo-msgdb-set-cached): Ditto.
4148 (elmo-msgdb-set-flag): Rewrite.
4149 (elmo-msgdb-unset-flag): Ditto.
4151 * elmo-msgdb.el: Rewrite with luna.
4153 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4154 (elmo-folder-msgdb): Follow the change above.
4155 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4156 (elmo-folder-unmark-important): Follow the API change.
4157 (elmo-folder-mark-as-important): Ditto.
4158 (elmo-folder-unmark-read): Ditto.
4159 (elmo-folder-mark-as-read): Ditto.
4160 (elmo-folder-unmark-answered): Ditto.
4161 (elmo-folder-mark-as-answered): Ditto.
4162 (elmo-folder-clear): Likewise.
4164 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4165 instead of `elmo-msgdb-load' (renamed).
4167 * elmo-version.el (elmo-version): Up to 2.11.12.
4169 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4171 * elmo.el (elmo-generic-folder-append-messages): Follow the API
4173 (elmo-message-mark): Abolish.
4174 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4175 instead of `elmo-msgdb-change-mark'.
4177 * elmo-pipe.el (elmo-message-mark): Abolish.
4179 * elmo-multi.el (elmo-message-mark): Ditto.
4181 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4182 (elmo-msgdb-unread-uncached-mark): Ditto.
4183 (elmo-msgdb-unread-cached-mark): Ditto.
4184 (elmo-msgdb-read-uncached-mark): Ditto.
4185 (elmo-msgdb-answered-cached-mark): Ditto.
4186 (elmo-msgdb-answered-uncached-mark): Ditto.
4187 (elmo-msgdb-important-mark): Ditto.
4188 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4190 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4192 (elmo-flag-table-load): Changed flag to list of flag.
4193 (elmo-flag-table-set): If flags is nil, set read flag.
4194 (elmo-flag-table-get): Return derived flags from global mark,
4195 cache status and saved flags.
4196 (elmo-msgdb-flag-table): Follow the change above.
4197 (elmo-msgdb-out-of-date-messages): New function.
4199 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4201 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4203 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4205 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4206 (elmo-nntp-msgdb-create-message): Ditto.
4208 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4210 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4212 (elmo-folder-msgdb-create): Follow the API change.
4214 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4215 (elmo-folder-append-messages): Ditto.
4217 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4218 (elmo-folder-append-buffer): Ditto.
4220 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4222 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4224 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4225 (elmo-archive-parse-mmdf): Ditto.
4227 * elmo-version.el (elmo-version): Up to 2.11.11.
4229 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4231 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4234 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4236 * elmo-pipe.el (elmo-message-flags): Defined.
4238 * elmo-multi.el (elmo-message-flags): Ditto.
4240 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4242 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4243 `elmo-msgdb-delete-msgs'.
4245 * elmo.el (elmo-folder-count-flags): Don't use
4246 `elmo-msgdb-get-mark-alist'.
4247 (elmo-folder-detach-messages): Follow the API change.
4249 * elmo.el (elmo-folder-list-messages): Append killed messages into
4250 result if `visible-only' is nil.
4252 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4254 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4255 (elmo-folder-update-number): Likewise.
4257 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4258 (elmo-pop3-sort-msgdb-by-original-number): Use
4259 `elmo-msgdb-sort-entities'.
4261 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4262 (elmo-msgdb-sort-by-date): Use it.
4263 (elmo-msgdb-overview-sort-by-date): Abolish.
4265 * elmo-dop.el (elmo-folder-status-dop): Fixed.
4267 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4268 (elmo-msgdb-flags): New function.
4269 (elmo-msgdb-merge): Use elmo-msgdb-append.
4271 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4274 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4276 * elmo-dop.el (elmo-folder-status-dop): Use
4277 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4279 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4281 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4283 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4285 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4287 * elmo-util.el (elmo-with-progress-display): New macro.
4289 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4291 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4293 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4294 `elmo-folder-list-message-entities' instead of
4295 `elmo-msgdb-get-overview'.
4296 (elmo-map-folder-list-message-locations): Ditto.
4298 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4299 methods instead of treat directly).
4300 (elmo-msgdb-clear): Ditto.
4301 (elmo-msgdb-delete-msgs): Ditto.
4302 (elmo-msgdb-sort-by-date): Ditto.
4304 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4306 (elmo-nntp-folder-msgdb-create): Follow the API change.
4308 * elmo-version.el (elmo-version): Up to 2.11.10.
4310 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4312 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4313 (elmo-msgdb-flags-to-mark): Ditto.
4314 (elmo-msgdb-append-entity): Ditto.
4316 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4317 Use `elmo-msgdb-append-entity' instead of construct msgdb.
4318 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4319 (elmo-archive-parse-mmdf): Ditto.
4321 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4323 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4325 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4327 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4329 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4331 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4333 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4335 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4337 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4338 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4341 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4342 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4343 instead of directly construction.
4344 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4345 instead of construct msgdb.
4347 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4348 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4349 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4350 instead of construct msgdb.
4352 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4354 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4355 when field is from or subject.
4357 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4359 * elmo-multi.el (elmo-message-entity-parent): Define.
4360 (elmo-folder-search): Rewrite.
4362 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4364 * elmo-multi.el (elmo-message-cached-p): Define.
4366 * elmo.el (elmo-message-cached-p): New method.
4367 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4368 (elmo-message-flags): New method.
4369 (elmo-message-flagged-p): New function.
4371 * elmo-version.el (elmo-version): Up to 2.11.9.
4373 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4375 * elmo-version.el (elmo-version): Up to 2.11.8.
4377 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4379 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4381 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4383 * elmo.el (elmo-folder-detach-messages): Undo last change.
4385 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4387 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4389 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4390 only when src folder type is pop3.
4392 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4394 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4395 elmo-msgdb-overview-entity-get-number instead of
4396 elmo-message-entity-number.
4398 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4400 * elmo-version.el (elmo-version): Up to 2.11.7.
4402 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4404 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4407 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4408 (elmo-msgdb-merge): New function.
4409 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4410 (elmo-msgdb-make-index): Rewrite.
4412 * elmo-version.el (elmo-version): Up to 2.11.6.
4414 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4415 use it as a the path for loading message entities.
4417 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4419 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4421 * elmo-filter.el (elmo-folder-set-message-modified): Set
4422 message-modified slot of itself if it does not require target msgdb.
4424 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4425 if folder length is zero.
4426 (elmo-mime-display-as-is): Ditto.
4428 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4430 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4432 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4434 * elmo.el (elmo-folder-set-message-modified): New method.
4435 (elmo-generic-folder-commit): Use it.
4436 (elmo-folder-synchronize): Ditto.
4438 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4439 (elmo-folder-commit): Remove duplicate definition.
4441 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4443 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4445 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4447 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4448 (elmo-strict-folder-diff): Ditto.
4449 (elmo-folder-set-info-max-by-numdb): Simplify.
4451 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4452 elmo-msgdb-list-messages.
4454 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4455 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4457 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4459 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4460 visible-only is non-nil.
4461 (elmo-folder-confirm-appends): Changed message.
4462 (elmo-folder-synchronize): Added argument disable-killed.
4464 * elmo-multi.el (elmo-folder-synchronize): Added argument
4467 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4469 * elmo-version.el (elmo-version): Up to 2.11.5.
4471 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4474 * elmo-util.el (elmo-list-filter): Simplify.
4476 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4477 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4478 (elmo-generic-folder-diff): Abolish argument.
4479 (elmo-msgdb-load): Don't use number-alist.
4481 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4483 * elmo-pipe.el (elmo-folder-diff): Ditto.
4485 * elmo-nmz.el (elmo-folder-diff): Ditto.
4487 * elmo-net.el (elmo-folder-diff): Ditto.
4489 * elmo-maildir.el (elmo-folder-diff): Ditto.
4491 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4493 * elmo-multi.el (elmo-folder-diff): Ditto
4494 (elmo-multi-folder-diff): Rewrite.
4496 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4498 * elmo-pipe.el (elmo-folder-msgdb): Define.
4500 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4502 * elmo.el (elmo-message-set-cached): Define as a method.
4504 * elmo-pipe.el (elmo-message-set-cached): Define.
4505 (elmo-find-fetch-strategy): Ditto.
4507 * elmo-multi.el (elmo-message-set-cached): Define.
4508 (elmo-find-fetch-strategy): Rewrite.
4510 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4512 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4514 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4516 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4517 instead of number-alist.
4519 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4520 mark nor message-id when msgdb of source folder is not loaded.
4522 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4524 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4526 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4528 * elmo.el (elmo-folder-length): Don't require msgdb.
4530 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4532 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4533 (elmo-message-field): Ditto.
4535 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4536 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4538 (elmo-map-folder-list-answereds): Define.
4539 (elmo-maildir-list-location): Treat 'R' info.
4540 (elmo-folder-msgdb-create): Treat flag-table.
4541 (elmo-folder-append-messages): Save flag-table.
4543 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4545 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4546 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4548 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4550 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4552 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4553 'read when mark is null.
4555 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4557 * elmo-version.el (elmo-version): Up to 2.11.4.
4559 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4561 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4562 (elmo-folder-mark-as-answered): Ditto.
4564 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4566 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4567 (elmo-pop3-get-session): Make msgdb directory after session.
4568 (elmo-folder-exists-p): Check exactly at the first time even when the
4569 elmo-pop3-exists-exactly is nil.
4571 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4572 (elmo-folder-list-messages): Define instead of
4573 elmo-folder-list-messages-internal.
4574 (elmo-folder-check): Check destination folder.
4575 (elmo-folder-synchronize): Drain the pipe.
4577 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4578 when msgdb is not loaded.
4580 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4582 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4583 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4586 * elmo.el (elmo-folder-kill-messages-before): New function.
4587 (elmo-folder-kill-messages): Ditto.
4588 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4590 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4591 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4592 killed not by synchronize (e.g. scoring).
4594 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4596 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4598 (elmo-folder-search): Follow the change above.
4600 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4601 into the candidates of search field.
4603 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4605 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4606 (elmo-msgdb-unset-flag): Ditto.
4608 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4610 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4612 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4613 (elmo-folder-commit): Define.
4614 (elmo-folder-synchronize): Ditto.
4615 (elmo-folder-list-flagged): Ditto.
4616 (elmo-folder-commit): Ditto.
4617 (elmo-folder-length): Ditto.
4618 (elmo-folder-count-flags): Ditto.
4619 (elmo-message-mark): Ditto.
4620 (elmo-message-field): Ditto.
4621 (elmo-message-entity): Ditto.
4622 (elmo-message-folder): Ditto.
4624 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4626 * elmo.el (elmo-message-field): Define as a method.
4628 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4629 (elmo-message-field): Define.
4631 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4632 (elmo-folder-list-importants): Ditto.
4633 (elmo-folder-list-answereds): Ditto.
4635 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4637 (elmo-folder-mark-as-read): Ditto.
4638 (elmo-folder-unmark-read): Ditto.
4639 (elmo-folder-mark-as-answered): Ditto.
4640 (elmo-folder-unmark-answered): Ditto.
4641 (elmo-folder-list-flagged): Define.
4642 (elmo-folder-commit): Ditto.
4643 (elmo-folder-length): Ditto.
4644 (elmo-folder-count-flags): Ditto.
4646 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4648 * elmo.el (elmo-folder-detach-messages): New method.
4649 (elmo-folder-move-messages): Use it.
4650 (elmo-folder-synchronize): Ditto.
4652 * elmo-multi.el (elmo-folder-detach-messages): Define.
4654 * elmo.el (elmo-message-copy-entity): New function.
4655 (elmo-message-entity-set-number): Ditto.
4656 (elmo-message-mark): Define as method.
4658 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4659 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4660 (elmo-message-entity): Fixed last change.
4661 (elmo-message-mark): Define.
4662 (elmo-folder-msgdb-create): Abolish.
4663 (elmo-multi-folder-append-msgdb): Ditto.
4664 (elmo-multi-folder-diff): Fixed.
4665 (elmo-multi-split-number-alist): Removed.
4666 (elmo-multi-split-mark-alist): Removed.
4667 (elmo-folder-list-messages): Define.
4668 (elmo-folder-list-messages-internal): Removed.
4670 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4671 local file messages.
4672 (elmo-folder-msgdb-create): Fixed read mark.
4674 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4676 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4679 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4681 * elmo.el (elmo-folder-list-message-entities): Define as inline
4683 (elmo-folder-messages): Abolish.
4685 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4687 (elmo-folder-synchronize): Define.
4688 (elmo-message-entity): Define.
4690 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4692 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4693 elmo-imap4-session-select-mailbox.
4695 * elmo.el (elmo-folder-move-messages): Don't display any message.
4697 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4699 (elmo-imap4-session-check): Don't wait CHECK response.
4700 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4702 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4704 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4706 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4708 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4710 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4713 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4714 (elmo-folder-list-message-entities): Added argument in-msgdb and
4716 (elmo-folder-synchronize): Define as a method.
4718 * elmo-nntp.el (elmo-folder-initialize): Don't use
4719 elmo-nntp-default-user if zero-length username is specified
4722 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4724 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4725 server name in case with username.
4726 (XXX: this is ad-hoc fix against username includes "@", it
4727 should be solved fundamentally)
4729 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4731 * elmo-nntp.el (elmo-nntp-debug): New function.
4732 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4733 (elmo-network-authenticate-session): Hide auth-info from the log.
4735 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4736 user name if it is equal to elmo-nntp-default-user.
4738 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4740 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4741 instead of shimbun-server-internal;
4742 Use shimbun-current-group instead of shimbun-current-group-internal.
4743 (elmo-folder-plugged-p): Use shimbun-server instead of
4744 shimbun-server-internal.
4745 (elmo-folder-set-plugged): Ditto.
4746 (elmo-net-port-info): Ditto.
4747 (elmo-folder-check): Ditto.
4748 (elmo-folder-expand-msgdb-path): Ditto.
4749 (elmo-folder-list-subfolders): Ditto.
4751 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4753 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4754 Convert field-name to lower case.
4755 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4757 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4759 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4760 `message' and `error' take format string.
4762 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4764 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4766 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4768 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4769 recursive call (can't byte compile on emacs 20.7).
4771 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4773 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4774 (elmo-folder-list-message-entities): New API.
4775 (elmo-message-entity): Ditto.
4776 (elmo-message-entity-parent): Ditto.
4777 (elmo-folder-do-each-message-entity): Ditto.
4778 (elmo-message-entity-number): Ditto.
4779 (elmo-message-entity-field): Ditto.
4780 (elmo-message-entity-set-field): Ditto.
4781 (elmo-folder-count-flags): Ditto.
4782 (elmo-folder-length): Ditto.
4784 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4787 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4788 (elmo-msgdb-count-marks): Abolish.
4789 (elmo-msgdb-make-entity): Ditto.
4790 (elmo-msgdb-do-each-entity): Ditto.
4791 (elmo-msgdb-message-entity): New inline function.
4792 (elmo-msgdb-message-entity-field): Ditto.
4793 (elmo-msgdb-message-entity-set-field): Ditto.
4794 (elmo-msgdb-make-message-entity): New function.
4796 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4798 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4799 to flag. (All other related portions are changed.)
4800 (elmo-folder-msgdb-create): Likewise.
4801 (elmo-generic-folder-append-messages): Use flag-table instead of
4803 (elmo-folder-move-messages): Removed redundant process.
4804 (elmo-folder-synchronize): Likewise.
4806 * elmo-msgdb.el (elmo-flag-table-get): New function.
4807 (elmo-flag-table-save): Fixed.
4808 (elmo-msgdb-length): New inline function.
4809 (elmo-msgdb-flag-table): New function.
4810 (elmo-msgdb-mark): Add optional argument new.
4811 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4812 (elmo-msgdb-seen-list): Ditto.
4813 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4816 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4818 * elmo.el (elmo-message-set-mark): Abolish.
4819 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4820 (All related portions are changed.)
4822 * elmo-msgdb.el (toplevel): Added comment.
4823 (elmo-load-msgdb): Added 4th element `path'.
4824 (elmo-msgdb-append): Follow the change above.
4825 (elmo-msgdb-clear): Ditto.
4826 (elmo-msgdb-delete-msgs): Ditto.
4827 (elmo-msgdb-get-path): New inline function.
4828 (elmo-msgdb-set-path): Ditto.
4829 (elmo-flag-table-filename): New variable.
4830 (elmo-flag-table-load): New function.
4831 (elmo-flag-table-set): Ditto.
4832 (elmo-flag-table-save): Ditto.
4833 (elmo-msgdb-get-field-value): Abolish.
4834 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4836 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4838 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4839 the folder has been deleted successfully.
4840 * elmo-imap4.el (elmo-folder-delete): Ditto.
4841 * elmo-archive.el (elmo-folder-delete): Ditto.
4842 * elmo-localdir.el (elmo-folder-delete): Ditto.
4843 * elmo-maildir.el (elmo-folder-delete): Ditto.
4845 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4847 * elmo-util.el (elmo-string-member-ignore-case): New function.
4848 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4849 (elmo-imap4-fetch-callback-1-subr): Likewise.
4851 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4853 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4854 the case of the name attribute "\Noselect".
4856 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4858 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4860 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4861 flist, is not always a member of onum-alist.
4863 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4865 * elmo-version.el (elmo-version): Up to 2.11.3.
4867 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4869 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4870 copied from localdir's one.
4872 * elmo-pipe.el (elmo-folder-rename): New method, rename
4873 destination folder with leaving source folder as it is.
4875 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4877 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4880 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4882 * elmo-version.el (elmo-version): Up to 2.11.2.
4884 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4886 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4887 shimbun-open in case of "@".
4888 (elmo-folder-open-internal): Cope with shimbun = nil case.
4889 (elmo-folder-plugged-p): Ditto.
4890 (elmo-folder-list-subfolders): Make list for "@/" group.
4892 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4894 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4895 mailbox (e.g. for %~/something).
4897 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4899 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4900 Replace nested conditional with guard clauses.
4902 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4904 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4907 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4910 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4912 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4913 Replace nested conditional with guard clauses.
4915 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4917 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4918 (elmo-passwd-alist-save): Ditto.
4919 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4921 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4923 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4924 dir-name only if it is absolute path.
4925 (TODO: distinguish +/something and +something)
4927 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4929 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4930 path for "+~/something".
4932 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4934 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4935 as non-directory, cause error before rename-file.
4936 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4937 apropriately, mimic localdir's one.
4938 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4940 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4942 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4944 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4946 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4948 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4950 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4951 is included in the global-mark or not.
4953 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4955 * utf7.el (toplevel): Avoid error when the function
4956 find-coding-system does not exist.
4958 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4960 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4961 cache even if the folder is plugged.
4962 (elmo-nntp-search-primitive): Do nothing when body search is
4963 invoked (although it is not used by the change above).
4964 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4966 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4968 * elmo-version.el (elmo-version): Up to 2.11.1.
4970 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4972 * elmo-archive.el: Specify charset.
4974 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4976 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4977 process buffer lives or not.
4979 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4980 while flushing queues (It causes infinite loop).
4982 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4984 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4986 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4988 * utf7.el (toplevel): Check the ucs features dynamically.
4989 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4991 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4992 folder is creatabe or not if it already exists.
4994 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4996 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4998 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
5000 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
5001 (elmo-imap4-read-response): Take care of garbage response.
5003 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5005 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
5006 just return nil instead of error.
5008 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5010 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
5011 search-key is "body".
5013 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5015 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
5016 of elmo-string-matched-assoc to use match-data.
5017 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
5019 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5021 * elmo-split.el (elmo-split->): New function.
5022 (elmo-split-<): Ditto.
5024 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
5026 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
5027 workaround for invalid message-id.
5029 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
5031 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
5032 return normal pop3 session or pop3 biff session.
5034 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5036 * elmo-maildir.el (elmo-maildir-update-current): Don't append
5037 info part to the cur files when the new files already have it.
5038 (Adviced by Jared Rhine <jared@wordzoo.com>)
5040 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5042 * elmo-split.el (elmo-split-default-action): New variable.
5043 (elmo-split-subr): Use it if all other conditions are passed.
5044 Extend `fname' and rename it as `action'. (implemented
5045 Teranishi-san's idea in [wl:10800])
5047 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5049 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
5050 * elmo-util.el: Ditto.
5052 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
5054 * elmo.el (elmo-message-accessible-p): Renamed from
5055 elmo-message-cached-p and rewritten.
5057 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
5059 * elmo.el (elmo-folder-list-flagged): New generic function.
5060 (elmo-folder-list-importants): New implementation.
5061 (elmo-folder-list-answereds): Ditto.
5062 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
5064 (elmo-message-cached-p): New function.
5065 (elmo-message-set-flag): Ditto (no content).
5066 (elmo-message-unset-flag): Ditto.
5067 (elmo-folder-list-messages-mark-match): Abolish.
5069 * elmo-util.el (elmo-regexp-opt): New function.
5071 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5072 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5074 (elmo-msgdb-list-flagged): New function.
5076 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5077 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5080 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5082 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
5084 * elmo-version.el (elmo-version): Up to 2.11.0.
5086 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5088 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5089 `elmo-file-cache-exists-p'; use proper mark that depends on
5091 (elmo-msgdb-unset-flag): Ditto.
5092 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5094 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5095 with 4th argument `use-cache'.
5097 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
5099 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5100 (elmo-folder-mark-as-important): Ditto.
5101 (elmo-folder-unmark-read): Ditto.
5102 (elmo-folder-mark-as-read): Ditto.
5103 (elmo-folder-unmark-answered): Ditto.
5104 (elmo-folder-mark-as-answered): Ditto.
5106 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5108 (elmo-msgdb-mark): Likewise.
5109 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5110 (elmo-msgdb-unset-flag): Likewise.
5112 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5114 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5116 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5119 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5121 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5122 set spool-length to 0.
5124 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5126 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5127 (elmo-dop-queue-flush): Fixed last change.
5129 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5131 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5132 if require-msgdb slot is nil.
5133 (elmo-folder-list-importants): Likewise.
5135 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5137 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5140 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5141 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5144 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
5146 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5148 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
5150 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5152 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5154 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5156 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5157 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5159 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5161 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5162 the problem reported by Sean Rima [wl-en:180].
5164 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5166 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5168 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5170 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5172 * elmo-map.el (elmo-folder-unmark-read): Ditto.
5174 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5176 * elmo-net.el (elmo-folder-unmark-read): Ditto.
5178 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5180 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
5182 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5185 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5187 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5188 (elmo-folder-mark-as-read): Follow the API change.
5189 (elmo-message-set-cached): New function.
5191 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5193 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5195 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5196 (elmo-folder-mark-as-important): Ditto.
5197 (elmo-folder-unmark-read): Ditto.
5198 (elmo-folder-mark-as-read): Ditto.
5199 (elmo-folder-unmark-answered): Ditto.
5200 (elmo-folder-mark-as-answered): Ditto.
5202 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5203 (elmo-folder-unmark-important): Ditto.
5204 (elmo-folder-mark-as-read): Ditto.
5205 (elmo-folder-unmark-read): Ditto.
5206 (elmo-folder-mark-as-answered): Ditto.
5207 (elmo-folder-unmark-answered): Ditto.
5209 * elmo-mark.el (toplevel): Removed some mark method definitions.
5211 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5212 (elmo-map-folder-mark-as-answered): Ditto.
5213 (elmo-folder-unmark-important): Add :before qualifier.
5214 (elmo-folder-mark-as-important): Ditto.
5215 (elmo-folder-unmark-read): Ditto.
5216 (elmo-folder-mark-as-read): Ditto.
5217 (elmo-folder-unmark-answered): Define.
5218 (elmo-folder-mark-as-answered): Ditto.
5220 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5221 (elmo-map-folder-unmark-answered): Ditto.
5223 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5225 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5226 (elmo-folder-mark-as-important): Ditto.
5227 (elmo-folder-unmark-read): Ditto.
5228 (elmo-folder-mark-as-read): Ditto.
5229 (elmo-folder-unmark-answered): Ditto.
5230 (elmo-folder-mark-as-answered): Ditto.
5232 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5233 `mark'; evaluate mark condition.
5234 (elmo-msgdb-match-condition-internal): New function.
5235 (elmo-msgdb-match-condition): Call it; changed argument.
5237 * elmo.el (elmo-folder-search): Follow the API change on
5238 `elmo-msgdb-match-condition'.
5240 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5242 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5243 original mark is non-nil.
5245 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5247 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5248 (elmo-map-folder-list-answereds): New method.
5249 (elmo-folder-list-unreads): Add :around qualifier.
5250 (elmo-folder-list-importants): Ditto.
5251 (elmo-folder-list-answereds): Ditto.
5253 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
5255 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5257 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5258 method if msgdb is not required.
5259 (elmo-filter-folder-list-importants): Don't treat global-mark.
5261 * elmo.el (elmo-folder-list-importants): Ditto.
5263 * elmo-net.el (elmo-folder-list-importants): Ditto.
5265 * elmo-map.el (elmo-folder-list-importants): Ditto.
5267 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5269 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5270 (elmo-imap4-folder-list-any-plugged): New function.
5271 (elmo-imap4-search-internal-primitive): Use it.
5273 * elmo-filter.el (elmo-folder-check): Synchronize original folder
5274 only when require-msgdb slot is non-nil.
5275 (elmo-folder-close): Clear target folder's msgdb.
5277 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5279 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5280 (elmo-pop3-msgdb-create-by-header): Ditto.
5281 (elmo-pop3-msgdb-create-message): Ditto.
5283 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5285 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5287 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5289 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5290 (elmo-folder-msgdb-create): Ditto.
5291 (elmo-nntp-folder-msgdb-create): Ditto.
5292 (elmo-nntp-msgdb-create-by-header): Ditto.
5293 (elmo-nntp-msgdb-create-message): Ditto.
5294 (elmo-folder-list-unreads): Define.
5296 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5297 (elmo-folder-append-messages): Ditto.
5298 (elmo-folder-list-unreads): Define.
5299 (elmo-folder-list-importants): Ditto.
5300 (elmo-folder-list-answereds): Ditto.
5302 * elmo-net.el (elmo-folder-list-unreads): Define.
5303 (elmo-folder-list-importants): Ditto.
5304 (elmo-folder-list-answereds): Ditto.
5305 (elmo-folder-list-answereds-plugged): Ditto.
5306 (elmo-folder-msgdb-create): Follow the API change.
5307 (elmo-folder-msgdb-create-unplugged): Ditto.
5308 (elmo-folder-unmark-answered): Define.
5309 (elmo-folder-mark-as-answered-unplugged): Ditto.
5310 (elmo-folder-unmark-answered-unplugged): Ditto.
5312 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5313 (elmo-msgdb-unread-uncached-mark): Ditto.
5314 (elmo-msgdb-unread-cached-mark): Ditto.
5315 (elmo-msgdb-read-uncached-mark): Ditto.
5316 (elmo-msgdb-answered-cached-mark): Ditto.
5317 (elmo-msgdb-answered-uncached-mark): Ditto.
5318 (elmo-msgdb-important-mark): Ditto.
5319 (elmo-msgdb-set-mark): Rewrite.
5320 (elmo-msgdb-count-marks): Rewrite.
5321 (elmo-msgdb-mark-alist-set): Abolish.
5322 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5323 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5325 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5326 (elmo-folder-close): Define.
5327 (elmo-folder-msgdb-create): Follow the API change.
5328 (elmo-folder-list-unreads): Rewrite.
5329 (elmo-folder-mark-as-important): Ditto.
5330 (elmo-folder-unmark-important): Ditto.
5331 (elmo-folder-mark-as-read): Ditto.
5332 (elmo-folder-unmark-read): Ditto.
5333 (elmo-folder-mark-as-answered): Define.
5334 (elmo-folder-unmark-answered): Ditto.
5336 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5337 (elmo-folder-append-messages): Ditto.
5339 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5341 * elmo-map.el (elmo-folder-list-unreads): Ditto.
5342 (elmo-folder-list-importants): Ditto.
5344 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5345 (elmo-folder-append-messages): Ditto.
5347 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5349 (elmo-folder-msgdb-create-plugged): Ditto.
5350 (elmo-folder-append-messages): Ditto.
5351 (elmo-folder-list-answereds-plugged): Define.
5352 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5353 (elmo-folder-unmark-answered-plugged): Define.
5354 (elmo-folder-mark-as-answered-plugged): Ditto.
5355 (elmo-folder-search-requires-msgdb-p): Ditto.
5357 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5358 (elmo-folder-initialize): Set it.
5359 (elmo-folder-msgdb): Define.
5360 (elmo-folder-check): Call elmo-folder-synchronize.
5361 (elmo-folder-close): Define.
5362 (elmo-folder-commit): Ditto.
5363 (elmo-folder-msgdb-create): Rewrite.
5364 (elmo-folder-list-unreads): Ditto.
5365 (elmo-folder-list-importants): Ditto.
5366 (elmo-folder-mark-as-read): Ditto.
5367 (elmo-folder-unmark-read): Ditto.
5368 (elmo-folder-mark-as-important): Ditto.
5369 (elmo-folder-unmark-important): Ditto.
5370 (elmo-folder-mark-as-answered): Define.
5371 (elmo-folder-unmark-answered): Ditto.
5373 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5374 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5375 (elmo-dop-queue-method-name-alist): Likewise.
5376 (elmo-folder-mark-as-answered-dop): New inline function.
5377 (elmo-folder-unmark-answered-dop): Ditto.
5378 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5380 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5381 (elmo-folder-msgdb-create): Ditto.
5382 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5383 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5384 (elmo-archive-parse-mmdf): Ditto.
5386 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5387 (elmo-folder-list-unreads-internal): Ditto.
5389 * elmo.el (elmo-folder-msgdb): Define as generic function.
5390 (elmo-folder-list-messages): Added argument `in-msgdb'.
5391 (elmo-folder-list-unreads): Define as generic function.
5392 (elmo-folder-list-importants): Ditto.
5393 (elmo-folder-list-answereds): Ditto.
5394 (elmo-folder-list-messages-with-global-mark): New function.
5395 (elmo-folder-msgdb-create): Removed mark arguments.
5396 (elmo-folder-unmark-answered): New generic function.
5397 (elmo-folder-mark-as-answered): Ditto.
5398 (elmo-folder-append-messages): Removed argunment `unread-marks'
5399 (elmo-folder-list-unreads-internal): Abolish.
5400 (elmo-folder-list-importants-internal): Ditto.
5401 (elmo-folder-search-requires-msgdb-p): New generic function.
5402 (elmo-folder-search-requires-msgdb-p-internal): New function.
5403 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5405 (elmo-folder-search-fast): Added key 'mark'.
5406 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5407 instead of unread-marks argument.
5408 (elmo-folder-move-messages): Removed argunment `unread-marks'
5409 (elmo-folder-unmark-important): Define.
5410 (elmo-folder-mark-as-important): Ditto.
5411 (elmo-folder-unmark-read): Ditto.
5412 (elmo-folder-mark-as-read): Ditto.
5413 (elmo-folder-unmark-answered): Ditto.
5414 (elmo-folder-mark-as-answered): Ditto.
5415 (elmo-folder-replace-marks): Abolish.
5416 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5418 (elmo-folder-synchronize): Removed mark arguments;
5419 return crosspost only number.
5421 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5423 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5424 Remove redundunt connectivity check.
5426 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5428 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5429 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5431 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5433 * pldap.el (ldap-decode-string): Return string as-is if
5434 `ldap-coding-system' is nil.
5435 (ldap-encode-string): Ditto.
5436 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5437 (ldap-default-host): Fixed docstring.
5439 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5441 * elmo-util.el (elmo-warning): Define as a macro which uses
5442 `display-warning' if it is defined as a function.
5444 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5445 (elmo-split-equal): Use it.
5446 (elmo-split-match): Ditto.
5447 (elmo-split-message-entity): New buffer-local variable.
5448 (elmo-split-subr): Set it.
5450 * elmo-version.el (elmo-version): Up to 2.9.15.
5452 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5454 * elmo-imap4.el (elmo-network-initialize-session):
5455 Check capability after starttls.
5457 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5459 * elmo-util.el (elmo-list-delete): Added optional argument
5462 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5464 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5466 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5468 * elmo-imap4.el (elmo-folder-initialize): Don't use
5469 elmo-imap4-default-mailbox.
5471 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5473 * elmo-split.el (toplevel): Use `product-provide'.
5474 (elmo-split): Checkdoc.
5476 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5478 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5479 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5480 the function `elmo-imap4-debug-1'.
5482 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5484 * elmo-split.el (elmo-split): Moved to run hooks and to show
5485 message from elmo-split-subr.
5486 (elmo-split-subr): Follow the change above.
5488 * elmo-split.el (elmo-split-subr): New function (renamed from
5490 (elmo-split): Changed to call elmo-split-subr by element of
5492 (elmo-split-folder): Changed customization type to choice.
5494 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5496 * elmo-split.el (elmo-split-and): Fixed condition.
5498 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5500 * elmo-split.el: New file.
5501 (elmo-split): Fixed logic.
5502 Display "Test:" instead of "Folder:" when reharsal.
5504 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5507 * elmo-version.el (elmo-version): Up to 2.9.14.
5509 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5512 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5514 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5515 message with no message-id field.
5517 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5519 * elmo-version.el (elmo-version): Up to 2.9.13.
5521 * elmo-dop.el (elmo-folder-status-dop): Fix.
5523 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5525 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5527 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5528 changing default value of default-mime-charset.
5529 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5531 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5533 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5534 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5535 instead of elmo-dop-queue-method-name-alist to check merging queue.
5536 (elmo-folder-delete-messages-dop): Delete from queue if negative
5538 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5539 file is already removed.
5541 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5543 * elmo-vars.el: Bind colon keywords for old Emacsen.
5545 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5547 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5548 against non-exsisting charset.
5550 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5552 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5553 Use eword-decode-and-unfold-unstructured-field-body.
5555 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5556 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5557 exists to decode raw subject string.
5558 (toplevel): Require 'mime.
5560 * elmo-version.el (elmo-version): Up to 2.9.12.
5562 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5564 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5565 (elmo-msgdb-set-mark): Ditto.
5567 * elmo-version.el (elmo-version): Up to 2.9.11.
5569 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5571 * elmo-util.el (elmo-delete-match-files): New function.
5573 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5574 instead of elmo-delete-directory.
5576 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5577 elmo-hash-minimun-size as 63.
5579 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5580 elmo-diff-unread is nil.
5582 * elmo-imap4.el (elmo-folder-open): Fix.
5584 * elmo.el (elmo-message-mark): Rewrite.
5585 (elmo-message-field): Ditto.
5586 (elmo-message-set-mark): Ditto.
5587 (elmo-folder-replace-marks): New function.
5588 (elmo-generic-folder-append-msgdb): Removed third argument for
5590 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5591 (elmo-msgdb-load): New implementation.
5593 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5595 * elmo-util.el (elmo-list-insert): New implementation.
5597 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5598 argument for elmo-msgdb-append.
5601 * elmo-msgdb.el (elmo-load-msgdb): New function.
5602 (elmo-make-msgdb): Ditto.
5603 (elmo-msgdb-get-index): New inline function.
5604 (elmo-msgdb-set-index): Ditto.
5605 (elmo-msgdb-get-entity-hashtb): Ditto.
5606 (elmo-msgdb-get-mark-hashtb): Ditto.
5607 (elmo-msgdb-get-mark): Ditto.
5608 (elmo-msgdb-set-mark): Ditto.
5609 (elmo-msgdb-count-marks): Ditto.
5610 (elmo-msgdb-get-number): Ditto.
5611 (elmo-msgdb-get-field): Ditto.
5612 (elmo-msgdb-seen-list): Ditto.
5613 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5614 (elmo-msgdb-delete-msgs): Follow the changes above.
5615 (elmo-msgdb-overview-get-entity): Ditto.
5616 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5617 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5619 (elmo-msgdb-make-index): Likewise.
5620 (elmo-msgdb-append): Removed third argument.
5621 (elmo-msgdb-clear): Clear index as nil.
5622 (elmo-folder-set-info-hashtb): Removed.
5623 (elmo-folder-set-info-max-by-numdb): Ditto.
5624 (elmo-folder-info-make-hashtb): Ditto.
5626 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5628 * elmo-map.el (elmo-folder-pack-number): Ditto.
5630 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5632 * elmo-version.el (elmo-version): Up to 2.9.10.
5634 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5636 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5638 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5640 * elmo-utils.el (elmo-make-directory): Add option.
5641 Default file mode is 700.
5643 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5645 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5647 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5649 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5652 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5655 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5657 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5658 (elmo-shimbun-folder-entity-hash): New function.
5659 (elmo-shimbun-folder-shimbun-header): Ditto.
5660 (elmo-shimbun-entity-to-header): Ditto.
5661 (elmo-shimbun-msgdb-to-headers): Removed.
5662 (elmo-shimbun-folder-setup): Ditto.
5663 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5665 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5666 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5667 Removed useless local bind.
5668 (elmo-folder-open-internal): Don't call
5669 `elmo-shimbun-folder-setup'.
5670 (elmo-folder-close-internal): Clear entity-hash slot.
5671 (elmo-folder-clear): Ditto.
5672 (elmo-shimbun-msgdb-create-entity): Use
5673 `elmo-shimbun-folder-shimbun-header'.
5674 (elmo-map-message-fetch): Ditto.
5675 (elmo-shimbun-update-overview): Use overview entity instead of
5676 shimbun header to lookup id by references.
5677 (elmo-map-folder-list-message-locations): Use not only headers but
5678 also overviews to list locations.
5680 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5682 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5685 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5687 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5689 * elmo-util.el (elmo-read-search-condition-internal): Give default
5692 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5694 * elmo-util.el (elmo-condition-parse-search-value): Accept
5695 YYYY-MM-DD format to search.
5696 * elmo-date.el (elmo-date-get-datevec): Likewise.
5698 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5700 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5703 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5705 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5708 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5710 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5711 case from `elmo-folder-exists-p'.
5712 (elmo-folder-exists-p): Removed.
5713 (elmo-folder-creatable-p) Ditto.
5715 * elmo-net.el (elmo-folder-create): Defined.
5716 (elmo-folder-create-unplugged): New function.
5717 (elmo-folder-exists-p): Changed default value to nil from t.
5719 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5720 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5722 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5723 `elmo-create-folder-dop' and append queue
5724 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5725 (elmo-folder-create-dop-delayed): New function.
5727 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5729 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5731 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5732 (elmo-folder-writable-p) : Ditto.
5734 * elmo-version.el (elmo-version): Up to 2.9.9.
5736 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5738 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5739 `elmo-message-use-cache-p' returns nil.
5740 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5741 (ignore cache file and refer the substance in local folders)
5743 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5745 * elmo-version.el (elmo-version): Up to 2.9.8.
5747 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5749 * elmo-version.el (elmo-version): Up to 2.9.7.
5751 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5753 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5755 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5757 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5759 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5761 (elmo-map-folder-list-message-locations): Reverse location list.
5763 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5765 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5767 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5769 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5771 (elmo-nntp-folder-list-subfolders): Follow the change above.
5773 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5775 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5776 name if authentication type is specified.
5778 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5780 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5782 (elmo-default-nntp-stream-type): Ditto.
5783 (elmo-default-pop3-stream-type): Ditto.
5785 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5787 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5789 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5791 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5793 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5795 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5796 (elmo-maildir-folder-path): Ditto.
5797 (elmo-maildir-list): Ditto (abolished).
5799 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5801 * elmo-version.el (elmo-version): Up to 2.9.6.
5803 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5805 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5806 (elmo-maildir-folder-path): Ditto.
5807 (elmo-msgdb-directory): Ditto.
5808 (elmo-passwd-life-time): Ditto.
5809 (elmo-msgdb-extra-fields): Ditto.
5810 (elmo-enable-disconnected-operation): Ditto.
5812 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5814 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5816 (elmo-pop3-default-authenticate-type): Ditto.
5818 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5820 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5822 (elmo-pop3-default-authenticate-type): Ditto.
5824 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5826 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5827 mailbox to new-folder.
5829 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5831 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5832 less than new, set new as unread.
5834 * elmo-util.el (elmo-string): Don't put text-property if nil.
5836 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5838 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5839 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5841 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5843 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5844 is nil on `completing-read'.
5846 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5848 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5850 (elmo-imap4-parse-namespace-subr): Ditto.
5851 (elmo-folder-list-subfolders): Append a delimiter when the specified
5852 folder path is a root with namespace and does not end with delimiter.
5854 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5856 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5859 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5861 * elmo-util.el (elmo-save-buffer): The first argument of message
5862 is a format control string.
5864 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5866 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5867 `elmo-folder-diff').
5868 (elmo-diff-unread): Likewise.
5870 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5872 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5873 is t on `completing-read'.
5875 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5877 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5878 method of target folder with self mark-alist if MARK-ALIST is nil.
5880 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5882 * elmo-version.el (elmo-version): Up to 2.9.5.
5884 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5886 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5887 (elmo-dop-merge-funcs): Remove.
5889 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5891 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5892 Return t if PATH is directory, too.
5893 Use `dolist' instead of while loop.
5895 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5897 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5900 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5902 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5904 (elmo-folder-list-messages-unplugged): Return t if
5905 elmo-enable-disconnected-operation is nil.
5907 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5908 `elmo-folder-list-messages-internal'.
5910 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5912 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5913 Change to looking-at `[23][0-9]+'.
5914 (elmo-network-initialize-session): Use 'error-msg'
5915 * elmo-net.el (elmo-network-open-session): Set unplugged
5916 if elmo-network-initialize-session returns 'elmo-open-err.
5918 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5920 * elmo-version.el (elmo-version): Up to 2.9.4.
5922 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5924 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5925 `elmo-folder-list-messages-internal'.
5927 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5929 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5930 (elmo-message-match-condition): New method.
5931 (elmo-folder-search-fast): New inline function.
5932 (elmo-msgdb-search): Removed.
5934 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5935 target folder if it is unplugged.
5936 (elmo-folder-list-messages-internal): Return t if target folder is
5937 unplugged and itself is persistent; In this case, use list be
5940 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5941 (elmo-msgdb-search-internal-primitive): Ditto.
5942 (elmo-msgdb-match-condition): New function.
5943 (elmo-msgdb-match-condition-primitive): Ditto.
5945 * elmo-util.el (elmo-filter-condition-p): New macro.
5947 * elmo-cache.el (elmo-folder-search): Removed.
5949 * elmo-localdir.el (elmo-folder-search): Ditto.
5951 * elmo-maildir.el (elmo-folder-search): Ditto.
5953 * elmo-mark.el (elmo-folder-search): Ditto.
5955 * elmo-nmz.el (elmo-folder-search): Ditto.
5957 * elmo-sendlog.el (elmo-folder-search): Ditto.
5959 * elmo-shimbun.el (elmo-folder-search): Ditto.
5961 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5962 if folder is unplugged.
5964 * elmo-nntp.el (elmo-folder-search): Likewise.
5965 (elmo-nntp-search-internal): New function.
5967 * elmo-version.el (elmo-version): Up to 2.9.3.
5969 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5971 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5973 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5975 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5977 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5979 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5981 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5983 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5984 (elmo-map-folder-list-message-locations): Do drive letter conversion
5985 on Windows environment.
5986 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5987 (elmo-map-message-fetch): Ditto.
5989 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5991 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5992 (elmo-network-initialize-session): Ditto.
5994 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5996 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5998 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
6000 * elmo-util.el (elmo-progress-clear): Ditto.
6002 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
6003 `DD-Mon-YYYY' type date.
6005 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6007 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
6008 `elmo-date-make-sortable-string' instead of
6009 `timezone-make-date-sortable'.
6011 * elmo-date.el (elmo-date-make-sortable-string): Use
6012 `timezone-make-time-string'.
6014 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6016 * elmo.el (elmo-folder-synchronize): Delete important messages too.
6018 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
6019 `since'; Fix timezone.
6021 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
6023 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
6025 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6027 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
6029 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6031 * elmo.el (elmo-generic-folder-append-messages): Make
6032 fetch-strategy with `use-cache' as 'maybe. Check return value of
6033 `elmo-message-fetch'.
6034 (elmo-message-fetch): Return return value of
6035 `elmo-message-fetch-with-cache-process'.
6036 (elmo-message-fetch-with-cache-process): Return non-nil if
6037 fetching was succeed. Load cache when fetching was failed and
6038 fetch-strategy-use-cache is 'maybe.
6040 * elmo-util.el (elmo-file-cache-load): New function.
6042 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
6045 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
6046 non-nil if fetching was succeed.
6048 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
6050 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
6052 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
6053 (elmo-message-fetch-with-cache-process): Likwise.
6055 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
6057 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
6059 * elmo-version.el (elmo-version): Up to 2.9.2.
6061 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
6063 * elmo.el (elmo-folder-delete): Delete msgdb path.
6065 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6067 * elmo-maildir.el (elmo-folder-delete): Ditto.
6069 * elmo-localdir.el (elmo-folder-delete): Ditto.
6071 * elmo-imap4.el (elmo-folder-delete): Ditto.
6073 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
6075 * elmo.el (luna-define-class): Added `biff' slot.
6077 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6078 (elmo-pop3-debug-inhibit-logging): Abolished.
6079 (elmo-network-close-session): Eliminated needless let.
6080 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6081 (elmo-pop3-send-command): Added `no-log' argument.
6082 (elmo-pop3-process-filter): Use `with-current-buffer'.
6083 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6085 (elmo-pop3-auth-apop): Likewise.
6086 (elmo-network-authenticate-session): Likewise.
6088 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6091 * elmo-net.el (elmo-network-session-password-key): Use class symbol
6092 string to determine protocol.
6093 (elmo-network-session-name-prefix): Abolished.
6094 (elmo-network-session-cache-key): Follow the change above.
6095 (elmo-network-open-session): Ditto.
6097 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6098 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6100 * elmo-version.el (elmo-version): Up to 2.9.1.
6102 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6103 unmatch condition checking.
6105 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6108 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6110 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6112 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
6114 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6115 test for while loop to execute at least one SEARCH command.
6117 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
6119 * elmo-version.el (elmo-version): Up to 2.9.0.
6121 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6123 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6124 (elmo-archive-folder-path): Define.
6125 (elmo-folder-initialize): Setup `dir-name' slot.
6126 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6127 Use `dir-name' as prefix of each subfolders.
6128 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6130 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6132 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6133 (elmo-pipe-folder-list-target-messages): New internal function.
6134 (elmo-pipe-drain): Use new argument `ignore-list' instead of
6136 (elmo-pipe-folder-copied-list-load): New function.
6137 (elmo-pipe-folder-copied-list-save): Ditto.
6138 (elmo-folder-open-internal): Follow the change above.
6139 (elmo-folder-status): Fixed for copy.
6141 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
6143 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6145 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
6147 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6148 elmo-copy-file instead of elmo-add-name-to-file.
6150 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6152 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6155 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6156 of accept-process-output as 1.
6157 (elmo-pop3-read-contents): Ditto.
6158 (elmo-pop3-read-body): Ditto.
6160 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
6162 * elmo-version.el (product-version-as-string): Remove define.
6164 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6166 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6167 (elmo-imap4-copy-messages): Chop number set using
6168 `elmo-imap4-number-set-chop-length'.
6169 (elmo-imap4-set-flag): Ditto.
6170 (elmo-imap4-search-internal-primitive): Ditto.
6172 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
6174 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6175 `elmo-folder-make-temp-dir'
6177 * elmo-vars.el (elmo-cache-directory): New variable.
6178 (elmo-cache-dir): Abolished.
6179 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6181 * elmo-version.el (elmo-version): Up to 2.7.7.
6183 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6185 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6186 defcustom; Set default value as t.
6188 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
6190 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6191 (ldap-search-program-arguments): Changed default value.
6192 (ldap-search-basic): Accept exit status 4.
6193 (ldap/field-body): Parse options.
6194 (ldap/collect-field): Ditto.
6195 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6197 * elmo-imap4.el (elmo-imap4-process-bye): New function.
6198 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6199 (elmo-imap4-accept-ok): Ditto.
6200 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6201 'notify-bye, only BYE error is reported.
6202 (elmo-folder-exists-p-plugged): Set no-error argument of
6203 `elmo-imap4-session-select-mailbox' as 'notify-bye.
6205 * elmo.el (elmo-imap4-bye-error): Changed message.
6207 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6208 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6209 queues (It causes infinite loop).
6211 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
6213 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6214 (RECENT UNSEEN MESSAGES) extension.
6216 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
6218 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6219 Check number of overview fields.
6221 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6223 * elmo.el (elmo-folder-confirm-appends): Changed message.
6224 (elmo-folder-confirm-appends): Ditto.
6226 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6228 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6230 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6232 * elmo.el (elmo-folder-confirm-appends): Check whether the value
6233 of elmo-folder-update-threshold is nil, which can be set by
6234 wl-summary-update-confirm-threshold.
6236 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
6238 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6239 (elmo-nmz-index-alias-alist): Ditto.
6240 (elmo-map-folder-list-message-locations): Follow the change above.
6242 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6244 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6246 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6248 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6250 * elmo-util.el (elmo-read): Ditto.
6251 (elmo-display-error): Ditto.
6253 * elmo-vars.el (elmo-date-match): Ditto.
6255 * pldap.el (ldap-coding-system): Ditto.
6257 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6258 `elmo-inhibit-number-mapping' as nil.
6260 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
6262 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6263 space delimiter for list response.
6265 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6267 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6269 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6271 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6272 (elmo-map-message-fetch): Fix.
6273 * elmo-map.el (elmo-folder-status): Fix for killed.
6275 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6277 * elmo-sendlog.el: New file.
6278 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6280 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6282 * acap.el (acap-logging-out): New buffer local variable.
6283 (acap-close): Set it.
6284 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6287 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6289 * acap.el (acap-response-bye-p): New function.
6290 (acap-response-bye-message): Ditto.
6291 (acap-wait-for-response): If bye response is received, cause an error.
6292 (acap-parse-response): Make bye response when 'Bye' is received.
6294 2001-11-23 Kenichi OKADA <okada@opaopa.org>
6296 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6298 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6300 * elmo-util.el (elmo-copy-file): Added argument
6301 `ok-if-already-exists'.
6302 (elmo-copy-file): Fixed typo.
6304 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6306 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6308 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6310 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6312 2001-11-20 Kenichi OKADA <okada@opaopa.org>
6314 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6317 2001-11-19 Kenichi OKADA <okada@opaopa.org>
6319 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6320 (elmo-folder-initialize): Fix for `copy'.
6321 (elmo-pipe-drain): Ditto.
6322 (elmo-folder-open-internal): Ditto.
6323 (elmo-folder-newsgroups): Fix.
6325 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
6327 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6330 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6331 recent value is returned from imap folder.
6333 * elmo.el (elmo-folder-newsgroups): New generic function.
6335 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6336 (elmo-folder-initialize): Set it.
6337 (elmo-folder-expand-msgdb-path): Use it.
6338 (elmo-folder-newsgroups): Define.
6340 * elmo-filter.el (elmo-folder-newsgroups): Define.
6342 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6344 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6346 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6348 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6350 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6352 (elmo-shimbun-header-extra-field): New inline function.
6353 (elmo-shimbun-header-set-extra-field): Ditto.
6354 (elmo-shimbun-folder-header-hash-setup): Ditto.
6355 (elmo-shimbun-update-overview): Ditto.
6356 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6357 (elmo-shimbun-folder-setup): Use
6358 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6359 (elmo-shimbun-get-headers): Ditto.
6360 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6361 Insert `X-Shimbun-Id:' header if extra field is set.
6362 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6363 field's value instead of `shimbun-header-id'.
6365 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6367 (elmo-msgdb-overview-entity-set-date): Ditto.
6368 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6370 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6372 * mmimap.el (mmimap-entity-section): Changed body node number from
6375 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6377 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6378 `elmo-folder-delete-messages'.
6380 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6381 (elmo-folder-initialize): Changed to expand alias into index path.
6383 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6384 `elmo-mime-insert-header-from-buffer' with 6th arg
6387 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6389 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6391 * elmo.el (elmo-diff-new): New inline function.
6392 (elmo-diff-unread): Ditto.
6393 (elmo-diff-all): Ditto.
6395 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6396 value from responseb.
6397 (elmo-imap4-folder-diff-plugged): Ditto.
6398 (elmo-imap4-server-diff-async): Added recent argument.
6399 (elmo-server-diff-async): Ditto.
6400 (elmo-imap4-folder-diff-plugged): Ditto.
6402 * elmo-version.el (elmo-version): Up to 2.7.6.
6404 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6406 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6409 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6411 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6413 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6415 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6417 * elmo-multi.el (elmo-folder-initialize): Ditto.
6419 * elmo-util.el (elmo-parse-token): New function.
6420 (elmo-parse-prefixed-element): Ditto.
6422 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6424 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6426 (elmo-imap4-accept-ok): Ditto.
6428 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6430 * mmimap.el (mime-imap-entity-header-string): Don't check first
6431 element of node-id is `0' (Follow last change).
6433 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6435 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6436 assigned irregular node-id to nested multipart section.
6437 (initialize-instance): Followed above change.
6439 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6441 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6442 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6443 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6444 `elmo-shimbun-get-headers');
6445 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6446 visible article on summary exists in headers).
6447 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6449 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6451 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6454 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6456 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6458 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6460 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6461 header separator into loop condition.
6463 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6465 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6466 Return duplicate folder if it has subfolder.
6468 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6470 * elmo.el (elmo-make-folder): Add folder name error check.
6472 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6473 (elmo-nntp-encode-group-string): New inline function.
6474 (elmo-nntp-decode-group-string): Ditto.
6475 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6476 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6477 Use `not' instead of `null';
6478 Use elmo-nntp-decode-group-string.
6480 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6482 * elmo-version.el (elmo-version): Up to 2.7.5.
6484 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6486 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6487 Hide progress gauge if `elmo-folder-move-messages' exits
6490 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6492 * elmo-imap4.el (elmo-folder-initialize): Use
6493 `elmo-imap4-encode-folder-string' for folder name.
6495 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6497 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6500 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6502 * elmo-util.el (elmo-progress-counter-alist): New internal
6504 (elmo-progress-counter-value): New macro.
6505 (elmo-progress-counter-all-value): Ditto.
6506 (elmo-progress-counter-format): Ditto.
6507 (elmo-progress-counter-set-value): Ditto.
6508 (elmo-progress-set): New function.
6509 (elmo-progress-clear): Ditto.
6510 (elmo-progress-notify): Ditto.
6512 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6515 * elmo.el (elmo-generic-folder-append-messages): Call
6516 `elmo-progress-notify'.
6517 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6519 * elmo-archive.el (elmo-folder-append-messages): Call
6520 `elmo-progress-notify'.
6522 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6524 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6526 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6528 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6530 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6532 (elmo-message-encache-dop): Added argument `read'.
6534 * elmo-shimbun.el (elmo-message-encache): Ditto.
6536 * elmo-net.el (elmo-message-encache): Ditto.
6538 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6539 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6540 elmo-imap4-seen-messages.
6541 (elmo-folder-msgdb-create-plugged): Initialize
6542 elmo-imap4-seen-messages;
6543 Set seen mark on elmo-imap4-seen-messages.
6545 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6547 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6548 elmo-folder-append-buffer.
6549 (elmo-folder-encache): Added optional argument `read'.
6550 (elmo-message-encache): Ditto.
6552 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6554 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6556 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6557 if append buffer content succeds.
6559 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6561 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6562 elmo-display-progress.
6564 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6565 Set 4th argument of mime-display-message.
6566 (elmo-mime-display-as-is): Ditto.
6568 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6570 * elmo-nmz.el (toplevel): Require 'mime-edit.
6571 (elmo-nmz-content-type-alist): Abolished.
6572 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6573 content is not a message.
6574 (elmo-map-message-fetch): Changed behavior exept for message content;
6575 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6576 content-type, Add From: and Subject: field.
6578 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6580 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6581 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6584 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6586 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6587 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6589 * elmo-archive.el (elmo-folder-writable-p): Defined.
6591 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6593 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6595 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6597 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6599 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6601 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6603 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6605 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6607 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6609 * elmo-util.el (elmo-address-quote-specials): New function;
6610 Renamed from `wl-address-quote-specials'.
6612 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6614 * elmo-version.el (elmo-version): Up to 2.7.4.
6616 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6618 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6620 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6622 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6623 both compile-time and run-time to avoid byte-compile warning.
6625 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6627 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6629 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6631 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6633 (elmo-mime-display-as-is-internal): Use it.
6635 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6636 if `read-passwd' is not defined.
6638 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6640 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6642 (elmo-folder-status): Call `elmo-folder-open-internal';
6643 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6644 (elmo-folder-close-internal): Set location-alist as nil.
6645 (elmo-folder-clear): Define.
6646 (elmo-folder-check): Don't set location-alist as nil.
6648 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6650 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6652 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6653 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6655 * mmimap.el (mime-imap-entity::requested): New slot.
6656 (mime-imap-location-fetch-entity-p): New generic function.
6657 (mime-decode-parameters): Define using `defun-maybe'.
6658 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6659 content-type structure.
6660 (mime-entity-body): Return empty body if
6661 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6663 * elmo.el (elmo-message-displaying): New variable.
6665 * elmo-mime.el (elmo-mime-message-display): Bind
6666 elmo-message-displaying as t.
6668 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6670 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6672 * acap.el (acap-open): erase buffer before starting network process.
6673 (acap-store): Rewrite.
6675 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6677 * elmo-imap4.el (elmo-imap4-default-mailbox,
6678 elmo-imap4-default-server
6679 elmo-imap4-default-authenticate-type,
6680 elmo-imap4-default-user,
6681 elmo-imap4-default-port,
6682 elmo-imap4-default-stream-type,
6683 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6685 * elmo-pop3.el (elmo-pop3-default-user,
6686 elmo-pop3-default-server,
6687 elmo-pop3-default-authenticate-type,
6688 elmo-pop3-default-port,
6689 elmo-pop3-default-stream-type,
6690 elmo-pop3-stream-type-alist): Ditto.
6692 * elmo-nntp.el (elmo-nntp-default-server,
6693 elmo-nntp-default-user,
6694 elmo-nntp-default-port,
6695 elmo-nntp-default-stream-type,
6696 elmo-nntp-stream-type-alist): Ditto.
6698 * elmo-vars.el: Follow changes above.
6699 (elmo-setting): New custom group; added 'elmo-setting group to
6702 * elmo-version.el (elmo-version): Up to 2.7.3.
6704 * acap.el (acap-parse-response): Don't delete process when BYE
6705 response (It causes hang-up on slow network environment).
6706 (toplevel): Added comment.
6708 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6710 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6712 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6714 (acap-parse-return-metadata): Ditto.
6717 (toplevel): Fixed typo.
6719 * acap.el: New file.
6720 (acap-network-stream-open): Show "Connecting..." message.
6721 (acap-parse-response): Fixed problem for BYE untagged response.
6722 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6723 (toplevel): Added tiny comments.
6725 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6727 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6728 space delimiter for uidl response.
6730 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6732 * elmo-vars.el (elmo-use-semi): Eliminated.
6734 * elmo-util.el (elmo-string-assoc-all): New function.
6736 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6738 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6739 property 'mime-preview-situation for `mime-preview-quit'.
6741 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6743 * elmo.el (elmo-message-fetch-with-cache-process): Call
6744 elmo-message-fetch-internal instead of causing an error when fetch
6745 strategy is 'entire but only 'section cache is available.
6747 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6749 * elmo-version.el (elmo-version): Up to 2.7.2.
6751 * elmo.el (elmo-generic-folder-append-messages): Make
6752 fetch-strategy with `use-cache'.
6754 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6755 (elmo-dop-queue-method-name): New macro.
6757 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6759 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6760 unbalanced parenthesis.
6762 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6764 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6766 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6768 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6769 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6771 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6773 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6776 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6778 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6779 (elmo-message-use-cache-p): Define.
6780 (elmo-folder-msgdb-create): Treat cache.
6782 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6784 * elmo-nntp.el (elmo-network-initialize-session): Call
6785 `elmo-nntp-send-mode-reader'.
6786 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6788 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6790 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6792 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6795 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6796 for `elmo-plugged-p'.
6797 (elmo-open-network-stream): Fixed stream-type argument.
6799 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6801 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6802 unknown archive type is specified.
6804 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6806 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6808 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6809 while loading msgdb.
6811 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6812 (elmo-folder-open-internal): Rewrite.
6814 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6816 * elmo-mime.el (elmo-mime-display-as-is-internal):
6817 Adjust buffer-multibyte status.
6819 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6821 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6822 of elmo-condition-find-key.
6824 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6825 (elmo-condition-in-msgdb-p): Ditto.
6826 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6829 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6831 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6833 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6835 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6836 label for elmo-display-progress.
6838 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6840 * elmo.el (elmo-folder-clear): New method.
6841 (elmo-folder-clear): Define.
6842 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6844 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6845 (elmo-folder-clear): Define.
6847 * elmo-map.el (elmo-folder-clear): Define.
6849 * elmo-version.el (elmo-version): Up to 2.7.1.
6851 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6853 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6856 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6858 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6859 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6861 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6863 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6865 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6868 * elmo-imap4.el (elmo-folder-initialize): Use
6869 elmo-get-network-stream-type.
6871 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6873 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6875 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6877 * elmo.el (elmo-message-encache): Set unread argument for
6880 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6882 * elmo.el (elmo-net-port-info): New method.
6884 * elmo-shimbun.el (elmo-net-port-info): Define.
6885 (elmo-message-encache): Ditto.
6887 * elmo-net.el (elmo-net-port-info): Define as method.
6889 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6890 unplugged status when elmo-enable-disconnected-operation is t.
6892 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6893 of spool folder before checking new number.
6895 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6897 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6898 (elmo-network-setup-session): Ditto.
6899 (elmo-message-fetch-plugged): Ditto.
6900 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6901 (elmo-network-initialize-session): Ditto.
6902 (elmo-pop3-read-response): Abolish 3rd argument.
6903 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6904 (elmo-pop3-read-contents): Ditto.
6905 (elmo-pop3-read-body): Ditto.
6906 (elmo-folder-status): Call elmo-folder-close.
6907 (elmo-pop3-lock): Abolish.
6908 (elmo-pop3-unlock): Ditto.
6909 (elmo-pop3-locked-p): Ditto.
6910 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6912 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6914 * elmo-version.el (elmo-version): Up to 2.7.0.
6916 * elmo-pop3.el (elmo-pop3-debug): New variable.
6917 (elmo-pop3-debug-inhibit-logging): Ditto.
6918 (elmo-pop3-debug): New function.
6919 (elmo-pop3-send-command): Call elmo-pop3-debug.
6920 (elmo-pop3-read-response): Added keep-lock optional argument;
6921 Don't unlock if keep-lock is non-nil.
6922 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6923 (elmo-network-authenticate-session): Bind
6924 elmo-pop3-debug-inhibit-logging as t.
6925 (elmo-network-setup-session): Call elmo-pop3-read-response with
6927 (elmo-pop3-read-msg): Ditto.
6928 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6929 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6930 (elmo-network-initialize-session): Call elmo-pop3-lock.
6931 (elmo-folder-close-internal): Don't clear location-alist slot.
6932 (elmo-folder-check): Clear location-alist slot.
6934 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6936 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6937 (elmo-pop3-send-command): Call elmo-pop3-lock.
6938 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6939 (elmo-pop3-read-contents): Ditto.
6940 (elmo-pop3-lock): New function.
6941 (elmo-pop3-unlock): Ditto.
6942 (elmo-pop3-locked-p): Ditto.
6943 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6946 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6948 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6950 * elmo-util.el (elmo-file-field-primitive-condition-match):
6951 New inline function (Don't fetch file content if "first" or "last").
6952 (elmo-file-field-condition-match): Use
6953 elmo-file-field-primitive-condition-match.
6955 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6958 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6959 (elmo-message-fetch-plugged): Fixed.
6961 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6963 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6965 * elmo.el (elmo-folder-move-messages): Bind
6966 elmo-inhibit-display-retrieval-progress as t while moving messages.
6968 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6970 (elmo-inhibit-display-retrieval-progress): Ditto.
6972 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6973 for retrieval progress;
6974 Don't display progress when total buffer size is smaller than
6975 elmo-display-retrieval-progress-threshold.
6976 (elmo-message-fetch-plugged): Don't display progress when
6977 elmo-inhibit-display-retrieval-progress is non-nil.
6979 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6980 for retrieval progress;
6981 Don't display progress when literal size is smaller than
6982 elmo-display-retrieval-progress-threshold.
6983 (elmo-imap4-message-fetch): Don't display progress when
6984 elmo-inhibit-display-retrieval-progress is non-nil.
6986 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6988 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6989 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6990 (elmo-imap4-message-fetch): Likewise.
6992 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6993 (elmo-shimbun-index-range-alist): Ditto.
6994 (elmo-shimbun-use-entire-index): Abolish.
6995 (shimbun-mua-use-entire-index): Ditto.
6996 (elmo-shimbun-folder): Added new slot `range'.
6997 (elmo-folder-initialize): Setup slot `range'.
6999 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
7001 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
7002 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
7003 (elmo-shimbun-get-headers): Use return value of
7004 `shimbun-article-expiration-days'.
7005 (elmo-folder-close-internal): Clean up last-check slot.
7007 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
7008 (elmo-pop3-total-size): New variable.
7009 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
7011 * elmo.el (elmo-folder-reserve-status-p): New method.
7013 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
7014 (elmo-shimbun-use-entire-index): New user option.
7015 (shimbun-elmo-mua): New class.
7016 (shimbun-mua-search-id): Define.
7017 (shimbun-mua-use-entire-index): Ditto.
7018 (elmo-shimbun-folder:last-check): New slot.
7019 (elmo-shimbun-headers-cache-header-list): Abolish.
7020 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7021 (elmo-shimbun-headers-cache-header-hash): Ditto.
7022 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7023 (elmo-shimbun-headers-cache-last-check): Ditto.
7024 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7025 (elmo-shimbun-headers-check-p): Rewrite.
7026 (elmo-shimbun-msgdb-to-headers): New function.
7027 (elmo-shimbun-get-headers): Rewrite.
7028 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
7029 (elmo-folder-open-internal): Get headers only if
7030 `elmo-shimbun-headers-check-p' is non-nil.
7031 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
7033 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
7034 (elmo-quit): Removed.
7036 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
7038 (elmo-msgdb-overview-entity-set-extra): Ditto.
7039 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
7041 * elmo-map.el (elmo-folder-status): Don't call
7042 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
7045 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7047 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
7048 of `elmo-msgdb-search-internal-primitive' when condition's car is
7051 2001-05-23 Kenichi OKADA <okada@opaopa.org>
7053 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
7055 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7057 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
7058 call `elmo-pipe-drain'.
7060 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7062 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
7063 typo. (elmo-cache-folder -> elmo-mark-folder)
7065 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7067 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7068 `elmo-message-fetch'.
7070 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7072 * elmo-net.el (elmo-message-encache): Fixed typo.
7073 (elmo-message-fetch-unplugged): Changed call
7074 `elmo-message-fetch-internal' without argument `outbuf'.
7076 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
7078 * elmo.el (elmo-message-encache): Define as generic function.
7079 (elmo-message-fetch-field): New generic function.
7080 (elmo-message-fetch-with-cache-process): Cause an error when
7081 fetch strategy is 'entire but only 'section cache is available.
7082 (toplevel): Fixed nmz folder definition.
7084 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7085 (elmo-msgdb-resume-list-filename): Ditto.
7086 (elmo-queue-filename): Ditto.
7087 (elmo-enable-disconnected-operation): Changed default value to t.
7089 * elmo-util.el (elmo-cache-path-section-p): New function.
7090 (elmo-file-cache-get): Use it.
7091 (elmo-dop-queue-filename): Moved from elmo-dop.el.
7092 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7093 (elmo-dop-queue-save): Ditto.
7095 * elmo-net.el (elmo-folder-status-unplugged): Call
7096 elmo-folder-status-dop.
7097 (elmo-folder-list-messages-unplugged): Implemented.
7098 (elmo-folder-delete-messages-unplugged): Define.
7099 (elmo-folder-msgdb-create): Define.
7100 (elmo-folder-msgdb-create-unplugged): Define.
7101 (elmo-folder-mark-as-read-unplugged): Ditto.
7102 (elmo-folder-unmark-read-unplugged): Ditto.
7103 (elmo-folder-mark-as-important-unplugged): Ditto.
7104 (elmo-folder-unmark-important-unplugged): Ditto.
7105 (elmo-message-encache): Ditto.
7107 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7108 (elmo-dop-queue-save): Ditto.
7110 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7111 `elmo-folder-msgdb-create'.
7112 (elmo-folder-append-buffer): Implemented unplugged operation.
7113 (elmo-folder-append-messages): Call parent method in unplugged status.
7114 (elmo-message-fetch-unplugged): Removed definition.
7115 (elmo-message-fetch-field): Implemented.
7117 * elmo-dop.el (toplevel): Require 'elmo-localdir.
7118 (elmo-dop-folder): Removed variable definition.
7119 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7120 (elmo-dop-queue-flush): Implemented.
7121 (elmo-dop-queue-merge): Removed definition (TODO).
7122 (elmo-dop-spool-folder): New function.
7123 (elmo-dop-spool-folder-append-buffer): Ditto.
7124 (elmo-dop-spool-folder-list-messages): Ditto.
7125 (elmo-dop-list-deleting-messages): Ditto.
7126 (elmo-folder-append-buffer-dop): Ditto.
7127 (elmo-folder-delete-messages-dop): Ditto.
7128 (elmo-message-encache-dop): New inline function.
7129 (elmo-create-folder-dop): Ditto.
7130 (elmo-folder-mark-as-read-dop): Ditto.
7131 (elmo-folder-unmark-read-dop): Ditto.
7132 (elmo-folder-mark-as-important-dop): Ditto.
7133 (elmo-folder-unmark-important-dop): Ditto.
7134 (elmo-folder-status-dop): Fixed.
7135 (elmo-folder-append-buffer-dop-delayed): New function.
7136 (elmo-folder-delete-messages-dop-delayed): Ditto.
7137 (elmo-dop-msgdb): Ditto.
7139 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7141 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7143 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7145 * elmo.el (elmo-folder-move-messages): Fixed problem when
7146 `dst-folder' is 'null.
7148 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7150 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7151 instead of current mark.
7153 * elmo-multi.el (elmo-folder-list-importants-internal): No
7154 operation if importants is not list.
7156 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7157 Return t if importants is not list.
7159 * elmo-map.el (elmo-map-folder-list-importants): Define.
7160 (elmo-folder-list-importants-internal): Check return value of
7161 `elmo-map-folder-list-importants-internal'.
7163 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7165 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7167 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7169 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7171 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
7173 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7174 (Patch is provided by <kita@coe.nttdata.co.jp>).
7176 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7178 * elmo.el (elmo-folder-synchronize): Don't check important mark in
7181 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7183 * elmo.el (elmo-message-fetch): Define.
7184 (elmo-message-fetch-with-cache-process): New generic method.
7185 (elmo-message-fetch-internal): New generic method.
7186 (elmo-folder-synchronize):
7188 * elmo-archive.el (elmo-message-fetch-internal): Define.
7189 (elmo-message-fetch): Eliminated.
7191 * elmo-localdir.el (elmo-message-fetch-internal): Define.
7192 (elmo-message-fetch): Eliminated.
7194 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7196 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7198 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7199 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7201 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7202 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7204 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7206 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7208 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7210 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7211 (elmo-message-fetch-unplugged): New generic method.
7212 (elmo-message-fetch-internal): Remove cache process (Renamed from
7213 `elmo-message-fetch').
7215 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7216 (elmo-message-fetch): Eliminated.
7217 (elmo-message-fetch-unplugged): Ditto.
7219 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7221 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7223 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7224 of `to-be-deleted' from number-alist to number-list.
7226 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7228 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7229 (elmo-folder-mark-as-important): Ditto.
7231 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
7233 * elmo.el (elmo-folder): Added process-duplicates slot.
7235 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7236 (elmo-folder-unmark-read): Ditto.
7237 (elmo-folder-unmark-important): Ditto.
7238 (elmo-folder-mark-as-important): Ditto.
7240 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7241 duplicated message processing.
7243 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7245 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7247 * elmo-util.el (elmo-list-subdirectories-1): New function.
7248 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7249 (elmo-mapcar-list-of-list): New function.
7251 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7252 `elmo-mapcar-list-of-list' instead of `mapcar'.
7254 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7256 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7257 `elmo-have-link-count'. Return the fully qualified folder name.
7259 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
7261 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7262 (elmo-shimbun-headers-cache): New internal variable.
7263 (elmo-shimbun-headers-cache-header-list): New inline function.
7264 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7265 (elmo-shimbun-headers-cache-header-hash): Ditto.
7266 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7267 (elmo-shimbun-headers-cache-last-check): Ditto.
7268 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7269 (elmo-shimbun-lapse-seconds): Ditto.
7270 (elmo-shimbun-headers-cache-check-p): Ditto.
7271 (elmo-shimbun-get-headers): New function.
7272 (elmo-folder-open-internal): Call it.
7273 (elmo-quit): Define (Clear headers-cache).
7275 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
7277 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7279 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7280 (elmo-msgdb-flist-save): Ditto.
7282 * elmo-shimbun.el (elmo-folder-list-subfolders):
7283 Use `shimbun-groups' instead of `shimbun-groups-internal'.
7284 (elmo-folder-exists-p): Ditto.
7286 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7287 argument for `shimbun-header-insert'.
7289 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
7291 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7294 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7295 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7297 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
7299 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7300 (elmo-folder-plugged-p): Define.
7301 (elmo-folder-set-plugged): Ditto.
7302 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7303 (elmo-folder-list-messages-internal): Return t if unplugged.
7304 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7306 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7307 when elmo-folder-list-messages-internal method of children returns t.
7309 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7311 (elmo-folder-open-internal): Don't update if unplugged status.
7313 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
7315 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7318 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
7320 * elmo-util.el (elmo-file-cache-save): Ignore errors.
7322 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7325 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
7327 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7329 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7330 (elmo-folder-open-internal): Set up headers slot.
7331 (elmo-folder-check): Call elmo-folder-close-internal and
7332 elmo-folder-open-internal.
7333 (elmo-folder-close-internal): Clean up headers slot.
7335 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7337 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7338 exactly folder list.
7339 (elmo-folder-append-messages): Fixed append archive with prefix.
7341 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7342 make temp files with start-number.
7344 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7346 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7348 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7349 argument `visible-only'.
7350 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7353 * elmo-pop3.el (elmo-folder-open-internal): Check
7354 `elmo-inhibit-number-mapping' is non-nil.
7356 * elmo-pipe.el (elmo-folder-status): Fixed.
7358 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7360 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7362 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7363 (elmo-folder-open-internal): Setup `header-hash' slot.
7364 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7366 (elmo-map-message-fetch): Ditto.
7368 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7370 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7371 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7372 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7373 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7375 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7377 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7379 * sb-airs.el: Added footer.
7381 * shimbun.el (shimbun-article): Define as luna-method.
7383 * sb-tcup.el: New file.
7385 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7386 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7388 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7390 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7391 (shimbun-get-headers): Ditto.
7393 * elmo.el: Moved obsolete variable definitions from
7394 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7396 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7399 * shimbun.el: New file.
7401 * elmo-shimbun.el: New file.
7403 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7404 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7405 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7406 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7408 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7410 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7413 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7415 * elmo.el (elmo-folder-msgdb): Define as macro.
7416 (elmo-folder-open): Added argument `load-msgdb'.
7417 (elmo-generic-folder-open): Ditto.
7418 (elmo-folder-encache): New function.
7420 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7422 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7424 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7425 Eliminated argument FOLDER and added argument MSGDB.
7426 (elmo-dop-queue-load): Moved from elmo-dop.el.
7427 (elmo-dop-queue-save): Ditto.
7429 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7431 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7433 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7434 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7435 (elmo-filter-folder-list-importants-internal): Ditto.
7437 * elmo-map.el (elmo-folder-pack-number): Ditto.
7439 * elmo-mime.el (elmo-mime-message-display): Ditto.
7441 * elmo.el (elmo-generic-folder-commit): Ditto.
7442 (elmo-folder-list-unreads): Ditto.
7443 (elmo-folder-list-importants): Ditto.
7444 (elmo-generic-folder-commit): Ditto.
7445 (elmo-message-set-mark): Ditto.
7446 (elmo-generic-folder-append-msgdb): Ditto.
7447 (elmo-folder-synchronize): Ditto.
7448 (elmo-folder-messages): Ditto.
7449 (elmo-init): Call elmo-dop-queue-load.
7450 (elmo-folder-list-messages): Ditto.
7452 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7453 (elmo-nntp-folder-process-crosspost): Ditto.
7454 (elmo-folder-list-unreads-internal): Ditto.
7456 * elmo-dop.el: Removed old functions.
7458 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7460 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7461 `folder' to `msgdb'.
7463 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7465 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7466 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7468 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7471 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7473 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7476 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7477 (mmimap-parse-parameters-from-list): Define as alias for
7478 `mime-decode-parameter-plist' if it is defined as function.
7479 (mmimap-make-mime-entity): Added argument `number'.
7480 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7482 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7484 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7486 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7488 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7490 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7492 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7494 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7495 when elmo-imap4-default-authenticate-type is nil.
7496 (elmo-folder-list-subfolders): Ditto
7497 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7498 (elmo-imap4-fetch-callback-1-subr): Renamed from
7499 `elmo-imap4-fetch-callback-1' and define as inline function.
7500 (elmo-imap4-fetch-callback-1):
7501 Renamed from `elmo-imap4-fetch-callback'.
7502 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7504 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7505 msgdb path (To keep compatibility with main trunk).
7507 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7509 * elmo-util.el (elmo-make-file-cache): Moved position of
7512 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7513 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7514 instead of `elmo-pop3-inhibit-uidl'.
7515 (elmo-folder-exists-p): Ditto.
7516 (elmo-pop3-folder-list-messages): Ditto.
7518 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7519 instead of `elmo-pop3-inhibit-uidl'.
7520 (elmo-folder-status): Ditto.
7522 * elmo-dop.el (elmo-dop-folder): New variable.
7523 (elmo-dop-lock-message): Eliminated.
7524 (elmo-dop-unlock-message): Ditto.
7525 (elmo-dop-lock-list-load): Ditto.
7526 (elmo-dop-lock-list-save): Ditto.
7527 (elmo-dop-delete-folder): Ditto.
7528 (elmo-dop-rename-folder): Ditto.
7530 * elmo.el: Removed incomplete commentary.
7532 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7534 * elmo.el (toplevel): Require 'elmo-version first;
7535 for little `recursive-load-depth' settings.
7536 Fix "ends here" comment.
7538 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7540 * elmo-util.el (toplevel): Require 'poem;
7541 Some functions are moved from elmo-cache.el.
7543 * elmo-net.el (toplevel): Require 'elmo-cache.
7545 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7547 * elmo.el (toplevel): Ditto.
7549 * elmo-cache.el: Rewrite with luna;
7550 Some functions are moved to elmo-util.el.
7552 * elmo-internal.el (elmo-internal-folder-list): New variable.
7553 (elmo-internal-folder-initialize): Rewrite.
7554 (elmo-folder-list-subfolders): Ditto.
7556 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7557 (elmo-cache-collect-sub-directories): Ditto.
7559 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7561 * elmo-version.el (elmo-version): Up to 2.5.8.
7563 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7565 * elmo-util.el (elmo-list-insert): New function.
7567 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7569 * elmo.el (elmo-init): New function.
7570 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7572 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7573 (Renamed from `elmo-localdir-header-chop-length').
7575 * elmo-pop3.el (elmo-pop3-use-cache,
7576 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7578 * elmo-nntp.el (elmo-message-fetch): Define.
7579 (elmo-message-fetch-unplugged): Ditto.
7580 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7581 (elmo-nntp-use-cache): Ditto.
7582 (elmo-nntp-max-number-precedes-list-active): Ditto.
7584 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7586 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7587 `elmo-msgdb-insert-file-header'.
7588 Use `elmo-msgdb-file-header-chop-length'.
7590 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7593 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7594 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7595 `elmo-msgdb-insert-file-header'.
7597 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7599 Define obsolete variables with `elmo-define-obsolete-variable',
7601 * elmo-util.el (elmo-warning-buffer-name): New constant.
7602 (elmo-warning): New function.
7603 (elmo-obsolete-variable-alist): New variable.
7604 (elmo-obsolete-variable-show-warnings): New variable.
7605 (elmo-define-obsolete-variable): New function.
7606 (elmo-resque-obsolete-variable): Ditto.
7607 (elmo-resque-obsolete-variables): Ditto.
7609 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7611 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7614 * elmo-pop3.el, elmo-nntp.el: Use custom.
7616 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7618 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7619 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7621 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7623 * Luna-fy Kenichi OKADA's following changes.
7624 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7626 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7628 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7630 * elmo-util.el (elmo-display-progress): Prefer
7631 `progress-feedback-with-label' to `lprogress-display'.
7633 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7635 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7637 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7639 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7640 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7641 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7642 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7643 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7644 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7645 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7646 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7647 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7648 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7649 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7650 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7651 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7653 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7655 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7656 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7658 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7660 * elmo.el (elmo-folder-process-crosspost): New generic method.
7661 (elmo-folder-writable-p): Ditto.
7662 (elmo-folder-message-appendable-p): Eliminated.
7663 (elmo-generic-folder-append-msgdb): Rewrite.
7664 (elmo-newsgroups-hashtb): New internal variable.
7665 (elmo-crosspost-message-set): Eliminated.
7666 (elmo-crosspost-message-delete): Ditto.
7667 (elmo-setup-subscribed-newsgroups): New function.
7668 (elmo-crosspost-message-alist-modified): New internal variable.
7669 (elmo-crosspost-message-alist-load): New function (Renamed from
7670 `wl-crosspost-alist-load').
7671 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7672 `wl-crosspost-alist-save').
7674 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7676 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7678 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7679 elmo-newsgroups-hashtb).
7680 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7681 `elmo-nntp-folder-update-crosspost-message-alist'.
7682 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7683 `elmo-nntp-groups-hashtb'.
7684 (elmo-nntp-make-groups-hashtb): Eliminated.
7685 (elmo-nntp-parse-newsgroups): New function (Renamed from
7686 `wl-parse-newsgroups').
7687 (elmo-folder-creatable-p, elmo-folder-writable-p,
7688 elmo-folder-close-internal, elmo-folder-mark-as-read,
7689 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7691 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7693 * elmo-net.el (elmo-message-fetch): Check buffer size.
7695 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7697 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7699 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7700 before `close' command.
7702 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7703 `mark-alist' (All other related portions are changed).
7705 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7707 * elmo-util.el (elmo-create-hash-size): Eliminated.
7708 (elmo-make-hash) Make a hash with `one less than a power of two'
7711 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7712 (elmo-hash-maximum-size): Changed value.
7714 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7716 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7717 (elmo-mime-message-display-as-is): Ditto.
7719 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7721 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7722 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7724 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7726 * elmo-mark.el: New file.
7728 * elmo-internal.el: Rewrite (Almost empty).
7730 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7732 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7733 (mime-imap-entity-header-string): Ditto.
7734 (mmimap-entity-section): Rewrite.
7736 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7738 * elmo-nmz.el: New file.
7740 * elmo-pipe.el: Rewrite with luna.
7742 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7744 * elmo-archive.el: Rewrite with luna.
7746 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7747 (elmo-folder-list-importants-internal): Ditto.
7749 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7751 * elmo-archive.el (elmo-archive-version): Abolish.
7752 (toplevel) Removed `boso' comment.
7754 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7756 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7757 elmo-msgdb-add-msgs-to-seen-list-subr;
7758 Changed argument seen-marks to unread-marks.
7760 * elmo-nntp.el: Rewrite with luna.
7762 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7764 * elmo-filter.el: Rewrite with luna.
7766 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7768 * elmo-pop3.el: Rewrite with luna.
7770 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7772 * elmo-multi.el: Rewrite with luna.
7774 * elmo-vars.el (elmo-use-killed-list): Abolish.
7775 All other related portions are changed.
7776 (elmo-filename-replace-string-alist): Renamed from
7777 elmo-msgid-replace-string-alist.
7779 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7781 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7783 * elmo-map.el: New file.
7784 * elmo-maildir.el: Rewrite with luna.
7786 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7788 * elmo.el: Changed meaning of `elmo-folder-commit'.
7789 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7791 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7793 * elmo.el (elmo-folder-append-buffer): New function.
7794 (Renamed from `elmo-append-msg')
7796 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7798 * elmo-mime.el: New file.
7800 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7802 * elmo-cache.el: Rewrite.
7804 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7806 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7808 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7810 * elmo-vars.el (elmo): New group.
7811 (elmo-strict-diff-folder-regexp): New variable.
7813 * elmo-util.el (elmo-call-func): Abolish.
7814 (elmo-folder-get-type): Ditto.
7815 (elmo-*-get-spec): Ditto.
7816 (elmo-*-spec-*): Ditto.
7817 (elmo-imap4-identical-name-space-p): Ditto.
7818 (elmo-folder-identical-system-p): Ditto.
7819 (elmo-folder-direct-copy-alist): Ditto.
7820 (elmo-folder-direct-copy-p): Ditto.
7822 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7823 (elmo-folder-initialize): Define.
7824 (elmo-folder-get-primitive-list): Ditto.
7826 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7827 (elmo-folder-initialize): Define.
7828 Renamed `elmo-network-session-host-internal' to
7829 `elmo-network-session-server-internal'.
7831 * elmo-multi.el (elmo-multi-folder): New luna class.
7832 (elmo-folder-initialize): Define.
7833 (elmo-folder-get-primitive-list): Ditto.
7834 (elmo-folder-contains-type): Ditto.
7835 (elmo-message-use-cache-p): Ditto.
7837 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7838 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7840 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7841 (elmo-folder-initialize): Define.
7843 * elmo-filter.el (elmo-filter-folder): New luna class.
7844 (elmo-folder-initialize): Define.
7845 (elmo-folder-get-primitive-list): Ditto.
7846 (elmo-folder-contains-type): Ditto.
7848 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7850 * elmo-imap4.el: Rewrite with luna.
7852 * mmimap.el: New file.
7854 * mmelmo.el, mmelmo-imap4.el: Removed.
7856 * elmo-net.el: Ditto.
7858 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7859 (elmo-folder-initialize): Define.
7861 * elmo-archive.el (elmo-archive-folder): New luna class.
7862 (elmo-folder-initialize): Define.
7864 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7865 `elmo-folder-msgdb-path'.
7866 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7869 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7871 * elmo.el: New file.
7873 * elmo2.el: Renamed to elmo.el.
7876 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7878 * elmo-cache.el (elmo-cache-expire-by-size): Count
7879 a disk usage for a cache file entry in KB even when
7880 its kind is a directory.
7882 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7884 * elmo-version.el (elmo-version): Up to 2.5.7.
7886 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7888 * elmo-version.el (elmo-version): Up to 2.5.6.
7890 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7892 * elmo-version.el (elmo-version): Up to 2.5.5.
7894 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7896 * elmo-imap4.el (elmo-network-authenticate-session):
7897 Fixed a logic for response checking.
7899 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7901 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7902 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7903 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7906 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7907 for `starttls-open-stream' and `starttls-negotiate'.
7909 * elmo-nntp.el: Remove autoload settings for
7910 `starttls-open-stream' and `starttls-negotiate'.
7912 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7913 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7914 `luna-define-class' with `eval-and-compile'.
7916 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7918 * elmo-util.el (elmo-read-search-condition-internal):
7919 Require an element of table for searching field.
7921 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7923 * elmo-version.el (elmo-version): Up to 2.5.4.
7925 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7927 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7929 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7931 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7933 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7935 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7938 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7940 * elmo-imap4.el (elmo-imap4-delete-folder):
7941 Send "close" before "delete" (Use commented out line).
7942 (elmo-imap4-rename-folder): Ditto.
7944 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7945 folder string itself.
7946 (elmo-dop-list-deleted): New function.
7947 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7950 * elmo-util.el (elmo-string-rassoc-all): New function.
7952 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7954 * elmo-version.el (elmo-version): Up to 2.5.3.
7956 * elmo-net.el (elmo-network-get-session): Changed logic for
7957 checking process status.
7959 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7961 Changed logic for checking process status.
7963 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7965 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7967 (elmo-network-setup-session): Set UIDL hash size according to
7968 the length of list response.
7969 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7970 according to the length of list response;
7971 Return the length of list response.
7972 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7974 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7976 * elmo-imap4.el (toplevel): Require 'ssl.
7977 Add autoload 'starttls.
7978 * elmo-pop3.el (toplevel): Ditto.
7979 * elmo-nntp.el (toplevel): Ditto.
7981 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7983 * elmo-imap4.el (toplevel): defun at compile time.
7984 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7985 sasl-next-step, sasl-step-data, sasl-step-set-data.
7986 * elmo-pop3.el (toplevel): Ditto.
7988 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7990 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7992 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7994 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7996 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7997 and `elmo-pop-auth-apop'.
7999 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8001 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8003 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8005 * elmo-pop3.el (elmo-network-authenticate-session): Split
8006 encoded response value.
8008 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8010 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8011 `elmo-pop3-force-login'.
8012 Redefine `sasl-mechanisms'.
8013 * elmo-vars.el (elmo-pop3-force-login): Ditto.
8015 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8017 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8018 Delete `elmo-imap4-authenticator-alist'.
8019 (elmo-imap4-auth-cram-md5): Delete.
8020 (elmo-imap4-auth-digest-md5): Delete.
8022 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8024 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8025 (elmo-pop3-auth-scram-md5): Ditto.
8026 (elmo-pop3-auth-cram-md5): Ditto.
8028 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8030 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8031 Delete `elmo-pop3-authenticator-alist'.
8033 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8035 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8037 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8039 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
8041 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
8043 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
8045 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8046 Fixed problem when `elmo-pop3-use-uidl' is nil.
8047 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
8049 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8051 * elmo-version.el (elmo-version): Up to 2.5.2.
8053 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
8055 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8057 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
8058 (elmo-pop3-msgdb-create-as-numlist): Use it.
8060 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
8061 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
8063 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8064 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8066 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8068 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8069 when elmo-mark-as-read is called with second argument nil.
8071 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
8073 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8074 Moved to elmo-util.el.
8076 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8077 Moved from elmo-pipe.el
8079 * elmo-archive.el (elmo-archive-call-process): Enclose with
8082 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8083 "RFC822" (because RFC822.PEEK is obsolete).
8084 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8086 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
8088 * elmo-archive.el (elmo-archive-call-process): Don't check for
8089 the exit status when Nemacs is running.
8091 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
8093 * elmo-net.el (elmo-network-session-password-key): Don't set default to
8096 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8097 (elmo-pop3-get-spec): Set default of auth to 'user.
8099 * elmo-imap4.el (elmo-imap4-session-check):
8100 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8101 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8102 (elmo-imap4-auth-login): New function; Revival.
8103 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8104 `elmo-imap4-auth-login'.
8106 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
8108 * elmo2.el (toplevel): Move `product-provide' declare.
8109 * mmelmo.el (toplevel): Ditto.
8111 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8113 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8115 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
8117 * elmo-util.el (elmo-folder-get-store-type): New function.
8118 (elmo-folder-direct-copy-p): Use it.
8120 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8122 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8123 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8124 and result of `elmo-imap4-use-flag-p'.
8125 (elmo-imap4-fetch-callback-1): Set mark according to
8126 the result of `elmo-imap4-use-flag-p'.
8128 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
8130 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8131 (elmo-generic-list-folder-unread): Ditto.
8132 (elmo-folder-get-info): Ditto.
8133 (elmo-folder-set-info-max-by-numdb): Ditto.
8134 (elmo-folder-get-info-max): Ditto.
8135 (elmo-folder-get-info-length): Ditto.
8136 (elmo-folder-get-info-unread): Ditto.
8137 (elmo-folder-info-make-hashtb): Ditto.
8139 * elmo2.el: Removed above functions.
8141 2000-11-21 Kenichi OKADA <okada@opaopa.org>
8143 * elmo-imap4.el (toplevel): Require 'ssl.
8144 Add autoload 'starttls.
8145 * elmo-pop3.el (toplevel): Ditto.
8146 * elmo-nntp.el (toplevel): Ditto.
8148 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8150 * elmo-imap4.el (toplevel): defun at compile time.
8151 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8152 sasl-next-step, sasl-step-data, sasl-step-set-data.
8153 * elmo-pop3.el (toplevel): Ditto.
8155 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8157 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8159 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8161 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8163 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8164 and `elmo-pop-auth-apop'.
8166 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8168 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8170 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8172 * elmo-pop3.el (elmo-network-authenticate-session): Split
8173 encoded response value.
8175 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8177 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8178 `elmo-pop3-force-login'.
8179 Redefine `sasl-mechanisms'.
8180 * elmo-vars.el (elmo-pop3-force-login): Ditto.
8182 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8184 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8185 Delete `elmo-imap4-authenticator-alist'.
8186 (elmo-imap4-auth-cram-md5): Delete.
8187 (elmo-imap4-auth-digest-md5): Delete.
8189 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8191 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8192 (elmo-pop3-auth-scram-md5): Ditto.
8193 (elmo-pop3-auth-cram-md5): Ditto.
8195 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8197 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8198 Delete `elmo-pop3-authenticator-alist'.
8200 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8202 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8204 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8207 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
8209 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8211 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
8213 * elmo-nntp.el (elmo-nntp-get-folders-info):
8214 Fixed problem when '\' character is contained in user-id.
8215 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8218 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
8220 * elmo-imap4.el (elmo-imap4-delete-folder):
8221 Send "close" before "delete" (Use commented out line).
8222 (elmo-imap4-rename-folder): Ditto.
8224 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8225 folder string itself.
8226 (elmo-dop-list-deleted): New function.
8227 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8230 * elmo-util.el (elmo-string-rassoc-all): New function.
8232 * elmo-version.el (elmo-version): Up to 2.5.1.
8234 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
8236 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8238 * elmo-internal.el (elmo-internal-search): Fix last change.
8240 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
8242 * elmo-internal.el (elmo-internal-search): Rewrite.
8243 (Fixed problem which is pointed out by Akihiro MOTOKI
8244 <motoki@da.jp.nec.com>)
8246 * elmo-version.el (elmo-version): Up to 2.5.0.
8248 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8250 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8252 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8254 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8255 non-nil, make hierarchy.
8257 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
8259 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8260 `elmo-pop3-use-uidl' must be bound to nil.
8261 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8263 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
8265 * elmo-util.el (elmo-copy-file): Don't cause an error after
8266 `add-name-to-file' failed.
8268 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8269 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8271 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
8273 * elmo-version.el (elmo-version): Up to 2.3.93.
8275 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
8277 * elmo-util.el (elmo-flatten): New function.
8279 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
8281 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8283 * elmo-cache.el (toplevel): Ditto.
8284 * elmo-database.el (toplevel): Ditto.
8285 * elmo-date.el (toplevel): Ditto.
8286 * elmo-dop.el (toplevel): Ditto.
8287 * elmo-filter.el (toplevel): Ditto.
8288 * elmo-imap4.el (toplevel): Ditto.
8289 * elmo-internal.el (toplevel): Ditto.
8290 * elmo-localdir.el (toplevel): Ditto.
8291 * elmo-localnews.el (toplevel): Ditto.
8292 * elmo-maildir.el (toplevel): Ditto.
8293 * elmo-msgdb.el (toplevel): Ditto.
8294 * elmo-multi.el (toplevel): Ditto.
8295 * elmo-net.el (toplevel): Ditto.
8296 * elmo-nntp.el (toplevel): Ditto.
8297 * elmo-pipe.el (toplevel): Ditto.
8298 * elmo-pop3.el (toplevel): Ditto.
8299 * elmo-util.el (toplevel): Ditto.
8300 * elmo-vars.el (toplevel): Ditto.
8301 * elmo2.el (toplevel): Ditto.
8302 * mmelmo-imap4.el (toplevel): Ditto.
8303 * mmelmo.el (toplevel): Ditto.
8305 * elmo-version.el (elmo-version): Move to top.
8307 * elmo-cache.el (toplevel): Fixed multiple Author header format.
8308 * elmo-imap4.el (toplevel): Ditto.
8309 * elmo-localdir.el (toplevel): Ditto.
8310 * elmo-msgdb.el (toplevel): Ditto.
8311 * elmo-nntp.el (toplevel): Ditto.
8312 * elmo-pop3.el (toplevel): Ditto.
8313 * elmo-version.el (toplevel): Ditto.
8315 * elmo-localnews.el (toplevel): Added Keyword header.
8317 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
8319 * elmo-version.el (product-version-as-string): Defined using
8323 * elmo-localdir.el (toplevel): Updated copyright notice.
8324 * elmo-version.el (toplevel): Ditto.
8325 * elmo-msgdb.el (toplevel): Ditto.
8326 * elmo-imap4.el (toplevel): Ditto.
8327 * elmo-nntp.el (toplevel): Ditto.
8328 * elmo-pop3.el (toplevel): Ditto.
8330 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
8332 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8335 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8336 parameter value (It sometimes contains raw kanji).
8338 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8340 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8341 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8343 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8345 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8347 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8349 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8350 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8352 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8354 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8355 value if selecting folder succceeded.
8356 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8358 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8360 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8363 * elmo-util.el (elmo-string-matched-member): New function.
8365 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8367 * elmo-util.el (elmo-unintern): New macro.
8368 (elmo-number-set-member): Fixed docstring.
8370 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8373 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8375 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8376 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8378 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8380 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8383 Return non-nil if selecting folder succeeded.
8384 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8386 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8388 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8389 `file-name-completion' returns t.
8390 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8391 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8392 directory if it does not exist.
8393 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8396 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8398 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8399 enclosure (It's harmful in unplugged status).
8401 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8403 * mmelmo-1.el: Removed.
8405 * mmelmo-2.el: Ditto.
8407 * mmelmo-imap4-1.el: Ditto.
8409 * mmelmo-imap4-2.el: Ditto.
8411 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8413 * mmelmo.el: Merged mmelmo-2.el.
8415 * elmo-version.el (elmo-version): Up to 2.3.92.
8417 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8419 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8420 elmo-update-number): Remove last period in "...done." message.
8421 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8423 * elmo-cache.el (elmo-cache-expire-by-size,
8424 elmo-cache-get-sorted-cache-file-list,
8425 elmo-cache-msgdb-create-as-numlist): Ditto.
8426 * elmo-dop.el (elmo-dop-save-pending-messages,
8427 (elmo-dop-flush-pending-append-operations): Ditto.
8428 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8429 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8430 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8431 (elmo-localdir-pack-number): Ditto.
8432 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8433 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8434 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8435 mime-write-entity-content): Ditto.
8436 * pldap.el (ldap-search-basic): Ditto.
8438 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8440 * elmo-version.el (elmo-version): Up to 2.3.91.
8442 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8443 Only when filter is 'last'.
8445 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8446 (elmo-condition-parse-search-value): Use it.
8447 (elmo-read-search-condition-internal): Quote value only when
8450 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8452 * elmo2.el (elmo-generic-folder-diff): Fix.
8454 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8456 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8457 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8458 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8459 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8460 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8461 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8463 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8465 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8468 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8470 * elmo-version.el (elmo-version): Up to 2.3.90.
8472 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8473 (elmo-imap4-list-folder-important): Ditto.
8475 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8477 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8479 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8481 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8483 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8485 * elmo-nntp.el (elmo-network-initialize-session):
8486 Add starttls negotiation.
8488 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8490 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8492 (elmo-network-setup-session): Define.
8493 Call `elmo-nntp-send-mode-reader' when session opened.
8495 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8497 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8499 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8501 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8502 an invalid SPACE character ahead of `SEARCH' command. Move
8503 a valid SPACE character following `SEARCH' from conditional
8504 `format' arguments to control-strings.
8506 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8508 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8511 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8513 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8515 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8516 `w32-get-true-file-link-count' as t.
8518 * elmo-imap4.el (elmo-imap4-read): Abolished.
8519 (Renamed to `elmo-read' and moved to elmo-util.el)
8520 All other related portions are changed.
8522 * elmo-util.el (elmo-read): New function.
8523 (elmo-condition-parse-search-value): Use it.
8525 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8527 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8529 * elmo-nntp.el (elmo-nntp-session): Define.
8530 (elmo-nntp-setting): Abolished.
8531 All other related portions are changed.
8532 (elmo-nntp-get-server-command): Changed argument.
8533 (elmo-nntp-set-server-command): Ditto.
8534 (elmo-nntp-xover-p): Ditto.
8535 (elmo-nntp-set-xover): Ditto.
8536 (elmo-nntp-listgroup-p): Ditto.
8537 (elmo-nntp-set-listgroup): Ditto.
8538 (elmo-nntp-list-active-p): Ditto.
8539 (elmo-nntp-set-list-active): Ditto.
8540 (elmo-nntp-xhdr-p): Ditto.
8541 (elmo-nntp-set-xhdr): Ditto.
8542 (elmo-nntp-flush-connection): Abolished.
8543 (elmo-nntp-get-connection): Abolished.
8544 (elmo-nntp-get-session): New function.
8545 (elmo-network-initialize-session): Defined.
8546 (elmo-network-authenticate-session): Ditto.
8547 (elmo-nntp-send-mode-reader): Changed argument.
8548 (elmo-nntp-send-command): Changed argument.
8549 All other related portions are changed.
8550 (elmo-nntp-read-response): Ditto.
8551 (elmo-nntp-read-raw-response): Ditto.
8552 (elmo-nntp-read-contents): Ditto.
8553 (elmo-nntp-read-body): Ditto.
8554 (elmo-nntp-goto-folder): Abolished.
8555 (elmo-nntp-select-group): New function.
8556 All other related portions are changed.
8557 (This function substitutes `elmo-nntp-goto-folder')
8558 (elmo-nntp-msgdb-create-by-header): Rewrite.
8559 (elmo-nntp-get-overview): Eliminated.
8560 (elmo-nntp-get-message): Ditto.
8561 (elmo-nntp-open-connection) Abolished.
8562 (elmo-nntp-read-msg): Rewrite.
8563 (elmo-nntp-post): Ditto.
8564 (elmo-nntp-send-data): Abolished.
8565 (elmo-nntp-send-buffer): New function.
8566 (elmo-nntp-send-data-line): Define as inline function.
8567 (elmo-nntp-get-folders-info-prepare): Use session as key.
8568 (elmo-nntp-groups-read-response): Changed argument.
8569 (elmo-nntp-retrieve-headers): Ditto.
8570 (elmo-nntp-msgdb-create-message): Ditto.
8572 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8573 when searching by 'since' or 'before'.
8575 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8577 * elmo-version.el (toplevel): Use product-version-as-string for set
8578 verstion-string, if defined.
8580 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8582 * elmo-util.el: Doc fixes.
8584 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8586 * elmo-archive.el (toplevel): Use product-provide.
8587 * elmo-cache.el (toplevel): Ditto.
8588 * elmo-database.el (toplevel): Ditto.
8589 * elmo-date.el (toplevel): Ditto.
8590 * elmo-dop.el (toplevel): Ditto.
8591 * elmo-filter.el (toplevel): Ditto.
8592 * elmo-imap4.el (toplevel): Ditto.
8593 * elmo-internal.el (toplevel): Ditto.
8594 * elmo-localdir.el (toplevel): Ditto.
8595 * elmo-localnews.el (toplevel): Ditto.
8596 * elmo-maildir.el (toplevel): Ditto.
8597 * elmo-msgdb.el (toplevel): Ditto.
8598 * elmo-multi.el (toplevel): Ditto.
8599 * elmo-net.el (toplevel): Ditto.
8600 * elmo-nntp.el (toplevel): Ditto.
8601 * elmo-pipe.el (toplevel): Ditto.
8602 * elmo-pop3.el (toplevel): Ditto.
8603 * elmo-util.el (toplevel): Ditto.
8604 * elmo-vars.el (toplevel): Ditto.
8605 * elmo2.el (toplevel): Ditto.
8606 * mmelmo-1.el (toplevel): Ditto.
8607 * mmelmo-2.el (toplevel): Ditto.
8608 * mmelmo-imap4-1.el (toplevel): Ditto.
8609 * mmelmo-imap4-2.el (toplevel): Ditto.
8610 * mmelmo-imap4.el (toplevel): Ditto.
8611 * mmelmo.el (toplevel): Ditto.
8613 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8615 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8616 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8618 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8620 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8622 (elmo-multi-split-number-alist): Ditto.
8624 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8626 * elmo-version.el: New file. Use product.el.
8627 * elmo2.el: Add (require 'elmo-version).
8628 * elmo-vars.el (elmo-appname, elmo-version): Move to
8631 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8633 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8634 `elmo-msgdb-expand-path'.
8635 (elmo-msgdb-load): Ditto.
8636 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8637 (elmo-generic-list-folder-unread): Rewrite.
8638 (elmo-generic-list-folder-important): Changed argument.
8639 (elmo-list-folder-unread): Ditto.
8640 (elmo-list-folder-important): Ditto.
8641 (elmo-folder-diff): Rewrite.
8642 (elmo-generic-folder-diff): New function.
8643 (elmo-multi-get-number-alist-list): Abolished
8644 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8645 (elmo-multi-folder-diff): Moved to elmo-multi.el
8646 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8648 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8649 `elmo-msgdb-expand-path'.
8650 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8651 (elmo-pop3-read-msg): Ditto.
8652 (elmo-pop3-delete-msgs): Ditto.
8653 (elmo-pop3-folder-diff): New alias.
8655 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8656 `elmo-msgdb-expand-path'.
8657 (elmo-pipe-list-folder-unread): Changed arguments.
8658 (elmo-pipe-list-folder-important): Ditto.
8659 (elmo-pipe-folder-diff): New alias.
8661 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8662 `elmo-msgdb-expand-path'.
8663 (elmo-nntp-max-of-folder): Ditto.
8664 (elmo-nntp-msgdb-create): Ditto.
8665 (elmo-nntp-delete-msgs): Ditto.
8666 (elmo-nntp-folder-diff): New alias.
8668 * elmo-multi.el (elmo-multi-folder-diff): New function.
8669 (elmo-multi-split-mark-alist): Ditto.
8670 (elmo-multi-split-number-alist): Ditto.
8671 (elmo-multi-mark-alist-list): Abolished (Renamed to
8672 elmo-multi-split-mark-alist).
8673 (elmo-multi-list-folder-unread): Rewrite.
8674 (elmo-multi-list-folder-important): Ditto.
8675 (elmo-multi-list-folder): Set `spec' as 1st argument for
8676 `elmo-msgdb-expand-path'.
8677 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8678 instead of `elmo-multi-get-number-alist-list'.
8680 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8681 If 1st argument is not string, treat as spec.
8682 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8683 `elmo-msgdb-expand-path'.
8684 (elmo-msgdb-flist-load): Ditto.
8685 (elmo-msgdb-flist-save): Ditto.
8686 (elmo-msgdb-delete-path): Ditto.
8687 (elmo-msgdb-rename-path): Ditto.
8689 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8690 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8691 (elmo-maildir-delete-mark-msgs): Ditto.
8692 (elmo-maildir-msgdb-create): Ditto.
8693 (elmo-maildir-read-msg): Ditto.
8694 (elmo-maildir-delete-msgs): Ditto.
8695 (elmo-maildir-list-folder-subr): Ditto.
8696 (elmo-maildir-search): Ditto.
8697 (elmo-maildir-get-msg-filename): Ditto.
8698 (elmo-maildir-pack-number): Ditto.
8699 (elmo-maildir-folder-diff): New alias.
8701 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8703 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8704 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8705 (elmo-localdir-folder-diff): New alias.
8707 * elmo-internal.el (elmo-internal-list-folder-subr):
8708 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8709 (elmo-internal-list-folder-by-location): Ditto.
8710 (elmo-internal-msgdb-create): Ditto.
8711 (elmo-internal-delete-msgs): Ditto.
8712 (elmo-internal-read-msg): Ditto.
8713 (elmo-internal-folder-diff): New alias.
8715 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8716 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8717 `elmo-msgdb-expand-path'.
8718 (elmo-imap4-list-folder-unread): Changed arguments.
8719 (elmo-imap4-list-folder-important): Ditto.
8721 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8722 (elmo-filter-list-folder-important): Ditto.
8723 (elmo-filter-folder-diff): New function.
8725 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8727 * elmo-cache.el (elmo-cache-list-folder):
8728 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8729 (elmo-cache-copy-msgs): Ditto.
8730 (elmo-cache-folder-diff): New alias.
8732 * elmo-archive.el (elmo-archive-list-folder-subr):
8733 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8734 (elmo-archive-get-archive-name): Ditto.
8735 (elmo-archive-create-file): Ditto.
8736 (elmo-archive-append-msg): Ditto.
8737 (elmo-archive-copy-msgs): Ditto.
8738 (elmo-archive-copy-msgs-froms): Ditto.
8739 (elmo-archive-get-msg-filename): Ditto.
8740 (elmo-archive-folder-diff): New alias.
8742 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8744 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8745 (elmo-pop3-stream-type-alist): New variable.
8746 (elmo-nntp-stream-type-alist): New variable.
8748 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8749 (elmo-kill-buffer): Ditto.
8750 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8751 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8752 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8753 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8754 (elmo-imap4-get-spec): Take into account
8755 `elmo-imap4-stream-type-alist'.
8757 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8759 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8760 (elmo-nntp-list-folders-get-cache): Ditto.
8762 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8764 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8765 character before 'uid'.
8767 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8769 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8771 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8773 * elmo-util.el (elmo-number-set-member): New function.
8774 (elmo-number-set-append-list): Ditto.
8775 (elmo-number-set-append): Ditto.
8777 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8778 Use `elmo-number-set-member'.
8779 (elmo-living-messages): Ditto.
8780 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8781 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8783 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8784 (elmo-imap4-add-to-cont-list): Abolished.
8785 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8786 instead of elmo-imap4-add-to-cont-list.
8788 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8789 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8791 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8793 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8795 * elmo-util.el (elmo-condition-parse-search-value):
8798 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8800 * elmo-util.el (elmo-condition-find-key-internal): New function.
8801 (elmo-condition-find-key): Ditto.
8803 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8804 (elmo-msgdb-search-internal): Ditto.
8805 (elmo-msgdb-search): Ditto.
8807 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8809 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8810 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8812 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8813 (elmo-nntp-search-primitive): Fixed problem when condition is
8816 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8818 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8819 (elmo-nntp-xhdr-p): New macro.
8820 (elmo-nntp-set-xhdr): Ditto.
8821 (elmo-nntp-parse-xhdr-response): New function.
8822 (elmo-nntp-retrieve-field): Ditto.
8823 (elmo-nntp-search-primitive): Ditto.
8824 (elmo-nntp-search): Implemented.
8826 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8828 * elmo-archive.el (elmo-archive-search): Set all number list to
8829 `elmo-archive-field-condition-match'
8831 * elmo-localdir.el (elmo-localdir-search): Likewise.
8833 * elmo-maildir.el (elmo-maildir-search): Likewise.
8835 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8837 * elmo-msgdb.el (elmo-living-messages): New function.
8838 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8839 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8840 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8841 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8842 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8843 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8844 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8845 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8846 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8847 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8848 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8850 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8852 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8854 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8856 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8858 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8859 arguments for `SEARCH' command.
8860 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8861 All other related portions are changed.
8863 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8865 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8866 (elmo-list-folder-unread): Rewrite.
8867 (elmo-list-folder-important): Ditto.
8869 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8870 (elmo-condition-parse-error): New inline function.
8871 (elmo-read-search-condition): New function.
8872 (elmo-read-search-condition-internal): Ditto.
8873 (elmo-parse-search-condition): Rewrite.
8874 (elmo-condition-parse): New function.
8875 (elmo-condition-parse-or-expr): Ditto.
8876 (elmo-condition-parse-and-expr): Ditto.
8877 (elmo-condition-parse-primitive): Ditto.
8878 (elmo-condition-parse-search-value): Ditto.
8879 (elmo-buffer-field-primitive-condition-match): Ditto.
8880 (elmo-buffer-field-condition-match): Rewrite.
8881 (elmo-file-field-condition-match): Ditto.
8883 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8884 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8886 * elmo-internal.el (elmo-internal-search): Set `number' and
8887 `number-list' argument of `elmo-file-field-condition-match'.
8889 * elmo-maildir.el (elmo-maildir-search): Ditto.
8891 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8892 `msgdb' as argument instead of `mark-alist'.
8893 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8896 * elmo-multi.el: Likewise.
8898 * elmo-pipe.el: Likewise.
8900 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8901 (elmo-imap4-search-internal): Rewrite.
8902 (elmo-imap4-search): Ditto.
8904 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8905 (elmo-filter-list-folder-unread): Ditto.
8906 (elmo-filter-list-folder-important): Ditto.
8907 (elmo-filter-search): Rewrite.
8909 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8910 `number-list' argument of `elmo-file-field-condition-match'.
8911 (elmo-cache-search): Ditto.
8913 * elmo-localdir.el: Likewise.
8915 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8916 number-list and pass it to `elmo-buffer-field-condition-match'.
8917 (elmo-archive-field-condition-match): Pass `number-list' to
8918 `elmo-archive-field-condition-match'
8920 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8922 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8925 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8926 (elmo-folder-diff-async-callback-data): Ditto.
8927 (elmo-folder-diff-async): New function.
8929 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8930 (elmo-network-session-cache-key): Use it as a prefix of the session
8932 (elmo-network-open-session): Ditto.
8934 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8935 (elmo-imap4-status-callback-data): Ditto.
8936 (elmo-imap4-server-diff-async-callback): New variable.
8937 (elmo-imap4-server-diff-async-callback-data): Ditto.
8938 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8939 `elmo-imap4-status-callback-data'.
8940 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8941 `elmo-imap4-status-callback-data' as nil.
8942 (elmo-imap4-server-diff): Ditto.
8943 (elmo-imap4-server-diff-async-callback-1): New function.
8944 (elmo-imap4-server-diff-async): Ditto.
8945 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8947 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8949 * elmo-util.el (elmo-list-delete): Doc fix.
8950 (elmo-delete-lists): Abolish.
8951 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8952 instead of `elmo-delete-lists'.
8954 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8956 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8959 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8961 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8962 `elmo-imap4-literal-subr'.
8963 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8964 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8966 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8968 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8969 (elmo-archive-list-folder): Fix.
8970 (elmo-archive-max-of-folder): Fix.
8972 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8974 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8975 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8976 (elmo-localdir-append-msg): Ditto.
8977 (elmo-localdir-list-folder): Fix for `nonsort'.
8978 (elmo-localdir-list-folder-subr): Fix for `killed'.
8979 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8980 (elmo-maildir-list-folder-subr): Ditto.
8981 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8982 (elmo-archive-list-folder-subr): Ditto.
8983 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8984 (elmo-internal-list-folder-subr): Ditto.
8986 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8988 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8990 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8992 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8994 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8996 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8997 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8999 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
9001 (elmo-imap4-read-part): Use "body.peek" to fetch part.
9002 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
9004 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
9006 * mmelmo-imap4-2.el (mime-entity-children): Defined.
9008 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
9009 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
9010 before STORE command.
9012 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
9014 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
9016 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
9017 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
9019 (elmo-imap4-list-folders): Removed unused local variable.
9020 (elmo-network-initialize-session): Ditto.
9021 (elmo-imap4-delete-msg-by-id): Ditto.
9022 (elmo-imap4-parse-fetch): Ditto.
9023 (elmo-imap4-copy-msgs): Ditto.
9024 Use `dst-spec' instead of `dst-folder'.
9025 (elmo-network-authenticate-session): Check authenticate type `plain'.
9027 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
9029 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
9031 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
9032 `elmo-imap4-response-value'.
9033 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
9035 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
9037 * elmo-imap4.el (elmo-imap4-send-command):
9038 Cause elmo-imap4-bye-error when current response is BYE.
9039 (elmo-imap4-arrival-filter): Changed greeting response value.
9041 * elmo2.el (elmo-imap4-bye-error): Define.
9043 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
9044 (elmo-imap4-server-diff): Ditto.
9045 (elmo-imap4-response-bye-p): New macro.
9046 (elmo-imap4-response-error-text): Get text from BYE response.
9047 (elmo-imap4-read-response): Return if BYE response.
9048 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
9049 (elmo-imap4-folder-exists-p): Ditto.
9050 (elmo-imap4-commit): Do nothing when different mailbox is selected.
9051 (elmo-imap4-parse-bye): New function.
9052 (elmo-imap4-parse-response): Remove needless let.
9053 Call `elmo-imap4-parse-bye'.
9055 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
9057 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
9058 the mailbox does not exist.
9059 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
9061 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
9063 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9065 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
9067 * elmo-vars.el (elmo-search-mime-charset): Abolished.
9069 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9070 (elmo-network-initialize-session-buffer): Defined.
9072 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9074 (mmelmo-imap4-get-mime-entity): Rewrite.
9076 * elmo2.el (elmo-error): Capitalize error message.
9078 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9079 (elmo-network-session-buffer): New macro.
9080 (elmo-network-open-session): Use it.
9082 * elmo-imap4.el: Rewrite.
9084 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9086 * elmo-nntp.el (Toplevel): Require 'elmo-net.
9088 2000-08-27 Daiki Ueno <ueno@unixuser.org>
9090 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9091 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9092 (elmo-imap4-create-msgdb-from-overview-string): Use
9093 `elmo-msgdb-create-overview-from-buffer'.
9095 2000-08-26 Daiki Ueno <ueno@unixuser.org>
9097 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9098 (elmo-imap4-default-hierarchy-delimiter): New variable.
9099 (elmo-imap4-list-folders): Use it.
9101 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
9103 * elmo-net.el (elmo-network-open-session): Add user and
9104 stream-type for process-buffer name.
9106 * elmo-pop3.el (elmo-network-initialize-session): Call
9107 buffer-disable-undo.
9109 * elmo-imap4.el (elmo-network-initialize-session):
9110 Set current-buffer as an argument for `buffer-disable-undo'.
9112 * elmo-pop3.el (elmo-network-close-session): Don't use
9115 * elmo-vars.el (elmo-default-pop3-authenticate-type):
9116 Set default as 'user.
9118 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9120 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9121 and `elmo-imap4-flush-connection'.
9123 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9124 (elmo-pop3-get-spec): Assume auth as symbol.
9125 (elmo-open-network-stream): Moved to `elmo-net'.
9127 * elmo-pop3.el (toplevel): Require 'elmo-net.
9128 Define `sasl-cram-md5' to silence byte compilier.
9129 (elmo-pop3-connection-cache) Abolished.
9130 (elmo-pop3-authenticator-alist) New variable.
9131 (elmo-pop3-session): Define.
9132 (elmo-pop3-connection-get-process): Abolished.
9133 (elmo-pop3-connection-get-buffer): Ditto.
9134 (elmo-pop3-close-connection): Ditto.
9135 (elmo-pop3-flush-connection): Ditto.
9136 (elmo-pop3-get-connection): Ditto.
9137 (elmo-pop3-get-session): New function.
9138 (Replacement for `elmo-pop3-get-connection').
9139 All other related modules are changed.
9140 (elmo-network-close-session): Define.
9141 (elmo-pop3-send-command): Abolished argument `buffer'.
9142 All other related modules are changed.
9143 (elmo-pop3-read-response): Likewise.
9144 (elmo-pop3-open-connection): Abolished.
9145 (elmo-pop3-auth-user): New function.
9146 (elmo-pop3-auth-apop): Ditto.
9147 (elmo-pop3-auth-cram-md5): Ditto.
9148 (elmo-pop3-auth-scram-md5): Ditto.
9149 (elmo-pop3-auth-digest-md5): Ditto.
9150 (elmo-network-initialize-session): Define.
9151 (elmo-network-authenticate-session): Ditto.
9152 (elmo-network-setup-session): Ditto.
9154 * elmo-imap4.el (toplevel): Require 'elmo-net.
9155 (elmo-imap4-session): Define.
9156 (elmo-imap4-connection-cache): Abolished.
9157 (elmo-imap4-password-key): Ditto.
9158 (elmo-imap4-flush-connection): Ditto.
9159 (elmo-imap4-get-connection): Ditto.
9160 All other related modules are changed.
9161 (elmo-imap4-get-session): New function
9162 (Replacement for `elmo-imap4-get-connection').
9163 (elmo-imap4-read-response): Abolished argument `buffer'.
9164 All other related modules are changed.
9165 (elmo-imap4-send-command): Likewise.
9166 (elmo-imap4-select-folder): Abolished.
9167 All other related modules are changed.
9168 (elmo-imap4-select-mailbox): New function.
9169 (Replacement for `elmo-imap4-select-folder').
9170 (elmo-imap4-auth-login): Simplify.
9171 (Assume current buffer as process buffer)
9172 (elmo-imap4-auth-cram-md5): Ditto.
9173 (elmo-imap4-auth-digest-md5): Ditto.
9174 (elmo-imap4-login): Ditto.
9175 (elmo-imap4-open-connection): Abolished.
9176 (elmo-imap4-open-connection-1): Abolished.
9177 (elmo-network-initialize-sessoin): Define.
9178 (elmo-network-authenticate-session): Ditto.
9179 (elmo-network-setup-session): Ditto.
9181 * elmo-net.el: New module.
9183 2000-08-22 Daiki Ueno <ueno@unixuser.org>
9185 * elmo-util.el (elmo-define-error): New function.
9187 * elmo2.el (elmo-error): Define.
9188 (elmo-open-error): Define.
9189 (elmo-authenticate-error): Define.
9191 * elmo-imap4.el (elmo-imap4-error): Abolish.
9192 (elmo-imap4-error-type): Abolish.
9193 (elmo-imap4-error-process): Abolish.
9194 (elmo-imap4-error-message): Abolish
9195 (elmo-imap4-list-folders): Don't quote lambda.
9196 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9197 (elmo-imap4-parse-namespace): Ditto.
9198 (elmo-imap4-open-connection): Rewrite.
9199 (elmo-imap4-open-connection-1): Simplified (authenticate only).
9200 (elmo-imap4-get-connection): Abolish local variable `result'.
9202 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
9204 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9205 wrong-type-argument error when auth is nil.
9207 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
9209 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9210 (elmo-default-nntp-stream-type): Ditto.
9211 (elmo-default-pop3-stream-type): Ditto.
9212 (elmo-network-stream-type-alist): Ditto.
9213 (elmo-default-imap4-ssl): Abolished.
9214 (elmo-default-nntp-ssl): Ditto.
9215 (elmo-default-pop3-ssl): Ditto.
9217 * elmo-util.el: (toplevel): Removed needless requires.
9218 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9219 (elmo-open-network-stream): Open network stream according to
9220 the value of `elmo-network-stream-type-alist'.
9221 (elmo-get-network-stream-type): New function.
9222 (elmo-network-stream-type-spec-string): New macro.
9223 (elmo-network-stream-type-symbol): Ditto.
9224 (elmo-network-stream-type-function): Ditto.
9226 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9227 network-stream-type. All other related portions are changed.
9228 (elmo-pop3-open-connection): Ditto.
9230 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9231 network-stream-type. All other related portions are changed.
9233 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9234 network-stream-type.All other related portions are changed.
9235 (elmo-imap4-error): New macro.
9236 (elmo-imap4-error-type): Ditto.
9237 (elmo-imap4-error-process): Ditto.
9238 (elmo-imap4-error-message): Ditto.
9239 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9240 (elmo-imap4-auth-cram-md5): Ditto.
9241 (elmo-imap4-auth-digest-md5): Ditto.
9242 (elmo-imap4-login): Ditto.
9243 (elmo-imap4-open-connection): Remove password entry if authentication
9245 (elmo-imap4-user-at-host): Abolished.
9246 (elmo-imap4-password-key): New buffer local variable.
9247 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9248 using protocol, port, auth and stream-type.
9250 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9252 2000-08-13 Daiki Ueno <ueno@unixuser.org>
9254 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9256 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9258 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9259 (elmo-imap4-authenticator-alist): New variable.
9260 (elmo-imap4-open-connection-1): Rename from
9261 elmo-imap4-open-connection.
9262 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9263 only wraps elmo-imap4-open-connection-1.
9264 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9266 (elmo-imap4-auth-login): New function.
9267 (elmo-imap4-auth-cram-md5): New function.
9268 (elmo-imap4-auth-digest-md5): New function.
9269 (elmo-imap4-login): New function.
9271 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9273 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9276 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9278 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9280 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
9282 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9284 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
9286 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9287 for server responses, quote `*' regardless of where it appears.
9289 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9291 * elmo-maildir.el (elmo-maildir-commit): New alias.
9293 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9295 * elmo-util.el (elmo-display-progress):
9296 Use `progress-feedback-with-label'.
9298 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
9300 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9301 (elmo-imap4-non-atom-char-regex): Ditto.
9302 (elmo-imap4-non-text-char-regex): Ditto.
9303 (elmo-imap4-literal-threshold): Ditto.
9304 (elmo-imap4-atom-p): New function.
9305 (elmo-imap4-quotable-p): Ditto.
9306 (elmo-imap4-nil): Ditto.
9307 (elmo-imap4-atom): Ditto.
9308 (elmo-imap4-quoted): Ditto.
9309 (elmo-imap4-literal-subr): Ditto.
9310 (elmo-imap4-literal): Ditto.
9311 (elmo-imap4-buffer-literal): Ditto.
9312 (elmo-imap4-string-subr): Ditto.
9313 (elmo-imap4-string): Ditto.
9314 (elmo-imap4-buffer-string): Ditto.
9315 (elmo-imap4-astring-subr): Ditto.
9316 (elmo-imap4-astring): Ditto.
9317 (elmo-imap4-buffer-astring): Ditto.
9318 (elmo-imap4-nstring): Ditto.
9319 (elmo-imap4-buffer-nstring): Ditto.
9320 (elmo-imap4-mailbox): New alias.
9321 (elmo-imap4-field-body): Ditto.
9322 (elmo-imap4-userid): Ditto.
9323 (elmo-imap4-password): Ditto.
9324 (elmo-imap4-format-quoted): New function.
9325 (elmo-imap4-send-command): Rewritten. Accept a list of command
9326 arguments and handle "atom", "quoted" and "literal" string here.
9327 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9328 `elmo-imap4-send-command'.
9329 (elmo-imap4-folder-exists-p): Likewise.
9330 (elmo-imap4-create-folder): Likewise.
9331 (elmo-imap4-delete-folder): Likewise.
9332 (elmo-imap4-rename-folder): Likewise.
9333 (elmo-imap4-max-of-folder): Likewise.
9334 (elmo-imap4-check-validity): Likewise.
9335 (elmo-imap4-sync-validity): Likewise.
9336 (elmo-imap4-server-diff): Likewise.
9337 (elmo-imap4-select-folder): Likewise.
9338 (elmo-imap4-copy-msgs): Likewise.
9339 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9340 (elmo-imap4-mark-set-on-msgs): Likewise.
9341 (elmo-imap4-read-part): Likewise.
9342 (elmo-imap4-read-msg): Likewise.
9343 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9344 `elmo-imap4-password' for `elmo-imap4-send-command'.
9345 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9346 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9347 `elmo-imap4-buffer-literal'.
9348 (elmo-imap4-append-msg): Likewise.
9350 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9351 `delete' for removing dead connection from the connection cache.
9352 Move deletion of the process buffer after that.
9353 (elmo-imap4-list): Change `defsubst' to `defun'.
9354 (elmo-imap4-commit): Make error message verbose.
9355 (elmo-imap4-search): Ditto.
9356 (elmo-imap4-list): Ditto.
9357 (elmo-imap4-select-folder): Ditto.
9358 (elmo-imap4-copy-msgs): Ditto.
9359 (elmo-imap4-delete-msg-by-id): Ditto.
9360 (elmo-imap4-append-msg-by-id): Ditto.
9361 (elmo-imap4-append-msg): Ditto.
9363 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9365 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9366 when dired is used on XEmacs.
9368 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9370 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9371 instead of `append'.
9372 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9373 `elmo-plugged-p' directly.
9374 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9375 of `elmo-plugged-p' directly.
9377 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9378 Eliminate unused variable. Use `memq' for checking a process status.
9379 Use `cons' instead of `append' for updating the connection cache.
9380 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9381 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9383 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9385 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9386 `elmo-imap4-read-point' exactly.
9388 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9389 the local variable `folder' to `mailbox'.
9390 Rename the argument `fld' to `folder'.
9392 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9394 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9395 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9397 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9399 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9400 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9401 (elmo-pop3-uidl-number-hash): Ditto.
9402 (elmo-pop3-size-hash): Ditto.
9403 (elmo-pop3-uidl-done): Ditto.
9404 (elmo-pop3-list-done): Ditto.
9405 (elmo-pop3-connection-get-process): New defmacro.
9406 (elmo-pop3-connection-get-buffer): Ditto.
9407 (elmo-pop3-close-connection): Delete buffer and process.
9408 (elmo-pop3-flush-connection): Don't delete buffer and process.
9409 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9410 Setup UIDL and size hash.
9411 (elmo-pop3-send-command-no-erase): Deleted
9412 (elmo-pop3-send-command): Added optional argument `no-erase'.
9413 (elmo-pop3-parse-uidl-response): New function.
9414 (elmo-pop3-parse-list-response): Set size hash.
9415 (elmo-pop3-list-location): New function.
9416 (elmo-pop3-list-by-uidl-subr): Ditto.
9417 (elmo-pop3-list-by-list): Ditto.
9418 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9419 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9420 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9421 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9422 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9424 (elmo-pop3-uidl-to-number): New function.
9425 (elmo-pop3-number-to-uidl): Ditto.
9426 (elmo-pop3-number-to-size): Ditto.
9427 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9428 Set number by use of uidl.
9429 (elmo-pop3-msgdb-create-message): Likewise.
9430 Set size, loc-alist in msgdb.
9431 (elmo-pop3-read-msg): Set number by use of uidl.
9432 Added optional argument `msgdb'.
9433 (elmo-pop3-delete-msg): Ditto.
9434 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9435 (elmo-pop3-commit): Close connection.
9437 * elmo-pipe.el (elmo-pipe-max-of-folder):
9438 Bind `elmo-pop3-use-uidl' as nil.
9439 (elmo-pipe-drain): Ditto.
9442 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9443 (elmo-msgdb-overview-entity-set-size): New defsubst.
9445 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9447 * elmo-vars.el (elmo-use-killed-list): New variable
9448 (Renamed from `elmo-nntp-use-killed-list').
9449 (elmo-nntp-use-killed-list): Eliminated.
9451 * elmo-msgdb.el (elmo-msgdb-expand-path):
9452 Changed expanding msgdb path for elmo-multi.
9454 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9455 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9456 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9457 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9458 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9459 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9460 (toplevel): Deleted time-stamp line.
9462 * elmo2.el (elmo-clear-killed ): Defined as function
9463 (Abolished defining as a backend function).
9464 All other related modules are changed.
9466 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9468 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9470 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9472 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9474 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9476 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9478 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9480 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9481 asynchronous folder check.
9483 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9485 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9486 `elmo-nntp-use-killed-list'.
9487 (elmo-nntp-list-folder): Use killed list.
9488 (elmo-nntp-max-of-folder): Ditto.
9489 (elmo-nntp-msgdb-create): Set killed list.
9491 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9493 * elmo2.el (elmo-clear-killed): New backend function.
9494 All other related modules are changed.
9496 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9498 * elmo-util.el (elmo-imap4-spec-folder): Use
9499 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9500 All callers changed.
9502 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9504 * mmelmo-2.el (initialize-instance):
9505 Use `mime-buffer-entity-buffer-internal' instead of
9506 `mime-entity-buffer'.
9508 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9509 (mime-entity-body): Implemented.
9510 (mime-goto-header-start-point): Deleted.
9511 (mime-goto-body-end-point): Ditto.
9512 (mime-entity-point-min): Ditto.
9513 (mime-entity-point-max): Ditto.
9514 (mime-entity-children): Ditto.
9515 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9516 instead of `mime-entity-buffer'.
9517 (mime-entity-header-buffer): Ditto.
9518 (mime-entity-body-buffer): Ditto.
9519 (mime-write-entity-content): Ditto.
9521 * pldap.el (ldap-static-if): New macro.
9522 (toplevel): Use it instead of `static-if'.
9524 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9526 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9527 included in `attrs' argument.
9529 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9531 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9533 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9534 (ldap-ldif-safe-init-char-regexp): Ditto.
9535 (ldap-ldif-safe-string-regexp): Ditto.
9536 (ldap/ldif-safe-string-p): New macro.
9537 (ldap/ldif-insert-field): Ditto.
9538 (ldap-modify): Use it.
9540 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9541 (ldap-decode-attribute): Decode only when `attr' is consp.
9542 (ldap-delete): Bind `ret'.
9543 (toplevel): Require 'cl at compile time.
9544 Removed (require 'poe) and (require 'std11).
9545 (pldap-version): Eliminated.
9546 (ldap-search-basic): Removed auth and dn binding.
9547 (ldap-ldif-field-name-regexp): New constant.
9548 (ldap-ldif-field-head-regexp): Ditto.
9549 (ldap-ldif-next-field-head-regexp): Ditto.
9550 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9551 (ldap/field-end): New function.
9552 (ldap/field-body): Use it.
9553 (ldap/collect-field): Ditto.
9554 (ldap-search-basic): Use `ldap/field-body'.
9556 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9558 * pldap.el (ldap-default-attribute-encoder): New user option.
9559 (ldap/field-body): Decode base64 string.
9560 (ldap/collect-field): Ditto.
9561 (ldap-encode-attribute): New function.
9562 (ldap-add-entries): Use it.
9563 (ldap-modify-entries): Ditto.
9564 (ldap-search-entries): Enclosed decoding function with
9565 `with-temp-buffer' and set as unibyte.
9566 (ldap-search-basic): Set process buffer as unibyte.
9568 * elmo-util.el (elmo-folder-identical-system-p):
9569 Eliminated name space checking.
9571 * pldap.el: New module.
9572 toplevel: Changed condition to detect built-in ldap feature.
9573 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9574 (ldap-add): Added error handling.
9575 (ldap-modify): Ditto.
9576 (ldap-delete): Ditto.
9578 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9580 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9581 Initialize local variables with `let'. Inline a temporary
9582 variable for the progress percentage. Sort `setq' to reduce
9583 function call in the while-loop.
9585 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9586 into the conditional branch.
9588 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9590 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9591 Move a conditional out of the while-loop.
9593 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9595 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9596 elmo-msgdb-overview-get-entity-by-number.
9597 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9600 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9602 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9603 the local variable for a packed number self descriptively.
9605 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9607 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9608 * elmo-localdir.el (elmo-localdir-pack-number): Use
9609 `elmo-msgdb-overview-get-entity' instead of
9610 `elmo-msgdb-overview-get-entity-by-number'.
9611 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9612 (elmo-msgdb-search-overview-entity): Removed.
9613 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9614 by message-id or number.
9615 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9616 instead of `elmo-msgdb-overview-get-entity-by-number'.
9618 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9620 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9621 non-nil, use hash table for overview.
9622 (elmo-hash-maximum-size): New variable.
9623 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9624 (elmo-msgdb-make-overview-hashtb): New function.
9625 (elmo-msgdb-clear-overview-hashtb): New function.
9626 (elmo-clear-hash-val): New macro.
9627 All other related modules are changed.
9629 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9631 * elmo2.el (elmo-move-msgs): If there's other message with
9632 same message-id, don't use cache.
9634 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9636 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9637 number is already packed.
9639 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9641 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9643 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9645 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9646 All other related modules are changed.
9648 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9650 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9651 of refiling failure on Maildir.
9653 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9655 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9656 decoded mime-charset with cache.
9657 (elmo-msgdb-overview-entity-get-from): Ditto.
9658 (elmo-msgdb-overview-entity-get-subject): Ditto.
9659 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9661 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9663 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9664 (elmo-remove-passwd): Fill password with 0 before erase.
9665 * elmo-vars.el (elmo-passwd-life-time): New variable.
9668 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9670 * elmo-cache.el (elmo-buffer-cache-add):
9671 Set message cache buffer as unibyte.
9673 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9675 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9678 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9680 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9681 when display is finished.
9682 (elmo-nntp-msgdb-create): Ditto.
9683 (elmo-nntp-groups-read-response): Ditto.
9684 (elmo-nntp-retrieve-headers): Ditto.
9685 (elmo-nntp-msgdb-create-message): Ditto.
9686 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9687 (elmo-pop3-msgdb-create-message): Ditto.
9689 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9691 * elmo-maildir.el (elmo-maildir-msgdb-create):
9692 Use `elmo-msgdb-sort-by-date'.
9694 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9696 * elmo2.el (elmo-read-msg-no-cache):
9697 Eliminated arguments after `outbuf'.
9698 Don't use cache even if it exists.
9699 (elmo-read-msg): Don't pass arguments after `outbuf' to
9700 `elmo-read-msg-no-cache'.
9702 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9704 * elmo-archive.el (elmo-archive-list-folders):
9705 Use `file-name-directory' if base folder does not exist.
9707 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9709 * elmo-archive.el (elmo-archive-list-folders): Don't use
9710 `file-name-directory'.
9712 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9714 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9715 If `force' is non-nil, try flushing all operation queues.
9717 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9719 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9722 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9724 * elmo-util.el (elmo-display-progress): Fixed.
9726 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9728 * elmo-util.el (elmo-display-progress): New function.
9729 All other related modules are changed.