From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#25826: 26.0.50; cl-mapc and cl-mapl do needless consing Date: Thu, 23 Feb 2017 11:09:42 +0900 (JST) Message-ID: References: <87d1ecyno9.fsf@calancha-pc> <87shn7hdbx.fsf@users.sourceforge.net> <87lgsyncr1.fsf@calancha-pc> <87efyqhpb5.fsf@users.sourceforge.net> <87y3wyojzu.fsf@calancha-pc> <8737f5hdqp.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1487816113 10124 195.159.176.226 (23 Feb 2017 02:15:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2017 02:15:13 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 25826@debbugs.gnu.org, Tino Calancha To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 23 03:15:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgivy-0001zm-5j for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 03:15:06 +0100 Original-Received: from localhost ([::1]:56014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgiw3-0001LF-Ql for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2017 21:15:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgir9-0004kJ-Vn for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:10:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgir4-0007jt-E7 for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:10:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgir4-0007ji-AG for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cgir3-0001bv-Sh for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2017 21:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2017 02:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25826-submit@debbugs.gnu.org id=B25826.14878157986177 (code B ref 25826); Thu, 23 Feb 2017 02:10:01 +0000 Original-Received: (at 25826) by debbugs.gnu.org; 23 Feb 2017 02:09:58 +0000 Original-Received: from localhost ([127.0.0.1]:51738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgiqz-0001bZ-Rw for submit@debbugs.gnu.org; Wed, 22 Feb 2017 21:09:57 -0500 Original-Received: from mail-pg0-f65.google.com ([74.125.83.65]:33932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgiqx-0001bM-Vv for 25826@debbugs.gnu.org; Wed, 22 Feb 2017 21:09:56 -0500 Original-Received: by mail-pg0-f65.google.com with SMTP id s67so2714133pgb.1 for <25826@debbugs.gnu.org>; Wed, 22 Feb 2017 18:09:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=BR1NkUXzaU2THqC/bRrGRKdp3viH3mFvKqnjiaNdpyM=; b=Ri8wzMteKAKrFdlymBrFRRUB1oY4qhDATMIzLxSWPYVTzjJz6a4nCnDNMPTbT2Mb0p NH23CWABuF9h0+XbMaTNUvY63ps7BbJaj8m4B+HwN/Ju6+yUaEnVVTUoXSpjImLMiGSm 97AisooV90WfUNwuD60s8tcn3ZVfk9ddC8UwXvsFsIN/0Kz/A9h22QDFmONxDjZxKqOb EHCBSqiEvofKpGQOwGHmtyRtqD4X6ZDSdZpbhsOg+eBljel7MnjMq255WdBip2DC9xzh Wxbr5Odonwskh9WKQ2KEmJWSjyLgb1coTmIE7o7WnpNRXRzz9PbIafy9g1rfgo0/pPVe nNhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=BR1NkUXzaU2THqC/bRrGRKdp3viH3mFvKqnjiaNdpyM=; b=Mcm38tNO2JCQXfMT10UxktoO8FkszbZVJ+Ykkd0CX0oCCV9jYKe3gb1FxEp+JQKKDh ycwn4mfiX/b4fVVJEDIAa2Bk0lADlsCJepUmV74YvQshTg/a/7ZP1eDLE5fQp6TcSq87 OwQRU4SfvrnZOdagZxwpqeL3HN4SHVbfOnnos6tyeXs8QsK3M4e72ZJdl3gJbLp5zlfh yDlhJCCQ6+Bbr8IP+M3PVOCCIXIKZYksQDB9HR12IJTetdIjfceO11tKm1xIB2MDQEWw +LX3acHRv15fYhoHyY15GBsfj1zkwcthVAjZf5Y3a9zSwQ2VogLUFFUuIOcZiDwTkLIK KhlA== X-Gm-Message-State: AMke39lbgEt9cGV4JqenI1uJ9PMZ9xFNFypbIV8tkGjFh+G/m3XeH0C5EHXKGZ/HcUvFGQ== X-Received: by 10.98.51.70 with SMTP id z67mr43007211pfz.68.1487815790318; Wed, 22 Feb 2017 18:09:50 -0800 (PST) Original-Received: from calancha-pc (104.81.147.124.dy.bbexcite.jp. [124.147.81.104]) by smtp.gmail.com with ESMTPSA id r4sm5877278pgr.53.2017.02.22.18.09.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2017 18:09:45 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <8737f5hdqp.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129670 Archived-At: On Wed, 22 Feb 2017, npostavs@users.sourceforge.net wrote: > Tino Calancha writes: >> It's tricky to write a test to check if cl-mapc/cl-mapl over cons. >> Thus, i have written tests that just ensure the return values >> are as expected. > > We should check that the args are consp at least: That's right. Thanks for the patch! I will push it to master in a few days if we don't get additonal feedback.