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: Fri, 06 Aug 2021 09:57:53 -0700 Message-ID: <87v94iqzn2.fsf@ericabrahamsen.net> References: <87zgtxlho6.fsf@gnus.org> <87mtpwi2wy.fsf@gnus.org> <87tuk34zr8.fsf@ericabrahamsen.net> <87k0kz4vxr.fsf@ericabrahamsen.net> <87a6lv4tp6.fsf@ericabrahamsen.net> <87im0j4cjs.fsf@ericabrahamsen.net> <87y29ec44t.fsf@gnus.org> <87v94ij2jz.fsf@tcd.ie> <87bl6ac0nu.fsf@gnus.org> <8735rmbysi.fsf@tcd.ie> <8735rma6bw.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27262"; 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, Andrew Cohen , Lars Ingebrigtsen , Pankaj Jangid , nuclearspace@gmail.com To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 06 18:59:12 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 1mC3Bg-0006uX-Oa for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 18:59:12 +0200 Original-Received: from localhost ([::1]:60234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mC3Bf-0005bM-KN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 12:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC3BW-0005b0-QL for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 12:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mC3BW-0002KW-JU for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 12:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mC3BW-0007RT-IQ for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 12:59:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Aug 2021 16:59: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.162826908528517 (code B ref 49866); Fri, 06 Aug 2021 16:59:02 +0000 Original-Received: (at 49866) by debbugs.gnu.org; 6 Aug 2021 16:58:05 +0000 Original-Received: from localhost ([127.0.0.1]:51245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC3Ab-0007Ps-HS for submit@debbugs.gnu.org; Fri, 06 Aug 2021 12:58:05 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:48850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC3AX-0007PK-OF for 49866@debbugs.gnu.org; Fri, 06 Aug 2021 12:58:04 -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 F141EFA02D; Fri, 6 Aug 2021 16:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1628269075; bh=345lVUCP60179VfaplyQYfUNK4SuK2jSQyBTRcmlD2E=; h=From:To:Cc:Subject:References:Date:From; b=LU9I0mBtjO/bHO4rgmMJb/CMFYDGLjYST2b5YA6z/3ZlIUhzZUN/wbgfiYj7VeV/5 f41elO45STbc+HIQaVFmCYz4i1iIRCTWzhZqiz+3HGLRiUslXusPa2iGSBiGCz+LZZ DA8p/+ayu1u9A6SR1CT2BLXlKOLsYhIcI5SD2XwI= 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:211340 Archived-At: Eric Abrahamsen writes: > On 08/06/21 12:25 PM, Basil L. Contovounesios wrote: >> Lars Ingebrigtsen writes: >> >>> "Basil L. Contovounesios" writes: >>> >>>> The problem isn't nil, it's '(1 2 3). >>> >>> The original backtrace was >>> >>> Debugger entered--Lisp error: (cl-no-applicable-method map-into nil list) >>> signal(cl-no-applicable-method (map-into nil list)) >>> [...] >>> map-into(nil list) >>> map-merge(list nil nil) >> >> This reminds me of https://bugs.gnu.org/46722, although I can't >> reproduce the error with (map-into () 'list). >> >>> though. So Eric's patch is the right thing for the '(1 2 3) nil case? >> >> I don't see how Eric's patch addresses the '(1 2 3) case, since '(1 2 3) >> is not a valid map that map-merge can usefully operate on. > > I've provided unhelpful examples here, because I didn't really know what > `map-merge' was supposed to do. > > Reloading map.el or map.elc is enough to fix the problem here. So that's > another data point. > > I realized that I was lying when I told Andy that EBDB doesn't use > map.el! In fact it does require it at the top ebdb.el, but then doesn't > make use of any of the functions. Maybe at some point I thought I'd use > it for something? I am further lying! Apparently I was using it, in ebdb-com.el, for alist mapping in a pcase-lambda. My apologies to Andy for dismissing the possibility that it was EBDB -- I have no recollection of writing that code! ANYWAY the real problem seems to have something to do with the recent change to the "eql" specializer for method definitions, done in 6535fd1fa9. That patch added quotes to eg the 'list in: (cl-defmethod map-into (map (_type (eql 'list))) "Convert MAP into an alist." (map-pairs map)) And removing those quotes removes the error for me. Again, simply reloading either map.el or map.elc (with quotes still in place) also removes the error, so there must be something tricky going on in compilation. I'm cc'ing akater, the author of that patch, in hopes they'll have some light to shed. Eric