From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Preloading seq.el Date: Thu, 29 Aug 2019 11:20:36 -0400 Message-ID: References: <87imqgjgqm.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="53965"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Kangas , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 29 17:26:15 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i3MJT-000Dwq-9X for ged-emacs-devel@m.gmane.org; Thu, 29 Aug 2019 17:26:15 +0200 Original-Received: from localhost ([::1]:51080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3MJS-0002rf-6D for ged-emacs-devel@m.gmane.org; Thu, 29 Aug 2019 11:26:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53122) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3ME8-00066q-Ce for emacs-devel@gnu.org; Thu, 29 Aug 2019 11:20:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3ME5-00074i-Pm for emacs-devel@gnu.org; Thu, 29 Aug 2019 11:20:42 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18898) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i3ME5-00070d-IC for emacs-devel@gnu.org; Thu, 29 Aug 2019 11:20:41 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 4A49C811E4; Thu, 29 Aug 2019 11:20:38 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 0E06F81094; Thu, 29 Aug 2019 11:20:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1567092037; bh=nI16yB5BZobHgzVU6bnxru/T/86gwJuIp6Csrim9uUg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=jckxIY2edOSKG1EKj61wQpQ4ES1LKUvBGgEPvsc+N8vNLeYoBt1DjvtdyiY0Wncz0 sAHJa4a0I3HOcbOrHATro1SmnMFatc8I8BPJ8MjIujzgqkpD43u3o/Ifro+TRuG0mw PNN7zWGjRLjXPf2yq+N7cxNxIg3vZhrzIBIgnVmrxMrWn0X+bCG/wU8shkvoc0ZwXk m/+EQs6H7B/aNWbL59XbxeIVlEb4bPJPKyg9D+wqWbLqsEesCgecpt4AhTO5nb6U0x prktIlj+uETCQLRnr75BEkPPUhQnd093Do8sscuP13rzrdKwU2anyMcaO3PyaV48dj 8OiM1Rz9kWw6g== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E659D120608; Thu, 29 Aug 2019 11:20:36 -0400 (EDT) In-Reply-To: <87imqgjgqm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 29 Aug 2019 14:30:57 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:239682 Archived-At: >> Stefan Monnier also pointed out that seq.el depends on cl-lib, and >> that to preload seq, we would need to preload cl-lib. That's only a technical detail, tho: If we decide to preload seq.el it should be easy to reverse the dependency (i.e. make cl-lib use seq.el rather than the reverse). > I'm all for preloading both seq.el and cl-lib.el. I think I'm mildly favorable as well, but I'm not very interested in putting the work needed for this to happen (IIRC there are some technical issues to address before we can do that). > I think it's annoying that we're not allowed to use these very useful > libraries in the most central bits of Emacs, but instead have to write > less optimal and readable code in those files. You can see my addition of pcase, lexical-binding, setf, cl-preloaded, and cl-generic as a way to reduce this tension ;-) Stefan