From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.ciao.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Finding the dump Date: Wed, 23 Jan 2019 14:46:01 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.org; posting-host="ciao.gmane.org:195.159.176.228"; logging-data="1050"; mail-complaints-to="usenet@ciao.gmane.org" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 23 14:50:43 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmIvR-0018J7-Ru for ged-emacs-devel@m.gmane.org; Wed, 23 Jan 2019 14:50:42 +0100 Original-Received: from localhost ([127.0.0.1]:34878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmIvQ-000729-P3 for ged-emacs-devel@m.gmane.org; Wed, 23 Jan 2019 08:50:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmIvJ-00071y-4o for emacs-devel@gnu.org; Wed, 23 Jan 2019 08:50:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmIr0-0007k8-Cc for emacs-devel@gnu.org; Wed, 23 Jan 2019 08:46:07 -0500 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:37716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmIr0-0007iz-64 for emacs-devel@gnu.org; Wed, 23 Jan 2019 08:46:06 -0500 Original-Received: by mail-wr1-x430.google.com with SMTP id s12so2519427wrt.4 for ; Wed, 23 Jan 2019 05:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=oqCg1PaUchoHTExkHEUsJA5coiOEw8DEniwv9eJmD4Y=; b=aXb2/xl6VnJmoEyu2PK8soJxznMC6NlswSA2qgc+RefDFdlS5uMLeROFBwhvruDqR3 hZ1bDNVAiPKZfp1bvCgQndkApqkzg1G0iI9vx0eUvNC/znPnpBnJe9HEQcplBQ3Zq3yR AIFGXNkbdfgNzcy2u9AJt+Lw2MKjaDrmbfRp6iEcoP7Rq9EtRai67ahAI5xzNwQB0Yjr CYWyX1j3EDA75YQc1WYfuBXaciMtfLFgN/Gdbpka7fDkd7TSlPApbnogG4+YVzaJIuyW Lrioj6cgC9Y5WSbsvPA4/wDecJdJNVQkH3cVUQiktZsx5lLYhUxmVKaXDG6YxB8mjTYm QpDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=oqCg1PaUchoHTExkHEUsJA5coiOEw8DEniwv9eJmD4Y=; b=Weht1GfmuyTl9fp+nAz9re/PGLyL/FPJ8WI0aQLYet+P5RAHswQcjt9WxcbuxkwWDe BoE77TsXiVvvyKWjfvt9XdvlTrc7BaWVM2WW0D+9qXLeQqt1GN8myJmHX4DjT3bu0yzc bMFLoGLSOtIOUXveamgiq+KPBnvPNynY0Qgn5Hj2RQ/dppqgo2f8gFb4xAOfLrqPrqUS BYOAY5Su/j2wendlwYcmywuJmePJIPsjJn+axrlCZojgaYNe2rrO5Tf6FhAkylvNm8xN 92qgUL2BnK4wrR56Q1E7d9ysG+LjkuRYmqnNbBOCu2giMyqON70XjE569eXHUoXbpu1X Qg/A== X-Gm-Message-State: AJcUukeut++BmiR34C2n+m/vWZq6X3fJWG3TPFEoe33au3oU01NtwKdD 589BRIhY/RmQsIyuw8lBKp9X05aK X-Google-Smtp-Source: ALg8bN5N20i3uQFgwcWtOG3d1t2SJCTnqcQLRkcS674iwcfA8EvGma29Eb/3uU/Ka6BclZqJXXyaQQ== X-Received: by 2002:adf:fd50:: with SMTP id h16mr3052934wrs.231.1548251163234; Wed, 23 Jan 2019 05:46:03 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id m6sm76493432wrv.24.2019.01.23.05.46.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 23 Jan 2019 05:46:01 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Stefan Monnier's message of "Wed, 23 Jan 2019 08:15:57 -0500") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::430 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232625 Archived-At: Stefan Monnier writes: > The new pdumper code is very welcome, but of course it introduces some > regressions and new problems: > > - When I start my Emacs, it now says > > Loading loadup.el (source)... > dump mode: nil > [...] > > and goes on to (re)load the loadup.el instead of using the .pdmp file > > This is because I run my Emacs via a symlink, and load_pdump is not > careful to try and follow symlinks while looking for the .pdmp next to > the executable. I think we should try and handle the use case rather > than requiring the user to make a second matching symlink to the > pdmp file. > > - I wonder what distributions like Debian will say about having a .pdmp > file in /usr/bin (AFAICT they normally only have executable files in > there). While we can let them hack their solution if they want to > keep the dumps elsewhere, maybe we should directly add support for > having dumps elsewhere since that might be useful in general. > > E.g., I think we should also search for the pdmp files in exec-director= y. > Doesn=CA=BCt the current code look in PATH_EXEC, which in my build is /usr/local/libexec/emacs? Robert