elisp/wanderlust.git
13 years agoCorrectly get the number of the appended message
dmaus [Wed, 30 Nov 2011 10:07:12 +0000 (10:07 +0000)]
Correctly get the number of the appended message

* elmo-maildir.el (elmo-folder-append-buffer): Correctly get the
number of the appended message.

13 years agoMerged trunk to branch elmo-imap4-compliance
dmaus [Sun, 5 Jun 2011 12:08:41 +0000 (12:08 +0000)]
Merged trunk to branch elmo-imap4-compliance

13 years agoObtain number of appended draft message by `elmo-folder-append-buffer'
dmaus [Sun, 5 Jun 2011 09:06:10 +0000 (09:06 +0000)]
Obtain number of appended draft message by `elmo-folder-append-buffer'

* wl-draft.el (wl-draft-save): Obtain number of appended draft message
by `elmo-folder-append-buffer', handle case UID of appended message
could not be found.

13 years agoReturn uid of append message if requested
dmaus [Thu, 2 Jun 2011 11:46:59 +0000 (11:46 +0000)]
Return uid of append message if requested

* elmo-date.el (elmo-time-make-imap-date-string): New
function. Return IMAP4 compliant date string.

* elmo-imap4.el (elmo-folder-append-buffer): Return uid of append
message if requested.

13 years agoReturn number of appended message, implemented all except IMAP
dmaus [Sun, 29 May 2011 12:57:01 +0000 (12:57 +0000)]
Return number of appended message, implemented all except IMAP

* elmo-maildir.el (elmo-folder-append-buffer): Return number of
appended message.
* elmo-localdir.el (elmo-folder-append-buffer): Dto.
* elmo-archive.el (elmo-archive-folder-append-buffer): Dto.

13 years agoAdd optional fourth argument, return number of appended message if possible
dmaus [Sun, 29 May 2011 12:34:48 +0000 (12:34 +0000)]
Add optional fourth argument, return number of appended message if possible

* elmo.el (elmo-folder-append-buffer): Add optional fourth
  argument, return number of appended message if possible.
* elmo-pipe.el (elmo-folder-append-buffer): Dto.
* elmo-maildir.el (elmo-folder-append-buffer): Dto.
* elmo-flag.el (elmo-folder-append-buffer): Dto.
* elmo-localdir.el (elmo-folder-append-buffer): Dto.
* elmo-filter.el (elmo-folder-append-buffer): Dto.
* elmo-cache.el (elmo-folder-append-buffer): Dto.
* elmo-archive.el (elmo-folder-append-buffer)
(elmo-archive-folder-append-buffer): Dto.

14 years agoMerged trunk to elmo-imap4-compliance
dmaus [Sun, 5 Sep 2010 12:55:41 +0000 (12:55 +0000)]
Merged trunk to elmo-imap4-compliance

14 years ago* elmo-imap4.el (elmo-folder-delete-messages-plugged): Use smarter
dmaus [Tue, 31 Aug 2010 18:34:21 +0000 (18:34 +0000)]
* elmo-imap4.el (elmo-folder-delete-messages-plugged): Use smarter
mechanism to expunge messages.

If there are already messages in the mailbox with the \Deleted flag
set, use following algorithm to delete only our messages:

If `elmo-imap4-use-uid' is non-nil, and the server supports the
UIDPLUS extension, use the UID EXPUNGE command.  Otherwise temporarily
remove \Deleted flag, call EXPUNGE, and restore the flag.

If `elmo-imap4-use-uid' is nil, use old mechanism and prompt the user.

14 years agoelmo-imap4.el (elmo-imap4-session-deselect-mailbox): New function.
dmaus [Wed, 4 Aug 2010 16:33:35 +0000 (16:33 +0000)]
elmo-imap4.el (elmo-imap4-session-deselect-mailbox): New function.
Leave selected state without causing silent EXPUNGE.
(elmo-imap4-folder-status-plugged, elmo-folder-rename-internal): Use
function.

14 years ago* elmo-imap4.el (elmo-imap4-mailbox-size-update-maybe): Ignore
dmaus [Sun, 18 Jul 2010 18:02:11 +0000 (18:02 +0000)]
* elmo-imap4.el (elmo-imap4-mailbox-size-update-maybe): Ignore
EXPUNGE responses.
(elmo-imap4-mailbox-size-update-maybe): Use latest EXIST or RECENT
response value.

If the mailbox size changes due to EXPUNGE by another client the
server will inform us with a EXISTS or RECENT response.  If the
expunging didn't change the mailbox size the server might not do so.

If there are more than one EXISTS or RECENT response, use the latest.

14 years ago2010-07-02 David Maus <dmaus@ictsoc.de>
dmaus [Fri, 2 Jul 2010 19:14:34 +0000 (19:14 +0000)]
2010-07-02  David Maus  <dmaus@ictsoc.de>

    * elmo-imap4.el (elmo-folder-next-message-number-plugged): Close
    mailbox before calling STATUS if selected.  If
    `elmo-imap4-use-select-to-update-status' is non-nil, do the opposite.

14 years ago2010-07-02 David Maus <dmaus@ictsoc.de>
dmaus [Fri, 2 Jul 2010 19:00:32 +0000 (19:00 +0000)]
2010-07-02  David Maus  <dmaus@ictsoc.de>

* elmo-imap4.el (elmo-imap4-folder-status-plugged): Remove usage of kill file to
adjust message counter.

14 years ago2010-07-02 David Maus <dmaus@ictsoc.de>
dmaus [Fri, 2 Jul 2010 18:57:29 +0000 (18:57 +0000)]
2010-07-02  David Maus  <dmaus@ictsoc.de>

* elmo-imap4.el (elmo-server-diff-async): Remove.  Unused luna
method.
(elmo-imap4-folder-status-plugged): Close mailbox before calling
STATUS if it is selected.  If
`elmo-imap4-use-select-to-update-status' is non-nil, do the
opposite.

14 years ago* elmo-imap4.el (elmo-imap4-mailbox-selected-p): Fix typo.
dmaus [Tue, 18 May 2010 17:43:43 +0000 (17:43 +0000)]
* elmo-imap4.el (elmo-imap4-mailbox-selected-p): Fix typo.

14 years ago* elmo-imap4.el (elmo-imap4-mailbox-selected-p): New macro.
dmaus [Mon, 10 May 2010 06:43:42 +0000 (06:43 +0000)]
* elmo-imap4.el (elmo-imap4-mailbox-selected-p): New macro.
Return non-nil if mailbox is selected in session.
(elmo-imap4-session-select-mailbox): Use macro
`elmo-imap4-mailbox-selected-p'.
(elmo-folder-exists-p-plugged): Dto.
(elmo-folder-check-plugged): Dto.
(elmo-imap4-folder-diff-plugged): Dto.

14 years ago* elmo-imap4.el (elmo-imap4-mailbox-size-update-maybe): Use
dmaus [Wed, 5 May 2010 17:00:44 +0000 (17:00 +0000)]
* elmo-imap4.el (elmo-imap4-mailbox-size-update-maybe): Use
simpler method to count expunged messages.
(elmo-imap4-folder-diff-plugged): Use NOOP and SEARCH when called
for selected mailbox.

14 years agoRemove usage of kill file to adjust message counter.
dmaus [Sat, 17 Apr 2010 14:45:19 +0000 (14:45 +0000)]
Remove usage of kill file to adjust message counter.

The kill file contains cons' with ranges of UIDs that are considered
'killed', i.e. hidden from user's view.  But these ranges cannot be
used to adjust counter of total messages in a IMAP4 mailbox: A range
of (1 . 100) does not necessarily refer to 100 messages.  E.g. if
there are 100 messages in the mailbox with UID ranging from 1 to 100
and you delete the first message, the range (1 . 100) refers to 99
messages.

14 years ago* elmo-imap4.el (elmo-imap4-mailbox-size-update-maybe): Build list of
dmaus [Sat, 17 Apr 2010 12:36:14 +0000 (12:36 +0000)]
* elmo-imap4.el (elmo-imap4-mailbox-size-update-maybe): Build list of
  expunged messages only when response contains expunge.

14 years agoRecord mailbox size changes of selected IMAP4 mailbox. Required to
dmaus [Fri, 16 Apr 2010 17:59:00 +0000 (17:59 +0000)]
Record mailbox size changes of selected IMAP4 mailbox.  Required to
comply with RFC 3501, section 7.3 and 7.4.1.

Note: EXPUNGE response is recognized to decrement number of
messages in mailbox only.

14 years agoThis commit was manufactured by cvs2svn to create branch 'elmo- elmo-imap4-compliance-root
tomo [Thu, 15 Apr 2010 18:02:40 +0000 (18:02 +0000)]
This commit was manufactured by cvs2svn to create branch 'elmo-
imap4-compliance'.

14 years ago* elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
dmaus [Thu, 15 Apr 2010 18:02:39 +0000 (18:02 +0000)]
* elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
  imap user name.

14 years ago* elmo-imap4.el (elmo-imap4-disabled-extension): New
dmaus [Wed, 14 Apr 2010 10:51:11 +0000 (10:51 +0000)]
* elmo-imap4.el (elmo-imap4-disabled-extension): New
variable. List of server extensions that are disabled on the
client side.
(elmo-imap4-session-capable-p): Honour list of disabled
extensions.

Let user disable server extensions on the client side.  Provides way
to work around problematic or bugged server implementations
(e.g. problems with MS Exchange 2007 and ESEARCH capability).

14 years ago* elmo-imap4.el (elmo-imap4-folder-list-flagged)
dmaus [Wed, 17 Mar 2010 19:46:22 +0000 (19:46 +0000)]
* elmo-imap4.el (elmo-imap4-folder-list-flagged)
(elmo-imap4-search-internal-primitive): Pass filter type to imap
search when performing search for flagged messages.

14 years ago* elmo-imap4.el (elmo-imap4-folder-list-flagged)
dmaus [Wed, 17 Mar 2010 19:43:58 +0000 (19:43 +0000)]
* elmo-imap4.el (elmo-imap4-folder-list-flagged)
(elmo-imap4-search-internal-primitive): Pass filter type to
imap search when performing search for flagged messages.

Fixes debian bug #573726.

14 years ago(wl-user-agent-insert-body): Make sure body ends with newline.
yamaoka [Wed, 17 Mar 2010 00:26:35 +0000 (00:26 +0000)]
(wl-user-agent-insert-body): Make sure body ends with newline.
(wl-user-agent-compose, wl-user-agent-compose-internal): Fix regexps so as to
 match header tokens strictly.

14 years ago* etc/icons/unplugged.xpm: Change design. Use `unplugged' style instead of `prohibiti...
kaoru [Wed, 3 Mar 2010 06:51:00 +0000 (06:51 +0000)]
* etc/icons/unplugged.xpm: Change design. Use `unplugged' style instead of `prohibition sign' style.

14 years ago(wl-summary-test-spam): Call `wl-summary-unmark-spam' for the message not
okazaki [Tue, 16 Feb 2010 05:04:45 +0000 (05:04 +0000)]
(wl-summary-test-spam): Call `wl-summary-unmark-spam' for the message not
 classified as spam.
(wl-summary-test-spam-messages): New function.
(wl-summary-test-spam-region): Use `wl-summary-test-spam-messages' instead of
 `wl-spam-map-spam-messages'.

14 years agoDefine unmark functions for temporary marks.
okazaki [Mon, 8 Feb 2010 12:01:09 +0000 (12:01 +0000)]
Define unmark functions for temporary marks.

(wl-summary-action-unmark-docstring): New inline function.
(wl-summary-define-mark-action): Define unmark functions.
(wl-summary-unmark): Add the second argument `mark'.
(wl-summary-delete-all-mark): Pass `mark' to `wl-summary-unmark'.

14 years agoInhibit pgp autodecryption for draft preview
vitaly [Mon, 25 Jan 2010 10:04:47 +0000 (10:04 +0000)]
Inhibit pgp autodecryption for draft preview

14 years agoFix date in Changelog.
vitaly [Fri, 22 Jan 2010 15:43:04 +0000 (15:43 +0000)]
Fix date in Changelog.

14 years agoAsk IMAP server for capabilities after login.
vitaly [Fri, 22 Jan 2010 15:42:07 +0000 (15:42 +0000)]
Ask IMAP server for capabilities after login.

14 years agoRemove empty entity files from modb cache.
vitaly [Fri, 22 Jan 2010 15:13:52 +0000 (15:13 +0000)]
Remove empty entity files from modb cache.

14 years ago* test-utf7.el (test-utf7-encode-string-alpha): Fix indent.
kaoru [Fri, 22 Jan 2010 02:23:16 +0000 (02:23 +0000)]
* test-utf7.el (test-utf7-encode-string-alpha): Fix indent.

14 years ago* test-elmo-date.el (test-elmo-date-get-week): Add assert.
kaoru [Fri, 22 Jan 2010 02:19:24 +0000 (02:19 +0000)]
* test-elmo-date.el (test-elmo-date-get-week): Add assert.

14 years agoNew feature: toggle visibility of MIME buttons.
vitaly [Tue, 19 Jan 2010 13:39:31 +0000 (13:39 +0000)]
New feature: toggle visibility of MIME buttons.

14 years ago* elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
kaoru [Sun, 17 Jan 2010 13:31:50 +0000 (13:31 +0000)]
* elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
indent (only cosmetic fix).

14 years agoAdd ESEARCH feature entry to NEWS & NEWS.ja.
kaoru [Fri, 15 Jan 2010 22:58:19 +0000 (22:58 +0000)]
Add ESEARCH feature entry to NEWS & NEWS.ja.

14 years agoAdd `elmo-imap4-set-seen-flag-explicitly' entry to NEWS & NEWS.ja.
kaoru [Fri, 15 Jan 2010 22:47:56 +0000 (22:47 +0000)]
Add `elmo-imap4-set-seen-flag-explicitly' entry to NEWS & NEWS.ja.

14 years agoNew custom `elmo-imap4-set-seen-flag-explicitly' to override setting
vitaly [Fri, 15 Jan 2010 18:47:03 +0000 (18:47 +0000)]
New custom `elmo-imap4-set-seen-flag-explicitly' to override setting
of Seen flag for some buggy servers.

14 years agoReplace deprecated time-stamp-hh:mm:ss by format-time-string
vitaly [Fri, 15 Jan 2010 18:03:55 +0000 (18:03 +0000)]
Replace deprecated time-stamp-hh:mm:ss by format-time-string

14 years agoBump version to 2.15.9
vitaly [Fri, 15 Jan 2010 14:12:49 +0000 (14:12 +0000)]
Bump version to 2.15.9

14 years agoImplement partial UIDs update for IMAP
vitaly [Fri, 15 Jan 2010 14:11:06 +0000 (14:11 +0000)]
Implement partial UIDs update for IMAP

14 years agoBetter logging for imap4 proto
vitaly [Fri, 15 Jan 2010 13:25:46 +0000 (13:25 +0000)]
Better logging for imap4 proto

14 years agoAdded support for ESEARCH feature (RFC4731)
vitaly [Fri, 15 Jan 2010 13:14:49 +0000 (13:14 +0000)]
Added support for ESEARCH feature (RFC4731)

14 years ago* wl-score.el (wl-score-followup): Remove verbose comment (same as docstring).
kaoru [Wed, 6 Jan 2010 13:21:48 +0000 (13:21 +0000)]
* wl-score.el (wl-score-followup): Remove verbose comment (same as docstring).

14 years ago* wl-addrbook.el (wl-summary-addrbook-add): Use `with-current-buffer' instead of...
kaoru [Wed, 6 Jan 2010 11:16:26 +0000 (11:16 +0000)]
* wl-addrbook.el (wl-summary-addrbook-add): Use `with-current-buffer' instead of `save-excursion' & `set-buffer'.

14 years ago* wl-summary.el (wl-summary-update-persistent-mark-on-event):
kaoru [Wed, 6 Jan 2010 11:07:06 +0000 (11:07 +0000)]
* wl-summary.el (wl-summary-update-persistent-mark-on-event):
Revert `save-excursion' for `wl-summary-jump-to-msg'.

14 years agoUndo last commit.
kaoru [Wed, 6 Jan 2010 08:20:22 +0000 (08:20 +0000)]
Undo last commit.

14 years ago* elmo-util.el (elmo-set-work-buf): Revert `save-excursion' for robustness.
kaoru [Wed, 6 Jan 2010 07:27:37 +0000 (07:27 +0000)]
* elmo-util.el (elmo-set-work-buf): Revert `save-excursion' for robustness.

14 years agoFix last change (comment-style).
kaoru [Tue, 5 Jan 2010 09:35:43 +0000 (09:35 +0000)]
Fix last change (comment-style).

14 years ago* wl.el (wl-toggle-plugged, wl-plugged-dop-queue-info)
kaoru [Tue, 5 Jan 2010 09:27:58 +0000 (09:27 +0000)]
* wl.el (wl-toggle-plugged, wl-plugged-dop-queue-info)
(wl-plugged-exit, wl-exit): Fix comment-out style. Use three
semicolons, that should start at the left margin.
See. also (Info-goto-node "(elisp)Comment Tips").
* wl-acap.el (wl-acap-store): Ditto.
* wl-action.el (wl-summary-unset-mark): Ditto.
* wl-address.el (wl-address-ldap-search): Ditto.
* wl-demo.el (wl-demo-insert-image): Ditto.
* wl-dnd.el (wl-dnd-set-drag-starter): Ditto.
* wl-draft.el (wl-draft-normal-send-func, wl-draft-send)
(wl-draft-previous-history-element): Ditto.
* wl-e21.el (wl-draft-key-setup, wl-draft-overload-functions): Ditto.
* wl-folder.el (toplevel, wl-folder-mode-menu-spec)
(wl-folder-mode-map, wl-folder-get-prev-folder)
(wl-folder-jump-to-current-entity, wl-folder-check-entity)
(wl-folder-check-entity-async)
(wl-create-folder-entity-from-buffer): Ditto.
* wl-fldmgr.el (toplevel): Ditto.
* wl-message.el (wl-message-buffer-cache-sort)
(wl-message-redisplay, wl-message-buffer-prefetch-clear-timer):
Ditto.
* wl-mule.el (wl-draft-key-setup, wl-draft-overload-functions):
Ditto.
* wl-summary.el (toplevel, wl-summary-mode)
(wl-summary-edit-addresses, wl-summary-sync-update)
(wl-summary-stick): Ditto.
* wl-thread.el (toplevel, wl-thread-insert-message)
(wl-thread-insert-entity-sub, wl-thread-open-close): Ditto.
* wl-util.el (toplevel): Ditto.
* wl-xmas.el (wl-draft-key-setup, wl-draft-overload-functions):
Ditto.

14 years ago* acap.el (acap-parse-response): Fix comment-out style. Use three
kaoru [Tue, 5 Jan 2010 09:27:19 +0000 (09:27 +0000)]
* acap.el (acap-parse-response): Fix comment-out style. Use three
semicolons, that should start at the left margin.
See. also (Info-goto-node "(elisp)Comment Tips").
* elmo.el (toplevel, elmo-message-match-condition)
(elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
Ditto.
* elmo-archive.el (elmo-archive-suffix-alist)
(elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
(elmo-archive-method-list)
(elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
Ditto.
* elmo-imap4.el (toplevel)
(elmo-imap4-send-command, elmo-imap4-check-validity)
(elmo-imap4-fetch-callback-1-subr)
(elmo-network-initialize-session, elmo-server-diff-async)
(elmo-imap4-folder-diff-plugged): Ditto
* elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
* elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
* elmo-net.el (elmo-network-close-session): Ditto.
* elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
(elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
* elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
* elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
(elmo-number-set-delete)
(elmo-cache-get-oldest-cache-file-entity): Ditto.

14 years agoVersion number is increased to 2.15.8.
kaoru [Mon, 4 Jan 2010 23:28:37 +0000 (23:28 +0000)]
Version number is increased to 2.15.8.

14 years ago* WL-MK (wl-scan-source, wl-uninstall)
kaoru [Mon, 4 Jan 2010 14:51:29 +0000 (14:51 +0000)]
* WL-MK (wl-scan-source, wl-uninstall)
(compile-wl-package, install-wl-package)
(compile-wl-package-xmas, install-wl-package-xmas)
(wl-texinfo-format, wl-texinfo-install) : Use `mapc' instead of
`mapcar'. Don't quote `lambda'.

14 years ago* wl-message.el (wl-message-uu-substring): Suppress compile
kaoru [Mon, 4 Jan 2010 09:39:12 +0000 (09:39 +0000)]
* wl-message.el (wl-message-uu-substring): Suppress compile
warnings; Use `with-current-buffer' instead of `save-excursion' &
`set-buffer'.
* wl-mime.el (wl-draft-yank-current-message-entity)
(wl-mime-preview-follow-no-mime)
(wl-mime-preview-follow-current-region): Ditto.
* wl-summary.el (wl-summary-update-persistent-mark-on-event)
(wl-summary-switch-to-clone-buffer)
(wl-summary-target-mark-forward)
(wl-summary-target-mark-reply-with-citation)
(wl-summary-target-mark-uudecode): Ditto.

14 years ago* elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
kaoru [Mon, 4 Jan 2010 09:31:06 +0000 (09:31 +0000)]
* elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
`with-current-buffer' instead of `save-excursion' (for suppress
compile warnings).

14 years ago* wl-addrmgr.el (wl-addrmgr-replace-field): Use `point-at-bol'.
kaoru [Mon, 4 Jan 2010 09:25:47 +0000 (09:25 +0000)]
* wl-addrmgr.el (wl-addrmgr-replace-field): Use `point-at-bol'.
* wl-action.el (wl-summary-remove-argument): Explicit `point-at-bol'.
* wl-summary.el (wl-summary-narrow-to-region)
(wl-summary-insert-line): Use `point-at-bol', `point-at-eol'.

14 years agoFix changelog typo.
kaoru [Mon, 4 Jan 2010 07:34:16 +0000 (07:34 +0000)]
Fix changelog typo.

14 years ago* elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
kaoru [Mon, 4 Jan 2010 07:30:57 +0000 (07:30 +0000)]
* elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
instead of `int-to-string'.
* elmo-archive.el (elmo-archive-message-fetch-internal)
(elmo-archive-folder-message-make-temp-files)
(elmo-archive-folder-append-buffer)
(elmo-folder-delete-messages-internal)
(elmo-archive-msgdb-create-entity)
(elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
* elmo-util.el (elmo-cache-expire-by-age): Ditto.
* elmo-flag.el (elmo-global-flag-set-internal): Ditto.
* elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
* elmo-imap4.el (elmo-imap4-make-number-set-list)
(elmo-folder-list-subfolders): Ditto.
* elmo-localdir.el (elmo-message-file-name)
(elmo-folder-message-make-temp-files)
(elmo-localdir-msgdb-create-entity)
(elmo-folder-append-messages-*-localdir)
(elmo-folder-pack-numbers): Ditto.
* elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
* elmo-map.el (elmo-location-map-key): Ditto.
* elmo-nntp.el (elmo-nntp-folder-postfix)
(elmo-nntp-folder-list-subfolders)
(elmo-nntp-folder-msgdb-create): Ditto.

14 years ago* wl.el (wl-plugged-sending-queue-status): Use `int-to-string'
kaoru [Mon, 4 Jan 2010 07:29:26 +0000 (07:29 +0000)]
* wl.el (wl-plugged-sending-queue-status): Use `int-to-string'
instead of `number-to-string'.
* wl-dnd.el (wl-dnd-start-drag): Ditto.
* wl-score.el (wl-score-insert-help, wl-summary-increase-score): Ditto.
* wl-summary.el (wl-summary-jump-to-msg, wl-summary-save): Ditto.
* wl-util.el (wl-url-nntp): Ditto.

14 years agoFix last change. Cosmetic fix around `lambda (x)'.
kaoru [Mon, 4 Jan 2010 05:55:07 +0000 (05:55 +0000)]
Fix last change.  Cosmetic fix around `lambda (x)'.

14 years ago* wl.el (wl-plugged-set-variables, wl-plugged-dop-queue-info)
kaoru [Mon, 4 Jan 2010 05:48:01 +0000 (05:48 +0000)]
* wl.el (wl-plugged-set-variables, wl-plugged-dop-queue-info)
(wl-plugged-dop-queue-status): Don't quote `lambda'.
* wl-thread.el (wl-thread-delete-message): Ditto
* wl-summary.el (wl-summary-edit-addresses)
(wl-summary-edit-addresses-collect-candidate-fields)
(wl-summary-search-by-subject): Ditto.
* wl-mime.el (wl-mime-node-id-to-string): Ditto.
* wl-fldmgr.el (wl-fldmgr-add-completion-all-completions)
(wl-fldmgr-add-completion-subr): Ditto.
* wl-draft.el (wl-smtp-extension-bind)
(wl-draft-insert-get-message, wl-draft-default-headers)
(wl-jump-to-draft-buffer): Ditto.
* wl-summary.el (wl-summary-cursor-move-surface, wl-summary-up)
(wl-summary-down): Ditto.
* wl-message.el (wl-message-buffer-prefetch-subr): Ditto.
* wl-draft.el (wl-draft-reply, wl-draft-write-sendlog): Ditto.
* wl-folder.el (wl-folder-make-save-access-list)
(wl-folder-update-access-group, wl-folder-pick): Ditto.

14 years ago* elmo.el (elmo-crosspost-message-alist-save): Don't use
kaoru [Mon, 4 Jan 2010 05:40:46 +0000 (05:40 +0000)]
* elmo.el (elmo-crosspost-message-alist-save): Don't use
`function' for `lambda'.
* elmo-archive.el (elmo-archive-folder-list-subfolders)
(elmo-folder-append-messages-*-archive)
(elmo-folder-delete-messages-internal): Ditto.
* elmo-date.el (elmo-replace-in-string): Ditto.
* elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
(elmo-folder-list-flagged): Ditto.
* elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
* elmo-imap4.el (elmo-network-authenticate-session): Ditto.
* modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.

14 years ago* elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
kaoru [Sat, 2 Jan 2010 14:46:32 +0000 (14:46 +0000)]
* elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
`elmo-dop-spool-folder' was used before it was defined"; Use
`defun' instead.

14 years ago* wl-draft.el (wl-draft-default-headers): Suppress warning
kaoru [Sat, 2 Jan 2010 14:30:16 +0000 (14:30 +0000)]
* wl-draft.el (wl-draft-default-headers): Suppress warning
"defsubst `wl-draft-default-headers' was used before it was
defined"; Use `defun' instead of `defsubst'.

14 years ago* wl-folder.el (wl-folder-get-entity-from-buffer): Macro to function.
kaoru [Sat, 2 Jan 2010 12:03:42 +0000 (12:03 +0000)]
* wl-folder.el (wl-folder-get-entity-from-buffer): Macro to function.
* wl-util.el (wl-match-string, wl-match-buffer):  Macro to function.
* wl-summary.el (wl-summary-message-status): Macro to inline-function.
* wl.el (wl-plugged-string): Macro to function.

14 years ago* pldap.el (ldap/ldif-safe-string-p): macro to function.
kaoru [Sat, 2 Jan 2010 12:01:41 +0000 (12:01 +0000)]
* pldap.el (ldap/ldif-safe-string-p): macro to function.
* elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.

14 years ago* wl-address.el (wl-address-header-extract-address)
kaoru [Sat, 2 Jan 2010 09:12:19 +0000 (09:12 +0000)]
* wl-address.el (wl-address-header-extract-address)
(wl-address-header-extract-realname): Fix mail-address in docstring.

14 years ago* wl-expire.el (wl-expire-make-sortable-date): Macro to inline-function.
kaoru [Sat, 2 Jan 2010 08:13:35 +0000 (08:13 +0000)]
* wl-expire.el (wl-expire-make-sortable-date): Macro to inline-function.
* wl-folder.el (wl-folder-unread-regex, wl-folder-buffer-group-p): Macro to function.
* wl-highlight.el (wl-delete-all-overlays):  Macro to function.
* wl-summary.el (wl-summary-get-alike): Macro to inline-function.
(wl-summary-buffer-folder-name, wl-summary-sticky-buffer-name): Macro to function.

14 years ago* wl-thread.el (wl-thread-open, wl-thread-close): Use `point-at-bol', `point-at-eol'.
kaoru [Sat, 2 Jan 2010 07:49:17 +0000 (07:49 +0000)]
* wl-thread.el (wl-thread-open, wl-thread-close): Use `point-at-bol', `point-at-eol'.

14 years ago* wl.el (wl-plugged-server-indent, wl-plugged-drawing)
kaoru [Sat, 2 Jan 2010 07:25:07 +0000 (07:25 +0000)]
* wl.el (wl-plugged-server-indent, wl-plugged-drawing)
(wl-plugged-redrawing-switch, wl-plugged-toggle): Use `(string-to-char " ")' instead of `? ', `?\ '.
* wl-action.el (wl-summary-print-argument): Ditto.
* wl-address.el (wl-complete-field-body): Ditto.
* wl-demo.el (wl-demo-insert-image): Ditto.
* wl-summary.el (wl-summary-edit-addresses-subr): Ditto.
* wl-util.el (wl-ask-folder, wl-set-string-width)
(wl-y-or-n-p-with-scroll): Ditto.

14 years ago* elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of `mapcar'; Suppress...
kaoru [Sat, 2 Jan 2010 05:50:10 +0000 (05:50 +0000)]
* elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of `mapcar'; Suppress compile warning.
* elmo-imap4.el (elmo-network-initialize-session-buffer)
(elmo-imap4-search-internal-primitive): Ditto.
* elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
* elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.

14 years ago* elmo-imap4.el (elmo-imap4-parse-address-list)
kaoru [Sat, 2 Jan 2010 05:31:27 +0000 (05:31 +0000)]
* elmo-imap4.el (elmo-imap4-parse-address-list)
(elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
(elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
(elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use `(string-to-char " ")' instead of `? ', `?\ '.

14 years ago* wl-addrmgr.el(wl-addrmgr-mark-write): Use `string-to-char' instead of `? '. Use...
kaoru [Sat, 2 Jan 2010 02:11:50 +0000 (02:11 +0000)]
* wl-addrmgr.el(wl-addrmgr-mark-write): Use `string-to-char' instead of `? '.  Use `point-at-bol' and `point-at-eol'.  Remove verbose point move.

14 years ago* wl-address.el (wl-address-add-or-change): Use `point-at-bol' and `point-at-eol'.
kaoru [Sat, 2 Jan 2010 02:07:23 +0000 (02:07 +0000)]
* wl-address.el (wl-address-add-or-change): Use `point-at-bol' and `point-at-eol'.
* wl-addrmgr.el (wl-addrmgr-unmark, wl-addrmgr-address-entry): Ditto.

14 years ago* wl-util.el (wl-count-lines): Use `point-at-bol' instead of `(beginning-of-line...
kaoru [Fri, 1 Jan 2010 16:04:26 +0000 (16:04 +0000)]
* wl-util.el (wl-count-lines): Use `point-at-bol' instead of `(beginning-of-line) (point)'.

14 years ago* wl-fldmgr.el (wl-fldmgr-make-indent): Change from macro to function.
kaoru [Fri, 1 Jan 2010 15:51:02 +0000 (15:51 +0000)]
* wl-fldmgr.el (wl-fldmgr-make-indent): Change from macro to function.
(wl-fldmgr-delete-line): Change from macro to function. Use `point-at-bol' and `point-at-eol'.

14 years ago* wl.el (toplevel): Use `mapc' instead of `mapcar'. Don't use `function' for lambda.
kaoru [Fri, 1 Jan 2010 15:06:23 +0000 (15:06 +0000)]
* wl.el (toplevel): Use `mapc' instead of `mapcar'. Don't use `function' for lambda.

14 years ago* wl.el (wl-plugged-server-indent): Change from macro to function.
kaoru [Fri, 1 Jan 2010 14:54:03 +0000 (14:54 +0000)]
* wl.el (wl-plugged-server-indent): Change from macro to function.

14 years ago* wl-score.el (wl-score-put-alike): Explicit add `alike' argument.
kaoru [Fri, 1 Jan 2010 13:26:19 +0000 (13:26 +0000)]
* wl-score.el (wl-score-put-alike): Explicit add `alike' argument.

14 years agoRevert wl-score-put-alike.
kaoru [Fri, 1 Jan 2010 13:17:07 +0000 (13:17 +0000)]
Revert wl-score-put-alike.

14 years ago* wl-draft.el (wl-draft-config-body-goto-header)
kaoru [Fri, 1 Jan 2010 13:13:55 +0000 (13:13 +0000)]
* wl-draft.el (wl-draft-config-body-goto-header)
(wl-draft-body-goto-top, wl-draft-body-goto-bottom): Change from macro to function.

14 years ago* wl-score.el (wl-score-get-alike, wl-score-put-alike): Change from macro to inline...
kaoru [Fri, 1 Jan 2010 13:06:56 +0000 (13:06 +0000)]
* wl-score.el (wl-score-get-alike, wl-score-put-alike): Change from macro to inline-function.

14 years ago(wl-kill-buffers): Change from macro to function.
kaoru [Fri, 1 Jan 2010 12:59:40 +0000 (12:59 +0000)]
(wl-kill-buffers): Change from macro to function.
(wl-count-lines): Change from macro to inline-function.

14 years agoFix last `wl-kill-buffers' change.
kaoru [Fri, 1 Jan 2010 12:33:25 +0000 (12:33 +0000)]
Fix last `wl-kill-buffers' change.

14 years ago* pldap.el (ldap-search-entries): Don't use `function' for lambda.
kaoru [Fri, 1 Jan 2010 12:09:40 +0000 (12:09 +0000)]
* pldap.el (ldap-search-entries): Don't use `function' for lambda.
(ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
(ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use `function' for lambda.

14 years ago* wl-util.el (wl-collect-summary, wl-kill-buffers): Use `mapc' instead of `mapcar...
kaoru [Fri, 1 Jan 2010 11:52:52 +0000 (11:52 +0000)]
* wl-util.el (wl-collect-summary, wl-kill-buffers): Use `mapc' instead of `mapcar'. Don't use `function' for lambda.
(wl-read-search-condition-internal): Don't use `function' for lambda.

14 years agoFix order (cosmetic fix).
kaoru [Fri, 1 Jan 2010 11:43:34 +0000 (11:43 +0000)]
Fix order (cosmetic fix).

14 years agoCosmetic fix.
kaoru [Fri, 1 Jan 2010 11:38:39 +0000 (11:38 +0000)]
Cosmetic fix.

14 years ago* wl-draft.el (wl-draft-generate-clone-buffer, wl-draft-config-exec): Suppress compil...
kaoru [Fri, 1 Jan 2010 11:38:02 +0000 (11:38 +0000)]
* wl-draft.el (wl-draft-generate-clone-buffer, wl-draft-config-exec): Suppress compile warnings; Use `with-current-buffer' instead of `save-excursion' & `set-buffer'.

14 years ago* wl-score.el (wl-score-insert-help, wl-score-edit-get-header)
kaoru [Fri, 1 Jan 2010 11:35:58 +0000 (11:35 +0000)]
* wl-score.el (wl-score-insert-help, wl-score-edit-get-header)
(wl-score-edit-insert-number): Suppress compile warnings; Use `with-current-buffer' instead of `save-excursion' & `set-buffer'.

14 years ago* wl-draft.el (wl-draft-reply): Use `elmo-parse' instead of `wl-parse'.
kaoru [Fri, 1 Jan 2010 11:31:09 +0000 (11:31 +0000)]
* wl-draft.el (wl-draft-reply): Use `elmo-parse' instead of `wl-parse'.

14 years ago* wl-draft.el (wl-draft-send, wl-draft-do-fcc): Suppress compile warnings; Use
kaoru [Fri, 1 Jan 2010 08:44:31 +0000 (08:44 +0000)]
* wl-draft.el (wl-draft-send, wl-draft-do-fcc): Suppress compile warnings; Use
`with-current-buffer' instead of `save-excursion' & `set-buffer'.
* wl-draft.el (wl-draft-do-fcc): Use `with-temp-buffer'.

14 years ago* wl-draft.el (wl-draft-add-in-reply-to, wl-draft-delete): Suppress compile warnings...
kaoru [Fri, 1 Jan 2010 08:29:38 +0000 (08:29 +0000)]
* wl-draft.el (wl-draft-add-in-reply-to, wl-draft-delete): Suppress compile warnings; Use `with-current-buffer' instead of `save-excursion' & `set-buffer'.

14 years ago* modb-standard.el (modb-standard-cleanup-stale-entities): Use `string-to-number...
kaoru [Fri, 1 Jan 2010 08:15:27 +0000 (08:15 +0000)]
* modb-standard.el (modb-standard-cleanup-stale-entities): Use `string-to-number' instead of `string-to-int'.

14 years ago* test-elmo-util.el (test-elmo-delete-cr-1): New testcase.
kaoru [Fri, 1 Jan 2010 08:11:06 +0000 (08:11 +0000)]
* test-elmo-util.el (test-elmo-delete-cr-1): New testcase.
* test-elmo-date.el (test-elmo-time-parse-date-string-1)
(test-elmo-time-parse-date-string-2): New testcase.

14 years ago* wl.el (wl-plugged-change): Suppress compile warnings; Use
kaoru [Fri, 1 Jan 2010 08:06:39 +0000 (08:06 +0000)]
* wl.el (wl-plugged-change): Suppress compile warnings; Use
`with-current-buffer' instead of `save-excursion' & `set-buffer'.
* wl-action.el (wl-summary-exec-action-resend-subr): Ditto.
* wl-address.el (wl-complete-window-show): Ditto.
* wl-message.el (wl-message-select-buffer): Ditto.
* wl-template.el (wl-template-show): Ditto.
* wl-util.el (wl-collect-summary): Ditto.

14 years ago* wl-util.el (wl-collect-summary): Use `eq' instead of `equal' for symbol.
kaoru [Fri, 1 Jan 2010 08:05:04 +0000 (08:05 +0000)]
* wl-util.el (wl-collect-summary): Use `eq' instead of `equal' for symbol.

14 years ago* wl-action.el (wl-summary-auto-refile): Use `goto-char' instead of `goto-line'.
kaoru [Fri, 1 Jan 2010 07:59:28 +0000 (07:59 +0000)]
* wl-action.el (wl-summary-auto-refile): Use `goto-char' instead of `goto-line'.

14 years ago* elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
kaoru [Fri, 1 Jan 2010 05:00:56 +0000 (05:00 +0000)]
* elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
instead of `save-excursion' (for suppress compile warnings).
* elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
* elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
(elmo-nntp-post): Ditto.