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

Previous Next

Package: emacs;

Reported by: Varun Malladi <varun.malladi <at> gmail.com>

Date: Wed, 25 Jun 2025 17:36:03 UTC

Severity: normal

Found in version 29.4

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: varun.malladi <at> gmail.com, 78896 <at> debbugs.gnu.org
Subject: bug#78896: 29.4; display-time-mode breaks minibuffer in emacsclient
Date: Thu, 26 Jun 2025 09:13:03 +0300
> 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)
```




This bug report was last modified 18 days ago.

Previous Next


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