From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Does map-y-or-n-p works in trunk? Date: Fri, 12 Jul 2013 10:40:15 +0200 Message-ID: <87mwpsp3ww.fsf@rosalinde.fritz.box> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373618426 30553 80.91.229.3 (12 Jul 2013 08:40:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2013 08:40:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 12 10:40:26 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UxYtt-00063k-IV for ged-emacs-devel@m.gmane.org; Fri, 12 Jul 2013 10:40:25 +0200 Original-Received: from localhost ([::1]:52842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxYtt-0004kW-7H for ged-emacs-devel@m.gmane.org; Fri, 12 Jul 2013 04:40:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxYtp-0004kO-1P for emacs-devel@gnu.org; Fri, 12 Jul 2013 04:40:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxYtm-00054J-15 for emacs-devel@gnu.org; Fri, 12 Jul 2013 04:40:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxYtl-00054D-OE for emacs-devel@gnu.org; Fri, 12 Jul 2013 04:40:17 -0400 Original-Received: from rosalinde.fritz.box ([89.245.64.169]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LvQkh-1UEZPf1lsR-010g4C; Fri, 12 Jul 2013 10:40:16 +0200 In-Reply-To: (Fabrice Popineau's message of "Fri, 12 Jul 2013 07:26:20 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:65KEFtO16XOvSuFi4QWZDqrB6ek4VWiLF+FzCsAB5avYPg407kh fbJzC5oeMEsbR1hwQPjdMzF9D4wO1mAkoum13p8y5zELO8XW0iqqsigocADmgDzytF8VL0S dzlN0W8u1KCNiDKfPwk8HNd9m71uX7JKhw9MaYjUu3WjJ/XmpJYiXDi+zYJAd13K9kcHjg/ URqZ9murHjcIhu/6dt3Qg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161835 Archived-At: On Fri, 12 Jul 2013 07:26:20 +0000 (UTC) Fabrice Popineau wrote: > Hi, > > I get this backtrace when trying to use map-y-or-n-p: > > Debugger entered--Lisp error: (wrong-type-argument stringp #[257 > "\301\300@\"\207" [(#1) format] 4 " > > (fn OBJECT)"]) > format(#[257 "\301\300@\"\207" [(#0) format] 4 "\n\n(fn OBJECT)"] 1) > #[257 "\301\300@\"\207" [(#0) format] 4 "\n\n(fn OBJECT)"](1) > map-y-or-n-p("Even ?" (lambda (x) (evenp x)) (1 2 3 4 5 6)) > eval((map-y-or-n-p "Even ?" (function (lambda (x) (evenp x))) (quote (1 2 3 > 4 5 6))) nil) > eval-last-sexp-1(nil) > eval-last-sexp(nil) > call-interactively(eval-last-sexp nil nil) > command-execute(eval-last-sexp) > > (This is from 'emacs -Q') > Is it a subtle bug specific to me? I've gotten the same kind of error several times recently on typing `q' in the Gnus *Group* buffer. I haven't gotten a full backtrace, so I've only seen the top wrong-type-argument error message, which is the same as yours. I think I've only gotten this when there's a live *Summary*, but I can't reliably reproduce it. Steve Berman