all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: searching for one person's replies in a gnus mailbox only, and not the rest.
Date: Wed, 02 Dec 2015 00:46:19 +0100	[thread overview]
Message-ID: <87egf5bulw.fsf@debian.uxu> (raw)
In-Reply-To: 87d1uq2e0a.fsf@skimble.plus.com

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> Is it possible to search for one particular persons
> email reply in a gnus mailbox please? I mean so that
> only their replies are shown and no-one else's?
> Currently when I search for somebodies rely, its
> searching through all of the emails displayed, and
> its showing *all* the emails in the mailbox with the
> ones that I'm interested in being kept in date order
> along with the rest.

That is possible with `gnus-summary-limit-to-author'.
But I have experienced a "limit"ation with that
function, and that is that if I open a group with only
say 20 out of a total of 200 posts/mails, then
`gnus-summary-limit-to-author' will operate on only
those 20!

This might be what some people want but I think it is
confusing, so I wrote this to compensate - with this,
all 200 will be filtered regardless how many was
opened with the group to begin with.

(defun gnus-summary-search-author (author)
  "As `gnus-summary-limit-to-author',
only do this on all articles in the group,
not just those displayed."
  (interactive "sFrom: ")
  (gnus-summary-insert-old-articles t) ; ALL
  (gnus-summary-limit-to-author author) )

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2015-12-01 23:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 18:57 searching for one person's replies in a gnus mailbox only, and not the rest Sharon Kimble
2015-12-01 23:46 ` Emanuel Berg [this message]
2015-12-02 16:02   ` Eric S Fraga
2015-12-03  0:30     ` Emanuel Berg
2015-12-03  8:47       ` Eric S Fraga
2015-12-04  0:33         ` Emanuel Berg
2015-12-05 11:06           ` Will O'Brien
2015-12-05 14:20             ` Eric Abrahamsen
2015-12-05 19:45               ` Emanuel Berg
2015-12-05 20:47                 ` Emanuel Berg
2015-12-06  2:08                   ` Eric Abrahamsen
2015-12-07  2:51                     ` Emanuel Berg
2015-12-07  3:14                       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egf5bulw.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.