From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.bugs Subject: bug#49866: 28.0.50; gnus-summary-exit from the transient search buffer giving error Date: Fri, 06 Aug 2021 18:11:24 +0800 Message-ID: <875ywikhmb.fsf@ust.hk> References: <87zgtxlho6.fsf@gnus.org> <87mtpwi2wy.fsf@gnus.org> <87tuk34zr8.fsf@ericabrahamsen.net> <87k0kz4vxr.fsf@ericabrahamsen.net> <87a6lv4tp6.fsf@ericabrahamsen.net> <877dgz67ns.fsf@ericabrahamsen.net> <87wnoz4ltl.fsf@ericabrahamsen.net> <8735rmditp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14806"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eric Abrahamsen , 49866@debbugs.gnu.org, Andrew Cohen , Pankaj Jangid To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 06 12:12: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 1mBwpl-0003dQ-CE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 12:12:09 +0200 Original-Received: from localhost ([::1]:57012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBwpj-0004SL-CK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 06:12:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBwpe-0004Ry-C3 for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 06:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBwpe-0001Qb-4z for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 06:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBwpe-0004fn-0w for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 06:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Aug 2021 10:12:01 +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.162824470417940 (code B ref 49866); Fri, 06 Aug 2021 10:12:01 +0000 Original-Received: (at 49866) by debbugs.gnu.org; 6 Aug 2021 10:11:44 +0000 Original-Received: from localhost ([127.0.0.1]:49162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBwpM-0004fI-Fu for submit@debbugs.gnu.org; Fri, 06 Aug 2021 06:11:44 -0400 Original-Received: from andy.bu.edu ([128.197.41.152]:38502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBwpK-0004f2-7a for 49866@debbugs.gnu.org; Fri, 06 Aug 2021 06:11:42 -0400 Original-Received: from [191.96.120.89] (helo=hanan) by andy.bu.edu with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBwpD-0007Ee-2K; Fri, 06 Aug 2021 06:11:35 -0400 In-Reply-To: <8735rmditp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 06 Aug 2021 11:27:14 +0200") X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "andy.bu.edu", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Sorry, I communicated with Eric this morning but failed to copy everyone else :( The patch is hiding the problem---note that map-merge (should) handle nil lists perfectly fine. And indeed it does! Except something loaded in Eric and Pnakaj's environment makes it fail, which is...o [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam pro 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:211311 Archived-At: Sorry, I communicated with Eric this morning but failed to copy everyone else :( The patch is hiding the problem---note that map-merge (should) handle nil lists perfectly fine. And indeed it does! Except something loaded in Eric and Pnakaj's environment makes it fail, which is...odd. If you try with emacs -Q it works correctly, and it also works correctly in my environment. When map-merge is working properly Eric's new code just adds a no-op (and I think obscures the code and hides the real bug). The real question is how loading whatever it is that is causing map-merge to fail is, err, doing that. Looking at the map-merge code its hard to see what has happened, but this seems kind of important to understand. Best, Andy >>>>> "LI" == Lars Ingebrigtsen writes: LI> Eric Abrahamsen writes: >> Of course, now I have no theory as to why the bug is swallowed >> until debugging conditions are triggered. I've attached a patch >> that I think solves the root problem, but given my track record >> today it should be taken with a grain of salt. LI> Te patch looks good to me. >> (This doesn't mean I don't still think the `condition-case' in >> `nnselect-run' should be removed though!) LI> Yes, I think so too. LI> -- (domestic pets only, the antidote for overdose, milk.) LI> bloggy blog: http://lars.ingebrigtsen.no -- Andrew Cohen Director, HKUST Jockey Club Institute for Advanced Study Lam Woo Foundation Professor and Chair Professor of Physics The Hong Kong University of Science and Technology