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.bugs Subject: bug#58073: 29.0.50; Uninstalled emacs sends startup messages to stderr Date: Sun, 25 Sep 2022 19:02:28 +0300 Message-ID: <83tu4vl9wr.fsf@gnu.org> References: <87pmfjmqnt.fsf@bernoul.li> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36933"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58073@debbugs.gnu.org To: Jonas Bernoulli Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 25 18:04:06 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ocU6v-0009Q0-Sx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Sep 2022 18:04:06 +0200 Original-Received: from localhost ([::1]:44454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocU6u-00033f-MR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Sep 2022 12:04:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocU68-0002p6-Lw for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2022 12:03:18 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocU5u-0003nk-J4 for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2022 12:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ocU5u-0003Qm-3J for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2022 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Sep 2022 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58073 X-GNU-PR-Package: emacs Original-Received: via spool by 58073-submit@debbugs.gnu.org id=B58073.166412176913134 (code B ref 58073); Sun, 25 Sep 2022 16:03:02 +0000 Original-Received: (at 58073) by debbugs.gnu.org; 25 Sep 2022 16:02:49 +0000 Original-Received: from localhost ([127.0.0.1]:48392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocU5g-0003Pk-VH for submit@debbugs.gnu.org; Sun, 25 Sep 2022 12:02:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocU5e-0003PB-6J for 58073@debbugs.gnu.org; Sun, 25 Sep 2022 12:02:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocU5X-0003iL-Ur; Sun, 25 Sep 2022 12:02:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gesrcieKv6hvc4sOG2eSW36RYlB2duKD9W8RlkhN0X0=; b=rN8VlrIlkaXv Y32PWTVGh286dQTb3xHc5VCjHZY/2r6BE9EA0ziQwIjUXD2XXYZOzlzLj9S+pSguBylWBagyuinIE 3HUPSVILC5RmK8LVx99r2H+Pv17MtmXsGDYdGh3GQVusdlpYQV4JUJfsJJH9HCNtfr5vGnd6KzHMD GC1z2cwxmbFtcFwnHwtJMTJT/7QZYMqFKOTuUpZj9qCsuQ6hfvRKViaKSpDN+xyxG8n7JQc/rMruO h6DyeZGe5aN100xm10bqRNyMFPhTT6kxUv8yK/h1nkIapa+bjv5MCT3ngKRUf2ktjKZWt4RC5xM1t fmFnCIrCg3WI6Nk7SEHRDA==; Original-Received: from [87.69.77.57] (port=4156 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocU5X-0005V7-3J; Sun, 25 Sep 2022 12:02:39 -0400 In-Reply-To: <87pmfjmqnt.fsf@bernoul.li> (message from Jonas Bernoulli on Sun, 25 Sep 2022 17:15:18 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243607 Archived-At: > From: Jonas Bernoulli > Date: Sun, 25 Sep 2022 17:15:18 +0200 > > I usually run emacs without installing it, via a symlink, which is > placed on PATH and which points at the executable in the checkout. > Due to reasons that aren't important here, I recently had to replace the > symlink with a wrapper script, and that resulted in these messages being > send to stderr. > > Loading loadup.el (source)... > Dump mode: nil > Using load-path (...) > Loading emacs-lisp/debug-early... > ... > Finding pointers to doc strings...done > > Running the executable directly also results in these messages. > > I then changed my wrapper script to use an intermediate symlink, with > the resulted that the messages were not being shown for a while again, > but today I updated emacs again and now the messages are always shown. > Using a symlink no longer suppresses them. > > Are this messages shown intentionally? Is it already possible to > suppress them? If not, could something be added to allow suppressing > them? Is your Emacs built with or without native-compilation? The messages mean that Emacs either cannot find its pdumper file, or cannot find the preloaded *.eln files, and therefore loads all the preloaded files explicitly during startup. The question is why. My guess is that the way you invoke Emacs is not supported by the startup code. This became more complicated with the pdumper build, and yet more with the native-compilation build, because where formerly Emacs needed only to find its executable file, it now needs also to find the pdumper file and all the preloaded *.eln files. > (I prefer to run the uninstalled executable, because that allows me > to jump to a definition and then immediately view its history.) Then may I suggest a shell alias? Emacs has special support for running from the build tree, but in your case it somehow doesn't realize that.