From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#27436: 26.0.50; cc-defs requires cl instead of cl-lib in master Date: Sun, 25 Jun 2017 13:51:31 -0600 Message-ID: <87injjlubg.fsf@lylat> References: <87zid1ho6b.fsf@lylat> <20170625141300.GA17130@acm> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498420395 24935 195.159.176.226 (25 Jun 2017 19:53:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 19:53:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27436-done@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 25 21:53:10 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 1dPDan-00064F-DF for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 21:53:09 +0200 Original-Received: from localhost ([::1]:43640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPDar-0004DO-5S for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 15:53:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPDal-0004CV-DF for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2017 15:53:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPDak-00063g-Ia for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2017 15:53:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34977) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPDag-00061r-QR; Sun, 25 Jun 2017 15:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPDag-0003NC-DD; Sun, 25 Jun 2017 15:53:02 -0400 Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 25 Jun 2017 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27436 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Mail-Followup-To: 27436@debbugs.gnu.org, agrambot@gmail.com, agrambot@gmail.com Original-Received: via spool by 27436-done@debbugs.gnu.org id=D27436.149842032312898 (code D ref 27436); Sun, 25 Jun 2017 19:53:02 +0000 Original-Received: (at 27436-done) by debbugs.gnu.org; 25 Jun 2017 19:52:03 +0000 Original-Received: from localhost ([127.0.0.1]:37654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPDZj-0003Ly-Jm for submit@debbugs.gnu.org; Sun, 25 Jun 2017 15:52:03 -0400 Original-Received: from mail-io0-f170.google.com ([209.85.223.170]:35192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPDZh-0003LT-Iz for 27436-done@debbugs.gnu.org; Sun, 25 Jun 2017 15:52:02 -0400 Original-Received: by mail-io0-f170.google.com with SMTP id h134so54255434iof.2 for <27436-done@debbugs.gnu.org>; Sun, 25 Jun 2017 12:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Qt/LAVywjEqg2eN6IfkwOhZxdrA7xPOF/CjMMkzWAa0=; b=IPvkQZzCfApPQ/Gy4DUsjGG3qeYzrXrsy+4ANrGO1iV2p0p4baouK1OasSkIp5PNQy M5faNbu3yBq0vEmivJLllSxQwChr+e+8D9+XfpfgNQUZpEuYEbMFj8RaKA5kzkn1gWr8 qGej8c2JUQI+xq5L530Ko2eGPP3F5+XXBFXkUeA4aQgoVjAzwv2E8zrcYl8ko3a/Klqt tRpC6/vmH8nmwJmH6NKDeXl7+I9NlQKkDHtJ80OgsGpiPpbjp90ZZ0eNWeTQs+ocpENk 5hEGYG4qTVUWIQEC9dHsg1uHYRisl72RvgHipn/aiOeNEVKFqC6EPjLyLzdZPG+mYtjO aaNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Qt/LAVywjEqg2eN6IfkwOhZxdrA7xPOF/CjMMkzWAa0=; b=ea2ZT93woAh+5KhOFgerpEKFTSMd+ZnhCDutUeOJCTaPwgxQknCd2px3KmUE9FCKei 8+FPxo3NViSbOho5doyxh/xVBXXuGJfIv+v9yzkveSfUbatS9IgaZeTM6l4S1vIRxVH2 Cpt8sR0e+aC4Oi3NY5vPKf8vQDQlVEZ7wkJM/AsNY1yZidQgQpayH18+qQkiBwQCFqOT iiW3V6GhIePF8MI7BOeb+GUZllzw+iMEYrAQBRgp48fpOiqtnk0HuaECKoPTSNq4me8d YQ8btuv+jsEn+L4SQSTfVr9WxPtWucz94iNV4Dtm7/Tc89vnd3by4PXRarNodAFSBuXf trBA== X-Gm-Message-State: AKS2vOw7rLoA+DuyMbNjhwZT5eWBamOrv5Pi24UY2AZ0kkPidqWp/81P HZr15Jjn+UvH54Xi X-Received: by 10.107.55.139 with SMTP id e133mr19073186ioa.132.1498420315516; Sun, 25 Jun 2017 12:51:55 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id m97sm6478587ioi.32.2017.06.25.12.51.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Jun 2017 12:51:53 -0700 (PDT) In-Reply-To: <20170625141300.GA17130@acm> (Alan Mackenzie's message of "Sun, 25 Jun 2017 14:13:01 +0000") 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:133901 Archived-At: Alan Mackenzie writes: > Hello, Alex. > > On Wed, Jun 21, 2017 at 00:04:12 -0600, Alex wrote: >> cc-defs has this condition to check whether or not to include cl-lib: > >> ====================================== >> (and (fboundp 'mapcan) >> (subrp (symbol-function 'mapcan))) >> ====================================== > >> As of 466ee1b3ea, Emacs now has a built in mapcan, so the above returns >> true. > > Yes. Thanks for taking the trouble to report this bug. > > I've committed a fix to master. I'd be grateful if you would confirm it > fixes the problem properly, or tell me what's not quite right. > >> Other code in cc-defs.el uses (featurep 'xemacs). Is there a reason why >> it can't be used here? > > CC Mode has always favoured testing features rather than version numbers > and the the base (X)Emacs, so that if a tested feature becomes or ceases > to be available, CC Mode should pick that up automatically. That is > illustrated by the current case, just that here the actual test used was > suboptimal. Hopefully it is now OK. Hello, Alan. Thanks for the explanation and fix; I can confirm that the problem is fixed in master. I'll close this bug.