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: Wed, 23 Aug 2023 10:01:49 -0700 Message-ID: <87h6ophev6.fsf@ericabrahamsen.net> References: <83il97tjar.fsf@gnu.org> <87msyjhwn7.fsf@ericabrahamsen.net> <87wmxmgznj.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="24743"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 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 19:03:13 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 1qYrGD-000695-6i for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Aug 2023 19:03:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYrG0-0001tq-8E; Wed, 23 Aug 2023 13:03: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 1qYrFz-0001rs-5X for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 13:02: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 1qYrFy-0000Q2-T9 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 13:02:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYrG2-0001Zw-BX for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 13:03:02 -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 17:03:02 +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.16928101245981 (code B ref 65447); Wed, 23 Aug 2023 17:03:02 +0000 Original-Received: (at 65447) by debbugs.gnu.org; 23 Aug 2023 17:02:04 +0000 Original-Received: from localhost ([127.0.0.1]:35044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYrF6-0001YO-2f for submit@debbugs.gnu.org; Wed, 23 Aug 2023 13:02:04 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:44886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYrF3-0001Xt-69 for 65447@debbugs.gnu.org; Wed, 23 Aug 2023 13:02:03 -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 B115AFA07E; Wed, 23 Aug 2023 17:01:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1692810112; bh=d0owORgqfxi3AhcD5cVX3oG8kgKyFss+yNzwFPl/xu4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rXCXa1kqKYRmxWTCFfjcE3CrdIUyS6QHQ5qOlcuIHz62OybzJteW1kF6RF8KmIaAV 3zeExGw4VzN/lha8danA3ZcqK7Xt+DELq1ie3n8FPrsu++YJauTo2x74qeCQ5iQWHL GPBm09ZA3fJ2YoGhBl1MurMDEKUzh3xbu71U2iak= In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Wed, 23 Aug 2023 07:18:08 +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:268261 Archived-At: On 08/23/23 07:18 AM, Gerd M=C3=B6llmann wrote: > Eric Abrahamsen writes: > >> Yes, it's `gnus-newsrc-alist' that will contain group definitions, > > Ah, ok. Sorry, I didn't know that. No problem :) >> 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. > > No problem. When I 'pp' the list, I see these 7: > > (\"nnfolder+archive:sent.2022-06\" 3 nil ((unexist) (seen (1 . 2))) > (nnfolder \"archive\" (nnfolder-directory \"~/Mail/archive\") > (nnfolder-active-file \"~/Mail/archive/active\") > (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t))) > (\"nnfolder+archive:sent.2022-07\" 3 nil nil > (nnfolder \"archive\" (nnfolder-directory \"~/Mail/archive\") > (nnfolder-active-file \"~/Mail/archive/active\") > (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) > nil) > (\"nnfolder+archive:sent.2022-08\" 3 nil nil > (nnfolder \"archive\" (nnfolder-directory \"~/Mail/archive\") > (nnfolder-active-file \"~/Mail/archive/active\") > (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) > nil) > (\"nnfolder+archive:sent.2022-09\" 3 nil nil > (nnfolder \"archive\" (nnfolder-directory \"~/Mail/archive\") > (nnfolder-active-file \"~/Mail/archive/active\") > (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) > nil) > (\"nnfolder+archive:sent.2022-10\" 3 nil nil > (nnfolder \"archive\" (nnfolder-directory \"~/Mail/archive\") > (nnfolder-active-file \"~/Mail/archive/active\") > (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) > nil) > (\"nnfolder+archive:sent.2022-11\" 3 nil nil > (nnfolder \"archive\" (nnfolder-directory \"~/Mail/archive\") > (nnfolder-active-file \"~/Mail/archive/active\") > (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) > nil) > (\"nnfolder+archive:sent.2023-08\" 3 nil nil > (nnfolder \"archive\" (nnfolder-directory \"~/Mail/archive\") > (nnfolder-active-file \"~/Mail/archive/active\") > (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) > nil)) > >> It's pretty weird that you're seeing this with your archive server, > > I am weird :-). > >> because that one gets special treatment. Take a close look at the file >> first, and maybe we can try something else. > > I can also try to catch that in the debugger, if it helps. Since > setting debug-on-error seems not to help, can I perhaps set a breakpoint > somewhere in Gnus? The error has to be coming out of `gnus-get-function', in gnus-int.el. Right above the spot where the error is signaled, we have a: (require (car method)) In your case, (car method) is supposed to be the symbol 'nnfolder. I can't imagine how the function name has been constructed as `nnfolder-server-opened', yet (car method) is something other than `nnfolder'. So the place to set a breakpoint would be at the bottom of `gnus-get-function', maybe you can put it behind a check for (eq func 'nnfolder-server-opened). Then we would want to know what the value of `method' is here, and also where in the startup sequence we are. Thanks! Eric