GNU bug report logs - #78896
29.4; display-time-mode breaks minibuffer in emacsclient

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: Varun Malladi <varun.malladi@HIDDEN>; Done: Juri Linkov <juri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 31.0.50, send any further explanations to 78896 <at> debbugs.gnu.org and Varun Malladi <varun.malladi@HIDDEN> Request was from Juri Linkov <juri@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 78896) by debbugs.gnu.org; 27 Jun 2025 17:43:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 27 13:43:18 2025
Received: from localhost ([127.0.0.1]:40412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uVD6b-0001xx-Re
	for submit <at> debbugs.gnu.org; Fri, 27 Jun 2025 13:43:18 -0400
Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:60411)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>)
 id 1uVD6Z-0001xH-O7; Fri, 27 Jun 2025 13:43:16 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 6ABEF44390;
 Fri, 27 Jun 2025 17:43:08 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#78896: 29.4; display-time-mode breaks minibuffer in
 emacsclient
In-Reply-To: <87jz4x1xft.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAJuMPmXXeWCxS63DN9=BHECuFHigStBqiakcC4gUZRbXDwLmSA@HIDDEN>
 <87qzz7d4yt.fsf@HIDDEN> <86plerccjs.fsf@HIDDEN>
 <87bjqb58zq.fsf@HIDDEN> <87jz4x1xft.fsf@HIDDEN>
Date: Fri, 27 Jun 2025 20:42:02 +0300
Message-ID: <871pr52iad.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefieelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutddtrdejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddttddrjeejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepgedprhgtphhtthhopegtohhnthhrohhlseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjeekkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehvrghruhhnrdhmrghllhgrughisehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghlihiisehgnhhurdhorhhg
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 78896
Cc: varun.malladi@HIDDEN, 78896 <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.7 (-)

close 78896 31.0.50
thanks

> Here is the patch that also allows using the original recipe:
>
> ```
> ;; min-init.el
> (require 'tab-bar)
> (tab-bar-mode)
> (add-to-list 'tab-bar-format 'tab-bar-format-global 'append)
> (display-time-mode -1)
> ```
>
> This patch instructs tab-bar-mode to ignore daemon's initial frame:

So now pushed and closed.




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

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


Received: (at 78896) by debbugs.gnu.org; 27 Jun 2025 07:02:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 27 03:02:42 2025
Received: from localhost ([127.0.0.1]:59803 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uV36f-0005ww-Vv
	for submit <at> debbugs.gnu.org; Fri, 27 Jun 2025 03:02:42 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55157)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uV36d-0005w8-KX
 for 78896 <at> debbugs.gnu.org; Fri, 27 Jun 2025 03:02:40 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id B2ED544397;
 Fri, 27 Jun 2025 07:02:31 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#78896: 29.4; display-time-mode breaks minibuffer in
 emacsclient
In-Reply-To: <87bjqb58zq.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAJuMPmXXeWCxS63DN9=BHECuFHigStBqiakcC4gUZRbXDwLmSA@HIDDEN>
 <87qzz7d4yt.fsf@HIDDEN> <86plerccjs.fsf@HIDDEN>
 <87bjqb58zq.fsf@HIDDEN>
Date: Fri, 27 Jun 2025 09:57:06 +0300
Message-ID: <87jz4x1xft.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddvgeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesmhdtreertdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeettdeiieegfeehtddvgeekhfelvdeggfevfeevgeelvdffudekkedtledtgfekvdenucfkphepledurdduvdelrddutddtrdejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddttddrjeejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepfedprhgtphhtthhopeejkeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvhgrrhhunhdrmhgrlhhlrgguihesghhmrghilhdrtghomhdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 78896
Cc: varun.malladi@HIDDEN, 78896 <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.7 (-)

--=-=-=
Content-Type: text/plain

> I confirm that everything works without problems with:
>
> ```
> ;; min-init.el
> (require 'tab-bar)
> (add-to-list 'tab-bar-format 'tab-bar-format-global 'append)
> (display-time-mode 1)
> (add-hook 'server-after-make-frame-hook 'toggle-frame-tab-bar)
> ```

Here is the patch that also allows using the original recipe:

```
;; min-init.el
(require 'tab-bar)
(tab-bar-mode)
(add-to-list 'tab-bar-format 'tab-bar-format-global 'append)
(display-time-mode -1)
```

This patch instructs tab-bar-mode to ignore daemon's initial frame:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=tab-bar-daemon-initial-frame.patch

diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index 306fed34e40..7dc39086044 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -280,11 +280,13 @@ tab-bar--update-tab-bar-lines
     (dolist (frame frame-lst)
       (unless (or (frame-parameter frame 'tab-bar-lines-keep-state)
                   (and (eq auto-resize-tab-bars 'grow-only)
-                       (> (frame-parameter frame 'tab-bar-lines) 1)))
+                       (> (frame-parameter frame 'tab-bar-lines) 1))
+                  ;; Don't enable tab-bar in daemon's initial frame.
+                  (and (daemonp) (not (frame-parameter frame 'client))))
         (set-frame-parameter frame 'tab-bar-lines
                              (tab-bar--tab-bar-lines-for-frame frame)))))
   ;; Update `default-frame-alist'
-  (when (eq frames t)
+  (when (and (eq frames t) (not (daemonp)))
     (setq default-frame-alist
           (cons (cons 'tab-bar-lines
                       (if (and tab-bar-mode (eq tab-bar-show t)) 1 0))
@@ -600,7 +602,11 @@ toggle-frame-tab-bar
 or if you want to disable the tab bar individually on each
 new frame when the global `tab-bar-mode' is enabled, by using
 
-  (add-hook \\='after-make-frame-functions #\\='toggle-frame-tab-bar)"
+  (add-hook \\='after-make-frame-functions #\\='toggle-frame-tab-bar)
+
+Or when starting Emacs in daemon mode:
+
+  (add-hook \\='server-after-make-frame-hook #\\='toggle-frame-tab-bar)"
   (interactive)
   (set-frame-parameter frame 'tab-bar-lines
                        (if (> (frame-parameter frame 'tab-bar-lines) 0) 0 1))

--=-=-=--




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

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


Received: (at 78896) by debbugs.gnu.org; 26 Jun 2025 06:16:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 26 02:16:15 2025
Received: from localhost ([127.0.0.1]:47018 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uUfuA-0001L6-FA
	for submit <at> debbugs.gnu.org; Thu, 26 Jun 2025 02:16:14 -0400
Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60241)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uUfto-0001IG-GE
 for 78896 <at> debbugs.gnu.org; Thu, 26 Jun 2025 02:15:53 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id DE694444D6;
 Thu, 26 Jun 2025 06:15:44 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#78896: 29.4; display-time-mode breaks minibuffer in
 emacsclient
In-Reply-To: <86plerccjs.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAJuMPmXXeWCxS63DN9=BHECuFHigStBqiakcC4gUZRbXDwLmSA@HIDDEN>
 <87qzz7d4yt.fsf@HIDDEN> <86plerccjs.fsf@HIDDEN>
Date: Thu, 26 Jun 2025 09:13:03 +0300
Message-ID: <87bjqb58zq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddvgeeltdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledruddttddrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutddtrdejjedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepjeekkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehvrghruhhnrdhmrghllhgrughisehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghlihiisehgnhhurdhorhhg
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 78896
Cc: varun.malladi@HIDDEN, 78896 <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.7 (-)

> These kinds of initializations and customizations should be moved to
> server-after-make-frame-hook.  They should only be invoked directly
> from the init file in non-daemon session (one could use the function
> daemonp to check that).  The rule is that any initialization or
> customization that needs the Emacs GUI system to be up and running
> should be done from server-after-make-frame-hook.
>
> Note that server-after-make-frame-hook is run after starting each new
> frame, not just once.  So if you have one-time initializations, you
> need some state variable you can set to indicate that the one-time
> stuff was already done, and set it after performing those
> initializations for the first time.

I confirm that everything works without problems with:

```
;; min-init.el
(require 'tab-bar)
(add-to-list 'tab-bar-format 'tab-bar-format-global 'append)
(display-time-mode 1)
(add-hook 'server-after-make-frame-hook 'toggle-frame-tab-bar)
```




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

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


Received: (at 78896) by debbugs.gnu.org; 26 Jun 2025 05:11:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 26 01:11:31 2025
Received: from localhost ([127.0.0.1]:46213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uUetX-0004mT-Aw
	for submit <at> debbugs.gnu.org; Thu, 26 Jun 2025 01:11:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39692)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uUetU-0004mD-Lx
 for 78896 <at> debbugs.gnu.org; Thu, 26 Jun 2025 01:11:29 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uUetN-0000PO-Ve; Thu, 26 Jun 2025 01:11:21 -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=ACo+mVuITPdIvm2LUNWahpskUbTij04zhP9cnB3iVYE=; b=aRON5i50h7eb
 3XH0eRPUDHjIVp//e4jtHj5M7ZDjdz0a/iLfGmsM7x/16iGxQxtjx0GXYnejHFWv3KQYOP9EYyJGE
 3lDIRnu2Vb6fa9UnYthfwNSK/TbFb4VwJHU3XwL+yWovJxI9ZXsxC9Cqj/c5SJdlEzfpRc3ilqnl5
 CoWf6lwCWxmnCZtHLsO7gn71F9h5GYTxUaBaJFPm73IdDzpp2rdb73UMuW6XIe7k0v9ngN3JBEmzd
 LPHP0GLZv0w60DyjOMPjx8sZ+jxSAOi0wPPKbUrKQM06By0bO6htCRgl3r2ZSNouTz6EggJA0OZhy
 XtPVC7EJveE+tZlUzAFzcQ==;
Date: Thu, 26 Jun 2025 08:11:19 +0300
Message-Id: <86plerccjs.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87qzz7d4yt.fsf@HIDDEN> (message from Juri Linkov on
 Wed, 25 Jun 2025 21:57:30 +0300)
Subject: Re: bug#78896: 29.4;
 display-time-mode breaks minibuffer in emacsclient
References: <CAJuMPmXXeWCxS63DN9=BHECuFHigStBqiakcC4gUZRbXDwLmSA@HIDDEN>
 <87qzz7d4yt.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78896
Cc: varun.malladi@HIDDEN, 78896 <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: -3.3 (---)

> Cc: 78896 <at> debbugs.gnu.org
> From: Juri Linkov <juri@HIDDEN>
> Date: Wed, 25 Jun 2025 21:57:30 +0300
> 
> > Given the following minimal init file:
> > ```
> > ;; min-init.el
> > (require 'tab-bar)
> > (tab-bar-mode)
> > (add-to-list 'tab-bar-format 'tab-bar-format-global 'append)
> > (display-time-mode -1)
> > ```
> >
> > I do the following:
> > ```
> > emacs -Q --daemon --load min-init.el
> > ```
> >
> > Then when I start emacsclient in the terminal with `emacsclient -t`, the
> > minibuffer won't work at all. When I don't do this via the server,
> > e.g. removing `--daemon` from the above invocation, the minibuffer works
> > fine.
> >
> > Let me try to describe what I mean when I say that the minibuffer
> > doesn't work. `M-x` puts the cursor at the beginning of the minibuffer
> > (no "M-x" text). Typing any key says that the key is not defined. `C-g`
> > doesn't work either.
> 
> Thanks for the bug report.  My guess is that it's related
> to forcing switching frame focus to the active minibuffer.
> 'tab-bar-format-global' calls 'format-mode-line' that
> on a tty frame forces focus to the initial daemon frame.

These kinds of initializations and customizations should be moved to
server-after-make-frame-hook.  They should only be invoked directly
from the init file in non-daemon session (one could use the function
daemonp to check that).  The rule is that any initialization or
customization that needs the Emacs GUI system to be up and running
should be done from server-after-make-frame-hook.

Note that server-after-make-frame-hook is run after starting each new
frame, not just once.  So if you have one-time initializations, you
need some state variable you can set to indicate that the one-time
stuff was already done, and set it after performing those
initializations for the first time.




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

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


Received: (at 78896) by debbugs.gnu.org; 25 Jun 2025 18:59:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 25 14:59:15 2025
Received: from localhost ([127.0.0.1]:39483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uUVKy-0000P0-Ho
	for submit <at> debbugs.gnu.org; Wed, 25 Jun 2025 14:59:14 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:32827)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uUVKu-0000NJ-1k
 for 78896 <at> debbugs.gnu.org; Wed, 25 Jun 2025 14:59:09 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 41E59442A3;
 Wed, 25 Jun 2025 18:58:59 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Varun Malladi <varun.malladi@HIDDEN>
Subject: Re: bug#78896: 29.4; display-time-mode breaks minibuffer in
 emacsclient
In-Reply-To: <CAJuMPmXXeWCxS63DN9=BHECuFHigStBqiakcC4gUZRbXDwLmSA@HIDDEN>
Organization: LINKOV.NET
References: <CAJuMPmXXeWCxS63DN9=BHECuFHigStBqiakcC4gUZRbXDwLmSA@HIDDEN>
Date: Wed, 25 Jun 2025 21:57:30 +0300
Message-ID: <87qzz7d4yt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddvfeehhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledruddttddrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutddtrdejjedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeekkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehvrghruhhnrdhmrghllhgrughisehgmhgrihhlrdgtohhm
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 78896
Cc: 78896 <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.7 (-)

> Given the following minimal init file:
> ```
> ;; min-init.el
> (require 'tab-bar)
> (tab-bar-mode)
> (add-to-list 'tab-bar-format 'tab-bar-format-global 'append)
> (display-time-mode -1)
> ```
>
> I do the following:
> ```
> emacs -Q --daemon --load min-init.el
> ```
>
> Then when I start emacsclient in the terminal with `emacsclient -t`, the
> minibuffer won't work at all. When I don't do this via the server,
> e.g. removing `--daemon` from the above invocation, the minibuffer works
> fine.
>
> Let me try to describe what I mean when I say that the minibuffer
> doesn't work. `M-x` puts the cursor at the beginning of the minibuffer
> (no "M-x" text). Typing any key says that the key is not defined. `C-g`
> doesn't work either.

Thanks for the bug report.  My guess is that it's related
to forcing switching frame focus to the active minibuffer.
'tab-bar-format-global' calls 'format-mode-line' that
on a tty frame forces focus to the initial daemon frame.




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

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


Received: (at submit) by debbugs.gnu.org; 25 Jun 2025 17:35:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 25 13:35:05 2025
Received: from localhost ([127.0.0.1]:38661 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uUU1X-0004dk-1H
	for submit <at> debbugs.gnu.org; Wed, 25 Jun 2025 13:35:05 -0400
Received: from lists.gnu.org ([2001:470:142::17]:59714)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <varun.malladi@HIDDEN>)
 id 1uUTtd-0003bC-W2
 for submit <at> debbugs.gnu.org; Wed, 25 Jun 2025 13:26:56 -0400
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 <varun.malladi@HIDDEN>)
 id 1uUTtX-0000uU-L4
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jun 2025 13:26:47 -0400
Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <varun.malladi@HIDDEN>)
 id 1uUTtV-0008TJ-12
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jun 2025 13:26:47 -0400
Received: by mail-ed1-x52a.google.com with SMTP id
 4fb4d7f45d1cf-607434e1821so121997a12.0
 for <bug-gnu-emacs@HIDDEN>; Wed, 25 Jun 2025 10:26:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1750872402; x=1751477202; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=O9m2IrT77kc14YdiBNn9s33HNJDECSSGQAc81ZtFKco=;
 b=R8vt41I9FOsD5fhGUAP7oIubwGKYY7m0D8pefrNifHyGJjDiJSmf/ZbbdtBukN/4CD
 i6/Sa4ipPuQDFMh3S51bY133FUh5MAF6N9J4kx+JdX13X/OqXGas2p4wB5vXL0R1/w4g
 O1RbtmtqvYeCc4CJ7djxZMwAKmesVqxVo3XvZQYwTEvAtEMHd/tkVjvRnXs2daXnm0sb
 dA+xlUbr4rc2miFB0pBnWTO7grGIYMKBJp/nmSoRkx+if6f5AlBWExDA/E+WWzcSWlh+
 bo/5nk1oh7a9pTFVXCdGp3at5oCO5Y7xViAJHfJWRgwo7Cuq6r2Nm7h9LZSI14P7W+o4
 igTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1750872402; x=1751477202;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=O9m2IrT77kc14YdiBNn9s33HNJDECSSGQAc81ZtFKco=;
 b=SZyEK+ouT0M90QGY74ch5bM1UXASNjn4B5HsXxLh3sDsADARFUJ0bM+HjoTo3UAOwc
 PCZX3xEtnkoBNHtHAVGzyum9IfxGe3QTtBNqDw1IAS7Y6NW1EtcY9PxfbH0sEYuUNCFr
 5CWJ99xo2RmQVJiotNUeWWB2h8+7dhI7VSu5wEipLfvcWjBvP8TNk30CHnXB+z1Wokw3
 qsMDxhvvBn87w0mL7qZcz3SVgtc7EfyWzM5O1F59tgZNCoRPmIGCWdK4FEUmFJ56S2iZ
 CKuQnNoYzfHfUIZVQsosH1JITViiOGvSxMLV3Ham/J7vbVQGHusR9ioNcOXr4Gl0+QX0
 5KDw==
X-Gm-Message-State: AOJu0YxIPXxj1ZqIRIrzc4g+7GRS1hF9uUe5mV+3ew5khu4mt7uvrEgF
 AOWmXaL2VNuyhKfp1qBydLYfwVFgRAZ+5h6kl7bvMaNEuJiNa6/U66dNXO8XM5SS0xc8ZVTcq6b
 zdjkxlF7Wsypae9vGjh93HjbzPiMOHOi89A==
X-Gm-Gg: ASbGnctAns9aeDoJjl3wtIdumDAxpkov0P3IZyGmGaReo3/GjOCyPt17FPcd5kFAdH8
 YcmyHGUGmPENED4tDQuGBgH0pVKq0XEFU09JYSfFuM5zvTEk/k9a1luk8XYHsUewaD6bqHAE/Vh
 WV4iRIn7Lz+HPwkSbopysH4EnDCQZQ0Ydxy1O1ult6YP4oUGWO8HFV0tqjOf2M2NJkh3nlbFdiK
 fCP
X-Google-Smtp-Source: AGHT+IGx4mD7UPE5l7eSdqUPU4E46MUVpJoYndIcYYaPwmoWr9v7Hegw1MfSGWCoVyGPuB5qTXzzkxHdnTddS7wuUjc=
X-Received: by 2002:a05:6402:27d4:b0:60c:3d54:4d2a with SMTP id
 4fb4d7f45d1cf-60c4dd6ff2dmr3267484a12.22.1750872401585; Wed, 25 Jun 2025
 10:26:41 -0700 (PDT)
MIME-Version: 1.0
From: Varun Malladi <varun.malladi@HIDDEN>
Date: Wed, 25 Jun 2025 13:26:28 -0400
X-Gm-Features: Ac12FXw8UtPjQ-PcWVEtQOZFqH-DRJU1JnV63lwd1BSBkTZ5QOD934wz7AkyNw0
Message-ID: <CAJuMPmXXeWCxS63DN9=BHECuFHigStBqiakcC4gUZRbXDwLmSA@HIDDEN>
Subject: 29.4; display-time-mode breaks minibuffer in emacsclient
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000008b2b0d063868bfce"
Received-SPF: pass client-ip=2a00:1450:4864:20::52a;
 envelope-from=varun.malladi@HIDDEN; helo=mail-ed1-x52a.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 25 Jun 2025 13:35:01 -0400
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.0 (/)

--0000000000008b2b0d063868bfce
Content-Type: text/plain; charset="UTF-8"

Given the following minimal init file:
```
;; min-init.el
(require 'tab-bar)
(tab-bar-mode)
(add-to-list 'tab-bar-format 'tab-bar-format-global 'append)
(display-time-mode -1)
```

I do the following:
```
emacs -Q --daemon --load min-init.el
```

Then when I start emacsclient in the terminal with `emacsclient -t`, the
minibuffer won't work at all. When I don't do this via the server,
e.g. removing `--daemon` from the above invocation, the minibuffer works
fine.

Let me try to describe what I mean when I say that the minibuffer
doesn't work. `M-x` puts the cursor at the beginning of the minibuffer
(no "M-x" text). Typing any key says that the key is not defined. `C-g`
doesn't work either.



In GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
 3.24.31, cairo version 1.17.4) of 2025-01-20 built on
 (redacted)
System Description: AlmaLinux 9.5 (Teal Serval)

Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-cairo --with-dbus --with-gif
 --with-gpm=no --with-harfbuzz --with-jpeg --with-json --with-modules
 --with-native-compilation --with-pgtk --with-png --with-rsvg
 --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-xpm
 build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu
 CC=gcc 'CFLAGS=-fno-semantic-interposition -D_FILE_OFFSET_BITS=64
 -pthread -fno-semantic-interposition -D_FILE_OFFSET_BITS=64 -pthread
 -fno-semantic-interposition -D_FILE_OFFSET_BITS=64 -pthread
 -DMAIL_USE_LOCKF -O2 -flto=auto -ffat-lto-objects -fexceptions -g
 -grecord-gcc-switches -pipe -Wall -Werror=format-security
 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2
 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
 -fcf-protection ' 'LDFLAGS= -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=g++
 'CXXFLAGS=-std=gnu++20 -DFMT_CONSTEVAL= -DBUG681273
 -fno-semantic-interposition -D_FILE_OFFSET_BITS=64
 -fvisibility-inlines-hidden -pthread -std=gnu++20 -DFMT_CONSTEVAL=
 -DBUG681273 -fno-semantic-interposition -D_FILE_OFFSET_BITS=64
 -fvisibility-inlines-hidden -pthread -std=gnu++20 -DFMT_CONSTEVAL=
 -DBUG681273 -fno-semantic-interposition -D_FILE_OFFSET_BITS=64
 -fvisibility-inlines-hidden -pthread -O2 -flto=auto -ffat-lto-objects
 -fexceptions -g -grecord-gcc-switches -pipe -Wall
 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2
 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
 -fcf-protection ''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER XIM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: ELisp/d

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr
warnings icons rx cl-seq cl-extra help-mode term/screen term/xterm xterm
clang-rename clang-include-fixer let-alist json subr-x map byte-opt
bytecomp byte-compile clang-format cl-macs gv xml cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo gtk pgtk multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 92347 8264)
 (symbols 48 7619 0)
 (strings 32 21282 1534)
 (string-bytes 1 639143)
 (vectors 16 15152)
 (vector-slots 8 300714 14258)
 (floats 8 31 230)
 (intervals 56 462 0)
 (buffers 984 14))

--0000000000008b2b0d063868bfce
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Given the following minimal init file:<br=
>```<br>;; min-init.el<br>(require &#39;tab-bar)<br>(tab-bar-mode)<br>(add-=
to-list &#39;tab-bar-format &#39;tab-bar-format-global &#39;append)<br>(dis=
play-time-mode -1)<br>```<br><br>I do the following:<br>```<br>emacs -Q --d=
aemon --load min-init.el<br>```<br><br>Then when I start emacsclient in the=
 terminal with `emacsclient -t`, the<br>minibuffer won&#39;t work at all. W=
hen I don&#39;t do this via the server,<br>e.g. removing `--daemon` from th=
e above invocation, the minibuffer works<br>fine.<br><br>Let me try to desc=
ribe what I mean when I say that the minibuffer<br>doesn&#39;t work. `M-x` =
puts the cursor at the beginning of the minibuffer<br>(no &quot;M-x&quot; t=
ext). Typing any key says that the key is not defined. `C-g`<br>doesn&#39;t=
 work either.<br><br><br><br>In GNU Emacs 29.4 (build 1, x86_64-redhat-linu=
x-gnu, GTK+ Version<br>=C2=A03.24.31, cairo version 1.17.4) of 2025-01-20 b=
uilt on<br>=C2=A0(redacted)<br>System Description: AlmaLinux 9.5 (Teal Serv=
al)<br><br>Configured using:<br>=C2=A0&#39;configure --build=3Dx86_64-redha=
t-linux-gnu<br>=C2=A0--host=3Dx86_64-redhat-linux-gnu --program-prefix=3D<b=
r>=C2=A0--disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr<=
br>=C2=A0--bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc<br>=
=C2=A0--datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/li=
b64<br>=C2=A0--libexecdir=3D/usr/libexec --localstatedir=3D/var<br>=C2=A0--=
sharedstatedir=3D/var/lib --mandir=3D/usr/share/man<br>=C2=A0--infodir=3D/u=
sr/share/info --with-cairo --with-dbus --with-gif<br>=C2=A0--with-gpm=3Dno =
--with-harfbuzz --with-jpeg --with-json --with-modules<br>=C2=A0--with-nati=
ve-compilation --with-pgtk --with-png --with-rsvg<br>=C2=A0--with-sqlite3 -=
-with-tiff --with-tree-sitter --with-webp --with-xpm<br>=C2=A0build_alias=
=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu<br>=C2=A0CC=
=3Dgcc &#39;CFLAGS=3D-fno-semantic-interposition -D_FILE_OFFSET_BITS=3D64<b=
r>=C2=A0-pthread -fno-semantic-interposition -D_FILE_OFFSET_BITS=3D64 -pthr=
ead<br>=C2=A0-fno-semantic-interposition -D_FILE_OFFSET_BITS=3D64 -pthread<=
br>=C2=A0-DMAIL_USE_LOCKF -O2 -flto=3Dauto -ffat-lto-objects -fexceptions -=
g<br>=C2=A0-grecord-gcc-switches -pipe -Wall -Werror=3Dformat-security<br>=
=C2=A0-Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS<br>=C2=A0-specs=
=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong<br>=C2=
=A0-specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=3Dx86-64-v2<=
br>=C2=A0-mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protec=
tion<br>=C2=A0-fcf-protection &#39; &#39;LDFLAGS=3D -Wl,-z,relro -Wl,--as-n=
eeded -Wl,-z,now<br>=C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-hardened-ld<b=
r>=C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 &#39;<br>=C2=A0PKG_=
CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=3Dg++<br>=C2=
=A0&#39;CXXFLAGS=3D-std=3Dgnu++20 -DFMT_CONSTEVAL=3D -DBUG681273<br>=C2=A0-=
fno-semantic-interposition -D_FILE_OFFSET_BITS=3D64<br>=C2=A0-fvisibility-i=
nlines-hidden -pthread -std=3Dgnu++20 -DFMT_CONSTEVAL=3D<br>=C2=A0-DBUG6812=
73 -fno-semantic-interposition -D_FILE_OFFSET_BITS=3D64<br>=C2=A0-fvisibili=
ty-inlines-hidden -pthread -std=3Dgnu++20 -DFMT_CONSTEVAL=3D<br>=C2=A0-DBUG=
681273 -fno-semantic-interposition -D_FILE_OFFSET_BITS=3D64<br>=C2=A0-fvisi=
bility-inlines-hidden -pthread -O2 -flto=3Dauto -ffat-lto-objects<br>=C2=A0=
-fexceptions -g -grecord-gcc-switches -pipe -Wall<br>=C2=A0-Werror=3Dformat=
-security -Wp,-D_FORTIFY_SOURCE=3D2<br>=C2=A0-Wp,-D_GLIBCXX_ASSERTIONS<br>=
=C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-st=
rong<br>=C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=
=3Dx86-64-v2<br>=C2=A0-mtune=3Dgeneric -fasynchronous-unwind-tables -fstack=
-clash-protection<br>=C2=A0-fcf-protection &#39;&#39;<br><br>Configured fea=
tures:<br>ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JP=
EG JSON<br>LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY =
INOTIFY<br>PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF<br>TOOL=
KIT_SCROLL_BARS TREE_SITTER XIM GTK3 ZLIB<br><br>Important settings:<br>=C2=
=A0 value of $LANG: en_US.UTF-8<br>=C2=A0 locale-coding-system: utf-8-unix<=
br><br>Major mode: ELisp/d<br><br>Minor modes in effect:<br>=C2=A0 tooltip-=
mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=A0 eldoc-mode: t<br>=C2=A0 sh=
ow-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wheel-mo=
de: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=A0 file-=
name-shadow-mode: t<br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 font-lock-=
mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=A0 line-number-mode: t<br>=C2=
=A0 indent-tabs-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-com=
position-mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compressi=
on-mode: t<br><br>Load-path shadows:<br>None found.<br><br>Features:<br>(sh=
adow sort mail-extr emacsbug message mailcap yank-media puny dired<br>dired=
-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068<br>epg-=
config gnus-util text-property-search time-date mm-decode mm-bodies<br>mm-e=
ncode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail<br>rfc204=
7 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr<br>warnin=
gs icons rx cl-seq cl-extra help-mode term/screen term/xterm xterm<br>clang=
-rename clang-include-fixer let-alist json subr-x map byte-opt<br>bytecomp =
byte-compile clang-format cl-macs gv xml cl-loaddefs cl-lib rmc<br>iso-tran=
sl tooltip cconv eldoc paren electric uniquify ediff-hook<br>vc-hooks lisp-=
float-type elisp-mode mwheel term/pgtk-win pgtk-win<br>term/common-win pgtk=
-dnd tool-bar dnd fontset image regexp-opt fringe<br>tabulated-list replace=
 newcomment text-mode lisp-mode prog-mode register<br>page tab-bar menu-bar=
 rfn-eshadow isearch easymenu timer select<br>scroll-bar mouse jit-lock fon=
t-lock syntax font-core term/tty-colors<br>frame minibuffer nadvice seq sim=
ple cl-generic indonesian philippine<br>cham georgian utf-8-lang misc-lang =
vietnamese tibetan thai tai-viet lao<br>korean japanese eucjp-ms cp51932 he=
brew greek romanian slovak czech<br>european ethiopic indian cyrillic chine=
se composite emoji-zwj charscript<br>charprop case-table epa-hook jka-cmpr-=
hook help abbrev obarray oclosure<br>cl-preloaded button loaddefs theme-loa=
ddefs faces cus-face macroexp<br>files window text-properties overlay sha1 =
md5 base64 format env<br>code-pages mule custom widget keymap hashtable-pri=
nt-readable backquote<br>threads dbusbind inotify dynamic-setting system-fo=
nt-setting<br>font-render-setting cairo gtk pgtk multi-tty make-network-pro=
cess<br>native-compile emacs)<br><br>Memory information:<br>((conses 16 923=
47 8264)<br>=C2=A0(symbols 48 7619 0)<br>=C2=A0(strings 32 21282 1534)<br>=
=C2=A0(string-bytes 1 639143)<br>=C2=A0(vectors 16 15152)<br>=C2=A0(vector-=
slots 8 300714 14258)<br>=C2=A0(floats 8 31 230)<br>=C2=A0(intervals 56 462=
 0)<br>=C2=A0(buffers 984 14))<br></div>
</div>

--0000000000008b2b0d063868bfce--




Acknowledgement sent to Varun Malladi <varun.malladi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#78896; 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: Fri, 27 Jun 2025 17:45:03 UTC

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