GNU bug report logs - #68799
30.0.50; emacs --fg-daemon fails silently if server-start fails

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Mon, 29 Jan 2024 16:55:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Björn Bidar <bjorn.bidar <at> thaodan.de>
Cc: 68799 <at> debbugs.gnu.org, sbaugh <at> janestreet.com
Subject: bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails
Date: Wed, 14 Feb 2024 16:35:00 +0200
> Cc: 68799 <at> debbugs.gnu.org
> Date: Tue, 13 Feb 2024 23:30:41 +0200
> From:  Björn Bidar via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> A side effect of this bug and another is that when emacs --fg-daemon is
> used e.g. in combination with a systemd service. If the service
> takes to long to be ready when a user calls emacsclient that it using
> the standard desktop file it creates another daemon which will then
> make the Emacs started with --fg-daemon fail resulting in the emacs in
> the systemd service fail in circles.

Please tell more details about the scenario you have in mind, because
I don't think I follow.  In particular, why would starting the daemon
take too long? due to what problems?  And how is user invoking
emacsclient relevant in this case?  AFAIU, systemd starts Emacs at
system start or user login time, whereas emacsclient is invoked when
the user wants to run some command or clicks a desktop shortcut, and
those events are not adjacent in time.

I'm probably missing something here.

Thanks.




This bug report was last modified 1 year and 87 days ago.

Previous Next


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