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=-3.3 required=5.0 tests=FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12648 invoked from network); 25 Jan 2023 11:21:53 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 25 Jan 2023 11:21:53 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKdqa-0008Of-DR; Wed, 25 Jan 2023 06:21:44 -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 1pKdqY-0008OA-Ps for info-gnus-english@gnu.org; Wed, 25 Jan 2023 06:21:42 -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 1pKdqW-0006PZ-OS for info-gnus-english@gnu.org; Wed, 25 Jan 2023 06:21:42 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pKdqR-0002JF-PZ for info-gnus-english@gnu.org; Wed, 25 Jan 2023 12:21:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: Richmond Subject: Re: Removing the first nntp server from the list Date: Wed, 25 Jan 2023 11:21:28 +0000 Organization: Frantic Message-ID: <85sffyoo5j.fsf@example.com> 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) Cancel-Lock: sha1:qV1zp1t7V5xy7jbgiXIYc5VWe70= 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: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.149, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, 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. > Thanks it worked. I thought you had a repeating n key, but it's really a thing, nnnil. https://github.com/emacs-mirror/emacs/blob/master/lisp/gnus/nnnil.el