From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: bug#38273: emacs doesn't open files Date: Wed, 20 Nov 2019 18:19:51 +0100 Message-ID: References: <87zhgrv8kh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53788) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXTf5-0005wS-G7 for bug-guix@gnu.org; Wed, 20 Nov 2019 12:21:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXTf4-0004EF-GP for bug-guix@gnu.org; Wed, 20 Nov 2019 12:21:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42003) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXTf4-0004E7-Ai for bug-guix@gnu.org; Wed, 20 Nov 2019 12:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iXTf4-0004LY-56 for bug-guix@gnu.org; Wed, 20 Nov 2019 12:21:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87zhgrv8kh.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 38273@debbugs.gnu.org, Jesse Gibbons Hi Maxim, Thank you to looking. On Tue, 19 Nov 2019 at 22:51, Maxim Cournoyer wrote: > Did you sort out your issue? Perhaps logging out then back in could > define the missing EMACSLOADPATH environment variable? Or manually > sourcing your current profile's etc/profile and starting Emacs from that > shell? Yes, sourcing the current etc/profile fixes the issue. Therefore, EMACSLOADPATH should be the culprit and I had done a mistake, not enough investigating before reporting. My bad! Sorry! > I'll try to isolate how to reproduce the problem; if you have a way to > reproduce it I'm interested! I think it comes from the new EMACSLOADPATH variable. The new Emacs binary is looking at it so if the etc/profile is not yet sourced then troubles arises. That's why it does not happen with "-Q" because no-site-file and no-site-lisp, i.e., EMACSLOADPATH is not "required". However, "-q" just turns off the ~/.emacs and needs EMACSLOADPATH. So I think to reproduce: install an old Emacs, upgrade, do not source again the current profile, launch Emacs from this profile. Well, it is not an issue but a bad practise. :-) Sorry. All the best, simon