From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew Date: Wed, 31 Jul 2024 19:44:26 +0200 Message-ID: <87h6c5ihhh.fsf@gnu.org> References: <874j8bx5gr.fsf@gnu.org> <875xsrjoi9.fsf@gnu.org> <87v80qftk4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16922"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72313@debbugs.gnu.org, monnier@iro.umontreal.ca, 72313-done@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 31 19:45:58 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sZDOf-0004EL-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Jul 2024 19:45:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZDOY-0007Cq-Pt; Wed, 31 Jul 2024 13:45:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZDOV-0007A8-1f for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2024 13:45:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sZDOU-0006mC-MP for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2024 13:45:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ixMx1XQ5+RhZkXM+pBePLJROw9pFJy3fjVQpx3AORbI=; b=nlhoktyAPDtYua5zm0GJ+Hul9OD6ce/4oJV2GQcNF5xQrmY9SdhWmSiE0UBt5XbtCxRYvkcGOSD7FRJy3LeZ2ETm32xk0ot7v488GuSXIfasb5cmaLzFPKaIK/TjRcCKo7F8JRyT4RFa/E0i8hedWCu50wwWq4VPw2dUMWxT1G4ZwI1hppULSlDA3jAdFJhdr1dkUkIH0RaJVsfxTCAxVskjoZMpgJ3eEZTCEFh5WmDi9lId1pI6uKN0DEdDciUefIHbTM0aZnlAJbSWHNPZWP7XL0WjRMTlJU1TDJvpvY14oqHbOGiV+tfbS2yxBjH2WGTkliDDAJSYvazr0Wep+g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZDOk-00077x-EB for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2024 13:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2024 17:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72313 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors" , Stefan Monnier , 72313-done@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172244790427302 (code B ref -1); Wed, 31 Jul 2024 17:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Jul 2024 17:45:04 +0000 Original-Received: from localhost ([127.0.0.1]:50265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZDNn-00076I-Pz for submit@debbugs.gnu.org; Wed, 31 Jul 2024 13:45:04 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZDNl-00075h-HQ for submit@debbugs.gnu.org; Wed, 31 Jul 2024 13:45:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZDNT-0006sJ-JI for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2024 13:44:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZDNT-0006H2-9T; Wed, 31 Jul 2024 13:44:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=ixMx1XQ5+RhZkXM+pBePLJROw9pFJy3fjVQpx3AORbI=; b=aQwCqFl2VlPAYT0zu9bD OcQCPu4Joxqgq4n+iUBtAvMoObfhJ5EGYl2KVao+ObWiI+32WUVTQyo/+D4DDc5AWyFCdEiFtErbs LcJlRZIlcUhsRe2Zi11PPLsxbl6m1XIYI8tQv0s7Cjna/6iw25/de+t/Tg6G96GIRhKAtRlvCUYPa hTNcIu/5PeQJ7CT3v6DFblDn4gSjFjdsZdLaqI9R+IA9aFA/DWz866gt9SFD3rvN2+J4urfztjPT1 fatCKa0r3pNhZ4Yy1LNhQnCcR+ZpkIKdEqMZ/zlN982UuuETAtH4K50xHBkdcZTiz1g4y7Wv2G2CR Wgyc2mOlxVRdfw==; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeeigdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepte eltdegheffhfetkeekveekkeevgfegkeetueffleeiheekhffgffeuueegieffnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmhdpnhgspghrtghpth htoheptd X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail In-Reply-To: (Arash Esbati's message of "Sat, 27 Jul 2024 23:25:14 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289587 Archived-At: Arash Esbati writes: Hi Arash, >> Let's just require cl-lib. declare-function only silences the >> byte-compiler and the usage of cl-member at runtime is a fact; no >> cheating allowed. It's also an implementation detail we should not >> bother with. > > I'm not sure if this is cheating, but I'm easy, and if we want to > require cl-lib, I'd do it in tex.el which is loaded by all > .el files; so basically: Yes, I've done something along those lines (and also required the very small subr-x). AUCTeX is traditionally very conservative with dependencies but we should not limit ourselves by not using basic emacs functions in the common libs like cl-lib, seq, or subr-x. I'm closing this report. Thanks for the explanations, Stefan & Eli. Bye, Tassilo