From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier 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: Tue, 13 Feb 2024 08:02:16 -0500 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8648"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 68799@debbugs.gnu.org, Jason Rumney To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 13 14:03:17 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 1rZsRQ-00021Y-9M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Feb 2024 14:03:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZsRB-0000xk-Va; Tue, 13 Feb 2024 08:03:02 -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 1rZsQv-0000sb-Hv for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2024 08:02:49 -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 1rZsQv-0005mM-4l for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2024 08:02:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZsRC-0005O7-5D for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2024 08:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Feb 2024 13:03:02 +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.170782936320678 (code B ref 68799); Tue, 13 Feb 2024 13:03:02 +0000 Original-Received: (at 68799) by debbugs.gnu.org; 13 Feb 2024 13:02:43 +0000 Original-Received: from localhost ([127.0.0.1]:42967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZsQt-0005NR-1O for submit@debbugs.gnu.org; Tue, 13 Feb 2024 08:02:43 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:26186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZsQq-0005N6-U2 for 68799@debbugs.gnu.org; Tue, 13 Feb 2024 08:02:42 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0F5A9440696; Tue, 13 Feb 2024 08:02:18 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1707829337; bh=YxdVsom8BEBxS0y8qQLg3/5UwePEeDGkYePqnV32TdY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ig6wswWnI98y1c6qFgZLMQHFePCqLijc9Bw/qheVUPdxJoplpmZB2+kKM5vPRIlyh pi+6HBGDCPBmWTLoRck7no5YkDZ0XUhMKe3Rx4CcPwWNW+xyeEEfFRst0WzDtCvgA1 ukpyNOFgfsTVn1WbpwItg7le6Nd/AJGzDi+WPm1NU1hG4aHeJzsZqAUm75AV0tMYDj mruLz0P3n7RFhQVmFnFYozH9s6l6UYy28a/5Pwx2FuSh/AITXy0bN2tmLWENVGLLmb kQn+4n+NhSEgF7iUhKhS+2TSFPqZaYXMwCQsCe82TzINLHB57wdJjphIFqnjaMOP3e WrRmT1bz4TfEw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0B550440B5F; Tue, 13 Feb 2024 08:02:17 -0500 (EST) Original-Received: from pastel (unknown [45.72.197.152]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D8F15120B6C; Tue, 13 Feb 2024 08:02:16 -0500 (EST) In-Reply-To: (Spencer Baugh's message of "Mon, 12 Feb 2024 17:10:34 -0500") 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:279963 Archived-At: >> 1. emacs -Q --fg-daemon=/nonexistent/dir/sock >> 2. Emacs prints "Starting Emacs daemon." and sits in foreground. [...] >> This is because in step 1, the server actually failed to start, but >> Emacs did not log that at all. In fact, it's impossible to access the >> Emacs started in 1 now, since it's not actually running a server and it >> has no frames. The problem you point out later is real, but maybe more importantly we should make sure that any error gets printed at step 2. Stefan