From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/org 26ef5e3e5b: org-src: Use `sh-mode' for all the shells it can handle Date: Tue, 18 Apr 2023 11:50:57 +0200 Message-ID: <54278F0A-B714-4DBB-8A63-8852046D32F6@acm.org> References: <168174708495.14139.12756054653439048176@vcs2.savannah.gnu.org> <20230417155805.3E200C1391A@vcs2.savannah.gnu.org> <87bkjmh3st.fsf@posteo.net> <47F08B58-0F0B-4139-850F-C8CD72E0C052@acm.org> <8E317554-E278-446B-B5F9-7FA97F97D63F@acm.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25333"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , Lynn Winebarger , Matthew Trzcinski , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 18 11:52:01 2023 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 1poi0G-0006Jf-S2 for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Apr 2023 11:52:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pohzU-0001dQ-Ez; Tue, 18 Apr 2023 05:51:12 -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 1pohzT-0001dH-7y for emacs-devel@gnu.org; Tue, 18 Apr 2023 05:51:11 -0400 Original-Received: from mail70c50.megamailservers.eu ([91.136.10.80]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pohzQ-0005SQ-Gl for emacs-devel@gnu.org; Tue, 18 Apr 2023 05:51:10 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1681811461; bh=d41ymxHaSm7716h86fr+Ir8ubYvRxwDEzii19Fx6DgY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=f8r5CToDi+xjb4ADrqlcFH9j/G3g/Xcw7IKj6zZoB5+nWPqhvnzKSi9pmuekcOF5D sstvDCYeoLUSgeSRuudlURAAVnY4hAg82qINA3V4dEj2fj+BunTqiIIzTaWgjbhx/b YZ9U0bQ4QCOyygn7ZGezzOIcH1WX7pXlre5wL40w= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail70c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 33I9ovPt091916; Tue, 18 Apr 2023 09:51:00 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdelkedgvdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrdduieehrddvfeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudeihedrvdefhedphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohephedprhgtphhtthhopehmohhnnhhivghrsehirhhordhumhhonhhtrhgvrghlrdgtrgdprhgtphhtthhopehphhhilhhiphhksehpohhsthgvoh drnhgvthdprhgtphhtthhopehofihinhgvsggrrhesghhmrghilhdrtghomhdprhgtphhtthhopehmrghtthesvgigtggrlhgr X-Origin-Country: SE Received-SPF: softfail client-ip=91.136.10.80; envelope-from=mattiase@acm.org; helo=mail70c50.megamailservers.eu X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305401 Archived-At: 17 apr. 2023 kl. 22.08 skrev Stefan Monnier : >> I wouldn't mind adding `list*` at all. (It would eventually compile = to list + nconc, of course.) >=20 > I was thinking of adding it as a C-implemented function. > It might still lose to list+nconc unless we also give it a bytecode, = tho. I think it would, but it's easy enough to find out, and we can change = our minds later. I would go for a Lisp implementation, with special = attention in codegen. One thing that matters is what normal form to use during compilation, to = make transforms manageable. I'm leaning towards representing `list*` as = chained `cons` calls, since the other way around (represent `cons` as = `list*`) would be more work for little benefit. On the other hand it's good to avoid bad complexity and stack overflows = for long list* calls (or long backquote lists). Philip, you wrote = earlier: > I have had issues in the past with ,@ expanding to code that would = have > exceeded the maximal evaluation depth, until I split it up and = manually > used `append' that has the advantage of being implemented in C. Could you give us a representative example of the code that you had to = split up? Did the max-eval-lisp-depth limit hit interpretation or = compilation?