From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28600 invoked from network); 5 Nov 2020 10:29:42 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 5 Nov 2020 10:29:42 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kacUz-00EUZd-Gg; Thu, 05 Nov 2020 04:28:09 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1kacUx-0090oq-A0; Thu, 05 Nov 2020 04:28:07 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kacUs-0090n1-Kh for ding@lists.math.uh.edu; Thu, 05 Nov 2020 04:28:02 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kacUq-00EUXv-B3 for ding@lists.math.uh.edu; Thu, 05 Nov 2020 04:28:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=QanqphOn/7oeL1AYg/gaAxmOx8uwRbARd+cWa6qn7eE=; b=VXx6on93EpbLfhfh14jqe7KRfd eLCbgRBkmtNT1H113RntIY2wCPN74+4I9rnimXEJMDNcREnD68a2h0pT79Ub+WsJhAhxjoGmaGBiy 1WDA+RYThYkX0XvB5GYgHotY1W8tsefeEFyk3TV83XuaWAUDm6UWZjNYjn/+NHGVF468=; Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kacUj-0000x8-Bc for ding@gnus.org; Thu, 05 Nov 2020 11:27:55 +0100 Received: by mail-pf1-x435.google.com with SMTP id 72so1132840pfv.7 for ; Thu, 05 Nov 2020 02:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:organization:mail-followup-to:date:message-id :user-agent:mime-version; bh=QanqphOn/7oeL1AYg/gaAxmOx8uwRbARd+cWa6qn7eE=; b=zYm0hAo20HZ53MsmfuL5n3EmqpCeP6QA0hsf4pFUfdnfk+wBU3D+HjZpqT6c1jp0ks xgUlYjijWT7jj1/Vj1WZcmWKSYWXk4VeBQJ75O8vXieUxKWTBXArn3SuK/T+LvCSYxTi Z0IiI+0s/1L1ME3Mm7WSc90hzvVGoLouzIMR4OYqv8SB8jVkH6TOqD2SfBFm2vl3WB2e BXrzBkgLSjqwhAfxsjRRjcw0c0IQ41/ln2gbEWCj3zLT2Bwwg0mVs2lnJ7XnXB0qCsrW bL4y0rh0rPAO7qGAOLo5VKWiTVaRCaBMb+sM7WhiNRC6x3hp2p/8qKjbMTWOyGhLGK6J LVGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:mail-followup-to :date:message-id:user-agent:mime-version; bh=QanqphOn/7oeL1AYg/gaAxmOx8uwRbARd+cWa6qn7eE=; b=GMS6B8X2gFWKALJbKDdKwxdSI1eb1LgWDEDM474JRdmPQ/ENwK5/6LC0+fdv7EMIU0 gEJ/06lI/6ccqFgNf1jjrw2mds+vlavm+LTqdahluJEAxtAuRX8L3bBnPNllonW1VFyx 3+LbjEeFFaxRzocOFbXGlATsa3q850eialduSsCBCTAcGvsaTikIWlUArO1EUIIa/KYf 9ST9BMtqtq87CM9lLV+t+dZu9i8NJLB5yW3YtrPA/VzV48wPBUYwwVlLMT0XtHvmtrFc h8YsC+cZypF88mVhk3i/eBNkBffDp7DHgd7Zro+rTA4pxzy4p4yxvEyQAt5ntr0crOYC /2bw== X-Gm-Message-State: AOAM531bOwI03RA4QB2emmFFEhvRq1x4poaS4Kvwp7c1gpKcxmDNrqO/ zZYutf23Wwny2tLAi1YY7+4QPZlgCfIWWw== X-Google-Smtp-Source: ABdhPJwdjd+CJUIwVObJ05kc50ihPNb6/Yc2nY4PqWLmNF7CZb91ok01XU9ZAhwWuqBO0Qi2mJBmsw== X-Received: by 2002:a17:90a:4a0f:: with SMTP id e15mr1702773pjh.182.1604572070541; Thu, 05 Nov 2020 02:27:50 -0800 (PST) Received: from mb2.local ([2405:201:5c06:7812:84d0:da96:d407:178d]) by smtp.gmail.com with ESMTPSA id 22sm2000046pjw.34.2020.11.05.02.27.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 02:27:50 -0800 (PST) From: Pankaj Jangid To: Gnus Users Subject: How to setup new nnselect group from init file? Organization: Code Is Great Foundation Mail-Followup-To: Gnus Users Date: Thu, 05 Nov 2020 15:57:47 +0530 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk 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?