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: on emacs 28 for windows Date: Thu, 27 Aug 2020 06:49:48 +0300 Message-ID: <83bliw3fz7.fsf@gnu.org> References: <86imd6dxzf.fsf@protonmail.com> <834koq3p3w.fsf@gnu.org> <4a6c923c96958966cacfc4c8a20a2bcd@russet.org.uk> <86o8mxtmxv.fsf@protonmail.com> <83pn7d2uuf.fsf@gnu.org> <86d03cubnc.fsf@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Wayne Harris , phillip.lord@russet.org.uk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 27 05:50:32 2020 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 1kB8vo-000Ac5-83 for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 05:50:32 +0200 Original-Received: from localhost ([::1]:50654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kB8vn-0004LD-2O for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Aug 2020 23:50:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kB8vK-0003uj-LB for emacs-devel@gnu.org; Wed, 26 Aug 2020 23:50:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44392) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kB8vJ-0003PS-Jg; Wed, 26 Aug 2020 23:50:01 -0400 Original-Received: from [176.228.60.248] (port=1121 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kB8vI-0001FI-Pk; Wed, 26 Aug 2020 23:50:01 -0400 In-Reply-To: <86d03cubnc.fsf@protonmail.com> (emacs-devel@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:254269 Archived-At: > Date: Wed, 26 Aug 2020 22:21:11 -0300 > From: Wayne Harris via "Emacs development discussions." > > C:\sys\emacs.28\bin>echo %EMACSLOADPATH% > %EMACSLOADPATH% > > C:\sys\emacs.28\bin> > > That convinces me it's not set. The canonical test is to say C:\sys\emacs.28\bin>set EMACSLOADPATH That should produce an explicit "not defined" response if the variable is not defined. > I don't think my GNU Emacs installations have ever made any changes > to the Windows registry, but how would I know? Where would I look? Start regedit and search for the variable's name with C-f followed by F3. > > After you start "emacs -Q", what is the value of load-path? > > ("c:/sys/emacs.28/share/emacs/28.0.50/lisp" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/vc" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/url" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/textmodes" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/progmodes" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/play" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/org" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/nxml" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/net" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/mh-e" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/mail" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/leim" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/language" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/international" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/image" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/gnus" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/eshell" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/erc" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/emulation" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/emacs-lisp" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/cedet" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/calendar" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/calc" > "c:/sys/emacs.28/share/emacs/28.0.50/lisp/obsolete" > "c:/msys64/home/Administrator/emacs-build/git/master/lisp") That last list element is the problem. I don't know how it gets there, ideas are welcome. Phillip, perhaps try stepping with GDB through init_lread and its subroutines, and see where does this come from. I expect that to be the value of PATH_DUMPLOADSEARCH, but it shouldn't be used in a normal startup of an installed Emacs. I guess I'm missing something here. Maybe it's somehow related to the fact that there's no --prefix at configure time, but I'm not sure.