From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer Date: Wed, 04 May 2022 07:46:11 -0700 Message-ID: <87v8ule4p8.fsf@athena.silentflame.com> References: <165162665935.26821.8964921720746152690@vcs2.savannah.gnu.org> <20220504011059.9F667C009A8@vcs2.savannah.gnu.org> <87levhdfeh.fsf@athena.silentflame.com> <87y1zhe5qz.fsf@athena.silentflame.com> <87levh74eg.fsf@gmail.com> 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="30781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.36 Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Stefan Monnier , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 16:47:29 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 1nmGHo-0007gy-GL for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 16:47:29 +0200 Original-Received: from localhost ([::1]:51182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmGHn-0004Xo-Eb for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 10:47:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmGGd-0002n4-Lw for emacs-devel@gnu.org; Wed, 04 May 2022 10:46:18 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmGGb-0006wg-FH for emacs-devel@gnu.org; Wed, 04 May 2022 10:46:15 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BBCA45C01A0; Wed, 4 May 2022 10:46:12 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 04 May 2022 10:46:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1651675572; x= 1651761972; bh=SX/ZAhsi7yD5xlO4oD4DdfYzB9y0/fTGkW3NHRNl0bY=; b=N UagPo0PUlUJOOo2q+6f3YN8U/xRzxUb38FhCR/u2N2/5qRv9FpVyf/ngutB3Bpnm xzEDsE704jnciDXo1et6L9sGHKF9evlAxez0MWgR1NrgAXfm0vXy9dO/4aVUPeNn +jdouKqucrzWqezev5/0HER6yJhzInGpxUGVPb5IZtzCDnwnz5OXN06Kfk4iw2Lw cXdf/0LK/EGyNVblDzDtKsKwchxXKzxVLdymC9MwS/Tmx+0wwTBkSl2mb4agUgdf YCuvEstkVg1sOqemP4eKuHSxssveggUo7Z9hHd4e6Vm15griy9i2b7et7jYsEFrt NHStWcz5YT/ijZ7jaU2ZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1651675572; x=1651761972; bh=SX/ZAhsi7yD5x lO4oD4DdfYzB9y0/fTGkW3NHRNl0bY=; b=Y00TV/fadBVY/V8MYNjXgVNp9X+xn 0MFUqp3yyO2lkUh+WuIU4Sp8WE0U5Nwri/mWnXg1w79eViQWvs1yW2ahsxoN0cHr CYlJ2WGl86TOnlDpuB4jTf7FkMJm22hrMgDFsSc9NOk7+p1eXnywbI6gLGUuuktt euy98fsHoDKMTTmbaMzlu6e4X8HllDBvSbMpMRbZyGhWl1H4gtk9RRNy4TDUXV6J 5y90qZuGrbPOJ3R0ob4TJpUnKsZOvA8Fo8Yp5ftEciHxb8mT/1IbtoP8VrNvw7Ir hkhmT39Wqr+/4in/cnD+pIiqJSwrnhlszZKhgT6LZwl8gIth3l98Q+UDA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelgdejlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhgffffkgggtgfesthhqtddttderjeenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpeelfeeuvedtkefgudekhefhtedvkeegieekudevfedvueet ffdvfeelieefvdduhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 May 2022 10:46:12 -0400 (EDT) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id 737EB1BB9A5; Wed, 4 May 2022 14:46:11 +0000 (UTC) In-Reply-To: <87levh74eg.fsf@gmail.com> Received-SPF: pass client-ip=66.111.4.29; envelope-from=spwhitton@spwhitton.name; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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:289178 Archived-At: Hello, On Wed 04 May 2022 at 04:34pm +02, Robert Pluim wrote: >>>>>> On Wed, 04 May 2022 07:23:32 -0700, Sean Whitton said: > Sean> In order to factor it out of the C as well I need to define it = in C with > Sean> the DEFUN macro, right? Otherwise each C callsite would have t= o use > Sean> Ffuncall, which doesn't seem right. > > You'll need to weigh the cost of implementing it in C against the need > to use Ffuncall. For something like this that=CA=BCs not going to be call= ed > a lot I=CA=BCd be strongly tempted to choose the easiest implementation > language, ie elisp. The C thing is in other-buffer and other-buffer-safely -- I think those get called quite often? --=20 Sean Whitton