GNU bug report logs -
#76772
29.4; Emacsclient doesn't display warnings emitted during daemon startup
Previous Next
Full log
Message #16 received at 76772 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> tags 76772 notabug
> thanks
>
>> From: Artiom Balan <artiombalan331 <at> gmail.com>
>> Date: Wed, 5 Mar 2025 23:47:26 +0200
>>
>> Steps to reproduce:
>> 1. Run emacs: emacs -Q --eval "(display-warning 'type \"message\"))"
>> 2. Notice the warning is displayed
>> 3. Start emacs server: emacs -Q --fg-daemon --eval "(display-warning 'type \"message\"))"
>> 4. Open a client: emacsclient -c
>> 5. Notice the warning is not displayed
>>
>> I expected that the warnings buffer would be displayed in the exact
>> same way in the emacsclient as in the first scenario.
>
> Thanks.
>
> The *Warnings* buffer is there, it's just that the client frame
> doesn't show it. Why should it? how should it know you want that
> particular buffer displayed without any indication from you?
We show it unconditionally in regular Emacs sessions, so it is at the
very least surprising that it is not displayed in the scenario described
above.
I would have expected Emacs to make an effort to display it to me.
> Try this, and you will see the warning in the client frame:
>
> emacsclient -c --eval "(display-buffer \"*Warnings*\")"
>
> I don't see a bug here.
This bug report was last modified 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.