[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fai
From: |
Spencer Baugh |
Subject: |
bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails |
Date: |
Tue, 13 Feb 2024 13:04:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Spencer Baugh <sbaugh@janestreet.com>
>> Cc: 68799@debbugs.gnu.org, monnier@iro.umontreal.ca, jasonr@gnu.org
>> Date: Tue, 13 Feb 2024 12:37:30 -0500
>>
>> >> So this check really wants to be something more like:
>> >> || ( IS_DAEMON && [something to check if Emacs is starting up])
>> >> || (!IS_DAEMON && FRAME_INITIAL_P (sf))
>> >>
>> >> Not sure what [something to check if Emacs is starting up] should be
>> >> though.
>> >
>> > after-init-time, I guess. But note that this still leaves a window
>> > between where that is set non-nil and starting the server.
>>
>> Oh, actually there is a DAEMON_RUNNING define which is exactly what we
>> want here. DAEMON_RUNNING just didn't exist at the time the check on
>> IS_DAEMON was added. Patch using DAEMON_RUNNING attached.
>
> Using DAEMON_RUNNING would mean any errors while starting the server
> will fail to show the explicit error message about that. That's a
> regression in my book. So I hope we can find a better solution.
Could you be more specific about what would regress in this situation?
Preferably with a step by step of something that behaves worse.
Currently the error message doesn't get shown at all, so I'm not clear
what could be regressing.
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, sbaugh, 2024/02/10
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Spencer Baugh, 2024/02/12
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Eli Zaretskii, 2024/02/13
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Spencer Baugh, 2024/02/13
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Eli Zaretskii, 2024/02/13
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails,
Spencer Baugh <=
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Eli Zaretskii, 2024/02/13
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Spencer Baugh, 2024/02/13
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Eli Zaretskii, 2024/02/13
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Spencer Baugh, 2024/02/13
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Eli Zaretskii, 2024/02/14
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Spencer Baugh, 2024/02/14
- bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Eli Zaretskii, 2024/02/24
bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Stefan Monnier, 2024/02/13
bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails, Björn Bidar, 2024/02/13