From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Raymond Zeitler via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: patn-insert.el requires cl which is deprecated Date: Sun, 12 Mar 2023 21:06:18 +0000 (UTC) Message-ID: <1791329402.2860159.1678655178556@mail.yahoo.com> References: Reply-To: Raymond Zeitler Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25290"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 12 22:07:10 2023 Return-path: Envelope-to: geh-help-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 1pbSuM-0006TE-La for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Mar 2023 22:07:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbSty-0000UR-QI; Sun, 12 Mar 2023 17:06:46 -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 1pbStw-0000UF-EH for help-gnu-emacs@gnu.org; Sun, 12 Mar 2023 17:06:44 -0400 Original-Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbStu-0006ke-J5 for help-gnu-emacs@gnu.org; Sun, 12 Mar 2023 17:06:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678655197; bh=8HpzDu1sN1cvHuglli4FoerrO+SuR/oBOyY9JPVvovU=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=TBlbOp+oIU0lIFAgGSH748/dD1VEOYPrxHSp55GwVKYhgCWVdUVNOr8dR8ZgyZc4ZlfH/3dccw5jaXJ1ttldynmaJrbHa8PfWe2QkBYqqwhRcB37GH24pDHlQcAb3uXo+lAmH/YCww402hkH8HmXWhXPMrbhKZlbGQaHTBf21y88KeeVvI1Hq7ZT9M6jJn7OSc+UuNWgDtUrfBt+170Dkcd3WvoeU+PAFMPqcYPbiDJhJ7fveoEKGmBmwsQ4RYXyGT1Wgf7dI9WnvLyX1dfPvbnbURCIfJRs5mlX5XlHnf93Byxig5WuS9nyyGHV2Dp+o8VHIc6wnkoYhM3QO3VnBA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678655197; bh=4P84+rWlvjg342Rd8DsHlea33hDcd/vUAsWixGfUia6=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=NzZzZxwhd24v1md3apYDz5lzh6SDV7pjFtgT3sTeRkx8/ynN1Mg3dZ8RhA8mAQjgI797NtLmswfSl3GH4vAUYKjadnGa6qiV2K+jRBrl5aI+N0MhYJkL7s01VmxerKFD1rOWkgL+Hdqq14vyj5maz2BM0eBw4NmIGD00846F2a1+mj33DR5pwGnqNUrm14kS+XfRXJd09HdAoV9X1CfqtJ8AnSl2ctHb/0EpWqu4Gj+CC3VhHvaLjdOqM3TOnF8TlhihnmlMw4upJWC8HXOCxaoxjHAAGsckzrz7W31t4ZB440HwewbaG7z+mbFnqEULpWxeTCItwuDvEy4fr6zboQ== X-YMail-OSG: blOpZtsVM1l9JWJdZ33IriTJmB9zd7RL9TDKFlSt8APS._p0RbykFixiT8_rAy. NI_HtQl7Kc6zR85lTda0F5W0C7UJEXDd0IHyufiPYC4DbJnOp1Ucr_JXwHP0n0BP_5fRVDRnCi6C GmWMY2wr0q4nDxhzQU_0.S4SQG72.qtyUEj6al.4xxPtN_4wGm__BpS1rH_jEbRSJpoQh97hqmw6 LZltjn0_mTAc.W.OWn7wxhsynrbmPPr3XL1tqFPKr5Y1aGsSrXIXsIk5bmnk.54_nS3qAlas5c2Y y0Lj9l0tegEpFpAiZJeZT6jo5DWNUX7Y21DOkuypYAXk3QTtdUZIVYwhnlpkqfNtRuyoRoU3dE3s pAnLQYi1dI_KoFfYkatmmxEpSkRqdvX5CIvbRC5NfOT2MHEvpW7.8ILXWIwE5T2dicxj77_EzbQY bq358V7judMoDAzOMhkl0qULKwkfGXtUx95LrrK0ptEjmRJWV_ArD2oqMWY5oxhxxCjCXh9R0cfB D0TUQI1jsUhnHxZto0Ep0mzGSLstYO_HAj_4FJqmv.K0HjeiN8VGdRi4xltRFbqOwe3gRBOhFHHN l1aJmzyBW05_SEiXTNzsvE482m1IkaSC58ba7YuQ0dTzSgbAVAqbdKPGp5xgpmXz9EKFbdJHMtkT TK3TpNS7w9pzqqWA0pYPi3OJmi.w0MZgvgT3gaZFBNon494txcXm09NLdYR9Kea2vwyJXxW_Dn3s D3lbWLRv7EcXKCT8cYdJGFaGRRlyya0PCFk98JVpE78huE0_itBVfUJ5vbHxWVhBTNP3O2ijiSE2 BHwIHW3olYOLODs8QRHVCI5rUwKaNTf9b2ZEg.sO4O X-Sonic-MF: X-Sonic-ID: 540d4565-a909-4c80-bf9d-28c2d4b0d59a Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Mar 2023 21:06:37 +0000 In-Reply-To: X-Mailer: WebService/1.1.21284 YMailNorrin Received-SPF: pass client-ip=66.163.190.147; envelope-from=zeitra@yahoo.com; helo=sonic315-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-ACL-Warn: , Raymond Zeitler Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143001 Archived-At: On March 4 Stefan Monnier wrote: > it's probably best to byte-compile it with (one of) the last> version of = Emacs with which it still works (it might give you hints> about uses of obs= olete functionality). Although it works, it does not compile.=C2=A0 The compiler gives a warninga= bout a macro and then actually reports an error for the firstfunction that = uses the macro.=C2=A0 Included below are the compiler messageand the macro. Compiling file c:/Users/Public/Programs/emacs-25.2-x86_64/site-lisp/patn-in= sert.el at Sun Mar 12 16:27:43 2023patn-insert.el:56:1:Warning: cl package = required at runtime In for-var-low-high:patn-insert.el:58:48:Warning: '(\` (let ((((\, var)) ((= \, low))) (((\,=C2=A0 =C2=A0 high-save)) ((\, high)))) (while (<=3D ((\, va= r)) ((\, high-save))) ((\,@=C2=A0 =C2=A0 body)) (incf ((\, var))))))' is a = malformed functionpatn-insert.el:72:1:Error: Invalid function: (\` (let (((= (\, var)) ((\, low))) (((\, high-save)) ((\, high)))) (while (<=3D ((\, var= )) ((\, high-save))) ((\,@ body)) (incf ((\, var)))))) (defmacro for-var-low-high (var low high &rest body)=C2=A0 "For VAR from LO= W to HIGH do BODY.=C2=A0 LOW and HIGH are evaluatedonce each.=C2=A0 No erro= r checking -- barfs if either isn't a number.VAR is let-bound."=C2=A0 (let = ((high-save (gensym)))=C2=A0 =C2=A0 (`=C2=A0 =C2=A0 =C2=A0(let (( (, var) (= , low))=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0( (, high-save) (, high))= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0)=C2=A0 =C2=A0 =C2=A0 =C2=A0(while= (<=3D (, var) (, high-save))=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(,@ body)=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(incf (, var))=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0)))))