From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iOe+EhyZmmEi/gAAgWs5BA (envelope-from ) for ; Sun, 21 Nov 2021 20:08:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6K1gDhyZmmEPTQAAB5/wlQ (envelope-from ) for ; Sun, 21 Nov 2021 19:08:12 +0000 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 0EB652D9C3 for ; Sun, 21 Nov 2021 20:08:12 +0100 (CET) Received: from localhost ([::1]:60866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mosCB-0001Np-5M for larch@yhetil.org; Sun, 21 Nov 2021 14:08:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mosC2-0001NQ-B6 for guix-patches@gnu.org; Sun, 21 Nov 2021 14:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mosC2-0000tN-2u for guix-patches@gnu.org; Sun, 21 Nov 2021 14:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mosC1-000451-S5 for guix-patches@gnu.org; Sun, 21 Nov 2021 14:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51755] [PATCH 1/1] gnu: proof-general: Adjust autoloads for Emacs. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Nov 2021 19:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou , zimoun Cc: 51755@debbugs.gnu.org Received: via spool by 51755-submit@debbugs.gnu.org id=B51755.163752167815671 (code B ref 51755); Sun, 21 Nov 2021 19:08:01 +0000 Received: (at 51755) by debbugs.gnu.org; 21 Nov 2021 19:07:58 +0000 Received: from localhost ([127.0.0.1]:46039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mosBx-00044h-SY for submit@debbugs.gnu.org; Sun, 21 Nov 2021 14:07:58 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mosBw-00044V-G0 for 51755@debbugs.gnu.org; Sun, 21 Nov 2021 14:07:56 -0500 Received: by mail-wr1-f65.google.com with SMTP id t30so28464621wra.10 for <51755@debbugs.gnu.org>; Sun, 21 Nov 2021 11:07:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=KyBjhcZXZyWSP5FnKaladdz+LJ/xpc7wGeMEGcnoxCk=; b=XyKjrMzT7kyIpMXWjv9uxjJVhK3hiwH51CWfHVXsIGe3qpoSHbZJwMfI9+C5pIKfrB risRoEXVkp8gQ2JRWqxr+JacMF8q8WwC4AVxERn5fuURzqS3+v6Duur817ZXJDuoZf1h t5+2nvSiT7gEZen5EfXbKR2704Id0AKOFLCD2pLWoipweBKW0GrWW9/ixaAEDfupdQN2 a/russ9T7+BJt/xBS3o12GDVklL1DurBtIn2fyt0+EE3z8Wql7HixBaMYp/zMjVryDh3 Y+rPP0VofqXP+9Qk9w1T3RHtNAdW4YfWbW9AglmSTbTD6dvJBxC8r6Xcjj9iBU5ejunr g9Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=KyBjhcZXZyWSP5FnKaladdz+LJ/xpc7wGeMEGcnoxCk=; b=FgeziCTEZDWcICwNuOTxQ41fDGvdZV5Asp3QqBmfkE4hagc3dCSRFQDr9o5HIVelG2 2WgWmnBvUQo5t0rkZrYr7miCQJN5XC6LIlAcFwBBN8arW1c0fPglsvIp3dBPK+J8QpKJ KSOshcidZhOsEE0VWwhZv/EPycuFb4T6O+FSwg6tXv/4xmIie3ruNSgffrRBiK7AkKW/ cmcGuh3OBu+ck3wgON31wAHp2iXdJXq8vXW/Ya+O4P2wFdXxpNb2HfBYd7joI4p4eUE5 GypTM0RM6I2TplvwpXSuBsT1NHdb+2Ot3ZpRMbUEbci9gzU20lJQsKxCEvXziLscqazZ S1hQ== X-Gm-Message-State: AOAM532MSHBwFYmCd2ClZQHr5WpTdoiTFF3j2zGFnudgZJYXCcDjZrgA xxD3GOqLeByWJN/BbSPeIHk= X-Google-Smtp-Source: ABdhPJzP8goNF8++oyESpVessyFzuliLXUdv1AU2KfxD0i8zBwxykPNpYSnN5Zmjs5KoRWWcawor7A== X-Received: by 2002:a05:6000:1568:: with SMTP id 8mr30270539wrz.76.1637521670639; Sun, 21 Nov 2021 11:07:50 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id 138sm14306066wma.17.2021.11.21.11.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 11:07:50 -0800 (PST) Message-ID: <6aab24bab9512e0957e33256a3addf1076a9d012.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 21 Nov 2021 20:07:48 +0100 In-Reply-To: <8735npwdvr.fsf@nicolasgoaziou.fr> References: <20211110192622.368232-1-zimon.toutoune@gmail.com> <20211110193748.368696-1-zimon.toutoune@gmail.com> <8735npwdvr.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637521692; 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=KyBjhcZXZyWSP5FnKaladdz+LJ/xpc7wGeMEGcnoxCk=; b=MjnlGA5iZi4E6Gb99hqL1Yvbl4xIKpXVuE8Qzp5Uj8WH01uXSBtwaUeKQsf/gPI63F3Aep Gy/U5XK79+853Fp0151Myp70pKUH8VqZ2r0VZJ7VzNsp+hsch9EV16O2a84ZMKLcme8TNU D2HPuJTkf1m8TA8lJygJdd0X2j2sn/ki4kXZi3P/mKBhNJ8EpfWeEA2ojPm/FJXb5ykPSq bIF9IYXYo/85RrGmRlldqpuhHkjySktEqrinOturSq6AH1nC0VTHhJtghs+NWyxMitSTSr qtytJOCt4uiTZt7U4mjUykV4inBtpgR3WbJkgQE2LS/H5Egpqz4ILFtlFULGag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637521692; a=rsa-sha256; cv=none; b=qg52oKaNQWQ6MjTsz+y1L/tRCr1+aDSMPESp2JotO403OwRXiwGJ6LDhtkGsZcKS5q43kY 1GcOVmj8KndZCxcuiDzrR7Xoa8TeqbUU0L90D1kzfnRdG+wQk8LTYOOy95Sq7uGnFlMyUU 9RXmqGnRMTS9/K1lZwEh2JL8wddXUBP4mavB0SZQTGvDagtkhfO941BD4nO0OA+MwrVupp nRAG7+W4A2leF68UBfPGhQUGoAv0y0OOpqbKeKekwUk1bY1jxr47dxSaPvPQMOAa1L4gN8 AmfElFdG5uryq0p8L3Zeh5yRRuWYvCX3I3bwra1wBeYXzmcQqYMslYt6cd9Ndw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XyKjrMzT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XyKjrMzT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0EB652D9C3 X-Spam-Score: -1.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: xL8LH5VXx3CZ Hi, Am Sonntag, den 21.11.2021, 19:40 +0100 schrieb Nicolas Goaziou: > > + (add-after 'install 'allow-subfolders-autoloads > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let ((out (assoc-ref outputs "out"))) > > + ;; Make it visible by Emacs > > + (copy-file "proof-general.el" > > + (string-append out ,base-directory > > + "/proof-general- > > autoloads.el"))))))))) > > So, IIUC, the above is basically a hack: you disguise the main file > into an autoloads file because no autoloads file is generated from > the code base? If so, this might deserve a longer comment, IMO. On a related note, what would be so bad about having to (require 'proof-general) interactively? Alternatively, we could in an after- unpack phase add autoload cookies to the source file or write our own autoloads altogether. WDYT?