(not (eobp))) ; for GNU tar 981010
(setq file-list (nconc file-list (list (string-to-int
(match-string 1)))))))
- (error "%s does not exist." file))
+ (error "%s does not exist" file))
(if nonsort
(cons (or (elmo-max-of-list file-list) 0)
(if killed
(elmo-mapcar-list-of-list
(function (lambda (x)
(if (file-exists-p
- (expand-file-name
+ (expand-file-name
(concat elmo-archive-basename
(elmo-archive-get-suffix
(elmo-archive-folder-archive-type-internal
(unless (or (null elmo-dop-queue)
(vectorp (car elmo-dop-queue)))
(if (y-or-n-p "\
-Saved queue is old version(2.6). Clear all pending operations? ")
+Saved queue is old version(2.6). Clear all pending operations? ")
(progn
(setq elmo-dop-queue nil)
(message "All pending operations are cleared.")
(elmo-dop-queue-save))
- (error "Please use 2.6 or earlier.")))
+ (error "Please use 2.6 or earlier")))
(elmo-dop-queue-merge)
(let ((queue-all elmo-dop-queue)
queue
(elmo-dop-queue-fname (car queue))))
(elmo-folder-open folder)
(unless (elmo-folder-plugged-p folder)
- (error "Unplugged.")))
+ (error "Unplugged")))
(elmo-dop-queue-arguments (car queue)))
(elmo-folder-close folder))
(quit (setq failure t))
(memq (elmo-dop-queue-method que)
elmo-dop-queue-merge-method-list)
(setq match-queue
- (car (delete
+ (car (delete
nil
(mapcar
(lambda (nqueue)
proc entries settings folder-top type caches msgdb-dir)
(if (null (car service))
(if (setq caches
- (delq
+ (delq
nil
(mapcar
(lambda (dirent)
(expand-file-name
"acap"
elmo-msgdb-directory)))))))
- (if (y-or-n-p "No ACAP service found. Try cache? ")
+ (if (y-or-n-p "No ACAP service found. Try cache? ")
(let (selected rpath alist)
(setq alist
(mapcar
alist))
msgdb-dir (file-name-directory selected)
entries (elmo-object-load selected)))
- (error "No ACAP service found."))
- (error "No ACAP service found."))
+ (error "No ACAP service found"))
+ (error "No ACAP service found"))
(setq proc (acap-open (car service)
wl-acap-user
(upcase (symbol-name
"/~/")
'((RETURN ("*"))))))
(when entries
- (elmo-object-save
+ (elmo-object-save
(expand-file-name
(concat "acap/" (car service) "/" wl-acap-user "/"
wl-acap-cache-filename)
(mail-position-on-field "To"))
(defun wl-draft-strip-subject-re (subject)
- "Remove \"Re:\" from subject lines. Shamelessly copied from Gnus."
+ "Remove \"Re:\" from SUBJECT string. Shamelessly copied from Gnus."
(if (string-match wl-subject-prefix-regexp subject)
(substring subject (match-end 0))
subject))
(insert cite-title "\n"))
(mail-indent-citation)))
-(defvar wl-draft-buffer nil "Draft buffer to yank content")
+(defvar wl-draft-buffer nil "Draft buffer to yank content.")
(defun wl-draft-yank-to-draft-buffer (buffer)
"Yank BUFFER content to `wl-draft-buffer'."
(set-buffer wl-draft-buffer)
(switch-to-buffer sum-buf))))))))
(defun wl-draft-delete (editing-buffer)
- "kill the editing draft buffer and delete the file corresponds to it."
+ "Kill the editing draft buffer and delete the file corresponds to it."
(save-excursion
(when editing-buffer
(set-buffer editing-buffer)
(kill-buffer sending-buffer))))))
(defun wl-draft-mime-bcc-field ()
- "Return the MIME-Bcc field body. The field is deleted."
+ "Return the MIME-Bcc field body. The field is deleted."
(prog1 (std11-field-body wl-draft-mime-bcc-field-name)
(wl-draft-delete-field wl-draft-mime-bcc-field-name)))
;; insert symbol-value: string
(symbol . nil) ;; do nothing
nil ;; do nothing
- )
-"
+ )"
(unless (eq major-mode 'wl-draft-mode)
- (error "wl-draft-create-header must be use in wl-draft-mode."))
+ (error "`wl-draft-create-header' must be use in wl-draft-mode"))
(let ((halist header-alist)
field value)
(while halist
(defun wl-draft-prepare-edit ()
(unless (eq major-mode 'wl-draft-mode)
- (error "wl-draft-create-header must be use in wl-draft-mode."))
+ (error "`wl-draft-create-header' must be use in wl-draft-mode"))
(let (change-major-mode-hook)
(wl-draft-editor-mode)
(when wl-draft-write-file-function
(cdar condition))
(setq condition (cdr condition)))))
(unless elmo-nntp-default-function
- (error "wl-draft-nntp-send: posting-function is nil."))
+ (error "wl-draft-nntp-send: posting-function is nil"))
(if (not (elmo-plugged-p elmo-nntp-default-server elmo-nntp-default-port))
(wl-draft-set-sent-message 'news 'unplugged
(cons elmo-nntp-default-server
(or (, hashtb) wl-folder-elmo-folder-hashtb))))
(defmacro wl-folder-get-elmo-folder (entity &optional no-cache)
- "Get elmo folder structure from entity."
+ "Get elmo folder structure from ENTITY."
(` (if (, no-cache)
(elmo-make-folder (elmo-string (, entity)))
(or (wl-folder-elmo-folder-cache-get (, entity))
(forward-line 1))
(defun wl-folder-prev-entity-skip-invalid (&optional hereto)
- "move to previous entity. skip unsubscribed or removed entity."
+ "Move to previous entity. skip unsubscribed or removed entity."
(interactive)
(if hereto
(end-of-line))
nil)))
(defun wl-folder-guess-mailing-list-by-refile-rule (entity)
- "Return ML address guess by FOLDER.
+ "Return ML address guess by ENTITY.
Use `wl-subscribed-mailing-list' and `wl-refile-rule-alist'."
(let ((flist
(elmo-folder-get-primitive-list
(elmo-string-matched-member tokey wl-subscribed-mailing-list t)))))
(defun wl-folder-guess-mailing-list-by-folder-name (entity)
- "Return ML address guess by FOLDER name's last hierarchy.
+ "Return ML address guess by ENTITY name's last hierarchy.
Use `wl-subscribed-mailing-list'."
(let ((flist
(elmo-folder-get-primitive-list
folder))))
;; Sticky folder exists.
(wl-summary-sticky-buffer-name
- (elmo-folder-name-internal folder))
+ (elmo-folder-name-internal folder))
(concat
wl-summary-buffer-name
(symbol-name this-command))))
(run-hooks 'wl-init-hook)))
(defun wl-check-environment (no-check-folder)
- (unless wl-from (error "Please set `wl-from' to your mail address."))
+ (unless wl-from (error "Please set `wl-from' to your mail address"))
;; Message-ID
(when wl-insert-message-id
(let ((message-id (funcall wl-message-id-function))
(unless (string-match "^<\\([^@]*\\)@\\([^@]*\\)>$" message-id)
(cond
((string-match "@" wl-message-id-domain)
- (error "Please remove `@' from `wl-message-id-domain'."))
+ (error "Please remove `@' from `wl-message-id-domain'"))
(t
(error
- "Check around `wl-message-id-function' to get valid Message-ID string."))))
+ "Check around `wl-message-id-function' to get valid Message-ID string"))))
(setq domain (match-string 2 message-id))
(if (or (not (string-match "[^.]\\.[^.]" domain))
(string= domain "localhost.localdomain"))
(defun wl-check-variables-2 ()
(if (< wl-message-buffer-cache-size 1)
- (error "`wl-message-buffer-cache-size' must be larger than 0."))
+ (error "`wl-message-buffer-cache-size' must be larger than 0"))
(when wl-message-buffer-prefetch-depth
(if (not (< wl-message-buffer-prefetch-depth
wl-message-buffer-cache-size))