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: autoload cl-defstruct constructor? Date: Wed, 04 Sep 2019 15:03:42 -0400 Message-ID: References: <86k1anriz5.fsf@stephe-leake.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="161705"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 04 21:03:57 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 1i5aZQ-000fxF-3m for ged-emacs-devel@m.gmane.org; Wed, 04 Sep 2019 21:03:56 +0200 Original-Received: from localhost ([::1]:36444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5aZO-0004yE-Tr for ged-emacs-devel@m.gmane.org; Wed, 04 Sep 2019 15:03:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35925) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5aZI-0004y4-6h for emacs-devel@gnu.org; Wed, 04 Sep 2019 15:03:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5aZH-0002Kj-1b for emacs-devel@gnu.org; Wed, 04 Sep 2019 15:03:47 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27381) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5aZG-0002KC-RZ for emacs-devel@gnu.org; Wed, 04 Sep 2019 15:03:46 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7216381241; Wed, 4 Sep 2019 15:03:45 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id ACD2980BD0; Wed, 4 Sep 2019 15:03:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1567623823; bh=MHPq3WP51y5puWH0mKToiWLruidojV+Ohwil1e6wGNQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RZ2hDQa7rT1fAi/W6FGJCHCcsArB1hotEeWuoy3ERF7pACRrbUxEEKXnVm3yvyNCy vkNSqGjmGvPLX5rPeCIhbxUY1oerPFYo5kBXsax0bg9UFVzjnjL4UKJbAox8gIUGJW eRnxQO9sCeQvLBHOpawXpsQg5SgNlv4msabDQmztsBVbKuvUbN9RlzHlzbu9pM70Kp 6LPxRq3gGaXCFssBqLeZedexYT/qK2H5IehNxcoqfvcQEChLBgZPv0YFA9dXi8NiWN edZOKt69cR44sLzyt0/X2fEOLt1sF+lrhs3rpM/SJzSL1eGjTAqMKMvUnYK1/AXbog QGoAQLzCRRm+Q== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 697001202FE; Wed, 4 Sep 2019 15:03:43 -0400 (EDT) In-Reply-To: <86k1anriz5.fsf@stephe-leake.org> (Stephen Leake's message of "Wed, 04 Sep 2019 11:53:34 -0700") 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:239846 Archived-At: > I tried adding an autoload cookie to the cl-defstruct. That almost > works, but update-directory-autoloads doesn't respect the order implied > by :include, so wisi-compiler is declared in autoloads.el after it is > needed. Could you give details about this ordering problem? It sounds like a bug (tho fixing it will probably not help you in the short-run if you need your solution to work in Emacs-26). Stefan