From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Adding use-package to ELPA Date: Mon, 07 Mar 2022 18:40:55 -0500 Message-ID: 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="4893"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: chad , EMACS development team To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 08 00:41:45 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 1nRMz3-000186-JJ for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Mar 2022 00:41:45 +0100 Original-Received: from localhost ([::1]:50038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRMz1-0001hV-W4 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Mar 2022 18:41:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRMyT-000139-NJ for emacs-devel@gnu.org; Mon, 07 Mar 2022 18:41:09 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRMyP-0005IK-Ed for emacs-devel@gnu.org; Mon, 07 Mar 2022 18:41:08 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2F6998004C; Mon, 7 Mar 2022 18:41:03 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 858CB802D4; Mon, 7 Mar 2022 18:40:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1646696457; bh=wJXpIQYWlC1k/p5Uyr9vTw/yLc+c4s6QXeP/nadc2QY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Mk7hUMSVRHjT8tbIBgUqTPFo7KWmUUsrCD9Eqjkd26QHz+Qt+x7JVMgQz4jeVvaNG WQeGjZol5t2HC3NbfUbV1eIaiRwrgBWBBNwQdROxzwFFCDHzv+qfR4tMgXjcmn+oHT CAL6SaULy7oUhhkSutdzGMDElQmUB6KD5vzicxToWLfj2cFTCQA44wvkoOWh1O4oO4 boap9C82WuQbrrFAky4IB9cI5vMkV0aBeA8wdL9F1bvE6LORDVftkWkjElLw0Drd9c oWr5LohKLq+rF5DP4NkOhZFL+OoMjeaT+vYL5BtCJ5csDcPbnqzjeCIwZurgM9d1b7 AmJZXO3l0onnA== Original-Received: from ceviche (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4F5C812039B; Mon, 7 Mar 2022 18:40:57 -0500 (EST) In-Reply-To: <87wnh52w8e.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 07 Mar 2022 23:12:17 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:286907 Archived-At: > 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 glad to see that there are always some details about macros one > doesn't know about. This one is new in Emacs-29, thanks to Alan's "symbol with pos" feature. See, even once you get to know it all, we introduce new details to keep you entertained. >>> 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. Stefan