From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails Date: Wed, 14 Feb 2024 19:40:30 +0200 Message-ID: <17458.2276422129$1707932536@news.gmane.org> References: <86plwzxgff.fsf@gnu.org> <86cyszxdtk.fsf@gnu.org> Reply-To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30993"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 68799@debbugs.gnu.org, sbaugh@janestreet.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 14 18:42:08 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1raJGp-0007kW-0G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Feb 2024 18:42:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raJGT-00069i-5F; Wed, 14 Feb 2024 12:41:45 -0500 Original-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 ) id 1raJGS-00069E-3m for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 12:41:44 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raJGR-0002dh-RX for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 12:41:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raJGj-0006dt-Lf for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 12:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2024 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68799 X-GNU-PR-Package: emacs Original-Received: via spool by 68799-submit@debbugs.gnu.org id=B68799.170793248725489 (code B ref 68799); Wed, 14 Feb 2024 17:42:01 +0000 Original-Received: (at 68799) by debbugs.gnu.org; 14 Feb 2024 17:41:27 +0000 Original-Received: from localhost ([127.0.0.1]:53000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raJGB-0006d3-9u for submit@debbugs.gnu.org; Wed, 14 Feb 2024 12:41:27 -0500 Original-Received: from thaodan.de ([185.216.177.71]:58482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raJG9-0006cp-Kq for 68799@debbugs.gnu.org; Wed, 14 Feb 2024 12:41:26 -0500 Original-Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154]) by thaodan.de (Postfix) with ESMTPSA id 16CBFD00316; Wed, 14 Feb 2024 19:40:31 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1707932431; bh=4blHcNC7pLdHW2BvXJAV1SEky1LSTn6ASsJRu9v6E3I=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=ZvWceZHAqGBHQF8BSG+jCylPmgJien1EcbQrR6DEGidGfAyEbzbdTGcjoxaEqKIFA Bn5/HVvQPtymnIcywwkzT7n0GCJJCZHD7PnG8iTTCnZc92I5dhL9cTNoP55wYP+pYs 0g7KId6mm/RreczeZXSXa5JAYe2UaEHr4gDmUrp5JpncgPkjXz2Dc79pH6mVxWXs2K q1zQ9GSFOKf8milXYs81Y+1jONbs+OfIT+4tHTU0x49nHJkNP3nQWyt0ssVWqkX8uw cdAjW+52E6Rslre16WNAQUj2xYr7KeUheDdw3Dy3/F64gq3TjBRD1yIHgZC561HK9I iUXeO5tn+wf/oB0SmvIxuqGMsSD4nFTnRwY47pIKdvLYE8ln0O0JWCpQXQzNRWyPQ5 cZcyUf7xZ7JBzLsAupvbSXDz3E+VWng+wzvzHkGqW5PEK6L8yogk+63h9LROhoXEUj a7ySyijJnYRxKFPgVrv7oZzg/mYBJ6VBhho6aP/oTalQ35kHXuVZoHUqx+Uq9UwHlK aP303W57OGVc1lZXKpoEJZSgkHAXMRVCWXWHtgfA2HpJ9WqJVI6b1qZC0YmkLzWsBi E42xZj5XZpQI++UKMH2bHCou+Qio3MLdaBDhc0e9FUqlwbphwOImEk/eGKeEiWM74w 99Q0WnCTHk4S5IqtvaZOu39w= In-Reply-To: <86cyszxdtk.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Feb 2024 17:31:19 +0200") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280023 Archived-At: Eli Zaretskii writes: >> From: Bj=C3=B6rn Bidar >> Cc: sbaugh@janestreet.com, 68799@debbugs.gnu.org >> Date: Wed, 14 Feb 2024 17:10:39 +0200 >>=20 >> 0. User logs in >> 1. The session reaches graphical-session.target >> 2. Emacs executed in emacs.service=20 >> 3. Emacs launches with all it's modes loaded, desktop-mode session >> restored etc. >> 4. Emacs is ready to receive commands >>=20 >> When the user starts emacsclient before step 4 is reached then it can >> timeout because it can take some time till Emacs is ready. > > Wouldn't this be a cockpit mistake? The user presumably knows that > loading desktop takes some time, and should give Emacs that time > before invoking emacsclient. No? Of course but it the user doesn't know how exactly Emacs takes to start and to avoid race conditions it would make sense to wait.