Unnamed repository; edit this file 'description' to name the repository.
 help / color / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: physiculus <physiculus@gmail.com>
Cc: gnus <info-gnus-english@gnu.org>
Subject: Re: gnus-registry-marks; Any chance to search or filter for?
Date: Sat, 11 Jul 2020 01:40:51 +0200
Message-ID: <874kqfaqgs.fsf@web.de> (raw)
In-Reply-To: <871rm4k6tz.fsf@googlemail.com> (physiculus@gmail.com's message of "Wed, 24 Jun 2020 14:04:56 +0200")

physiculus <physiculus@gmail.com> writes:

> i want to search or filter with the registry-marks i set. Is this
> possible? I couldn't find a function for that in the gnus documentation.

I think you have to do it by hand.  Something like this should give you
the registry-marked messages in the current group:

#+begin_src emacs-lisp
(delq nil
       (lambda (id) (cdr (gnus-request-head id gnus-newsgroup-name)))
       (cl-loop for key being the hash-keys of
                (oref gnus-registry-db data)
                using (hash-values v)
                when (cdr (assoc 'mark v))
                collect key)))

I'm using something like this in an :around advice of
`gnus-alter-articles-to-read-function' to automatically include all
registry marked messages in group summaries (similarly to ticked).


info-gnus-english mailing list

  reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 12:04 physiculus
2020-07-10 23:40 ` Michael Heerdegen [this message]
     [not found]   ` <87o8om9dew.fsf@googlemail.com>
     [not found]     ` <87imet4m88.fsf@web.de>
2020-07-13 17:52       ` physiculus
2020-07-14 15:08         ` Michael Heerdegen
2020-07-14 16:12           ` 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:

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

  git send-email \
    --in-reply-to=874kqfaqgs.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=info-gnus-english@gnu.org \
    --cc=physiculus@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Unnamed repository; edit this file 'description' to name the repository.

Archives are clonable: git clone --mirror http://inbox.vuxu.org/info-gnus-english

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git