From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Adding use-package to ELPA Date: Tue, 08 Mar 2022 08:21:50 +0000 Message-ID: <87fsns3lcx.fsf@posteo.net> References: <87k0dbi7ol.fsf@posteo.net> <871qzgyfuo.fsf@posteo.net> <87ilsre5jf.fsf@posteo.net> <87zgm2bpez.fsf@posteo.net> <87ilsp4lc8.fsf@posteo.net> <87wnh52w8e.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2095"; mail-complaints-to="usenet@ciao.gmane.io" Cc: chad , EMACS development team To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 08 09:23:16 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 1nRV7j-0000JC-VF for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Mar 2022 09:23:16 +0100 Original-Received: from localhost ([::1]:56594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRV7i-0001VJ-R8 for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Mar 2022 03:23:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRV6Y-0007yZ-3h for emacs-devel@gnu.org; Tue, 08 Mar 2022 03:22:02 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:45157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRV6W-0007Tm-2r for emacs-devel@gnu.org; Tue, 08 Mar 2022 03:22:01 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 31ED3240105 for ; Tue, 8 Mar 2022 09:21:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1646727715; bh=ekdEAgGlDvSH7/pT0AyWgnAOv1Jc17Ejdtsfc5KP4jY=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=LS2ZL6funiRxqd7Mk3N7Ym/k2Gbz3oiWYbBXB8HNtnA9uvnsgRgLWegwyBLMStcvR b/kOhnBvxHW7gn+8pk/fjNsBmYxxLkb852tRqS3xqQkNa4o+PjY4MmA2iIDoOBrxeQ Qk3mf/kRnuV7279jDFeDHHPX4S2unAGnPLuw5xR/2FYJzUtlySFa4pOXpztB5lMXwQ t6+lqjHR+n82/grIDtMEGCal27YUSl5xpneWxZLdcKxuEcKttAcSMu4gmqgKe/aNcZ 77TG2Y4ZZcCzUGneQdj8Pu026hm18Xm6YloitLhq3DpCuVeFiISudBXgCJlVytEEFB hcriAZBnGp6OQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KCSwb2mJtz6tmr; Tue, 8 Mar 2022 09:21:51 +0100 (CET) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: (Stefan Monnier's message of "Mon, 07 Mar 2022 18:40:55 -0500") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:286917 Archived-At: Stefan Monnier writes: >> True, so this is certainly worth investigating. Yet this is only part >> of the problem, as function have a similar pattern, but they cannot >> reliably be detected in this way. E.g. >> >> (setup foo (:hook bar)) >> >> wouldn't be able to infer that bar is a function that exists, just >> because it is being added to foo-bar-mode. > > There should be some reason to believe that `bar` will exist. > Without more info about where `bar` will come from, I can't begin this > think about how we can arrange to silence this warning. I'm not sure if we had discussed this before, but couldn't the initialisation file receive a different treatment by the byte-compiler, than other files? >>>> I just tried something like this, but it doesn't seem to work. >>> I'm glad to see that I'm still able to write incorrect code. >> Eh, my bad, I had used (macroexp-compiling-p) that apparently didn't do >> the right job. > > Hmm... it *should* work. > Feel free to send me further info personally so we can fix the problem. Never mind this, the issue was that I overwrote `macroexpand-all-environment', breaking macroexp-compiling-p. With this issue fixed, these warnings are fixed. -- Philip Kaludercic