From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#65447: 30.0.50; Gnus: No such function: nnfolder-server-opened Date: Tue, 22 Aug 2023 21:18:08 -0700 Message-ID: <87wmxmgznj.fsf@ericabrahamsen.net> References: <83il97tjar.fsf@gnu.org> <87msyjhwn7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32419"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Andrew G Cohen , 65447@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 23 06:19:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qYfKt-0008FM-JP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Aug 2023 06:19:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYfKe-00034S-9x; Wed, 23 Aug 2023 00:19:00 -0400 Original-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 1qYfKd-00034G-C7 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 00:18:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYfKd-00085g-3b for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 00:18:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYfKf-0005iK-O3 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 00:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Aug 2023 04:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65447 X-GNU-PR-Package: emacs Original-Received: via spool by 65447-submit@debbugs.gnu.org id=B65447.169276430421920 (code B ref 65447); Wed, 23 Aug 2023 04:19:01 +0000 Original-Received: (at 65447) by debbugs.gnu.org; 23 Aug 2023 04:18:24 +0000 Original-Received: from localhost ([127.0.0.1]:60801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYfK4-0005hU-1d for submit@debbugs.gnu.org; Wed, 23 Aug 2023 00:18:24 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:34594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYfK1-0005hD-19 for 65447@debbugs.gnu.org; Wed, 23 Aug 2023 00:18:22 -0400 Original-Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 4789DFA0B2; Wed, 23 Aug 2023 04:18:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1692764291; bh=pk8cZMfa20xQHRX8epL5HCsbH20NUmBvk2PcMCnRJSk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mxXO5YUiuzCSBZNIktS02Fv1ZrzPvvGsrDkVwfeaiBeV+qbYirQEgDU5SeRIiUbuR xTAhwD5DNmmwk/aKGiRvvXCFbVUPP2tcL8UmrGaSg8V9hQkHTvj23W17+D86vYJ0+S o/5xiqWaTEpbNN55c1Tb0H9tW89GzorAtG3qURA4= In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Tue, 22 Aug 2023 19:13:53 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268203 Archived-At: Gerd M=C3=B6llmann writes: > Eric Abrahamsen writes: > >> Eli Zaretskii writes: >> >>>> From: Gerd M=C3=B6llmann >>>> Date: Tue, 22 Aug 2023 09:29:39 +0200 >>>>=20 >>>> Gerd M=C3=B6llmann writes: >>>>=20 >>>> > I get the following error when starting Gnus with M-x gnus. >>>> > >>>> > No such function: nnfolder-server-opened >>>> > >>>> > The function nnfolder-server-opened is indeed defined nowhere I can >>>> > find. In case it matters, I had a Gnus autosave file. After M-x gn= us, >>>> > I answered 'n' to the question if the autosave file should be used. >>>> > After that, the error is signaled. >> >> This is almost certainly the source of the problem. Your .newsrc.eld >> file should have entries for groups looking like: >> >> ("nnfolder+archive:sent.2022-02" 3 ((1 . 1)) ((unexist) (seen 1)) >> (nnfolder >> "archive" (nnfolder-directory "~/.mail/archive") >> (nnfolder-active-file "~/.mail/archive/active") >> (nnfolder-get-new-mail nil) >> (nnfolder-inhibit-expiry t))) >> >> Long story short, at Gnus startup time the `nnfolder' symbol at the head >> of the method list will get turned into a `require' call for the >> appropriate library, so the nnfolder functions should be available early >> on. > > My .newsrc.eld contains, among other stuff > > (setq gnus-server-alist > '(("archive" nnfolder "archive" > (nnfolder-directory "~/Mail/archive") > (nnfolder-active-file "~/Mail/archive/active") > (nnfolder-get-new-mail nil) > (nnfolder-inhibit-expiry t)))) > > (setq gnus-topic-topology '(("Gnus" visible) (("misc" visible)))) > > (setq gnus-topic-alist > '(("misc" > "INBOX" > "Emacs" > "[Google Mail]/Entw\303\274rfe" > "[Google Mail]/Markiert" > "nndraft:drafts" > "[Google Mail]/Alle Nachrichten" > "[Google Mail]/Gesendet" > "[Google Mail]/Papierkorb" > "[Google Mail]/Spam" > "[Google Mail]/Wichtig" > "Notes" "[Gmail]/Drafts" > "Emacs/Emacs" > "nnfolder+archive:sent.2022-06") > ("Gnus"))) > > Above these, there's also a (setq gnus-newsrc-alist '(...)) with a large > list containomg references to nnfolder, e.g. (nnfolder-inhibit-expiry > t), but since that list is quoted... Yes, it's `gnus-newsrc-alist' that will contain group definitions, including seven (it looks like) for your archive groups, each one with an identical method definition looking like: (nnfolder "archive" (nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) I know the file is a bit eye-watering to look at, but try to confirm that you have seven archive groups in there, and each one ends with the form above. It's pretty weird that you're seeing this with your archive server, because that one gets special treatment. Take a close look at the file first, and maybe we can try something else. Eric