From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic module building and reloading Date: Tue, 13 Jun 2023 21:12:36 +0300 Message-ID: <83y1knut7v.fsf@gnu.org> References: <834jnbwbcb.fsf@gnu.org> <2E2FE4DB-0DBC-47F5-B0BB-6D8010826159@n16f.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3743"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Nicolas Martyanoff Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 13 20:13:18 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 1q98W6-0000oy-Sb for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Jun 2023 20:13:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q98VA-0006Nx-Lg; Tue, 13 Jun 2023 14:12:20 -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 1q98V9-0006NR-1m for emacs-devel@gnu.org; Tue, 13 Jun 2023 14:12:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q98V8-00066Y-Mk; Tue, 13 Jun 2023 14:12:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tfKnjlTUvO6u2/ykCfq9gzK2jV8ZNT9bOxFOcckmieg=; b=T4io/d9yWr5kvR2WcWuN 2D3G1vk4D5UF0DL7343ATAgON7EBrjj7zrJyA2b8rwXFvdOJzvdoJrtosTu8JngOKUOCGKodo5Dq2 yx7FmFlVceujDpJ66KV8WbwH1U/x9ePinnCLm5Kldor53iaHF9c2ILPUeZThVlhi+2FJ2RETq1NQS KkqDQcTtGJSP8pqhsG6vAWf9TQT+4/NXlmPWn4yQv7FaD9TjKbBmYnvQ2XOBmq+47W/ViCLLM5n3+ fRNKqWBZ7pSm0jTGe1dlO1IZM+Okm3iM3A3pywd+DKihHuL326B6++XfjbeLajw/io0tn08DGUnEp OLEr0BcaQ57vXA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q98V8-0003DZ-6s; Tue, 13 Jun 2023 14:12:18 -0400 In-Reply-To: <2E2FE4DB-0DBC-47F5-B0BB-6D8010826159@n16f.net> (message from Nicolas Martyanoff on Tue, 13 Jun 2023 19:10:25 +0200) 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:306787 Archived-At: > From: Nicolas Martyanoff > Date: Tue, 13 Jun 2023 19:10:25 +0200 > Cc: emacs-devel@gnu.org > > Are there technical limitations against reloading or is this just a case of “if you need it send a patch”? I know that some platforms may have issues with it; but I use foreign library reloading in Common Lisp on Linux all the time, and it also works en BSD. There are technical issues, AFAIK, yes. Even unloading a Lisp feature doesn't work 100% in Emacs, and a module is more complicated than that.