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: Not using DOC for ELisp files Date: Tue, 28 Dec 2021 20:17:14 +0200 Message-ID: <83fsqclhlh.fsf@gnu.org> References: <834k6snbko.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37533"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier , Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 28 19:18:16 2021 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 1n2H3A-0009bU-Eh for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 19:18:16 +0100 Original-Received: from localhost ([::1]:41594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2H39-0007dj-IS for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 13:18:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2H2H-0006yh-0L for emacs-devel@gnu.org; Tue, 28 Dec 2021 13:17:21 -0500 Original-Received: from [2001:470:142:3::e] (port=44520 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2H2G-00024N-Ga; Tue, 28 Dec 2021 13:17:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Xg1+PhDCgDnrD63nabYI9kLbgMDpnzMf6dnT4o+Eims=; b=aYukukAPOv0H 00KJZ/d3mE9U+BEAdX28Rt3Gm6sSFe46jl482nX5btCrEFjzdQDJB/GWqbJoAa+cEKBjZgKXp3OKm CIYswOK8eI887LQOH/diHX3sSLndbm1NPzbPZepLAG4lTZiXRkal4/sIN08D1SOBdtzpnejIJLmVH 12pmTYNaxDi3mH+1nYNBHPzf1UnSp+Pg8FxR7/wQF1KZpv41hD1sgr5yEMqb+ZubPvwfteNHYu+xe Fzr7JJRfnRi3UkWBo9AweIy6JsXYpgBj6LWsBPSscpB46V0Hl6FBc/7JqoJ2dW5cX2VkZS6LwS/zW zyDFGUNKlFziJueaNKFmaQ==; Original-Received: from [87.69.77.57] (port=4500 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 1n2H2G-0000Qe-9i; Tue, 28 Dec 2021 13:17:20 -0500 In-Reply-To: (message from Stefan Monnier on Tue, 28 Dec 2021 12:14:43 -0500) 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:283519 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Tue, 28 Dec 2021 12:14:43 -0500 > > Yes, it means the docstring are fetched from the likes of > `lisp/files.elc` (as is already the case for the non-preloaded files) > instead of from `etc/DOC`. > > > Or does it mean the *.el files (which might be compressed) must > > be available? > > No, the `.el` files are not used any more than before. > > > And what does this mean for a natively-compiled installation? > > I don't think this has any impact. So natively-compiled installations still need to make the *.elc files available in the installation tree? Andrea, is that a requirement regardless of the doc strings? That is, can one remove the *.elc files of the preloaded Lisp files once Emacs is installed and the preloaded *.eln files are available? > > If there are any non-trivial consequences of this change, i.e. distros > > will now need to make sure something happens that they didn't before, > > I think we should get their opinions before we install this. > > The only non-trivial consequence I can think of is when the compiled > preloaded files are missing. E.g. if the distros remove > `lisp/files.elc`. I don't aware of any distro/packaging doing it (even > tho it did make sense doing so to save a few bytes). Well, I hope those of them who read this list will chime in if this is of any concern. Thanks.