From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27528: 26.0.50; load-path initialisation is wrong when Emacs is launched in batch mode from a console inside another Emacs Date: Fri, 30 Jun 2017 16:44:46 +0300 Message-ID: <83zicppp2p.fsf@gnu.org> References: <84a84pve3f.fsf@AigleRoyal> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1498830610 6382 195.159.176.226 (30 Jun 2017 13:50:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Jun 2017 13:50:10 +0000 (UTC) Cc: 27528-done@debbugs.gnu.org To: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 30 15:50:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQwJ8-0001HY-Uc for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 15:50:03 +0200 Original-Received: from localhost ([::1]:44631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQwJD-0002cA-Vm for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 09:50:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQwFK-0007Ob-7g for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 09:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQwFG-0008OU-DP for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 09:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQwFG-0008OP-9M for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 09:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dQwFG-0002GA-4H for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 09:46:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jun 2017 13:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27528 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 27528@debbugs.gnu.org, eliz@gnu.org, vincent.belaiche@gmail.com Original-Received: via spool by 27528-done@debbugs.gnu.org id=D27528.14988303158587 (code D ref 27528); Fri, 30 Jun 2017 13:46:01 +0000 Original-Received: (at 27528-done) by debbugs.gnu.org; 30 Jun 2017 13:45:15 +0000 Original-Received: from localhost ([127.0.0.1]:45629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQwEV-0002ER-Cp for submit@debbugs.gnu.org; Fri, 30 Jun 2017 09:45:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQwEU-0002E8-Fu for 27528-done@debbugs.gnu.org; Fri, 30 Jun 2017 09:45:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQwEM-0007XZ-Ab for 27528-done@debbugs.gnu.org; Fri, 30 Jun 2017 09:45:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQwEM-0007XU-6g; Fri, 30 Jun 2017 09:45:06 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1212 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dQwEL-0007Y2-30; Fri, 30 Jun 2017 09:45:05 -0400 In-reply-to: <84a84pve3f.fsf@AigleRoyal> (vincent.belaiche@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134060 Archived-At: > From: vincent.belaiche@gmail.com (Vincent Belaïche) > Cc: Vincent Belaïche , > 27528@debbugs.gnu.org > Date: Fri, 30 Jun 2017 14:45:24 +0200 > > > I think this is because Emacs 25 exports to the environment of the > > subordinate Emacs its value of emacs_dir, which then points the > > subordinate Emacs at the directory where Emacs 25 lives. > > > > Emacs 26 fixed that problem, AFAIR, so I think if you do it the other > > way around, i.e. invoke Emacs 25 from inside Emacs 26, you will see > > the expected behavior. > > Dear Eli, > > As suggested by you, I have done the experiment of launching an Emacs 25 > from inside an Emacs 26, and I got the expected behaviour. > > Thank you for your kind feedback, this one can be closed. Thanks, closing.