Function: mh-translate-range
mh-translate-range is an autoloaded and byte-compiled function defined
in mh-seq.el.gz.
Signature
(mh-translate-range FOLDER EXPR)
Documentation
In FOLDER, translate the string EXPR to a list of messages numbers.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-seq.el.gz
;;;###mh-autoload
(defun mh-translate-range (folder expr)
"In FOLDER, translate the string EXPR to a list of messages numbers."
(save-excursion
(let ((strings (delete "" (split-string expr "[ \t\n]")))
(result ()))
(ignore-errors
(apply #'mh-exec-cmd-quiet nil "mhpath" folder strings)
(set-buffer mh-temp-buffer)
(goto-char (point-min))
(while (re-search-forward "/\\([0-9]*\\)$" nil t)
(push (string-to-number (match-string 1)) result))
(nreverse result)))))