Function: mh-narrow-to-subject

mh-narrow-to-subject is an autoloaded, interactive and byte-compiled function defined in mh-limit.el.gz.

Signature

(mh-narrow-to-subject &optional PICK-EXPR)

Documentation

Limit to messages with same subject.

With a prefix argument, edit PICK-EXPR. The string Re: is removed from the search.

Use / w (mh-widen) to undo this command.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-limit.el.gz
;;;###mh-autoload
(defun mh-narrow-to-subject (&optional pick-expr)
  "Limit to messages with same subject.
With a prefix argument, edit PICK-EXPR.
The string Re: is removed from the search.

Use \\<mh-folder-mode-map>\\[mh-widen] to undo this command."
  (interactive
   (list (mh-edit-pick-expr
          (mh-quote-pick-expr (mh-current-message-header-field 'subject)))))
  (setq pick-expr
        (let ((case-fold-search t))
          (cl-loop for s in pick-expr
                   collect (mh-replace-regexp-in-string "re: *" "" s))))
  (mh-narrow-to-header-field 'subject pick-expr))