GNU bug report logs - #79783
30.1.90; emacs --daemon users don't see warnings emitted during startup

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Spencer Baugh <sbaugh@HIDDEN>; dated Fri, 7 Nov 2025 18:25:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 79783 <at> debbugs.gnu.org:


Received: (at 79783) by debbugs.gnu.org; 8 Nov 2025 12:28:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 08 07:28:22 2025
Received: from localhost ([127.0.0.1]:51261 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vHi3J-000663-Nd
	for submit <at> debbugs.gnu.org; Sat, 08 Nov 2025 07:28:21 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:50116)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1vHi3G-00065f-Vc
 for 79783 <at> debbugs.gnu.org; Sat, 08 Nov 2025 07:28:19 -0500
DKIM-Signature: a=rsa-sha256;
 b=hK4Y9l2MLSzRRnmqwKqEudemK936eRfG9Xf+pKq0ETBtfHifrbM/7P70s5TUGjtZ/DxfiaGnEZzhBQ0nea2n3d6tOWYchY8zCkD8C1hzidtI3CTynWGPpjtiI4IXHVQ2AsmGKQaSMcaJq2mvhymsu0Wi7dq6llWIDQ3xs03cXwH2Z7uIA637Dil4B7/cst6n6c75qa1kwR5cL3omXIhreFb0XNj5n3rvPb/kw3y6y5abyBBOsS5VjAENtH1hlihuHwyz2sMhOxihor+5fBTmZvr1Jb4XunxTLucctC1cBpGqhSAPXmW7WygkZiCm5YZdxjLMSsBKho5iWbh/qu2Uzw==;
 s=purelymail2; d=spwhitton.name; v=1;
 bh=IKCWcoLsTJjxkTRIhlrGzcReHrEg4/0o/YkK8rOJ6/o=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=Jxs/hIM8rTdMRchs70e6HgoZfAXrDcb8/Laz7Ov97o4EQI3PltkpHvjElmGA+CihvLvS+3GPyzyPE1sXcLIqxkWaswpkrTzfiro7JWgFGH2oDRx1x+SbDLB7UBvSmSGVrqyPmx5vx8vZDwvwZsYxplaH1GJVOPQOt7L5ZxXShCNRsWU9uzWd77D7kiNMzjgONMh7w7JQEjjeXMLXlqOoOMueQ1U8c841AgZpVE6WRvhe0Fy8cCGvFqeXGTxsnD86enw1omRvhHx05TV0vqs2IyjLEJLpU9bO+FO4z97MRYyLk8nksFKROwq8lGEX+A3yBcV/jh8tss910IYCY23MGA==;
 s=purelymail2; d=purelymail.com; v=1;
 bh=IKCWcoLsTJjxkTRIhlrGzcReHrEg4/0o/YkK8rOJ6/o=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 79783 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 937664464; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Sat, 08 Nov 2025 12:28:12 +0000 (UTC)
Received: by zephyr.silentflame.com (Postfix, from userid 1000)
 id F189994043E; Sat, 08 Nov 2025 12:28:09 +0000 (GMT)
From: Sean Whitton <spwhitton@HIDDEN>
To: Colin Baxter <m43cap@HIDDEN>
Subject: Re: bug#79783: 30.1.90; emacs --daemon users don't see warnings
 emitted during startup
In-Reply-To: <87tsz4hq4v.fsf@HIDDEN>
References: <iercy5t4s7b.fsf@HIDDEN>
 <87o6pdcxr5.fsf@HIDDEN> <87tsz4hq4v.fsf@HIDDEN>
Date: Sat, 08 Nov 2025 12:28:09 +0000
Message-ID: <87346od7za.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 79783
Cc: Spencer Baugh <sbaugh@HIDDEN>, app-emacs-dev@HIDDEN,
 79783 <at> debbugs.gnu.org, juri@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Sat 08 Nov 2025 at 08:42am GMT, Colin Baxter wrote:

> My suggestion is to insert messages at various places throughout
> ~/.emacs. If emacs --daemon="name" <RET> fails at any point then the output
> of messages does not complete and you know something is wrong. This
> works for me.

This is a decent suggestion, but it requires separate implementation by
every user.  It would be better if we were providing something already
there in Emacs.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#79783; Package emacs. Full text available.

Message received at 79783 <at> debbugs.gnu.org:


Received: (at 79783) by debbugs.gnu.org; 8 Nov 2025 08:42:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 08 03:42:40 2025
Received: from localhost ([127.0.0.1]:50573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vHeWu-0002qi-5W
	for submit <at> debbugs.gnu.org; Sat, 08 Nov 2025 03:42:40 -0500
Received: from forward500d.mail.yandex.net
 ([2a02:6b8:c41:1300:1:45:d181:d500]:48604)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <m43cap@HIDDEN>) id 1vHeWp-0002qH-9i
 for 79783 <at> debbugs.gnu.org; Sat, 08 Nov 2025 03:42:38 -0500
Received: from mail-nwsmtp-smtp-production-main-63.klg.yp-c.yandex.net
 (mail-nwsmtp-smtp-production-main-63.klg.yp-c.yandex.net
 [IPv6:2a02:6b8:c42:4f41:0:640:844:0])
 by forward500d.mail.yandex.net (Yandex) with ESMTPS id 5A45881724;
 Sat, 08 Nov 2025 11:42:27 +0300 (MSK)
Received: by mail-nwsmtp-smtp-production-main-63.klg.yp-c.yandex.net
 (smtp/Yandex) with ESMTPSA id OgGw7aVMrqM0-r4GWuivK; 
 Sat, 08 Nov 2025 11:42:26 +0300
X-Yandex-Fwd: 1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail;
 t=1762591346; bh=Sk9Mg4Mo9CF5VUWXtvkxRQNGURjPlP1UDu0XkPwYkdI=;
 h=Message-ID:References:Date:Reply-To:Cc:In-Reply-To:Subject:To:
 From;
 b=jOfP59odnVfrSA2QZCBpT9rLuG3qYwJ2Jj+YsyKjkz35xuNBd+x5D4Mjz2FMCNI+1
 INJa4Y3AiCI25R2fKX2euyIBtilaJoB3LyesNyQDEvkmox+DwSriim6ZIdGjzed1oG
 uSRQk3PCW62BHtYEHAoT6GSd6gpgj5xD++fMFCP4=
Authentication-Results: mail-nwsmtp-smtp-production-main-63.klg.yp-c.yandex.net;
 dkim=pass header.i=@yandex.com
From: Colin Baxter <m43cap@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
Subject: Re: bug#79783: 30.1.90; emacs --daemon users don't see warnings
 emitted during startup
In-Reply-To: <87o6pdcxr5.fsf@HIDDEN>
References: <iercy5t4s7b.fsf@HIDDEN>
 <87o6pdcxr5.fsf@HIDDEN>
X-Face: BHjiJOg/Qm<l.(R#\p-0{gCp3du3*)G~PJYQ[6fRR<L#QZ,~":E9WQ,|'jw;k
 9xPEKXwL%6nfC:T>j'BQgsAKL@])L)e62P)C"Y=6T
Date: Sat, 08 Nov 2025 08:42:24 +0000
Message-ID: <87tsz4hq4v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I
 RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A
 AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl
 ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1
 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg==
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 79783
Cc: Spencer Baugh <sbaugh@HIDDEN>, app-emacs-dev@HIDDEN,
 79783 <at> debbugs.gnu.org, juri@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: m43cap@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>>>> Sean Whitton <spwhitton@HIDDEN> writes:

    > Hello,
    > On Fri 07 Nov 2025 at 01:23pm -05, Spencer Baugh wrote:

    >> If you run "emacs" and your config has an error, the first frame
    >> will display the *Warnings* buffer, containing a nice warning
    >> message informing you of this fact.
    >> 
    >> However, if you run emacs --daemon and then connect to it with
    >> emacsclient, the first frame won't say any such thing.
    >> 
    >> I suggest we should somehow fix this.  At my site, this is a
    >> common source of confusion: users have a broken configuration and
    >> they don't know it, because they exclusively use "emacsclient -a
    >> ''" (which automatically starts emacs --daemon) to run Emacs.
    >> 
    >> More generally, warnings can be emitted while emacs --daemon is
    >> starting up, and then those warnings aren't displayed to users in
    >> the first frame, even though they might be important.

    > Thanks for bringing this up.  This is indeed a frustrating problem
    > if you exclusively open frames with emacsclient, which is what I
    > do, too.

    > Sometimes Emacs only made it halfway through your init.el before
    > there was an error.  So now only half of your customisations are
    > loaded, and it isn't obvious that there is any problem.  You start
    > doing things and then suddenly one of your bindings doesn't work
    > even though everything else was working as expected.

    >> Perhaps emacs --daemon should set up a hook which shows
    >> *Warnings* in the first (non-daemon) frame created?

    > That sounds like a good solution to me.  If we do it with
    > after-make-frame-functions then it would be easy to opt-out of it.
    > Or it could be opt-in.

My suggestion is to insert messages at various places throughout
~/.emacs. If emacs --daemon="name" <RET> fails at any point then the output
of messages does not complete and you know something is wrong. This
works for me.   

Best wishes, Colin.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#79783; Package emacs. Full text available.

Message received at 79783 <at> debbugs.gnu.org:


Received: (at 79783) by debbugs.gnu.org; 7 Nov 2025 21:56:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 07 16:56:55 2025
Received: from localhost ([127.0.0.1]:48774 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vHURz-0002lx-Ar
	for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 16:56:55 -0500
Received: from sendmail.purelymail.com ([34.202.193.197]:38622)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1vHURw-0002ln-HR
 for 79783 <at> debbugs.gnu.org; Fri, 07 Nov 2025 16:56:53 -0500
DKIM-Signature: a=rsa-sha256;
 b=CDnSFVq2cbUDlgFIOs6fxNKvFym4TbnBzQz/nylnxmI6ZmfDe4LIqOh0rtsoqn5hlC1By/VVKmXnJgMVbHE4sa4gF04jZRTuZqoa8SuiD1LPMjoy5cPfrCQoTeEcm+IY/ZM2W+2ql2wAT1F6r0CVx+W/h3Secvz7QdzC2ibSnLMQNWF8yGufh/oNQLaloI0ElnDS13/Vq9bS8eXvifaqsCQGroHskcpHKJHUUK/9cBdL8NvasCXOsx2xy89sd9HRWMac9Hp6WHixGHTjy7g/5F/g1camZW3VwBC1xkejLfklnOrGzo6jOAbvSAuLH+dFwgXzGgiT63Tvslh/ujnuIQ==;
 s=purelymail2; d=spwhitton.name; v=1;
 bh=W7fMzN/PWVdnuZhAf2qXHCZp2U0pt8ONfKYw/Q6HR3Q=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=AeejLF1Sr2ecllbLjsfV8KNmfmMB1hayn+OUHSLsYqp4frMKQKCY5oyhN8+tDglh/uORsG5d3CvzKzuJh7xcgtFTzqsbgYmN1WeHfR1Uw23FTD3SSVLv1Gm1qvepqia5RemtCkQcNSn53We8KhLkX5xjpCGTN+8OzeH7u+ya3FCQR/5ow1XUD6KtS7JvK5OhyU96DKsRZei9Ef5mejrTkKNH3KS+VLgB7YW31OdAQGK/d5mBnuupQkou42J/zurU4MPmnSpM/ZUN+u7ZwrlCIqLuvN0ckvva7iV3ESFRff3YoDWeN+/vTZQ8+0RPWTsHT1+jeulMi50DAuFdxqQMvw==;
 s=purelymail2; d=purelymail.com; v=1;
 bh=W7fMzN/PWVdnuZhAf2qXHCZp2U0pt8ONfKYw/Q6HR3Q=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 79783 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 460625511; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Fri, 07 Nov 2025 21:56:46 +0000 (UTC)
Received: by zephyr.silentflame.com (Postfix, from userid 1000)
 id 262FF942FBD; Fri, 07 Nov 2025 21:56:46 +0000 (GMT)
From: Sean Whitton <spwhitton@HIDDEN>
To: Spencer Baugh <sbaugh@HIDDEN>
Subject: Re: bug#79783: 30.1.90; emacs --daemon users don't see warnings
 emitted during startup
In-Reply-To: <iercy5t4s7b.fsf@HIDDEN>
References: <iercy5t4s7b.fsf@HIDDEN>
Date: Fri, 07 Nov 2025 21:56:46 +0000
Message-ID: <87o6pdcxr5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 79783
Cc: juri@HIDDEN, app-emacs-dev@HIDDEN, 79783 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On Fri 07 Nov 2025 at 01:23pm -05, Spencer Baugh wrote:

> If you run "emacs" and your config has an error, the first frame will
> display the *Warnings* buffer, containing a nice warning message
> informing you of this fact.
>
> However, if you run emacs --daemon and then connect to it with
> emacsclient, the first frame won't say any such thing.
>
> I suggest we should somehow fix this.  At my site, this is a common
> source of confusion: users have a broken configuration and they don't
> know it, because they exclusively use "emacsclient -a ''" (which
> automatically starts emacs --daemon) to run Emacs.
>
> More generally, warnings can be emitted while emacs --daemon is starting
> up, and then those warnings aren't displayed to users in the first
> frame, even though they might be important.

Thanks for bringing this up.  This is indeed a frustrating problem if
you exclusively open frames with emacsclient, which is what I do, too.

Sometimes Emacs only made it halfway through your init.el before there
was an error.  So now only half of your customisations are loaded, and
it isn't obvious that there is any problem.  You start doing things and
then suddenly one of your bindings doesn't work even though everything
else was working as expected.

> Perhaps emacs --daemon should set up a hook which shows *Warnings* in
> the first (non-daemon) frame created?

That sounds like a good solution to me.  If we do it with
after-make-frame-functions then it would be easy to opt-out of it.
Or it could be opt-in.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#79783; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Nov 2025 18:24:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 07 13:24:06 2025
Received: from localhost ([127.0.0.1]:47524 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vHR82-0002ko-Da
	for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 13:24:06 -0500
Received: from lists.gnu.org ([2001:470:142::17]:58884)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <sbaugh@HIDDEN>)
 id 1vHR7y-0002kP-7h
 for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 13:24:04 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sbaugh@HIDDEN>)
 id 1vHR7s-0000Kv-MN
 for bug-gnu-emacs@HIDDEN; Fri, 07 Nov 2025 13:23:56 -0500
Received: from mxout5.mail.janestreet.com ([64.215.233.18])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sbaugh@HIDDEN>)
 id 1vHR7p-0000DW-Pf
 for bug-gnu-emacs@HIDDEN; Fri, 07 Nov 2025 13:23:56 -0500
From: Spencer Baugh <sbaugh@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1.90; emacs --daemon users don't see warnings emitted during
 startup
X-Debbugs-Cc: app-emacs-dev@HIDDEN, juri@HIDDEN,
 spwhitton@HIDDEN
Date: Fri, 07 Nov 2025 13:23:52 -0500
Message-ID: <iercy5t4s7b.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com;
 s=waixah; t=1762539832;
 bh=qaXWqkgN+Go0Y88Yl7cISrNi68cn2kDi/jlv5m04Ikg=;
 h=From:To:Subject:Date;
 b=Bezxn1KosB1rTVGjGDzwLqcXPEMV9mrNhPCJDG980HWeATeuGfIMZ7Ea9I54Ztlgg
 hpFNVKdUNNyXPALGeqb4CAQkGpx2GDK+v2T7bFoj6KVOfL0nHpd/DxcaVbUxstOW/P
 EW5x+cPlOFq2MfRvfmiAby0HsAwjJgH6k8Ec501LId1lztqnyVy1eb0K6s3hG+F5H+
 T2B+aH0eSAs2csnzfhTHJsotYg91PK42YqKImKEhK61uAdjxho0u+luXt7odiMgoCa
 7OrfSeJnnF3H1YpZtZ+nPdyF4JAtvHaEkC7MJq8GejO6OPtC1eBaCxqWq/IKWn+z7E
 keQFKscCS+lhw==
Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@HIDDEN;
 helo=mxout5.mail.janestreet.com
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)


If you run "emacs" and your config has an error, the first frame will
display the *Warnings* buffer, containing a nice warning message
informing you of this fact.

However, if you run emacs --daemon and then connect to it with
emacsclient, the first frame won't say any such thing.

I suggest we should somehow fix this.  At my site, this is a common
source of confusion: users have a broken configuration and they don't
know it, because they exclusively use "emacsclient -a ''" (which
automatically starts emacs --daemon) to run Emacs.

More generally, warnings can be emitted while emacs --daemon is starting
up, and then those warnings aren't displayed to users in the first
frame, even though they might be important.

Perhaps emacs --daemon should set up a hook which shows *Warnings* in
the first (non-daemon) frame created?



In GNU Emacs 30.1.90 (build 78, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.15.12, Xaw scroll bars) of 2025-11-04 built on
 igm-qws-u22796a
Repository revision: 835dea1902d82826d77a620744c5c82902369ec4
Repository branch: emacs-30
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Rocky Linux 8.10 (Green Obsidian)




Acknowledgement sent to Spencer Baugh <sbaugh@HIDDEN>:
New bug report received and forwarded. Copy sent to app-emacs-dev@HIDDEN, juri@HIDDEN, spwhitton@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to app-emacs-dev@HIDDEN, juri@HIDDEN, spwhitton@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#79783; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 8 Nov 2025 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.