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=-2.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 480 invoked from network); 25 Jan 2023 18:20:16 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 25 Jan 2023 18:20:16 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKkNT-0001R3-QR; Wed, 25 Jan 2023 13:20:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKkNR-0001Qt-J6 for info-gnus-english@gnu.org; Wed, 25 Jan 2023 13:20:05 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKkNP-0004bq-VJ for info-gnus-english@gnu.org; Wed, 25 Jan 2023 13:20:05 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pKkNO-0002kh-4q for info-gnus-english@gnu.org; Wed, 25 Jan 2023 19:20:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: Sergey Organov Subject: Re: Removing the first nntp server from the list Date: Wed, 25 Jan 2023 19:37:02 +0300 Message-ID: References: <85mt67udrn.fsf@example.com> <87y1pqj2j6.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.091, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Adam Sjøgren writes: > Richmond writes: > >> If I have in .gnus a structure like >> >> (setq gnus-select-method >> >> and then subsequently >> >> (add-to-list 'gnus-secondary-select-methods >> >> How do I remove the first server from the list? Should I just replace it >> with the second server? I think the article numbers would be messed up. > > You can set gnus-select-method to '(nnnil) - then it will do nothing, > and everything else will be "secondary" select-methods. This way you > also avoid having the special case for the first method. I wonder why simple 'nil is not accepted as well: it's extremely confusing. Thanks, -- Sergey Organov