Mercurial > emacs
comparison lisp/mh-e/mh-index.el @ 68013:bbc0e52abce5
* mh-alias.el (mh-alias-add-alias): Grand message and error string
unification. Use single sentence if possible by using semicolon. Don't
end message with punctuation. Don't need format with message. Quote
messages as in docstrings: use `' around symbols, \" for option
choices. Don't use quotes around %s.
* mh-comp.el (mh-complete-word): Ditto.
* mh-customize.el (mh-adaptive-cmd-note-flag-check)
(mh-scan-format-file-check): Ditto.
* mh-e.el (mh-refile-or-write-again, mh-previous-unread-msg)
(mh-delete-a-msg, mh-refile-a-msg, mh-next-unread-msg)
(mh-msg-num-width-to-column): Ditto.
* mh-identity.el (mh-identity-field-handler): Ditto.
* mh-index.el (mh-mairix-execute-search)
(mh-swish-execute-search, mh-swish++-execute-search)
(mh-namazu-execute-search): Ditto.
* mh-init.el (mh-variant-set): Ditto.
* mh-mime.el (mh-mh-to-mime-undo, mh-mml-forward-message)
(mh-secure-message, mh-mime-display): Ditto.
* mh-pick.el (mh-search-folder, mh-pick-construct-regexp): Ditto.
* mh-seq.el (mh-narrow-to-seq, mh-put-msg-in-seq, mh-read-seq)
(mh-read-range, mh-thread-container-subject): Ditto.
* mh-utils.el (mh-x-image-scale-and-display)
(mh-prompt-for-folder, mh-handle-process-error)
(mh-list-to-string-1): Ditto.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Wed, 04 Jan 2006 02:08:12 +0000 |
parents | 7882fc7df359 |
children | 82d5232a099c |
comparison
equal
deleted
inserted
replaced
68012:256cc87e0619 | 68013:bbc0e52abce5 |
---|---|
1166 In a program, FOLDER-PATH is the directory in which | 1166 In a program, FOLDER-PATH is the directory in which |
1167 SEARCH-REGEXP-LIST is used to search." | 1167 SEARCH-REGEXP-LIST is used to search." |
1168 (set-buffer (get-buffer-create mh-index-temp-buffer)) | 1168 (set-buffer (get-buffer-create mh-index-temp-buffer)) |
1169 (erase-buffer) | 1169 (erase-buffer) |
1170 (unless mh-mairix-binary | 1170 (unless mh-mairix-binary |
1171 (error "Set mh-mairix-binary appropriately")) | 1171 (error "Set `mh-mairix-binary appropriately'")) |
1172 (apply #'call-process mh-mairix-binary nil '(t nil) nil | 1172 (apply #'call-process mh-mairix-binary nil '(t nil) nil |
1173 "-r" "-f" (format "%s%s/config" mh-user-path mh-mairix-directory) | 1173 "-r" "-f" (format "%s%s/config" mh-user-path mh-mairix-directory) |
1174 search-regexp-list) | 1174 search-regexp-list) |
1175 (goto-char (point-min)) | 1175 (goto-char (point-min)) |
1176 (setq mh-mairix-folder | 1176 (setq mh-mairix-folder |
1444 In a program, FOLDER-PATH is the directory in which SEARCH-REGEXP | 1444 In a program, FOLDER-PATH is the directory in which SEARCH-REGEXP |
1445 is used to search." | 1445 is used to search." |
1446 (set-buffer (get-buffer-create mh-index-temp-buffer)) | 1446 (set-buffer (get-buffer-create mh-index-temp-buffer)) |
1447 (erase-buffer) | 1447 (erase-buffer) |
1448 (unless mh-swish-binary | 1448 (unless mh-swish-binary |
1449 (error "Set mh-swish-binary appropriately")) | 1449 (error "Set `mh-swish-binary' appropriately")) |
1450 (call-process mh-swish-binary nil '(t nil) nil | 1450 (call-process mh-swish-binary nil '(t nil) nil |
1451 "-w" search-regexp | 1451 "-w" search-regexp |
1452 "-f" (format "%s%s/index" mh-user-path mh-swish-directory)) | 1452 "-f" (format "%s%s/index" mh-user-path mh-swish-directory)) |
1453 (goto-char (point-min)) | 1453 (goto-char (point-min)) |
1454 (setq mh-swish-folder | 1454 (setq mh-swish-folder |
1533 In a program, FOLDER-PATH is the directory in which SEARCH-REGEXP is | 1533 In a program, FOLDER-PATH is the directory in which SEARCH-REGEXP is |
1534 used to search." | 1534 used to search." |
1535 (set-buffer (get-buffer-create mh-index-temp-buffer)) | 1535 (set-buffer (get-buffer-create mh-index-temp-buffer)) |
1536 (erase-buffer) | 1536 (erase-buffer) |
1537 (unless mh-swish++-binary | 1537 (unless mh-swish++-binary |
1538 (error "Set mh-swish++-binary appropriately")) | 1538 (error "Set `mh-swish++-binary' appropriately")) |
1539 (call-process mh-swish++-binary nil '(t nil) nil | 1539 (call-process mh-swish++-binary nil '(t nil) nil |
1540 "-m" "10000" | 1540 "-m" "10000" |
1541 (format "-i%s%s/swish++.index" | 1541 (format "-i%s%s/swish++.index" |
1542 mh-user-path mh-swish++-directory) | 1542 mh-user-path mh-swish++-directory) |
1543 search-regexp) | 1543 search-regexp) |
1612 (let ((namazu-index-directory | 1612 (let ((namazu-index-directory |
1613 (format "%s%s" mh-user-path mh-namazu-directory))) | 1613 (format "%s%s" mh-user-path mh-namazu-directory))) |
1614 (unless (file-exists-p namazu-index-directory) | 1614 (unless (file-exists-p namazu-index-directory) |
1615 (error "Namazu directory %s not present" namazu-index-directory)) | 1615 (error "Namazu directory %s not present" namazu-index-directory)) |
1616 (unless (executable-find mh-namazu-binary) | 1616 (unless (executable-find mh-namazu-binary) |
1617 (error "Set mh-namazu-binary appropriately")) | 1617 (error "Set `mh-namazu-binary' appropriately")) |
1618 (set-buffer (get-buffer-create mh-index-temp-buffer)) | 1618 (set-buffer (get-buffer-create mh-index-temp-buffer)) |
1619 (erase-buffer) | 1619 (erase-buffer) |
1620 (call-process mh-namazu-binary nil '(t nil) nil | 1620 (call-process mh-namazu-binary nil '(t nil) nil |
1621 "-alR" search-regexp namazu-index-directory) | 1621 "-alR" search-regexp namazu-index-directory) |
1622 (goto-char (point-min)) | 1622 (goto-char (point-min)) |