From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing) Date: Wed, 22 May 2019 18:40:21 +0200 Message-ID: <8FEB203F-9A51-4AD7-8FD4-DE566CA281FC@acm.org> References: <7a6b23f52418b093a4cf7a6db4306cf425533249.camel@acm.org> <87a7fnzd3u.fsf@web.de> <128EBFB8-78FF-47C3-8F28-C1EF91BFC4BB@acm.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="217018"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 22 20:11:10 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTVhj-000uII-BQ for ged-emacs-devel@m.gmane.org; Wed, 22 May 2019 20:11:07 +0200 Original-Received: from localhost ([127.0.0.1]:49202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTVhi-0000eU-BT for ged-emacs-devel@m.gmane.org; Wed, 22 May 2019 14:11:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTVh2-0000di-De for emacs-devel@gnu.org; Wed, 22 May 2019 14:10:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTVgy-0007LP-Fa for emacs-devel@gnu.org; Wed, 22 May 2019 14:10:24 -0400 Original-Received: from mail1426c50.megamailservers.eu ([91.136.14.26]:32976 helo=mail102c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTVgu-0007Fp-MK for emacs-devel@gnu.org; Wed, 22 May 2019 14:10:18 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1558543224; bh=bYOeRGqNsqTno32dMqtcjqr+rkoZKn+YXn9yR2PuERY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=UD1WTixFRTecnUvyqcczlTzBzmbMi9ihBcH232YJTvVCiMyDFeUBUzDe7L659M8D7 cHuSjqFu0MgE1NO04lHmYqmydaPu+MCTHpGlZIldambQM8smo7rxCZajRrxhsRx4Si 4+QxPP4NQiu2lb8hkaKMITddaNKAL4om/rRSpZN4= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.0.4] ([188.150.171.71]) (authenticated bits=0) by mail102c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x4MGeLwJ015106; Wed, 22 May 2019 16:40:23 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B0212.5CE57B77.0078, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=F7x5iJpN c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=iRZporoAAAAA:8 a=yOLuko9lCJiMw0hq17UA:9 a=QEXdDO2ut3YA:10 a=NOBgFS-JBQ2l-kSd6-zu:22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 91.136.14.26 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:236909 Archived-At: 22 maj 2019 kl. 17.53 skrev Stefan Monnier : >=20 > Ah, I think I know what's going on. See this part of cl-lib.el: >=20 > (unless (load "cl-loaddefs" 'noerror 'quiet) > ;; When bootstrapping, cl-loaddefs hasn't been built yet! > (require 'cl-macs) > (require 'cl-seq)) >=20 > Adding `cl-extra` here would likely fix your problem=20 No, now the bootstrap just fails earlier: Loading /Users/mattias/emacs/lisp/emacs-lisp/cl-preloaded.el (source)... Eager macro-expansion failure: (void-function help-add-fundoc-usage) Eager macro-expansion failure: (void-function help-add-fundoc-usage) Eager macro-expansion failure: (void-function help-add-fundoc-usage) Eager macro-expansion failure: (void-function help-add-fundoc-usage) Eager macro-expansion failure: (void-function help-add-fundoc-usage) Eager macro-expansion failure: (void-function help-add-fundoc-usage) Eager macro-expansion failure: (void-function help-add-fundoc-usage) Eager macro-expansion failure: (void-function help-add-fundoc-usage) Symbol=E2=80=99s function definition is void: help-add-fundoc-usage I think the (require 'cl-extra) better stay in rx.el until this mess has = been sorted out. > (of course, using > (memq nil (mapcar ...)) is a perfectly fine alternative as well). That's what I always have been using, but given that cl-every and = cl-some are easier to read, understand, and write, and generally faster, = I've sort of changed tack. Maybe we should add `every' and `some' as = builtins?