From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) 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 14:45:24 +0200 Message-ID: <84a84pve3f.fsf@AigleRoyal> References: <848tkbkrw2.fsf@AIGLEROYAL> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1498826784 13021 195.159.176.226 (30 Jun 2017 12:46:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Jun 2017 12:46:24 +0000 (UTC) Cc: Vincent =?UTF-8?Q?Bela=C3=AFche?= , 27528@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 30 14:46:13 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 1dQvJM-0002qu-GD for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 14:46:12 +0200 Original-Received: from localhost ([::1]:44397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQvJR-0000d6-MP for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 08:46:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQvJJ-0000bp-Rx for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:46:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQvJE-0000Jk-MB for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:46:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42924) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQvJE-0000JC-IQ for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:46:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dQvJC-0008WP-06 for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jun 2017 12:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27528 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27528-submit@debbugs.gnu.org id=B27528.149882672832673 (code B ref 27528); Fri, 30 Jun 2017 12:46:01 +0000 Original-Received: (at 27528) by debbugs.gnu.org; 30 Jun 2017 12:45:28 +0000 Original-Received: from localhost ([127.0.0.1]:45601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQvIe-0008Uv-5D for submit@debbugs.gnu.org; Fri, 30 Jun 2017 08:45:28 -0400 Original-Received: from smtp07.smtpout.orange.fr ([80.12.242.129]:54202 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQvIc-0008UX-Ok for 27528@debbugs.gnu.org; Fri, 30 Jun 2017 08:45:27 -0400 Original-Received: from AigleRoyal ([109.218.77.101]) by mwinf5d14 with ME id f0lG1v0072B8XPR030lGD2; Fri, 30 Jun 2017 14:45:20 +0200 X-ME-Helo: AigleRoyal X-ME-Auth: dmluY2VudGJlbGFpY2hlQG9yYW5nZS5mcg== X-ME-Date: Fri, 30 Jun 2017 14:45:20 +0200 X-ME-IP: 109.218.77.101 In-Reply-To: <83lgoarhrf.fsf@gnu.org> X-Antivirus: Avast (VPS 170629-0, 29/06/2017), Outbound message X-Antivirus-Status: Clean 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:134059 Archived-At: Le 29/06/2017 =E0 16:27, Eli Zaretskii a =E9crit : >> From: vincent.belaiche@gmail.com (Vincent Bela=EFche) >> Date: Thu, 29 Jun 2017 12:30:37 +0200 >> Cc: Vincent Bela=EFche >> [...] >> >> The text up to `)' is stdout, and the remainder is stderr. To me this >> output is wrong. > > 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. Vincent. --- L'absence de virus dans ce courrier =E9lectronique a =E9t=E9 v=E9rifi=E9e p= ar le logiciel antivirus Avast. https://www.avast.com/antivirus