unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: [gnus] How to show mails from an specific mailing list?
Date: Tue, 22 Jun 2021 00:57:47 -0500	[thread overview]
Message-ID: <87mtri1lwk.fsf@gmail.com> (raw)


I'm currently using Gnus with the following configuration

#+BEGIN_SRC elisp
(add-to-list 'gnus-secondary-select-methods
	     '(nnmaildir "personal"
			 (directory "~/.mail/personal/")))
#+END_SRC

I sometimes want to read mails from an specific mailing list. However,
since I'm on multiple mailing lists, the Summary buffer show messages
from all mailing lists. My question is: Is there any way to make Gnus
show messages from a given mailing list?

I've recently started to use local mailboxes so I'm no mail expert but,
apparently, local messages store the mailing list they belong to in its
metadata since "mu" (an external utility, https://github.com/djcb/mu)
can show the mailing list as a field for each message when searching
(see code block below).

#+BEGIN_SRC dash
mu find -f 'v' maildir:/personal/ | sort -u | grep 'emacs'
#+END_SRC

#+RESULTS:
#+BEGIN_EXAMPLE
bug-gnu-emacs.gnu.org
emacs-devel.gnu.org
emacs-diffs.gnu.org
emacs-orgmode.gnu.org
help-gnu-emacs.gnu.org
info-gnu-emacs.gnu.org
#+END_EXAMPLE

#+BEGIN_SRC dash
mu find maildir:/personal/ list:help-gnu-emacs.gnu.org | wc -l
#+END_SRC

#+RESULTS:
#+BEGIN_EXAMPLE
7431
#+END_EXAMPLE

Any help is appreciated,
Rodrigo Morales.



             reply	other threads:[~2021-06-22  5:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22  5:57 Rodrigo Morales [this message]
2021-06-22  8:30 ` [gnus] How to show mails from an specific mailing list? Daniel Martín
2021-06-22  8:31 ` Eric S Fraga
2021-06-22 13:30 ` Filipp Gunbin
2021-06-26  0:01 ` Emanuel Berg via Users list for the GNU Emacs text editor

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87mtri1lwk.fsf@gmail.com \
    --to=moralesrodrigo1100@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).