From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "make autoloads" signals an error Date: Thu, 02 Jun 2022 15:05:35 +0300 Message-ID: <831qw7fey8.fsf@gnu.org> References: <83ee08h9et.fsf@gnu.org> <87sfoozi14.fsf@gnus.org> <83a6awh7ts.fsf@gnu.org> <87ee085z6o.fsf@gnus.org> <87a6aw5yz2.fsf@gnus.org> <875ylk5yqk.fsf@gnus.org> <20220601175157.4u4a4liqfa3ayg5y@Ergus> <20220601182104.q7pwzhq2qdpof5wm@Ergus> <87tu931l4c.fsf@gnus.org> <87v8tjjsdy.fsf@wavexx.thregr.org> <87h753z8bw.fsf@gnus.org> <835yljfi6k.fsf@gnu.org> <875yljz50c.fsf@gnus.org> <8335gnffik.fsf@gnu.org> <87r147xolv.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17863"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wavexx@thregr.org, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 02 14:46:59 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwkE6-0004PX-GP for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Jun 2022 14:46:58 +0200 Original-Received: from localhost ([::1]:40352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwkE5-0006Of-8h for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Jun 2022 08:46:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwjaK-0005WP-3z for emacs-devel@gnu.org; Thu, 02 Jun 2022 08:05:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55590) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwjaC-0002eP-UE; Thu, 02 Jun 2022 08:05:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+n2Q3e+7p+Hn+MUc68LnY0/PkIVuHL9J+sWcn0AC59E=; b=q3mNauStG3DZ 4iV7CFC0o1ZIWCjCyVR7nEQDb7tdOb2ELBuhngsIBo4RDcZkMFEe5jNjVIgjfIsT3Yp7wafA/yWX5 LT21DnBzH8Sd3UXB4tO4Dgg9CasVDnFhXZISH9z96uXmQmXrOBSVW7S/4gf6cFQ9CSTWoEoiuxfA7 t7EWvnhkQvYtjy5KtRsEHmk754D1AQ91Ky+XnV2TreDatWeQH9IHNQ14vOY/buSRcTgLH8IioQO7s C22K5jbmmDkv2SJh408a2RbVVy57ZHUtz18QSyn2SL5w8ug8wi0zQ8U9KoNtDC9Bvc6EQlD60+ndn +4Lh9BS9EEE1GuI+vJi1Nw==; Original-Received: from [87.69.77.57] (port=3547 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwjZt-0004QT-T4; Thu, 02 Jun 2022 08:05:33 -0400 In-Reply-To: <87r147xolv.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 02 Jun 2022 13:59:40 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290557 Archived-At: > From: Lars Ingebrigtsen > Cc: wavexx@thregr.org, emacs-devel@gnu.org > Date: Thu, 02 Jun 2022 13:59:40 +0200 > > > . if you put the *.elc files in the build tree, you need to adjust > > load-path, since some of the files (the ones we don't > > byte-compile) will be in the source tree, and others in the build > > tree > > Hm, yes. But... would just prepending the build/lisp/* directories to > load-path fix that issue? I.e., use the .elc files from build/lisp and > fall back on lisp-directory otherwise? How do you prepend it? The setting of load-path is done early during startup, see init_lread.