From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Not using DOC for ELisp files Date: Fri, 31 Dec 2021 11:16:47 -0500 Message-ID: References: <834k6snbko.fsf@gnu.org> <83fsqclhlh.fsf@gnu.org> <838rw3lgiu.fsf@gnu.org> <83sfuaimna.fsf@gnu.org> <83lf01gnhs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6672"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: akrl@sdf.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 31 17:18:19 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 1n3Kbi-0001WU-NW for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 17:18:18 +0100 Original-Received: from localhost ([::1]:45308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3Kbh-0002lA-DR for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 11:18:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3Kac-0001zs-AN for emacs-devel@gnu.org; Fri, 31 Dec 2021 11:17:10 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:14736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3KaZ-0003BX-Dr; Fri, 31 Dec 2021 11:17:08 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 77DAF805AC; Fri, 31 Dec 2021 11:16:58 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 085378041E; Fri, 31 Dec 2021 11:16:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1640967417; bh=owPCemF73soXsaEhvQAml5s7ig8Yj0qBf2FC4qd1se4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Qg3Cf6HBOMLDKraurN2QGn4fnK9mpKzXYzY8v7IW9CMGfeeLc71LmGrg2aac0I268 EF2QZlmx2ZqSBrGSbDeDXeiUiahEcetJ1Z5plaft55zvRoPkhxU4T89TKx0ORSKIXa x/ugQDPkzbgTCxhY7GonmtXM47B8I4YlBd5Mz5fP+vhZUgmNo0R65Zri/BEbR+doEO iIqP1KD1VkZF1cOvRdU+ETLHJS0Q24fUqoa1ZQ51c5mMKF7JFc5iPYK7FO8wbFk23q ykp2/S0x7O3g3Bs0kNHl0/D2mjQygyxFQW4/P5UZ5D+FlzvbwQFXucVWsDFwFVvQGv UIKC7d0AR+79w== Original-Received: from pastel (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id CDEAD12040A; Fri, 31 Dec 2021 11:16:56 -0500 (EST) In-Reply-To: <83lf01gnhs.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 31 Dec 2021 10:57:51 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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" Xref: news.gmane.io gmane.emacs.devel:283749 Archived-At: >> OK, after re-reading the section a few times and rewriting it a couple >> more, I think I got something vaguely acceptable. > Thanks, I have one question: if EMACSLOADPATH is set in the > environment, does it affect the value of lisp-directory? I don't know: I did not write the code that computes this directory, because it was already written for the purpose of making absolute the filenames of preloaded files in `load-history`. > Should it? Maybe/probably, but since EMACSLOADPATH is a list of directories I'm not sure how to make it reliable. Maybe it should look for some "well-known" bundled ELisp file in EMACSLOADPATH an derive the value of `lisp-directory` from it? Stefan