Gnus development mailing list
 help / color / mirror / Atom feed
* How to setup new nnselect group from init file?
@ 2020-11-05 10:27 Pankaj Jangid
  2020-11-06  2:13 ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Pankaj Jangid @ 2020-11-05 10:27 UTC (permalink / raw)
  To: Gnus Users

I have specified messages for an nnselect group in the configuration in
~/.gnus.el. Like this,

--8<---------------cut here---------------start------------->8---
(setq gnus-parameters
      '(("nnselect:emacs"
	 (nnselect-specs
	  (nnselect-function . gnus-search-run-query)
	  (nnselect-args
	   (search-query-spec
            (query . "recipient:emacs-devel@gnu.org"))
	   (search-group-spec
            ("nnimap\\+codeisgreat:INBOX")
            ))))
	("nnselect:postgress"
	 (nnselect-specs
	  (nnselect-function . gnus-search-run-query)
	  (nnselect-args
	   (search-query-spec
            (query . "recipient:pgsql-general@lists.postgresql.org")
	    (query . "recipient:pgsql-announce@lists.postgresql.org")
	    (query . "recipient:pgsql-novice@lists.postgresql.org")
	    (query . "recipient:pgsql-sql@lists.postgresql.org"))
	   (search-group-spec
            ("nnimap\\+codeisgreat:INBOX")
            ))))
	("nnselect:cron"
	 (nnselect-specs
	  (nnselect-function . gnus-search-run-query)
	  (nnselect-args
	   (search-query-spec
            (query . "from:Cron? Daemon")
	   (search-group-spec
            ("nnml:mail.misc")
	    ("nnimap\\+otp:INBOX")
            )))))))
--8<---------------cut here---------------end--------------->8---

Now how to make these groups visible in the group-buffer? I don't want
to do it in the UI. I want to set them up in the init file only.

Other groups, like nnimap+... are automatically created once I set it up
using select method. What is the method for nnselect groups?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-06  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 10:27 How to setup new nnselect group from init file? Pankaj Jangid
2020-11-06  2:13 ` Eric Abrahamsen
2020-11-06  5:13   ` Pankaj Jangid

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 NNTP newsgroup(s).