From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#65447: 30.0.50; Gnus: No such function: nnfolder-server-opened Date: Tue, 22 Aug 2023 19:13:53 +0200 Message-ID: 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="18138"; 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: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 22 19:15:26 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 1qYUyU-0004Vv-95 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Aug 2023 19:15:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYUyC-0008VH-OD; Tue, 22 Aug 2023 13:15:09 -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 1qYUy3-0008Uc-JO for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 13:14: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 1qYUy3-0004t5-9J for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 13:14:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYUy5-0008CE-Rr for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 13:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Aug 2023 17:15: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.169272444631429 (code B ref 65447); Tue, 22 Aug 2023 17:15:01 +0000 Original-Received: (at 65447) by debbugs.gnu.org; 22 Aug 2023 17:14:06 +0000 Original-Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYUxC-0008Aq-1g for submit@debbugs.gnu.org; Tue, 22 Aug 2023 13:14:06 -0400 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:46436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYUxA-0008AF-MZ for 65447@debbugs.gnu.org; Tue, 22 Aug 2023 13:14:05 -0400 Original-Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3fee8af9cb9so28284115e9.1 for <65447@debbugs.gnu.org>; Tue, 22 Aug 2023 10:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692724435; x=1693329235; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qpd3MSHHoq80zYJFQmAMtjPME5yJ0rqGIWTYxUrOfqE=; b=m+hN8dfP52RIJp67RExgXI3AyfgbvQDNiUvv7DpMnigk43fE05srh0+FQ0+xwjefGJ jGJvJmG5+GINEvHl9bFM1AnSq+6m2EUSisT+hRzrdw8Iz0FaVUzz+rjY7uX/4zF9CBkk P+SLIIwSFBork8DsH4tLbFlRB4bt0FDgjhHs10MBSWiYU47wmp88L95aVEZLKBQvB7he CnrmXOQTyrP4Ti8nJmFKGAg1znwGsuPtJFpOZsCy2Tumnrv7NfrFvS+EyFT0K1npwo8p e1J5iZDaMAFU9dxHF5V6FwuY6oy/IlXuNcezAX9c3oC4oN+fFvuZZ/iWQeImHSYRGIrX 48VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692724435; x=1693329235; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Qpd3MSHHoq80zYJFQmAMtjPME5yJ0rqGIWTYxUrOfqE=; b=Phc4OTlTvN7PvsUeCd+AKPZXvFAIJNhBaIejc2KMvF7GnRkts7tP+rWkez/XRkuEJd IhqNGt0OwV0+FcELZ3C+b95snHkN/EgxZBTPbOZ/pv9mxYb61zReSaNhZ0M+91QhsNvc o/yGyXkEUEKkGoIVjJUlT1Ov9n5zhuemaLUtUpgChBQP9iTTZuRXIgqixw7IHeGHZyQN KfrvdWxJG0+/iIx72dYDQzq4zM07bigpsTmE+ywG6/ERHr8oAqqNoOxZJ4ow57FMSaEA dVz/VtwdRn5NgpBj3YdR/AvMzf+2O61LUn/2nzoct6p9R2txx+o7Hb75QMv/Aa9JFOCe g4jw== X-Gm-Message-State: AOJu0Yw71fKqBZOb39bsIXSv87Pf5XhsXhIdgCXrenukyrNHgHhvv+dT ARtzN7sd8zJWpMD0v7MzRrKDHXBdqewPQLrO X-Google-Smtp-Source: AGHT+IGPtGgCc/0mzfktoSvHDF1E/HiYhFaqe4PAvUGUxgKnJCYNf1FxtdsS/zPWE4PmymRuoq2c/A== X-Received: by 2002:a1c:6a16:0:b0:3fb:dd9c:72d2 with SMTP id f22-20020a1c6a16000000b003fbdd9c72d2mr7909905wmc.31.1692724435173; Tue, 22 Aug 2023 10:13:55 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e363f4.dip0.t-ipconnect.de. [217.227.99.244]) by smtp.gmail.com with ESMTPSA id t24-20020a7bc3d8000000b003fe195cecb3sm14137092wmj.38.2023.08.22.10.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Aug 2023 10:13:54 -0700 (PDT) In-Reply-To: <87msyjhwn7.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 22 Aug 2023 09:25:32 -0700") 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:268186 Archived-At: 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 gnu= s, >>> > 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... > I'm not sure exactly how you got there, but it sounds like there are > references to your nnfolder group(s) somewhere in Gnus, but the groups > are not listed in your .newsrc.eld, so the library is never loaded. > > What nnfolder groups show up in your Group buffer (hitting "L" first). > Are those groups present in your .newsrc.eld file? and the summary shows 0: Emacs 0: Emacs/Emacs 0: INBOX 0: Notes 0: [Gmail]/Drafts * 0: [Google Mail]/Alle Nachrichten 0: [Google Mail]/Entw=C3=BCrfe * 0: [Google Mail]/Gesendet * 0: [Google Mail]/Markiert *U 0: [Google Mail]/Papierkorb U 72: [Google Mail]/Spam 5: [Google Mail]/Wichtig 13: nndraft:drafts 2: nnfolder+archive:sent.2022-06 24: nnfolder+archive:sent.2022-07 31: nnfolder+archive:sent.2022-08 71: nnfolder+archive:sent.2022-09 57: nnfolder+archive:sent.2022-10 15: nnfolder+archive:sent.2022-11 7: nnfolder+archive:sent.2023-08 Which I think is what gnus-topic-alist has, except for the archives. Here is what my .gnus looks like. I think I copied it from somewhere on the Internet. (setq mml-secure-openpgp-signers '("xxx") ;; We want to be able to read the emails we wrote. mml-secure-openpgp-encrypt-to-self t) (setq gnus-select-method '(nnimap "gmail" (nnimap-address "imap.gmail.com") (nnimap-server-port "imaps") (nnimap-stream ssl))) (setq smtpmail-smtp-server "smtp.gmail.com" smtpmail-smtp-service 587)