From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] New package: sweep Date: Thu, 29 Sep 2022 08:04:49 +0300 Message-ID: References: <877d1qlynt.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30485"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: philipk@posteo.net, emacs-devel@gnu.org, jan@swi-prolog.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 29 07:38:43 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 1odmFv-0007k9-8C for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Sep 2022 07:38:43 +0200 Original-Received: from localhost ([::1]:34066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odmFt-0001oa-Nx for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Sep 2022 01:38:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odljG-0000YO-Ba for emacs-devel@gnu.org; Thu, 29 Sep 2022 01:04:58 -0400 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:46033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odljE-0001j0-L8; Thu, 29 Sep 2022 01:04:58 -0400 Original-Received: by mail-ed1-x52f.google.com with SMTP id m3so412432eda.12; Wed, 28 Sep 2022 22:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=0rZRLXtsOdFB2YmokdVRCCTKvxFKRGd3HoxuaIbOM5Q=; b=MKPFOnjMx09MzjTkLvMpt89S5N5XgOavXPhaPOYoAmdqfxdGm6QHJy2rrENdJ5t2vr v5uIr6CBd4DCIhrU5DhVX5io92JPVbHgYHwCUIS51DsgkbXLgAIDq6K09CkURwfi23Vj K95maNVZxqnN0pZV/Kq1legejCf/wht/4Yen6NmV7L+0AyUn6VmE2IOEOdDUb1kBm7HP 5KDI5ctGgd64+S20+HAXWXfUZh7JnNFzLYsLDNOsB72qB6OdmLs/aXY2H4eW58e2o803 dpO/iV4u6CLTiPpiGy+/jxR0ZlwuUbauaCDCoRzCRlXW5kjIDM1STdZ6jl5LtSt+3To4 XTtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=0rZRLXtsOdFB2YmokdVRCCTKvxFKRGd3HoxuaIbOM5Q=; b=T2WgLtGPKrG2EjX4gyBQ4XYr6USg63BCNaSUmHuC/35a5K/2upR6Ab7OgaXekRO63k Ez+6ORIGz8hD2+O8tqJCVM1jxMqKBhwfKIkmHJvf0fG1zyv715zJZej/vW5uhev9t5br qo41PkFfYGOfCCKJspnPRsIew6pOkXzSWUAE2Gn/4jxsuvD1N6QdoEInqf43wrRPOEwq kW9WrJh9fo95B0iOkEG23L7UtHOtQRiumsqBj5FgSE2I6JA4JorA8qylmoiDPKSriKzj /uLd0/6Y6hf3E492OrkaU4IHR4N70HsmV1GylznQuLtyMnEupLqeXqXG+cG6KNp3rJpf 9dfw== X-Gm-Message-State: ACrzQf1zkZprsKOgwnJPfRNdcKXZqacoKLOVIuiiLfiTZlIGuqpY7PFr dz+B7nYWk1ouJDvEIC+WYlE= X-Google-Smtp-Source: AMsMyM6TU9cop9Ng+Hl1fmFIdsZDYTRMLbyauZaQD3IRsZHfOoOBn3gTj6ShWWOWVsN47aTkBX46mQ== X-Received: by 2002:a05:6402:348f:b0:451:7390:c6d4 with SMTP id v15-20020a056402348f00b004517390c6d4mr1422292edc.236.1664427892402; Wed, 28 Sep 2022 22:04:52 -0700 (PDT) Original-Received: from esmac.lan ([2a0d:6fc0:bef:7b00:a044:a2c9:acd6:4750]) by smtp.gmail.com with ESMTPSA id cm17-20020a0564020c9100b0044838efb8f8sm4599877edb.25.2022.09.28.22.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 22:04:51 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Wed, 28 Sep 2022 23:02:10 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=eshelshay.yaron@gmail.com; helo=mail-ed1-x52f.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 29 Sep 2022 01:33:50 -0400 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:296443 Archived-At: Richard Stallman writes: > > I am not opposed to building on top of `prolog-mode`, but since > > `sweep-mode` has access to the actual SWI-Prolog runtime including > > notably its parser, we can (and do) provide better implementations for > > many of the features of `prolog-mode`, at the cost of targeting only > > SWI-Prolog where `prolog-mode` is more implementation agnostic. > > That makes sense. But I think there is something I don't undersand. > Some of what you said hints that SWEEP has other parts that don't run > in Emacs. Is that true? If so, what do they do? No, sweep runs strictly inside Emacs, in the same OS process. It loads the SWI-Prolog system into Emacs, so with sweep Emacs is able to directly execute Prolog code (through an Elisp interface, see https://eshelyaron.com/sweep.html#querying-prolog). > What in the world is "the dynamic module"? What language is it > written in? What does it do? What relation does it have with SWEEP? > What relation does it have with Emacs? It is the same dynamic Emacs module I mentioned in my original message: "The aim of this package is to provide a fully integrated development environment for SWI-Prolog in GNU Emacs. It does so by creating a dynamic Emacs module that contains the SWI-Prolog runtime..." It's a shared object written in C, also see (info "(Elisp) Dynamic Modules"). > > Yes, as I would currently prefer not to require SWI-Prolog contributors > > to assign copyrights in order to contribute to this project. > > When people want to contribute to Emacs, we don't know or ask whether > they are SWI-Prolog contributors or not. Indeed, it isn't pertinent. > We follow our practices. Yes, but sweep is a development environment for SWI-Prolog, and people may use it and want to improve it even if they haven't otherwise used Emacs at all. > If you want to contribute to SWI-Prolog, you should follow the > SWI-Prolog practices. If you want to contribute to Emacs, you should > follow the Emacs practices. That way, everything is clear, and each > project is autonomous. I think I agree, but I'm not sure what you're referring to here. Regards, Eshel