From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer Date: Wed, 04 May 2022 16:34:31 +0200 Message-ID: <87levh74eg.fsf@gmail.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> 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="35235"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org To: Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 16:40:23 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 1nmGAw-0008wg-Da for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 16:40:22 +0200 Original-Received: from localhost ([::1]:38836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmGAv-0004aj-EU for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 10:40:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmG5L-0001c8-KH for emacs-devel@gnu.org; Wed, 04 May 2022 10:34:35 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:45622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmG5K-0001A5-3C for emacs-devel@gnu.org; Wed, 04 May 2022 10:34:35 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id w4so2287161wrg.12 for ; Wed, 04 May 2022 07:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=NFvGbPpfqcLw4qfTmM/mXFhGi40XidSIuHOCT5sqImI=; b=ZF4BbYtA8BO/H18ICXEtF9pE4KpPCPIr/KoWG6XgdCydHeqENu6Jqh7gx4t5ip0c4+ Cw/XSmGJiup6JrI4kSdWamSucnjrLixjTYEA7S5FxQap8kTAmivlEu+3ZfMUKrA77Y+G T5RZfJNdTY2G1kRK+jKvIspStqm9mkZoSuOk8Nv5rpHsg4kVqJtkcB/S9NFRonvOxo1Z Oh32CorBAn2lBWYQowiGSC1yGuoFZDSZHTA9dF6xjASVsnynU2qnmHgwV2NBE6dy7lOu Fv1gILzwwcgEfA4CzkYU8Zsgl/ZTmatHDB3ZpCnzVjyCsMbsGAgphsRfWcJt4NWnKVpu 2kKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=NFvGbPpfqcLw4qfTmM/mXFhGi40XidSIuHOCT5sqImI=; b=CBIcDULr6JU+EKhYGLQAI1NxMddMBMxKKvJafvsmo+zK0p5XB5wiSMAA68zlaxI8PS wDogxyzBG/AWuclpeBqQVbJY5Ons4yfMD2ZCEwTjoO7sejCzVDSrvqaBws9f3M4WWwll YFyOavFa34sBjzRp9gmUAYgTn6SyN40j3I8rg4QzuYzi4bBWCglqc1WATXVrut+SWpOR kYmJ/6icPDOi2WqMgGLDM81mDEsRYbYbyrrwK/q4oTa431Xz9dGsTypO+hXJIGQ2KXXB +bnf3Lxm4RZ50u8jIfV93Wr776kv9TgTYUe/y3odgtkLitMcFVyXtF0dvy/y7smLGy3U wjiA== X-Gm-Message-State: AOAM5301kAkBgWWpEsFmWQsotzMuex1JsgmF+AsHPJ8qestNjgAifRJ/ Ycu13/fE6Nz9XfKP3Hn0BMfPmf3oEbk= X-Google-Smtp-Source: ABdhPJyBH6AefgwbJmCCTDHajA6TdHtYz9tBDQYKiu7oSwCQIA2xsdOG2DGv+2etf6JshkVrXY0pEw== X-Received: by 2002:adf:e5cd:0:b0:20a:f3d9:3376 with SMTP id a13-20020adfe5cd000000b0020af3d93376mr16387578wrn.228.1651674872305; Wed, 04 May 2022 07:34:32 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:7623:b433:37be:1f20]) by smtp.gmail.com with ESMTPSA id e15-20020adffc4f000000b0020c8d8252dasm111355wrs.103.2022.05.04.07.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 07:34:31 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87y1zhe5qz.fsf@athena.silentflame.com> (Sean Whitton's message of "Wed, 04 May 2022 07:23:32 -0700") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.google.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, RCVD_IN_DNSWL_NONE=-0.0001, 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:289175 Archived-At: >>>>> 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 to = 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 called a lot I=CA=BCd be strongly tempted to choose the easiest implementation language, ie elisp. Robert --=20