From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: nongnu ELPA and slime Date: Tue, 06 Feb 2024 09:38:20 +0000 Message-ID: <87il32nd9v.fsf@yandex.com> References: <87cytaxbby.fsf@posteo.net> Reply-To: m43cap@yandex.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux) Cc: Peter Hull , emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 06 10:39:16 2024 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 1rXHv9-0002Zd-Ue for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Feb 2024 10:39:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXHuW-0000DL-6X; Tue, 06 Feb 2024 04:38:36 -0500 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 1rXHuT-0000Ce-AJ for emacs-devel@gnu.org; Tue, 06 Feb 2024 04:38:33 -0500 Original-Received: from forward501c.mail.yandex.net ([178.154.239.209]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXHuQ-0007bg-0G for emacs-devel@gnu.org; Tue, 06 Feb 2024 04:38:33 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:3999:0:640:6a33:0]) by forward501c.mail.yandex.net (Yandex) with ESMTPS id 345806104C; Tue, 6 Feb 2024 12:38:23 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id KccCSXHo7eA0-e876N308; Tue, 06 Feb 2024 12:38:22 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1707212302; bh=fAF8diN5JA/JNlWitLXFaAW7xQ0OYwRR7FvKmxeD+2w=; h=Message-ID:References:Date:Reply-To:Cc:In-Reply-To:Subject:To: From; b=GMG0DPcmdtaM/MYwgM+WPIrwm7LvUXT49ugmbYdF0JyWihtaF1WEtiNpd9UUFsg51 CygujbjyUngqKxNRHHvsAuDq+TehMvFO3ISrrUsqWNMDnFafsFa94jUrseekahdevc R5ulsQ0XQ6MNzzzXQDYcSohqbTRXmyOinZ4Swu3Q= Authentication-Results: mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: <87cytaxbby.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 06 Feb 2024 08:10:09 +0000") X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=178.154.239.209; envelope-from=m43cap@yandex.com; helo=forward501c.mail.yandex.net 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315919 Archived-At: >>>>> Philip Kaludercic writes: > Peter Hull writes: >> Hi, >> >> Is this list the correct place to discuss nongnu ELPA? > Sure. >> I've come across a problem with the latest (2.29.1) SLIME package >> when installed from ELPA. Basically the package appears to >> install without problems but none of its functions are registered >> so it cannot be activated. There is more discussion on >> https://github.com/slime/slime/issues/808 >> >> What I believe is happening is that the slime-2.29.1.tar on ELPA >> is being constructed without its hand-written slime-autoloads.el >> file. At install time, an autoload file is generated which >> doesn't work, because the relevant functions in SLIME are not >> marked with autoload cookies. The release tarball on github does >> have the autoloads file, as does slime-20240125.1336 from MELPA. > Do you know why they don't mark their functions with autoload > cookies? Writing a manual autoload file is very unusual. >> Unfortunately I've only ever been a user of emacs packages so I >> don't understand how it all works. Is there a way to specify that >> the slime-autoloads.el file needs to be included in the package, >> or will the relevant bits of SLIME need to be annotated so the >> generated file is functional? > It would be imaginable to configure the ELPA build server to not > overwrite the slime-autoloads.el file, but I'd first like to > understand why they take this route in the first place. > FWIW the quick fix for this issue is to add this to your init.el > (autoload 'slime-mode "slime") (autoload 'slime-mode "slime") doesn't work for me. I need (require 'slime-autoloads) for slime from the git repository. Best wishes