[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer
From: |
Robert Pluim |
Subject: |
Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer |
Date: |
Wed, 04 May 2022 16:56:14 +0200 |
>>>>> On Wed, 04 May 2022 07:46:11 -0700, Sean Whitton
>>>>> <spwhitton@spwhitton.name> said:
Sean> Hello,
Sean> On Wed 04 May 2022 at 04:34pm +02, Robert Pluim wrote:
>>>>>>> On Wed, 04 May 2022 07:23:32 -0700, Sean Whitton
<spwhitton@spwhitton.name> 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ʼs not going to be called
>> a lot Iʼd be strongly tempted to choose the easiest implementation
>> language, ie elisp.
Sean> The C thing is in other-buffer and other-buffer-safely -- I think
those
Sean> get called quite often?
Probably. And it looks like itʼs only 6 lines or so of code, so maybe
you can put those in a DEFUN.
Robert
--
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Stefan Monnier, 2022/05/03
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/04
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Stefan Monnier, 2022/05/04
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/04
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Stefan Monnier, 2022/05/04
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/05
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/05
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Stefan Monnier, 2022/05/06
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/06
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Lars Ingebrigtsen, 2022/05/06
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Eli Zaretskii, 2022/05/06
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/06