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#49866: 28.0.50; gnus-summary-exit from the transient search buffer giving error Date: Thu, 05 Aug 2021 11:44:53 -0700 Message-ID: <87a6lv4tp6.fsf@ericabrahamsen.net> References: <87zgtxlho6.fsf@gnus.org> <87mtpwi2wy.fsf@gnus.org> <87tuk34zr8.fsf@ericabrahamsen.net> <87k0kz4vxr.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="11201"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 49866@debbugs.gnu.org, Lars Ingebrigtsen To: Pankaj Jangid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 05 20:46:10 2021 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 1mBiNe-0002iY-J7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 20:46:10 +0200 Original-Received: from localhost ([::1]:36096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBiNc-0004Vr-IL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 14:46:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBiNX-0004VV-7j for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 14:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBiNX-0001H4-17 for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 14:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBiNW-0001uy-HI for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 14:46: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: Thu, 05 Aug 2021 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49866 X-GNU-PR-Package: emacs Original-Received: via spool by 49866-submit@debbugs.gnu.org id=B49866.16281891047286 (code B ref 49866); Thu, 05 Aug 2021 18:46:02 +0000 Original-Received: (at 49866) by debbugs.gnu.org; 5 Aug 2021 18:45:04 +0000 Original-Received: from localhost ([127.0.0.1]:48442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBiMa-0001tR-0f for submit@debbugs.gnu.org; Thu, 05 Aug 2021 14:45:04 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:50166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBiMX-0001sa-Gr for 49866@debbugs.gnu.org; Thu, 05 Aug 2021 14:45:02 -0400 Original-Received: from localhost (c-71-197-184-122.hsd1.wa.comcast.net [71.197.184.122]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id D7857FA02D; Thu, 5 Aug 2021 18:44:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1628189095; bh=30wGppYHnuo8584Mv9kZrCxE/gWpNn3l8ZMwJXsdE/I=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=MdtcsezgWXKLbPa4LGsIXz50ZH17vkUJpdhZywdtlW9pgipl7fHBrxhwRIyVUoUqt +NJIG9nJzkbBr9k7jMz2S6gRpfbDBhQsNbNGOEKlk2LzZ5PiXaQ5iFzsvo3ntdMTAJ 7N9Zj40LAWxjlfhc4hxyEjcB8z+Wj7STelsj8TqY= In-Reply-To: <87k0kz4vxr.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 05 Aug 2021 10:56: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" Xref: news.gmane.io gmane.emacs.bugs:211265 Archived-At: Eric Abrahamsen writes: > Pankaj Jangid writes: > >> Eric Abrahamsen writes: >> >>> Pankaj Jangid writes: >>> >>>> I think I have isolated the cause. And the error is cause by these lin= es >>>> in my ~/.emacs.d/init.el (only if ebdb package is installed): >>>> >>>> (when (package-installed-p 'ebdb) >>>> (require 'ebdb-gnus) >>>> (require 'ebdb-message)) >>>> >>>> >>>> If I remove the package ebdb then the error goes away. >>> >>> That's pretty weird, as EBDB doesn't mess with Gnus marks at all. >>> Perhaps it is raising an error at some point, which is interrupting >>> nnselect's normal buffer setup? That's a completely wild guess. >>> >>> Maybe try setting `ebdb-mua-auto-update-p' to nil and try again? >>> Whatever damage EBDB might be doing to Gnus should be done in the auto >>> update process. >>> >>> But again, I can't even begin to guess why this would be happening. >> >> more weird things happening here. >> >> I have =E2=80=98ebdb-mua-auto-update-p=E2=80=99 set to nil in my config.= This was >> already the case. >> >> But calling (describe-variable) on =E2=80=98ebdb-mua-auto-update=E2=80= =99 shows this >> error with the following steps: >> >> Steps: >> >> 1. Start emacs afresh >> >> 2. (setq debug-on-error t) >> >> 3. Launch gnus >> >> 4. C-h v ebdb-mua-auto-update-p RET >> >> Result: >> >> Debugger entered--Lisp error: (file-missing "Cannot open load file" "No = such file or directory" "vm-autoloads") >> require(vm-autoloads) Okay, after going into ebdb-vm.el and provoking the above error by eval-ling the (when t ...) statement, I'm now seeing the same bug when exiting search groups. In my case I'm seeing it when `nnselect-push-info' is cycling over mark types, and reaches "bookmark", which is of type 'tuple: the first mark of that type. That puts us into the (eq mark-type 'tuple) branch of the cond for the first time, which is also the first time it runs: (map-merge 'list list (alist-get type (gnus-info-marks group-info))) There are no bookmark marks in this group, so naturally we get the no-applicable-method error for "nil". This does nothing to explain how this code doesn't error normally, or how on earth raising a `require'-based error would change its behavior. I'm out for the rest of the afternoon, but I'll restart Gnus and look at how it works in a non-broken setup later in the day. Eric