From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QJkBNB6H/mLc+QAAbAwnHQ (envelope-from ) for ; Thu, 18 Aug 2022 20:38:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cIodMx6H/mIkSQEAG6o9tA (envelope-from ) for ; Thu, 18 Aug 2022 20:38:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9322B3FC7D for ; Thu, 18 Aug 2022 20:38:22 +0200 (CEST) Received: from localhost ([::1]:51338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOkPN-0005zv-FW for larch@yhetil.org; Thu, 18 Aug 2022 14:38:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOkP4-0005w8-Kx for guix-patches@gnu.org; Thu, 18 Aug 2022 14:38:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOkP4-0005gm-C9 for guix-patches@gnu.org; Thu, 18 Aug 2022 14:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOkP4-0002LA-4y for guix-patches@gnu.org; Thu, 18 Aug 2022 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57122] [PATCH] build-system: emacs: Use new function for autoloads generation Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Aug 2022 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57122 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Morgan Smith Cc: 57122@debbugs.gnu.org Received: via spool by 57122-submit@debbugs.gnu.org id=B57122.16608478678975 (code B ref 57122); Thu, 18 Aug 2022 18:38:02 +0000 Received: (at 57122) by debbugs.gnu.org; 18 Aug 2022 18:37:47 +0000 Received: from localhost ([127.0.0.1]:56677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOkOp-0002Kg-8H for submit@debbugs.gnu.org; Thu, 18 Aug 2022 14:37:47 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:37710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOkOm-0002KT-RI for 57122@debbugs.gnu.org; Thu, 18 Aug 2022 14:37:46 -0400 Received: by mail-ed1-f65.google.com with SMTP id b16so2971763edd.4 for <57122@debbugs.gnu.org>; Thu, 18 Aug 2022 11:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc; bh=VsK8Ut0lrHBMqVC9Lju0KNabI6R54tyavS56h+SYmlk=; b=mASL2GiTYr+kjIgJCA0yQI/JoV9kekbnwV0j/kS8mhsXC1tySq81gVRC/BsTmtpLe9 B51C9fRFZ3dnfrj1m5CLCTYJktmJe8GWG6q9oEv1Rtd4zOj0FdxJPhfDP4XRRGIpiQId LfC8iuMkq8I8J8c6zpqQw486niCL2O71mxQ9uM7Ms3j8kAeN/+0e/rvZbxDK2lw0QZnu ncTExmHfTJlydCHhEtgYn7TK+SlQJkjJtpdoNCy8Nj2Vjjwv4WPkHP1FxnsMZCSt5b4r /18S/BbmLo9ef0ithaCsoOs0s/LQzClFk+p4Bf0g1T0MoSDqukNuIZfP3baKpiHZiU8n vOzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc; bh=VsK8Ut0lrHBMqVC9Lju0KNabI6R54tyavS56h+SYmlk=; b=ixCfkSz1F0vxcjuRi1uPXSAmJSrlcibfBb4D5oWtD3/Y/gIV5flp1HTSX/PXW+GIdY DB74S1788uA6cDbQMkz3kEc8Ok8/cXBU9tmFuUIDFpvYFUaA+UwjvCNz/H0OYzfU+Ah7 qmaJZrocdCe1MDuzu6DFcrRS0r55N3Me3i6b8zivAYzjR5Y6xkkmn8Q8RtxwCjSYoBMb Wp4vdbS6OFtgnMGS3gHZUc6XEvYVhCmywKDEzQpg2BlG9kkt4zo98ea2EP9HEGJhZwDn O7OAZfnZDUK6vhvhnJGzm2B+7uQ3R8rv5Y3UbbDP0yNOWTPRWqRBj268PLDQKY6t9cyp mhDg== X-Gm-Message-State: ACgBeo0L15VNml2Hs1qFS34UUGJPKT1UByRBqi+Jp6vv2WcvwNS6xDAc GbZOBsqNhyW8n4fK2rhOq/g= X-Google-Smtp-Source: AA6agR7UkYrhoZPadcVAmVVs07aq5OvTV+vVV+yAcWv2nIVNlNR6js57GkPpXONOxTjEwd666/CIXw== X-Received: by 2002:a05:6402:3485:b0:43d:7fe0:74d1 with SMTP id v5-20020a056402348500b0043d7fe074d1mr3247971edc.413.1660847859002; Thu, 18 Aug 2022 11:37:39 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id a25-20020a05640213d900b00445d85bd754sm1635537edx.79.2022.08.18.11.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 11:37:38 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Thu, 18 Aug 2022 20:37:37 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660847902; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VsK8Ut0lrHBMqVC9Lju0KNabI6R54tyavS56h+SYmlk=; b=KVsya5VTHFqTIOaxamUr8eCH+t5KXDk42aUfPNh3F/wE+IwubwM9+OYtLnq97M7A4klIF+ Qo16a4qEfsnFaFnffMiO8JfXCNJraj493dr92aslsAb2uZM7Z6NwL+fYYYFrmkd2gZXUnq qG4fVG9NsmkfdELi6N8MW84anAht64V8quHkCOZlgBp5dSXsCzftH8DqPMuqkFo5exH4EX iDz+DKOdTV2XsaYz9qAzNGTDSSGafeH/4+2XZYw/Aq5/7hJrNnSeL5R6X10OGkJLWTTV5x xhAUPt6pbZ80/xm9Uh+IerpvKRqxqlkHSxiVZgJHun2kkewuqcjPJQg6lD/RlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660847902; a=rsa-sha256; cv=none; b=j9SVKicIABTFyHqdO/Mom6onkjR7rE4nsYd1aqqKtbfzdBEHHS2W6vdGbBQvC9Yb0AJzHX HnAihEZoDKaxVCB/fcITVQYfAsyaYqMkqYaw0X1dggklQmiUheVSDtdXFpHg7fDVWdYZis kGeC9WfjFq/70gAZeGQ4qgVTsv/bhaCHVvzGV7SDFrl7hL3OKOGtFP8oaz0nwRaH6+vNrz rDHpn0fTDm4+JLHCQD21tZ+ybHnWxF8JG8POtkPUZyHmXnmoAieW9YxpKqHVSt6sknd2yU T9vgh3zS7YMOdut6p4cUO8e+MqV1kIDHvNoKqVpPh0CAUrlQ+BI2izJPOiRYXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mASL2GiT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mASL2GiT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9322B3FC7D X-Spam-Score: 5.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: P7QHFfKdh1de Am Donnerstag, dem 18.08.2022 um 08:43 -0400 schrieb Morgan Smith: > > So the FreeBSD guys had the same issue but actually bothered to > notify upstream so the issue has been fixed: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57200 > > That doesn't mean we shouldn't look into using a non-deprecated > function though.  Earlier I did try to use 'package-generate- > autoloads' as that seems like the ideal function to use but it adds > the following string to the loaddefs file: > > "(add-to-list 'load-path (directory-file-name >                      (or (file-name-directory #$) (car load-path))))" > > This line would probably work fine but for some reason when I tried > it, it didn't properly substitute '#$' with the file name.  I'm not > really sure how to fix that. Is "#$" a literal string? You might want to substitute* the correct directory in there after running package-generate-autoloads. As for make-directory-autoloads vs. loaddefs-generate, IIRC both have the same signature, so you could make this work with both the non- deprecated function in Emacs 28 and the new one added in Emacs 29. Cheers