Skip to content

Instantly share code, notes, and snippets.

@mickesv
Created December 1, 2014 12:03
Show Gist options
  • Save mickesv/29b66a670fc4955c0f70 to your computer and use it in GitHub Desktop.
Save mickesv/29b66a670fc4955c0f70 to your computer and use it in GitHub Desktop.
Emacs Gnus search mail from everywhere
;; Search mail from everywhere
;; (As long as you have started gnus already
(defun msv-search-mail ()
(interactive)
(with-current-buffer "*Group*"
(save-excursion
(beginning-of-buffer)
(search-forward "All Mail")
(call-interactively (gnus-group-make-nnir-group nil)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment